[PATCH v3 2/5] rpi: Set bootm_size to 512MB

Tom Rini trini at konsulko.com
Wed Dec 11 17:57:09 CET 2024


On Wed, Dec 11, 2024 at 04:27:42PM +0000, Peter Robinson wrote:
> On Mon, 9 Dec 2024 at 19:55, Simon Glass <sjg at chromium.org> wrote:
> 
> > Set this option so that all boot images stay within the bottom 512MB of
> > memory. This should allow us to drop the fdt_high and initrd_high
> > options.
> >
> 
> How does this work for a device with < 256Mb of RAM? There's a number of
> the original RPi series that have 256Mb of RAM and that equates to less
> than that due to reservations for the vendor firmware.

I based this on the previous thread that said they all have 512MiB
minimum, but I guess that's just the newer ones that are 64bit too.

Top of my head? It's been a decade, but I _think_ as part of the
relocation we see that we don't have memory a base+512MiB and so go with
lower, but I wouldn't make any wager on it and would rather test (which
can also be done easy enough on another board, just set the limit to
more memory than exists, see where we relocate things to). I'll try and
try that out soon'ish, just neck deep in a few other tasks atm.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241211/823da8d0/attachment.sig>


More information about the U-Boot mailing list