ccimx6ul: add support to build boot.ubifs image
The size of the destination partition (linux) is around 14MiB so the max-leb-cnt must be reduced compared to the one used for the rootfs partition. Signed-off-by: Hector Palacios <hector.palacios@digi.com> https://jira.digi.com/browse/DEL-2697
This commit is contained in:
parent
846e1cd07f
commit
a2554a08cc
|
|
@ -24,4 +24,4 @@ BT_TTY ?= "ttymxc0"
|
||||||
BOOT_SCRIPTS = "boot.scr:boot.scr"
|
BOOT_SCRIPTS = "boot.scr:boot.scr"
|
||||||
|
|
||||||
# Flash image types
|
# Flash image types
|
||||||
IMAGE_FSTYPES ?= "tar.bz2 ubifs"
|
IMAGE_FSTYPES ?= "tar.bz2 ubifs boot.ubifs"
|
||||||
|
|
|
||||||
|
|
@ -32,5 +32,9 @@ MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bluetooth'
|
||||||
MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'wifi', 'firmware-qualcomm-qca6564-wifi', '', d)}"
|
MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'wifi', 'firmware-qualcomm-qca6564-wifi', '', d)}"
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "zImage"
|
KERNEL_IMAGETYPE = "zImage"
|
||||||
# FLASH parameters
|
|
||||||
|
# mkfs.ubifs parameters for boot partition (the one holding kernel and device tree files)
|
||||||
|
MKUBIFS_BOOT_ARGS ?= "-m 2048 -e 126976 -c 127"
|
||||||
|
|
||||||
|
# mkfs.ubifs parameters for rootfs partition
|
||||||
MKUBIFS_ARGS ?= "-m 2048 -e 126976 -c 2047"
|
MKUBIFS_ARGS ?= "-m 2048 -e 126976 -c 2047"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue