
On Fri, Dec 06, 2024 at 06:11:10AM -0700, Simon Glass wrote:
This series allows rpi to boot a compressed Ubuntu kernel with ~100MB ramdisk, by expanding the available space.
It also tidies up some strange behaviour with the provided FDT, where a separate pointer is maintained to it, even though U-Boot has copied it and placed it in its own space. This avoids strange bugs where it accidentally gets overwritten when loading a file into memory.
Simon Glass (3): rpi: Update environment to support booti and large initrd fdt: Allow expanding the devicetree during relocation rpi: Use the U-Boot control FDT for fdt_addr
board/raspberrypi/rpi/rpi.c | 20 ++++++++------------ board/raspberrypi/rpi/rpi.env | 10 ++++++---- common/board_f.c | 6 ++++-- dts/Kconfig | 11 +++++++++++ 4 files changed, 29 insertions(+), 18 deletions(-)
My feedback here is the same feedback I gave the last person that wanted to update the Pi addresses, and I forget if they came back and did that (and it's in Peter / Matthias' queue) or not. Disabling device tree relocation is a bug and must be removed.
After that, given the range of memory sizes available on Pi platforms, allocating the kernel / initrd / kernel decompression buffer at run time, ala mach-apple would make life easier in the long run.