immortalwrt/target/linux/bcm63xx/image/lzma-loader/src
Á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
..
board.c bcm63xx: lzma-loader: rely on CHIP_ID for UART address 2020-05-21 11:48:18 +08:00
cache.c bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
cache.h bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
cacheops.h bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
config.h bcm63xx: lzma-loader: remove unused definitions 2020-05-21 11:47:08 +08:00
cp0regdef.h bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
head.S bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
loader2.lds bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
loader.c bcm63xx: lzma-loader: rely on CHIP_ID for UART address 2020-05-21 11:48:18 +08:00
loader.lds bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
lzma-data.lds bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
LzmaDecode.c bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
LzmaDecode.h bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
LzmaTypes.h bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
Makefile bcm63xx: lzma-loader: allow bigger ramdisks 2020-06-04 12:06:33 +08:00
printf.c bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
printf.h bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00