From c310dd2ddbf96e8637cf1e5a6c3b19d954d38ea2 Mon Sep 17 00:00:00 2001 From: Alexey Ignatov Date: Thu, 5 Jun 2014 14:22:00 +0400 Subject: [PATCH] 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 --- meta-fsl-arm/conf/machine/imx28evk.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-fsl-arm/conf/machine/imx28evk.conf b/meta-fsl-arm/conf/machine/imx28evk.conf index d4f1ad63..c25e54bb 100644 --- a/meta-fsl-arm/conf/machine/imx28evk.conf +++ b/meta-fsl-arm/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.40.1