openwrt/target
Álvaro Fernández Rojas 6dc01cdee8 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-03 15:33:04 +02:00
..
imagebuilder build: refactor JSON info files to profiles.json 2020-04-03 12:17:45 +02:00
linux bcm63xx: lzma-loader: allow bigger ramdisks 2020-06-03 15:33:04 +02:00
sdk sdk: add OpenWrt branding to menuconfig & .config 2020-05-20 17:03:45 +02:00
toolchain toolchain: wrapper.sh: harmonize leading whitespaces 2019-12-31 01:36:16 +01:00
Config.in build: define RTC_SUPPORT as a bool 2020-04-09 12:51:10 +02:00
Makefile build: make <subdir>/install opt-in, use it for target/ only 2017-02-09 13:51:35 +01:00