[PATCH] stm32mp1: remove fdt_high and initrd_high in environment

Tom Rini trini at konsulko.com
Mon Feb 10 16:10:58 CET 2020

On Mon, Feb 10, 2020 at 11:54:11AM +0100, Patrick Delaunay wrote:

> Remove fdt_high and initrd_high (set to 0xffffffff) in stm32mp1 board
> enviromnent, and U-Boot always relocate FDT and initrd in bootm command.
> This relocation is limited by CONFIG_SYS_BOOTMAPSZ which indicates
> the size of the memory region where it is safe to place data passed
> to the Linux kernel (DTB, initrd), it is
> a) Less than or equal to RAM size.
> b) not within the kernel's highmem region
> So 256M seems large enough in most circumstances and users
> can override this value via environment variable "bootm_mapsize"
> if needed.
> This modification increases the boot time but avoid assumption
> on aligned address for bootm command.
> A user can still define this variables themselves if the FDT or
> initrd is either left in-place or copied to a specific location.
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200210/4733981f/attachment.sig>

More information about the U-Boot mailing list