summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Ignatov <lexszero@gmail.com>2014-06-05 14:22:00 +0400
committerOtavio Salvador <otavio@ossystems.com.br>2014-06-05 13:54:56 -0300
commitc310dd2ddbf96e8637cf1e5a6c3b19d954d38ea2 (patch)
treec63b63424bb0aa0d59678e2667b2f074b682bd9c
parent61d9046560b42ea15760d2690cb094e08b2d8370 (diff)
downloadmeta-freescale-c310dd2ddbf96e8637cf1e5a6c3b19d954d38ea2.tar.gz
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 <lexszero@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--meta-fsl-arm/conf/machine/imx28evk.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-fsl-arm/conf/machine/imx28evk.conf b/meta-fsl-arm/conf/machine/imx28evk.conf
index d4f1ad63c..c25e54bb7 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"
29 29
30MKUBIFS_ARGS = "--min-io-size 4096 --leb-size 516096 --max-leb-cnt 8139" 30MKUBIFS_ARGS = "--min-io-size 4096 --leb-size 516096 --max-leb-cnt 8139"
31UBINIZE_ARGS = "--min-io-size 4096 --peb-size 524288 --sub-page-size 4096" 31UBINIZE_ARGS = "--min-io-size 4096 --peb-size 524288 --sub-page-size 4096"
32MXSBOOT_NAND_ARGS = "-w 4096 -o 218 -e 524288"
32 33
33## To determine parameters' values, run "ubiattach -m 6 /dev/ubi_ctrl" 34## To determine parameters' values, run "ubiattach -m 6 /dev/ubi_ctrl"
34## (assuming the rootfs device is /dev/mtd6). Here's an example: 35## (assuming the rootfs device is /dev/mtd6). Here's an example: