projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6dcdbb
)
Change nandsim invocation to use 256MB partition
author
charles
<charles>
Fri, 25 Dec 2009 01:54:10 +0000
(
01:54
+0000)
committer
charles
<charles>
Fri, 25 Dec 2009 01:54:10 +0000
(
01:54
+0000)
direct/yaffs_fileem2k.h
patch
|
blob
|
history
linux-tests/initnandsim
patch
|
blob
|
history
diff --git
a/direct/yaffs_fileem2k.h
b/direct/yaffs_fileem2k.h
index 1f67081623b704d31513745d13773ee4a0ade4db..d4a5f90f1ef9023de36b399a4ebfbc81c313eaf8 100644
(file)
--- 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 4bb41dfffda852beb7c0f8d47576cac835355a5b..1d194bb2885c0599a7a746ecb4f479155ba507a9 100755
(executable)
--- 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
-