]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx28evk: Add U-Boot NAND image generation support
authorAlexey Ignatov <lexszero@gmail.com>
Thu, 5 Jun 2014 10:22:00 +0000 (14:22 +0400)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 5 Jun 2014 16:54:56 +0000 (13:54 -0300)
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@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/conf/machine/imx28evk.conf

index d4f1ad63c6f3442867f9586785c0d68d771d0849..c25e54bb7e0358ed15a2146376588851fbb421c1 100644 (file)
@@ -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: