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-08-05 17:17:40 -0300
commitea4de4ac28cf0f91faee99074a795ced2c8cd1dc (patch)
treec840fbae6f40a64b838d0cfa451bf9b2e87a698f
parent5b4082e80da2ff3f0221e85583deffffdf27b484 (diff)
downloadmeta-fsl-arm-ea4de4ac28cf0f91faee99074a795ced2c8cd1dc.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--conf/machine/imx28evk.conf1
1 files changed, 1 insertions, 0 deletions
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"
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: