• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/04-Jan-2025-11191

src/04-Jan-2025-289196

CMakeLists.txtD04-Jan-2025233 96

KconfigD04-Jan-2025186 106

README.txtD04-Jan-20251.5 KiB2823

prj.confD04-Jan-202550 43

testcase.yamlD04-Jan-20251.2 KiB4746

README.txt

1Disk Access Test
2##################
3
4This test is intended to verify the functionality of disk devices in Zephyr.
5It is designed to test the NXP USDHC disk driver, but can be used for other
6disk devices as well. The test has the following phases:
7
8* Setup test: Verifies that disk initialization works, as well as testing
9  disk_access_ioctl by querying the disk for its sector size and sector count.
10  Note that this test also verifies the memory buffers reserved for read/write
11  tests are sufficiently large, and will fail if they are not (in which case
12  the value of SECTOR_SIZE must be increased)
13
14* Read test: Verifies that the driver can consistently read sectors. This test
15  starts by reading sectors from a variety of start locations. Each location is
16  read from several times, each time with a different number of desired sectors.
17  The test deliberately will read sectors beyond the end of the disk, and if
18  the driver does not reject this read request the tests will fail. Following
19  these sector reads, the driver will read multiple times from the same memory
20  location, to verify that the data being returned is the same.
21
22* Write test: Verifies that the driver can consistently write sectors. This test
23  follows the same flow as the read test, but at each step writes data to the
24  disk and reads it back to verify correctness. The test first performs writes
25  of various length to various sectors (once again, the driver must reject
26  writes that would be outside the bounds of the disk), then performs multiple
27  writes to the same location.
28