meta-digi-arm: machine: add new 'BOOTLOADER_SEEK_BOOTPART' variable to platform configurations
This new variable establishes the number of 1Kb blocks to skip before writing U-Boot in the bootloader partition. Signed-off-by: David Escalona <david.escalona@digi.com>
This commit is contained in:
parent
bf365df07a
commit
a0bc831353
|
|
@ -9,6 +9,7 @@ MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:${DIGI_FAMILY}:${DIGI_SOM}:"
|
|||
include conf/machine/include/ccimx8m.inc
|
||||
|
||||
BOOTLOADER_SEEK_USERDATA = "33"
|
||||
BOOTLOADER_SEEK_BOOTPART = "33"
|
||||
|
||||
# U-Boot configurations
|
||||
#
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ MACHINEOVERRIDES =. "mx6:mx6dl:mx6q:${DIGI_FAMILY}:${DIGI_SOM}:"
|
|||
include conf/machine/include/imx-digi-base.inc
|
||||
include conf/machine/include/arm/armv7a/tune-cortexa9.inc
|
||||
|
||||
BOOTLOADER_SEEK_BOOTPART = "1"
|
||||
|
||||
# Platform u-boot settings
|
||||
UBOOT_PREFIX = "u-boot"
|
||||
UBOOT_SUFFIX = "imx"
|
||||
|
|
|
|||
|
|
@ -92,3 +92,6 @@ SWUPDATE_UBOOTIMG ?= "false"
|
|||
|
||||
# ConnectCore Cloud Services packages to install
|
||||
CCCS_PKGS ?= "cccs-gs-demo dey-examples-cccs"
|
||||
|
||||
# Default 1k-bloks seek in boot partition.
|
||||
BOOTLOADER_SEEK_BOOTPART ?= "0"
|
||||
|
|
|
|||
|
|
@ -102,8 +102,7 @@ SWUPDATE_UBOOT_NAME:ccmp1 ?= "${SWUPDATE_UBOOT_PREFIX}-${MACHINE}-optee${FIP_SIG
|
|||
SWUPDATE_UBOOT_NAME_TFA ?= ""
|
||||
SWUPDATE_UBOOT_NAME_TFA:ccmp1 ?= "${SWUPDATE_UBOOT_PREFIX_TFA}-${MACHINE}-nand${SWUPDATE_UBOOT_EXT_TFA}${TFA_SIGN_SUFFIX}"
|
||||
|
||||
SWUPDATE_UBOOT_OFFSET ?= "0"
|
||||
SWUPDATE_UBOOT_OFFSET:ccimx6 ?= "1"
|
||||
SWUPDATE_UBOOT_OFFSET ?= "${BOOTLOADER_SEEK_BOOTPART}"
|
||||
|
||||
# Retrieve the correct encryption type.
|
||||
def get_swupdate_uboot_enc(d):
|
||||
|
|
|
|||
Loading…
Reference in New Issue