From a20eabd566c09b175df2b2d49ac328b8be114204 Mon Sep 17 00:00:00 2001 From: charles Date: Fri, 25 Dec 2009 01:54:10 +0000 Subject: [PATCH] Change nandsim invocation to use 256MB partition --- direct/yaffs_fileem2k.h | 2 +- linux-tests/initnandsim | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/direct/yaffs_fileem2k.h b/direct/yaffs_fileem2k.h index 1f67081..d4a5f90 100644 --- 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) diff --git a/linux-tests/initnandsim b/linux-tests/initnandsim index 4bb41df..1d194bb 100755 --- 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 - -- 2.30.2