projects
/
openwrt
/
staging
/
pepe2k.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
939550b
)
ath79: meraki-mr18: fix initramfs build
author
Lech Perczak
<
[email protected]
>
Mon, 20 Jan 2025 23:10:50 +0000
(
00:10
+0100)
committer
Hauke Mehrtens
<
[email protected]
>
Tue, 21 Jan 2025 10:03:13 +0000
(11:03 +0100)
Now, that initramfs images built for ZTE devices work, by moving
LZMA_TEXT_START further up the available RAM - same fix works
successfully for Meraki MR18 too. Apply it and reenable initramfs
generation again.
Fixes: 1d49310fdb5e ("ath79: add Cisco Meraki MR18")
Signed-off-by: Lech Perczak <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/17680
Signed-off-by: Robert Marko <
[email protected]
>
(cherry picked from commit
7423e67e1b8c7e4c9f527d1300dbeaab72b1f95f
)
target/linux/ath79/image/nand.mk
patch
|
blob
|
history
diff --git
a/target/linux/ath79/image/nand.mk
b/target/linux/ath79/image/nand.mk
index e8494da15da7e3b8ff8942d117b133eccc69a1c3..68cb5431872f235fa2ab66415ba9ab4b5201f0aa 100644
(file)
--- a/
target/linux/ath79/image/nand.mk
+++ b/
target/linux/ath79/image/nand.mk
@@
-313,10
+313,9
@@
define Device/meraki_mr18
BLOCKSIZE := 128k
PAGESIZE := 2048
LOADER_TYPE := bin
+ LZMA_TEXT_START := 0x82800000
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | meraki-header MR18
-# Initramfs-build fails due to size issues
-# KERNEL_INITRAMFS := $$(KERNEL)
- KERNEL_INITRAMFS :=
+ KERNEL_INITRAMFS := $$(KERNEL)
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
SUPPORTED_DEVICES += mr18
endef