summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2026-03-20 11:32:03 +0000
committerHauke Mehrtens2026-03-23 00:38:32 +0000
commit98f815cab94812da8e448cc4936e49064d1050cd (patch)
tree953d2737c7eda643b7cd645807ef518c0657ea10
parent12efaa10a67858d16330cb24489f07ad4a9f53e9 (diff)
ramips: fix kernel decompress error for ELECOM WRC-X1800GS
The bootloader reads the compressed kernel to 0x82000000. We need to decompress kernel to a different address far from 0x82000000 to avoid memory overlap. Fixes: https://github.com/openwrt/openwrt/issues/22270 Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/22520 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 015e8820b53ef9e0be86025b04239a04698b5682)
-rw-r--r--target/linux/ramips/image/mt7621.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 1cbd2426a5..50c53a6d8e 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -1413,7 +1413,7 @@ define Device/elecom_wrc-x1800gs
$(Device/nand)
DEVICE_VENDOR := ELECOM
DEVICE_MODEL := WRC-X1800GS
- KERNEL_LOADADDR := 0x82000000
+ KERNEL_LOADADDR := 0x88000000
KERNEL := kernel-bin | relocate-kernel $(loadaddr-y) | lzma | \
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | \
znet-header 4.04(XVF.1)b90 COMC 0x68 | elecom-product-header WRC-X1800GS