[PATCH v2] msc_sm2s_imx8mp: Adjust the initrd_addr location
Tom Rini
trini at konsulko.com
Fri Jul 5 17:37:48 CEST 2024
On Thu, Jul 04, 2024 at 09:03:37AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at denx.de>
>
> Booting an initramfs with the current initrd_addr address may lead to
> initramfs corruption and boot failure.
>
> Fix the initramfs problem by applying the following layout
> suggested by Tom Rini:
>
> loadaddr=0x40480000 --> Gets moved to 0x40600000 in run-time:
>
> Uncompressing Kernel Image
> Moving Image from 0x40480000 to 0x40600000, end=41e80000
>
> fdt_addr_r= moved loadaddr + 128 MiB = 0x48600000
>
> initrd_addr=fdt_addr_r + 512 KiB = 0x48680000
>
> Signed-off-by: Fabio Estevam <festevam at denx.de>
> Tested-by: Stefano Babic <sbabic at denx.de>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
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/20240705/a4fc7da2/attachment.sig>
More information about the U-Boot
mailing list