[PATCH] msc_sm2s_imx8mp: Adjust the initrd_addr location
Tom Rini
trini at konsulko.com
Wed Jul 3 20:22:38 CEST 2024
On Wed, Jul 03, 2024 at 03:07:47PM -0300, Fabio Estevam wrote:
> Hi Tom,
>
> On Wed, Jul 3, 2024 at 3:03 PM Tom Rini <trini at konsulko.com> wrote:
>
> > Shouldn't fdt_addr_r change too? This is making me suspect the whole map
> > is too small for safety, how much memory does the platform have at
> > minimum?
>
> It has 2GB of RAM.
>
> Changing only initrd_addr and keeping fdt_addr_r unchanged allows a
> successful initramfs boot.
How is the fdt at 0x43000000 not being clobbered if the initramfs at
0x43800000 is? Is it because it's just enough of a bad spot that we
relocate the fdt out of the way? With the kernel at 0x40480000
everything else is too low. kernel address + 128MiB for fdt address, then
+512KiB (or a bit more, for nicer numbers) for initrd.
--
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/20240703/79608c1c/attachment.sig>
More information about the U-Boot
mailing list