diff options
author | Varalaxmi Bingi <varalaxmi.bingi@amd.com> | 2024-03-14 23:26:41 +0530 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-03-18 12:08:20 -0500 |
commit | a5efdc57797ead8bc9d9ae58b6d30d67b834a810 (patch) | |
tree | 710e8f361d31bf5677ff849a5683513f47a85560 | |
parent | d75b6a59c0675375a810e28c4d11fb0532b2e487 (diff) | |
download | meta-xilinx-a5efdc57797ead8bc9d9ae58b6d30d67b834a810.tar.gz |
machine-xilinx-default.inc: use u-boot.elf for MB and Zynq
For microblaze u-boot not booting on qemu or hw after moving to
u-boot 2024.1 rebase branch.
Reason explained below:
u-boot will provide output files as u-boot.elf, u-boot,
u-boot.bin, u-boot-nodtb.bin etc..
For Microblaze and Zynq we are using u-boot output file
For aarch64 family we are using u-boot.elf
u-boot: which has no relocation inside, then we apply relocation
(rela section) over binary. and then copying as u-boot.elf and using it.
u-boot.elf: It will relocation inside it and without debug symbols.
After recent relocation changes in u-boot
we should use u-boot.elf only for all platforms.
Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r-- | meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc index e99b1f0e..c732523c 100644 --- a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc +++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc | |||
@@ -28,8 +28,7 @@ do_image_wic[depends] += "${@' '.join('%s:do_deploy' % r for r in (d.getVar('WIC | |||
28 | UBOOT_SUFFIX ?= "bin" | 28 | UBOOT_SUFFIX ?= "bin" |
29 | 29 | ||
30 | UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" | 30 | UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" |
31 | UBOOT_ELF ?= "u-boot" | 31 | UBOOT_ELF ?= "u-boot.elf" |
32 | UBOOT_ELF:aarch64 ?= "u-boot.elf" | ||
33 | 32 | ||
34 | # libmali is selected by DISTRO_FEATURE of libmali & MACHINE_FEATURES of mali400 | 33 | # libmali is selected by DISTRO_FEATURE of libmali & MACHINE_FEATURES of mali400 |
35 | # lima is selected by DISTRO_FEATURE != libmali & MACHINE_FEATURES of mali400 | 34 | # lima is selected by DISTRO_FEATURE != libmali & MACHINE_FEATURES of mali400 |