]> git.ipfire.org Git - thirdparty/openwrt.git/commit
airoha: adjust and default the loadaddr 20470/head
authorZiyang Huang <hzyitc@outlook.com>
Mon, 20 Oct 2025 15:10:19 +0000 (23:10 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 29 Oct 2025 13:48:00 +0000 (14:48 +0100)
commitfed2d313436e76eb1c1d7ac9f49e09dc1e611008
tree6ca935526239f8014f4d92d76785c1720ad3f59b
parent677c5c3b0d62e33c49b28f8e66a30f948d356cd9
airoha: adjust and default the loadaddr

Similar to e92b153e99 ("mediatek: introduce KERNEL_LOADADDR to Device/Default template"),
let's move the default loadaddr to Device/Default.

What's more, use 0x80200000 instead of the SDK default value 0x80088000
to avoid the following error which may overwrite TZ memory and cause crash:

    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    0.000000] OF: reserved mem: Reserved memory: failed to reserve memory for node 'atf@80000000': base 0x0000000080000000, size 2 MiB

Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
[ fix spelling mistake ]
Link: https://github.com/openwrt/openwrt/pull/20470
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/airoha/image/Makefile
target/linux/airoha/image/an7581.mk
target/linux/airoha/image/en7523.mk