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:
Hector Palacios 2016-07-06 16:26:29 +02:00
parent 846e1cd07f
commit a2554a08cc
2 changed files with 6 additions and 2 deletions

View File

@ -24,4 +24,4 @@ BT_TTY ?= "ttymxc0"
BOOT_SCRIPTS = "boot.scr:boot.scr"
# Flash image types
IMAGE_FSTYPES ?= "tar.bz2 ubifs"
IMAGE_FSTYPES ?= "tar.bz2 ubifs boot.ubifs"

View File

@ -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)}"
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"