[PATCH 0/3] examples: fix building on arm64
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sun Nov 3 06:35:48 CET 2024
Commit f9886bc60f42 ("Added arm64 assembly for examples/api crt0") added
the arm64 architecture but the code does not even build.
With the changes the 'demo' program runs on qemu_arm64_defconfig using
setenv autostart no
dhcp demo
setenv autostart yes
bootelf $loadaddr
Heinrich Schuchardt (3):
examples: fix building on arm64
examples: adjust LOAD_ADDR on arm64
examples: make glue and demo code compatible with 64-bit
examples/api/Makefile | 4 ++++
examples/api/crt0.S | 35 +++++++++++++++++++----------------
examples/api/demo.c | 9 ++++-----
examples/api/glue.c | 4 ++--
4 files changed, 29 insertions(+), 23 deletions(-)
--
2.45.2
More information about the U-Boot
mailing list