openwrt/target/linux/bmips
Linus Walleij 219018185e bmips: Build U-Boot into the XG6846 target
It appears that the CFE boot loader found in the XG6846
cannot load kernels over a certain size, and the old
relocate hack is not working.

What to do? We can build a small U-Boot into the image,
make CFE boot that, place the kernel immediately after
U-Boot, and use U-Boot to boot the system instead.

The compiled u-boot.bin becomes around ~300KB and with
LZMA compression it will swiftly fit into 128KB, so
we use two 64KB erase blocks right after the CFE to
store an imagetag:ed U-Boot.

Reviewed-by: Paul Donald <newtwen+github@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2024-05-01 21:32:23 +02:00
..
bcm6318 bmips: drop patches/config for kernel 5.15 2024-01-16 11:04:29 +01:00
bcm6328 bmips: Add Inteno XG6846 target 2024-05-01 21:30:26 +02:00
bcm6358 bmips: drop patches/config for kernel 5.15 2024-01-16 11:04:29 +01:00
bcm6362 bmips: drop patches/config for kernel 5.15 2024-01-16 11:04:29 +01:00
bcm6368 bmips: drop patches/config for kernel 5.15 2024-01-16 11:04:29 +01:00
bcm63268 bmips: add support for SmartRG SR505n 2024-03-10 20:26:07 +01:00
dts bmips: Build U-Boot into the XG6846 target 2024-05-01 21:32:23 +02:00
files bmips: bcm6368-enetsw: Bump max MTU 2024-01-24 19:54:33 +01:00
image bmips: Build U-Boot into the XG6846 target 2024-05-01 21:32:23 +02:00
patches-6.1 kernel: bump 6.1 to 6.1.75 2024-02-01 21:34:05 +01:00
profiles
Makefile bmips: move to kernel 6.1 by default 2024-01-16 11:02:01 +01:00
modules.mk bmips: add LED kernel modules 2023-04-09 10:34:05 +02:00