]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: fix initramfs kernel loadaddr for EAP615-Wall v1 22562/head
authorShiji Yang <yangshiji66@outlook.com>
Sun, 22 Mar 2026 12:12:11 +0000 (20:12 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 23 Mar 2026 00:31:59 +0000 (01:31 +0100)
The kernel load address was changed in commit e2d823d06830 ("ramips:
fix LZMA decompression error for TP-Link EAP615-Wall"). We also need
to relocate the load address for initramfs image so that it can be
booted correctly.

Fixes: e2d823d06830 ("ramips: fix LZMA decompression error for TP-Link EAP615-Wall")
Fixes: https://github.com/openwrt/openwrt/issues/22505
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22562
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/image/mt7621.mk

index 36f90a63b18d3694ca7535715abe114e1025e93c..1cbd2426a5bb53ebd08c4f1eec120090385713a9 100644 (file)
@@ -2986,7 +2986,6 @@ define Device/tplink_eap615-wall-v1
   KERNEL_LOADADDR := 0x82000000
   KERNEL := kernel-bin | relocate-kernel $(loadaddr-y) | lzma | \
        fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | pad-to 64k
-  KERNEL_INITRAMFS := kernel-bin | lzma -d22 | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
   IMAGE_SIZE := 13248k
 endef
 TARGET_DEVICES += tplink_eap615-wall-v1