]> git.ipfire.org Git - thirdparty/openwrt.git/commit
airoha: adjust and default the loadaddr
authorZiyang Huang <hzyitc@outlook.com>
Mon, 20 Oct 2025 15:10:19 +0000 (23:10 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 10 Nov 2025 17:20:44 +0000 (18:20 +0100)
commit9d218f08536c02b019dcbdf50ea7a6bf80904516
treeaaa0af5d0e72b65af9b42b53e988dd00d8ce0f05
parente905c45b059b4058bf2df2bd433de813b1248377
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
(cherry picked from commit fed2d313436e76eb1c1d7ac9f49e09dc1e611008)
[ fix conflict error ]
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