diff options
author | John Thomson <git@johnthomson.fastmail.com.au> | 2022-11-19 11:01:17 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-11-27 15:43:08 +0100 |
commit | 68add5f3645493cac3632d994f76928648a6cc59 (patch) | |
tree | 376ae83cfeb182e6eb5cb3593dcba08efa53c905 /target/linux/ipq806x/files | |
parent | a907c203405b186d2436f24d0ac0bc19b6700852 (diff) | |
download | upstream-68add5f3645493cac3632d994f76928648a6cc59.tar.gz upstream-68add5f3645493cac3632d994f76928648a6cc59.tar.bz2 upstream-68add5f3645493cac3632d994f76928648a6cc59.zip |
ath79: mikrotik: use OpenWrt loader for initram image
Return to using the OpenWrt kernel loader to decompress and load kernel
initram image.
Continue to use the vmlinuz kernel for squashfs.
Mikrotik's bootloader RouterBOOT on some ath79 devices is
failing to boot the current initram, due to the size of the initram image.
On the ath79 wAP-ac:
a 5.7MiB initram image would fail to boot
After this change:
a 6.6MiB initram image successfully loads
This partially reverts commit e91344776b9ba7c864be88d915c9c0df0eb790dd.
An alternative of using RouterBOOT's capability of loading an initrd ELF
section was investigated, but the OpenWrt kernel loader allows larger image.
Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
(cherry picked from commit 62b72eafe49d2eecd3692691152ed86a0327fcb0)
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Fixes: #9954
Diffstat (limited to 'target/linux/ipq806x/files')
0 files changed, 0 insertions, 0 deletions