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 1f67081623b704d31513745d13773ee4a0ade4db..d4a5f90f1ef9023de36b399a4ebfbc81c313eaf8 100644 (file)
@@ -18,7 +18,7 @@
 
 #if 1
 
 
 #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)
 //#define SIZE_IN_MB 8000
 #define PAGE_DATA_SIZE (2048)
 #define PAGE_SPARE_SIZE  (64)
index 4bb41dfffda852beb7c0f8d47576cac835355a5b..1d194bb2885c0599a7a746ecb4f479155ba507a9 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 modprobe mtd
 modprobe mtdblock
 #!/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
 cat /proc/mtd
-