summaryrefslogtreecommitdiff
path: root/direct/timothy_tests/linux_tests/README.txt
blob: 0c3fa845f637d685fe6328d962fc26458563883a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

How to initilise the nandsim

$ make

$ sudo -s
...password..
# now have a root shell
$ ./linux-tests/initnandsim 128MiB-2048
$ insmod yaffs2multi.ko
$ mkdir /mnt/y
$ mount -t yaffs2 /dev/mtdblock0 /mnt/y



How to change the permissions on the nandsim partition

$ sudo chmod a+wr /mnt/y/
#check the permission change
$ touch /mnt/y/test_file

How to clean the folder

$ rm -rf /mnt/y


The test must be run in sudo to work

$ make
$ sudo ./linux_test