# User specific settings
UBOOT_FIT_USER_SETTINGS ?= ""
+# U-Boot fitImage configuration description
+UBOOT_FIT_CONF_DESC ?= "Boot with signed U-Boot FIT"
+
# Sets the firmware property to select the image to boot first.
# If not set, the first entry in "loadables" is used instead.
UBOOT_FIT_CONF_FIRMWARE ?= ""
configurations {
default = "conf";
conf {
- description = "Boot with signed U-Boot FIT";
+ description = "${UBOOT_FIT_CONF_DESC}";
${conf_firmware}
loadables = ${conf_loadables};
fdt = "fdt";
'UBOOT_FIT_ARM_TRUSTED_FIRMWARE_IMAGE',
'UBOOT_FIT_ARM_TRUSTED_FIRMWARE_LOADADDRESS',
'UBOOT_FIT_ARM_TRUSTED_FIRMWARE',
+ 'UBOOT_FIT_CONF_DESC',
'UBOOT_FIT_CONF_USER_LOADABLES',
'UBOOT_FIT_DESC',
'UBOOT_FIT_HASH_ALG',
loadables.insert(0, "atf")
its_field_check += [
'default = "conf";',
- 'description = "Boot with signed U-Boot FIT";',
+ 'description = "%s";' % bb_vars['UBOOT_FIT_CONF_DESC'],
'loadables = "%s";' % '", "'.join(loadables),
'fdt = "fdt";',
]
Image Tree Source. Not all the fields are tested,
only the key fields that wont vary between
different architectures.
+ 3. The custom root node (UBOOT_FIT_DESC) and
+ configuration node (UBOOT_FIT_CONF_DESC) descriptions
+ are honoured in the Image Tree Source.
Product: oe-core
Author: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
based on work by Usama Arif <usama.arif@arm.com>
UBOOT_LOADADDRESS = "0x80080000"
UBOOT_ENTRYPOINT = "0x80080000"
UBOOT_FIT_DESC = "A model description"
+UBOOT_FIT_CONF_DESC = "Boot board XYZ config"
"""
config = FitImageTestCase._config_add_machine_settings(config, machine, keys=["UBOOT_MACHINE", "SPL_BINARY"])
self.write_config(config)