commit | beed0bed55f3f7f148543b83bf77d4dc8406df7d | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Mon Jan 27 07:49:36 2025 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Feb 04 11:57:36 2025 -0600 |
tree | 7eb9f3caa35990c2152c3bef7c23c6d819023e0b | |
parent | 8d1ce6b223db2bfc6bf31bde685d03a244682e12 [diff] |
examples/api: improve determination of LOAD_ADDR The current load address for the 'demo' binary does not work for qemu_arm_defconfig. The suitability of an address to load an ELF binary and run it does not only depend on the architecture but also on the memory layout of the board. On most boards we can assume that 8 MiB of memory is available above $loadaddr. So $loadaddr + 0x400000 should work there. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>