openwrtv4/target/linux/brcm47xx
Hauke Mehrtens d5cf4a5aa4 brcm47xx: relocate loader to higher address
The boot process on a WRT54GL works the following way:
1. CFE gets loaded by the boot rom from flash
2. CFE loads the loader from the flash and gzip uncompresses it
3. CFE starts the loader
4. The loader stores the FW arguments and relocates itself to
   BZ_TEXT_START (now 0x80600000)
5. The loader reads the Linux image from flash
6. The loader lzma decompresses the Linux image to LOADADDR (0x80001000)
7. The loader executes the uncompress Linux image at LOADADDR

The BZ_TEXT_START was set to 0x80400000 before. When the kernel gets
uncompressed and is bigger than BZ_TEXT_START - LOADADDR it overwrote
the loader which was currently uncompressing it and made the board
crash. Increase the BZ_TEXT_START my 2 MB to have more space for the
kernel. Even on 16MB RAM devices the memory goes till 0x80FFFFFF so this
should not be a problem.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2017-10-11 21:36:24 +02:00
..
base-files Revert "brcm47xx: Fix sysupgrade with E1200v1" 2017-09-25 23:09:33 +02:00
generic brcm47xx: drop some personal profiles 2017-01-04 12:24:01 +01:00
image brcm47xx: relocate loader to higher address 2017-10-11 21:36:24 +02:00
legacy brcm47xx: drop some personal profiles 2017-01-04 12:24:01 +01:00
mips74k build: remove mips16 feature flag from target makefiles 2017-01-24 13:15:01 +01:00
patches-4.4 brcm47xx: resolve GPIO conflict for WRT54GSv1 2017-07-02 22:44:06 +02:00
patches-4.9 brcm47xx: Add support for kernel 4.9 2017-07-02 23:10:06 +02:00
config-4.4 brcm47xx: refresh kernel configuration 2017-07-02 22:44:07 +02:00
config-4.9 brcm47xx: Add support for kernel 4.9 2017-07-02 23:10:06 +02:00
Makefile brcm47xx: bump kernel to 4.4 2016-10-24 17:22:23 +02:00
modules.mk brcm47xx: fix bgmac package 2017-01-04 11:55:39 +01:00