mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 12:09:01 +02:00
ventana: build multiubi images instead of just a single ubi image
Because various boards use various flash sizes, build the two sizes fit for Ventana boards. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
2214ab8ba1
commit
59af46d33b
|
@ -56,12 +56,17 @@ UBOOT_CONFIG[std] = "gwventana_config"
|
|||
SERIAL_CONSOLE = "115200 ttymxc1"
|
||||
|
||||
# Override FS Type Creation
|
||||
IMAGE_FSTYPES = "tar.bz2 ubi"
|
||||
IMAGE_FSTYPES = "tar.bz2 multiubi"
|
||||
|
||||
# Build the following sizes
|
||||
MULTIUBI_BUILD ?= "normal large"
|
||||
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
# 256MB ('normal' flash layout)
|
||||
MKUBIFS_ARGS += "-F -m 2048 -e 124KiB -c 1912 -x zlib"
|
||||
UBINIZE_ARGS += "-m 2048 -p 128KiB -s 2048"
|
||||
export MKUBIFS_ARGS_normal = "-F -m 2048 -e 124KiB -c 1912 -x zlib"
|
||||
export UBINIZE_ARGS_normal = "-m 2048 -p 128KiB -s 2048"
|
||||
|
||||
# 2GB ('large' flash layout)
|
||||
#MKUBIFS_ARGS += "-F -m 4096 -e 248KiB -c 8124 -x zlib"
|
||||
#UBINIZE_ARGS += "-m 4096 -p 256KiB -s 4096"
|
||||
export MKUBIFS_ARGS_large = "-F -m 4096 -e 248KiB -c 8124 -x zlib"
|
||||
export UBINIZE_ARGS_large = "-m 4096 -p 256KiB -s 4096"
|
||||
|
|
Loading…
Reference in New Issue
Block a user