[meta-freescale] [meta-fsl-arm][for-daisy][PATCH 02/10] imx28evk: Add U-Boot NAND image generation support

Otavio Salvador otavio at ossystems.com.br
Sun Aug 10 18:50:44 PDT 2014


From: Alexey Ignatov <lexszero at gmail.com>

This defines NAND parameters for u-boot.mxsboot-nand image creation
similar to those used for UBI image (for K9LBG08U0D-PCB chip):
- page size: 4 k
- OOB size: 218 bytes
- erase size: 512 k

Signed-off-by: Alexey Ignatov <lexszero at gmail.com>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
 conf/machine/imx28evk.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/imx28evk.conf b/conf/machine/imx28evk.conf
index d4f1ad6..c25e54b 100644
--- a/conf/machine/imx28evk.conf
+++ b/conf/machine/imx28evk.conf
@@ -29,6 +29,7 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
 
 MKUBIFS_ARGS = "--min-io-size 4096 --leb-size 516096 --max-leb-cnt 8139"
 UBINIZE_ARGS = "--min-io-size 4096 --peb-size 524288 --sub-page-size 4096"
+MXSBOOT_NAND_ARGS = "-w 4096 -o 218 -e 524288"
 
 ## To determine parameters' values, run "ubiattach -m 6 /dev/ubi_ctrl"
 ## (assuming the rootfs device is /dev/mtd6).  Here's an example:
-- 
2.1.0.rc1



More information about the meta-freescale mailing list