2 linux_test.c tests yaffs running under linux using the nandsim generator.
5 If a segmentation fault happens during the test then check that
6 the nandsim has been initilised properly.
8 How to initilise the nandsim
14 # now you have a root shell
15 $ ./linux-tests/initnandsim 128MiB-2048
16 $ insmod yaffs2multi.ko
18 $ mount -t yaffs2 /dev/mtdblock0 /mnt/y
22 How to change the permissions on the nandsim partition
24 $ sudo chmod a+wr /mnt/y/
25 #check the permission change
26 $ touch /mnt/y/test_file
28 How to clean the folder
33 The test must be run in sudo to work to allow the files to be
34 created in the root folders.
37 run command: sudo ./linux_test
40 -h display the command line options.
41 -s [number] seeds the rand with the number.
42 -p [number] sets the print level to the number.
43 the higher the number the more low level commands are printed.
44 the number should be between 0 and 5.
45 -v verbose mode. everything is printed.
46 -q quite mode. nothing is printed.