summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2025-10-23 00:56:47 +0000
committerRobert Marko2025-11-17 09:33:17 +0000
commite2d823d0683015f8f0f7e7c921137ba65c14bd47 (patch)
treed999babbfcf9b60fac02b01b82b96c2c751180ae
parent583e401abb439e42956bf98db456fcf1e7e7f53a (diff)
downloadopenwrt-e2d823d0683015f8f0f7e7c921137ba65c14bd47.tar.gz
ramips: fix LZMA decompression error for TP-Link EAP615-Wall
Relocating the kernel load address to avoid the memory overlap issue. Fixes: https://github.com/openwrt/openwrt/issues/19403 Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/20509 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/ramips/image/mt7621.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index a4a4747c0a..9bbee68f6b 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -2933,7 +2933,9 @@ define Device/tplink_eap615-wall-v1
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-mt7915-firmware -uboot-envtools
TPLINK_BOARD_ID := EAP615-WALL-V1
- KERNEL := kernel-bin | lzma -d22 | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | pad-to 64k
+ 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