From ea4de4ac28cf0f91faee99074a795ced2c8cd1dc Mon Sep 17 00:00:00 2001 From: Alexey Ignatov Date: Thu, 5 Jun 2014 14:22:00 +0400 Subject: imx28evk: Add U-Boot NAND image generation support 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 Signed-off-by: Otavio Salvador --- 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: -- cgit v1.2.3-54-g00ecf