]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ath79: fix initramfs boot for Huawei AP5030DN and AP6010DN
authorMarco von Rosenberg <marcovr@selfnet.de>
Mon, 23 Mar 2026 21:08:38 +0000 (22:08 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 24 Mar 2026 21:24:12 +0000 (22:24 +0100)
commit0142538c2850a425ea8e445a1f034dd3dcdb202f
treebee1796c6be7e0852daa20216d784591ba134659
parent627421d5df213311559d6ab717f8037572340025
ath79: fix initramfs boot for Huawei AP5030DN and AP6010DN

Fix execution of initramfs image on Huawei AP5030DN and AP6010DN by
increasing available memory for LZMA extraction by the loader.

The default leaves only ~23.6 MB between the decompression target
and the running loader code. Extracting images with built-in
packages lead to overwriting the loader code. This causes
the decompression to produce garbage output and hang.

Fix this by overwriting LZMA_TEXT_START to increase the
available memory for LZMA extraction to ~39.6 MB.

Signed-off-by: Marco von Rosenberg <marcovr@selfnet.de>
Link: https://github.com/openwrt/openwrt/pull/22581
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 17784ad785c2d49c694de332640d85737124eb3a)
target/linux/ath79/image/generic.mk