]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: fix kernel decompress error for ELECOM WRC-X1800GS 22520/head
authorShiji Yang <yangshiji66@outlook.com>
Fri, 20 Mar 2026 11:32:03 +0000 (19:32 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 23 Mar 2026 00:37:43 +0000 (01:37 +0100)
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>
target/linux/ramips/image/mt7621.mk

index 1cbd2426a5bb53ebd08c4f1eec120090385713a9..50c53a6d8e1b016f1bcb4ddd2675f90213518e85 100644 (file)
@@ -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