Patchwork [PATCHv2,2/2] imx28evk: Add U-Boot NAND image generation support

login
register
mail settings
Submitter Alexey Ignatov
Date June 5, 2014, 10:22 a.m.
Message ID <1401963720-23756-2-git-send-email-lexszero@gmail.com>
Download mbox | patch
Permalink /patch/73297/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Alexey Ignatov - June 5, 2014, 10:22 a.m.
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>
---
 conf/machine/imx28evk.conf | 1 +
 1 file changed, 1 insertion(+)

Patch

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: