mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-04-29 07:01:01 +02:00
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>