diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-15 19:40:55 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch) | |
tree | 98ec96946eeb2ae709cb0528cc6998e21bb9b290 /firmware/test/fat/README | |
parent | 17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff) | |
download | rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.zip |
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets
Change-Id: I7980523785d2596e65c06430f4638eec74a06061
Diffstat (limited to 'firmware/test/fat/README')
-rw-r--r-- | firmware/test/fat/README | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/firmware/test/fat/README b/firmware/test/fat/README deleted file mode 100644 index 58ffe7ffa8..0000000000 --- a/firmware/test/fat/README +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | This code is for testing the Rockbox fat code on a dummy drive image file. | ||
2 | |||
3 | Dummy image | ||
4 | ----------- | ||
5 | Here's how to create a 1 gig dummy drive image in linux: | ||
6 | |||
7 | # dd if=/dev/hda of=disk.img bs=1M count=1024 | ||
8 | |||
9 | You can then format disk.img as a FAT32 partition: | ||
10 | |||
11 | # mkdosfs -F 32 disk.img | ||
12 | |||
13 | To mount the image, your linux kernel must include the loopback device: | ||
14 | |||
15 | # mount -o loop disk.img /mnt/image | ||
16 | |||
17 | Now copy some test data to the disk, umount it and start testing. | ||
18 | |||
19 | The test script mounts the disk image in order to initialize it will a number | ||
20 | of dummy files. Since users are no longer allowed to mount loopback devices, | ||
21 | you can either run the test script as root (not recommended) or add a line to | ||
22 | your fstab file: | ||
23 | |||
24 | /path/to/disk.img /mnt/dummy vfat loop,users,noauto 0 0 | ||
25 | |||
26 | |||
27 | Test code | ||
28 | --------- | ||
29 | The files in this dir build the 'fat' program. It will read 'disk.img' and | ||
30 | treat is as a real disk, thanks to the ata-sim.c module. | ||
31 | |||
32 | Modify the main.c source code to make it perform the tests you want. | ||