meta-digi-arm: set BOARD_BOOTIMAGE_PARTITION_SIZE in KiB
This will allow in following commit to use the same VFAT boot image for EMMC and SD. Until now we were creating different boot images for EMMC and SD card images. Signed-off-by: Javier Viguera <javier.viguera@digi.com> (cherry picked from commit 13e9ec7608d42430c2a01a728d030752a71f7948)
This commit is contained in:
parent
2765fc195c
commit
d9b4d0731e
|
|
@ -21,7 +21,7 @@ IMAGE_CMD_boot.vfat() {
|
|||
# 1KB blocks for mkfs.vfat
|
||||
BOOTIMG_BLOCKS="$(expr ${BOOTIMG_FILES_SIZE} / 1024)"
|
||||
if [ -n "${BOARD_BOOTIMAGE_PARTITION_SIZE}" ]; then
|
||||
BOOTIMG_BLOCKS="$(expr ${BOARD_BOOTIMAGE_PARTITION_SIZE} / 1024)"
|
||||
BOOTIMG_BLOCKS="${BOARD_BOOTIMAGE_PARTITION_SIZE}"
|
||||
fi
|
||||
|
||||
# POKY: Ensure total sectors is a multiple of sectors per track or mcopy will
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@ BT_TTY ?= "ttymxc1"
|
|||
# U-Boot script to be copied to the SD image
|
||||
BOOT_SCRIPTS = "boot-sd.scr:boot.scr"
|
||||
|
||||
# Boot partition size for FAT image generation, 64MiB
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE ?= "67108864"
|
||||
# Boot partition size in KiB, (default 64MiB)
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE ?= "65536"
|
||||
|
||||
# Flash image types
|
||||
SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4"
|
||||
|
|
|
|||
Loading…
Reference in New Issue