Skip to contentSkip to conversation

keystone-evm: Update NAND size to 256 MB

PATCH Superseded Sam Nelson 1 participant 1 message Mar 6, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 keystone-evm: Update NAND size to 256 MB

- The keystone-evm actually has 256 MB Nand
( Changing from previous size of 128 MB)
- LEB calculated with reserved 10 MB for boot and 20 MB for receovery image

---
 conf/machine/keystone-evm.conf |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
conf/machine/keystone-evm.conf +3 -4
index c878d52..4095d7e 100644
@@ -15,13 +15,12 @@ SYSVINIT_ENABLED_GETTYS = ""
 # UBI: smallest flash I/O unit:    2048
 # UBI: logical eraseblock size:    126976 bytes
 # from ubiattach stdout:
-# UBI device number 0, total 857 LEBs
-# MKUBIFS_ARGS = "-m 2048 -e 129024 -c 857"
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 857"
+# UBI device number 0, total 1764 LEBs
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 1764"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
 # UBI: smallest flash I/O unit:    2048
-# UBI: physical eraseblock size:   131072 bytes (128 KiB)
+# UBI: physical eraseblock size:   262144 bytes (256 KiB)
 # UBI: sub-page size:              2048
 UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
Signature · 1 line
1.7.9.5