Change nandsim invocation to use 256MB partition
authorcharles <charles>
Fri, 25 Dec 2009 01:54:10 +0000 (01:54 +0000)
committercharles <charles>
Fri, 25 Dec 2009 01:54:10 +0000 (01:54 +0000)
direct/yaffs_fileem2k.h
linux-tests/initnandsim

index 1f67081..d4a5f90 100644 (file)
@@ -18,7 +18,7 @@
 
 #if 1
 
-#define SIZE_IN_MB 32
+#define SIZE_IN_MB 128
 //#define SIZE_IN_MB 8000
 #define PAGE_DATA_SIZE (2048)
 #define PAGE_SPARE_SIZE  (64)
index 4bb41df..1d194bb 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 modprobe mtd
 modprobe mtdblock
-modprobe nandsim first_id_byte=0x20 second_id_byte=0xa2 third_id_byte=00 fourth_id_byte=0x15
+#modprobe nandsim first_id_byte=0x20 second_id_byte=0xa2 third_id_byte=00 fourth_id_byte=0x15
+modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15
 cat /proc/mtd
-