diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2022-12-07 18:55:01 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-12-08 11:37:07 -0800 |
| commit | a2e4b30b9263517e022e1781e0991a20fa6634fd (patch) | |
| tree | 7b61b0032b9b14ce031823be389f28dff2a3e34b /meta-xilinx-bsp/recipes-bsp | |
| parent | 2ce669e1a5321111853f891e1bfb3cc17c5097af (diff) | |
| download | meta-xilinx-a2e4b30b9263517e022e1781e0991a20fa6634fd.tar.gz | |
meta-xilinx-standalone: Update 2023.1 embeddedsw and git version
Update the integration to match 2023 changes.
Update the Makefile and versal pathes for 2023 specific version
Add a workaround for -Werror -Wnull-dereference failing during some compiles
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-bsp')
| -rw-r--r-- | meta-xilinx-bsp/recipes-bsp/embeddedsw/fsbl-firmware_%.bbappend | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/embeddedsw/fsbl-firmware_%.bbappend b/meta-xilinx-bsp/recipes-bsp/embeddedsw/fsbl-firmware_%.bbappend index 509a0dbb..6a23dc47 100644 --- a/meta-xilinx-bsp/recipes-bsp/embeddedsw/fsbl-firmware_%.bbappend +++ b/meta-xilinx-bsp/recipes-bsp/embeddedsw/fsbl-firmware_%.bbappend | |||
| @@ -1,16 +1,20 @@ | |||
| 1 | # QEMU for the Kria SOM requires a section from the FSBL to be extracted | 1 | # QEMU for the Kria SOM requires a section from the FSBL to be extracted |
| 2 | 2 | ||
| 3 | FSBL_DEFAULT_NAME = "executable.elf" | 3 | PMU_CONF_NAME ?= "pmu-conf" |
| 4 | PMU_CONF_NAME = "pmu-conf.bin" | 4 | PMU_CONF_BASE_NAME ?= "${PMU_CONF_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
| 5 | |||
| 6 | # Required so we can run objcopy in do_compile | ||
| 7 | DEPENDS:append:zynqmp = " virtual/${TARGET_PREFIX}binutils" | ||
| 5 | 8 | ||
| 6 | do_compile:append:zynqmp () { | 9 | do_compile:append:zynqmp () { |
| 7 | if [ -z "${SYSTEM_DTFILE}" ]; then | 10 | if [ -z "${SYSTEM_DTFILE}" ]; then |
| 8 | aarch64-none-elf-objcopy --dump-section .sys_cfg_data=../${PMU_CONF_NAME} ${FSBL_DEFAULT_NAME} | 11 | ${OBJCOPY} --dump-section .sys_cfg_data=${B}/${PMU_CONF_NAME}.bin ${B}/${ESW_COMPONENT} |
| 9 | fi | 12 | fi |
| 10 | } | 13 | } |
| 11 | 14 | ||
| 12 | do_deploy:append:zynqmp () { | 15 | do_deploy:append:zynqmp () { |
| 13 | if [ -z "${SYSTEM_DTFILE}" ]; then | 16 | if [ -z "${SYSTEM_DTFILE}" ]; then |
| 14 | install -Dm 0644 ${B}/${PMU_CONF_NAME} ${DEPLOYDIR}/${PMU_CONF_NAME} | 17 | install -Dm 0644 ${B}/${PMU_CONF_NAME}.bin ${DEPLOYDIR}/${PMU_CONF_BASE_NAME}.bin |
| 18 | ln -s ${PMU_CONF_BASE_NAME}.bin ${DEPLOYDIR}/${PMU_CONF_NAME}.bin | ||
| 15 | fi | 19 | fi |
| 16 | } | 20 | } |
