immortalwrt/target/linux/bcm63xx
Álvaro Fernández Rojas d1bc3f61c1 bcm63xx: lzma-loader: allow bigger ramdisks
Some (older) CFEs are loaded at 0x80401000 and ramdisks are loaded at
0x80010000, which means that ramdisk size limit is 0x3F1000 (almost 4M).
Therefore, current ramdisks (~4MB) are overwritting CFE in these devices,
which results in a crash.

This commit changes the address where ramdisks are loaded to 0x80a00000,
which is the same address where kernel is loaded when booting from the flash.
Therefore, lzma-loader will now be loaded at 0x80a00000, but it will still
decompress the kernel at 0x80010000.

Tested with huawei,hg556a-b, which has its CFE loaded at 0x80401000.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-06-04 12:06:33 +08:00
..
base-files bcm63xx: ad1018: switch to Sercomm WFI 2020-06-02 18:10:31 +08:00
dts bcm63xx: ad1018: add missing partitions 2020-06-04 12:04:02 +08:00
generic bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
image bcm63xx: lzma-loader: allow bigger ramdisks 2020-06-04 12:06:33 +08:00
patches-5.4 bcm63xx: add Huawei HG253s v2 support 2020-05-24 11:07:41 +08:00
profiles bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
smp bcm63xx: smp: add NAND support 2020-05-19 11:55:40 +08:00
config-5.4 bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
Makefile bcm63xx: remove kernel 4.14 support 2020-05-20 12:15:51 +08:00
modules.mk bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00