diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> | 2022-02-01 00:43:03 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2022-02-04 13:28:20 -0800 |
| commit | 9ce05df5d436c65549f49d0bfa35cf06b170cc08 (patch) | |
| tree | d66a1feee9f862fbd850c819d5bbdda6c3d153d6 | |
| parent | 1ec5b7ffc2d4e2272bc51182ff3c5707a0c8f8b0 (diff) | |
| download | meta-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.inc | 16 |
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 |
| 2 | BIF_PARTITION_ATTR ?= "fsbl bitstream u-boot" | 2 | BIF_FSBL_ATTR ?= "fsbl" |
| 3 | BIF_BITSTREAM_ATTR ?= "" | ||
| 4 | BIF_DEVICETREE_ATTR ?= "device-tree" | ||
| 5 | BIF_SSBL_ATTR ?= "u-boot-xlnx" | ||
| 6 | BIF_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 |
| 6 | BIF_PARTITION_ATTR[fsbl] ?= "bootloader" | 10 | BIF_PARTITION_ATTR[fsbl] ?= "bootloader" |
| 7 | BIF_PARTITION_IMAGE[fsbl] ?= "${DEPLOY_DIR_IMAGE}/fsbl-${MACHINE}.elf" | 11 | BIF_PARTITION_IMAGE[fsbl] ?= "${RECIPE_SYSROOT}/boot/fsbl.elf" |
| 8 | BIF_PARTITION_DEPENDS[fsbl] ?= "virtual/fsbl:do_deploy" | 12 | BIF_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 |
| 12 | BIF_PARTITION_IMAGE[u-boot] ?= "${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.elf" | 16 | BIF_PARTITION_IMAGE[u-boot-xlnx] ?= "${RECIPE_SYSROOT}/boot/u-boot.elf" |
| 13 | BIF_PARTITION_DEPENDS[u-boot] ?= "virtual/bootloader:do_deploy" | 17 | BIF_PARTITION_DEPENDS[u-boot-xlnx] ?= "virtual/bootloader:do_deploy" |
| 18 | |||
| 19 | # specify BIF partition attributes for dtb | ||
| 20 | BIF_PARTITION_ATTR[device-tree] ?= "load=0x100000" | ||
| 21 | BIF_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) |
| 16 | BIF_PARTITION_IMAGE[bitstream] ?= "${DEPLOY_DIR_IMAGE}/download-${MACHINE}.bit" | 24 | BIF_PARTITION_IMAGE[bitstream] ?= "${DEPLOY_DIR_IMAGE}/download-${MACHINE}.bit" |
