Skip to contentSkip to conversation

keystone-evm: Update NAND size to 512 MB

PATCH New Sam Nelson 1 participant 1 message Mar 7, 2014

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

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

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

---
* Corrected actual size from 256 MB to 512 MB
* Reverted back Erase block size
---

---
 conf/machine/keystone-evm.conf |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
conf/machine/keystone-evm.conf +2 -3
index c878d52..088e524 100644
@@ -15,9 +15,8 @@ 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 3856 LEBs
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
 
 # do ubiattach /dev/ubi_ctrl -m 4
 # from dmesg:
Signature · 1 line
1.7.9.5