changeset 334:162769b7fc23

Change nandsim invocation to use 256MB partition
author charles <charles>
date Fri, 25 Dec 2009 01:54:10 +0000
parents a8edea4667fe
children df3ddfdba8cf
files direct/yaffs_fileem2k.h linux-tests/initnandsim
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/direct/yaffs_fileem2k.h
+++ b/direct/yaffs_fileem2k.h
@@ -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)
--- a/linux-tests/initnandsim
+++ b/linux-tests/initnandsim
@@ -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
-