From f3b50d2e313479accb7a131fbf24924c4e19d1cf Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Tue, 31 Dec 2024 15:24:49 -0700 Subject: machine-xilinx-versal-net.inc: Update cpu core to a78 for versal-net Update cpu core to a78 for versal-net devices. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- .../bootbin/machine-xilinx-versal-net.inc | 43 +++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal-net.inc b/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal-net.inc index 46191720..58bb628c 100644 --- a/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal-net.inc +++ b/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal-net.inc @@ -1 +1,42 @@ -require machine-xilinx-versal.inc +# Extra args for versal-net +BOOTGEN_EXTRA_ARGS += "-dump bh" + +# Specify BIF common attribute for FSBL +BIF_COMMON_ATTR ?= "" + +# Specify BIF optional attributes +BIF_OPTIONAL_DATA ?= "" + +# Specify BIF partition attributes required for BOOT.bin +BIF_FSBL_ATTR ??= "base-pdi plmfw psmfw" +BIF_ATF_ATTR ??= "arm-trusted-firmware" +BIF_DEVICETREE_ATTR ??= "device-tree" +BIF_SSBL_ATTR ??= "u-boot-xlnx" +BIF_PARTITION_ATTR ??= "${BIF_FSBL_ATTR} ${BIF_DEVICETREE_ATTR} ${BIF_ATF_ATTR} ${BIF_SSBL_ATTR}" + +# Specify BIF partition attributes for base-pdi +BIF_PARTITION_ATTR[base-pdi] ?= "type=bootimage" +BIF_PARTITION_IMAGE[base-pdi] ?= "${RECIPE_SYSROOT}/boot/base-design.pdi" + +# Specify BIF partition attributes for plmfw +BIF_PARTITION_ATTR[plmfw] ?= "type=bootloader" +BIF_PARTITION_IMAGE[plmfw] ?= "${RECIPE_SYSROOT}/boot/plmfw.elf" + +# Specify BIF partition attributes for psmfw +BIF_PARTITION_ATTR[psmfw] ?= "core=psm" +BIF_PARTITION_IMAGE[psmfw] ?= "${RECIPE_SYSROOT}/boot/psmfw.elf" + +# Specify BIF partition attributes for device-tree +BIF_PARTITION_ATTR[device-tree] ?= "type=raw, load=0x1000" +BIF_PARTITION_IMAGE[device-tree] ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" +BIF_PARTITION_ID[device-tree] ?= "0x1c000000" + +# Specify BIF partition attributes for u-boot +BIF_PARTITION_ATTR[u-boot-xlnx] ?= "core=a78-0, cluster=0, exception_level = el-2" +BIF_PARTITION_IMAGE[u-boot-xlnx] ?= "${RECIPE_SYSROOT}/boot/u-boot.elf" +BIF_PARTITION_ID[u-boot-xlnx] ?= "0x1c000000" + +# Specify BIF partition attributes for arm-trusted-firmware +BIF_PARTITION_ATTR[arm-trusted-firmware] ?= "core=a78-0, cluster=0, exception_level = el-3, trustzone" +BIF_PARTITION_IMAGE[arm-trusted-firmware] ?= "${RECIPE_SYSROOT}/boot/arm-trusted-firmware.elf" +BIF_PARTITION_ID[arm-trusted-firmware] ?= "0x1c000000" -- cgit v1.2.3-54-g00ecf