[PATCH v2 0/5] rpi: Tidy up booting

Simon Glass sjg at chromium.org
Tue Dec 10 00:27:27 CET 2024


Hi Peter,

On Mon, 9 Dec 2024 at 16:06, Peter Robinson <pbrobinson at gmail.com> wrote:
>
>
>
> On Mon, 9 Dec 2024 at 18:20, Simon Glass <sjg at chromium.org> wrote:
>>
>> This series allows rpi to boot a compressed Ubuntu kernel with ~100MB
>> ramdisk, by expanding the available space.
>
>
> What version of the RPi hardware have you tested this on?

Only rpi_4 and rpi_5

The U-Boot change itself is tested on rpi_0 and rpi_2 but not actually
booting a kernel[1]. I don't seem to have an rpi_1 in my lab.

>
>>
>> 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.
>>
>> The patch to expand the devicetree was dropped, meaning that people
>> should be careful to unset fdt_addr in the environment.
>>
>> Changes in v2:
>> - Add new patch to make myself an rpi maintainer
>> - Add new patch to set bootm_size
>> - Add new patch to drop fdt_high and initrd_high
>> - Drop patch to allow expanding the devicetree during relocation
>>
>> Simon Glass (5):
>>   rpi: Add myself to the list of maintainers
>>   rpi: Set bootm_size to 512MB
>>   rpi: Drop fdt_high and initrd_high
>>   rpi: Update environment to support booti and large initrd
>>   rpi: Use the U-Boot control FDT for fdt_addr
>>
>>  MAINTAINERS                   |  1 +
>>  board/raspberrypi/rpi/rpi.c   | 20 ++++++++------------
>>  board/raspberrypi/rpi/rpi.env | 24 +++++++++++++-----------
>>  3 files changed, 22 insertions(+), 23 deletions(-)
>>
>> --
>> 2.34.1
>>

[1] https://ci.u-boot.org/u-boot/u-boot/-/pipelines/82


More information about the U-Boot mailing list