summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com>2022-02-01 00:43:03 -0700
committerMark Hatle <mark.hatle@xilinx.com>2022-02-04 13:28:20 -0800
commit9ce05df5d436c65549f49d0bfa35cf06b170cc08 (patch)
treed66a1feee9f862fbd850c819d5bbdda6c3d153d6
parent1ec5b7ffc2d4e2272bc51182ff3c5707a0c8f8b0 (diff)
downloadmeta-xilinx-9ce05df5d436c65549f49d0bfa35cf06b170cc08.tar.gz
machine-xilinx-zynq: Fix BIT_PARITION_ATTR path
Fix BIF_PARTITION_ATTR paths for fsbl and u-boot components. Also add missing BIF_PARTITION_ATTR for device-tree. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-zynq.inc16
1 files changed, 12 insertions, 4 deletions
diff --git a/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-zynq.inc b/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-zynq.inc
index b8d75c4f..89fa1b5b 100644
--- a/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-zynq.inc
+++ b/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-zynq.inc
@@ -1,16 +1,24 @@
1#specify BIF partition attributes required for BOOT.bin 1#specify BIF partition attributes required for BOOT.bin
2BIF_PARTITION_ATTR ?= "fsbl bitstream u-boot" 2BIF_FSBL_ATTR ?= "fsbl"
3BIF_BITSTREAM_ATTR ?= ""
4BIF_DEVICETREE_ATTR ?= "device-tree"
5BIF_SSBL_ATTR ?= "u-boot-xlnx"
6BIF_PARTITION_ATTR ?= "${BIF_FSBL_ATTR} ${BIF_BITSTREAM_ATTR} ${BIF_SSBL_ATTR} ${BIF_DEVICETREE_ATTR}"
3 7
4#specify BIF partition attributes for FSBL 8#specify BIF partition attributes for FSBL
5#bootloader is FSBL. Location where FSBL binary is present and dependency to build FSBL 9#bootloader is FSBL. Location where FSBL binary is present and dependency to build FSBL
6BIF_PARTITION_ATTR[fsbl] ?= "bootloader" 10BIF_PARTITION_ATTR[fsbl] ?= "bootloader"
7BIF_PARTITION_IMAGE[fsbl] ?= "${DEPLOY_DIR_IMAGE}/fsbl-${MACHINE}.elf" 11BIF_PARTITION_IMAGE[fsbl] ?= "${RECIPE_SYSROOT}/boot/fsbl.elf"
8BIF_PARTITION_DEPENDS[fsbl] ?= "virtual/fsbl:do_deploy" 12BIF_PARTITION_DEPENDS[fsbl] ?= "virtual/fsbl:do_deploy"
9 13
10#specify BIF partition attributes for u-boot 14#specify BIF partition attributes for u-boot
11#Location where u-boot binary is present 15#Location where u-boot binary is present
12BIF_PARTITION_IMAGE[u-boot] ?= "${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.elf" 16BIF_PARTITION_IMAGE[u-boot-xlnx] ?= "${RECIPE_SYSROOT}/boot/u-boot.elf"
13BIF_PARTITION_DEPENDS[u-boot] ?= "virtual/bootloader:do_deploy" 17BIF_PARTITION_DEPENDS[u-boot-xlnx] ?= "virtual/bootloader:do_deploy"
18
19# specify BIF partition attributes for dtb
20BIF_PARTITION_ATTR[device-tree] ?= "load=0x100000"
21BIF_PARTITION_IMAGE[device-tree] ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb"
14 22
15# enable bitstream-Note this is not enabled by default (missing in BIF_PARTITION_ATTR) 23# enable bitstream-Note this is not enabled by default (missing in BIF_PARTITION_ATTR)
16BIF_PARTITION_IMAGE[bitstream] ?= "${DEPLOY_DIR_IMAGE}/download-${MACHINE}.bit" 24BIF_PARTITION_IMAGE[bitstream] ?= "${DEPLOY_DIR_IMAGE}/download-${MACHINE}.bit"