imx: imx8qm: enable relocation of fdt and initrd
PATCH v2 1/1 imx: imx8qm: enable relocation of fdt and initrd
Set CONFIG_SYS_BOOTMAPSZ to the amount of memory available which is needed to relocate the kernel, device tree and initrd.
Remove 'fdt_high' and 'initrd_high' environment variables from default environment which prevents relocation of FDT and initrd.
Signed-off-by Oliver Graute <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Peng Fan <[email protected]>
Cc Simon Glass <[email protected]>
Cc Ye Li <[email protected]>
Cc uboot-imx <[email protected]>
--- include/configs/imx8qm_rom7720.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
include/configs/imx8qm_rom7720.h +1 -2
@@ -17,6 +17,7 @@#undef CONFIG_BOOTM_NETBSD#define CONFIG_FSL_USDHC +#define CONFIG_SYS_BOOTMAPSZ (256 << 20)#define CONFIG_SYS_FSL_ESDHC_ADDR 0#define USDHC1_BASE_ADDR 0x5B010000#define USDHC2_BASE_ADDR 0x5B020000
@@ -67,11 +68,9 @@"panel=NULL\0" \"console=ttyLP0\0" \"fdt_addr=0x83000000\0" \ -"fdt_high=0xffffffffffffffff\0" \"boot_fdt=try\0" \"fdt_file=imx8qm-rom7720-a1.dtb\0" \"initrd_addr=0x83800000\0" \ -"initrd_high=0xffffffffffffffff\0" \ "mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \ "mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \"mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
Signature · 1 line
2.17.1
PATCH v2 1/1 imx: imx8qm: enable relocation of fdt and initrd
Quoted 6 lines · Oliver Graute
Set
CONFIG_SYS_BOOTMAPSZto the amount of memory available which is needed to relocate the kernel, device tree and initrd.Remove '
fdt_high' and 'initrd_high' environment variables from default environment which prevents relocation of FDT and initrd.
Quoted 7 lines
Signed-off-by Oliver Graute <[email protected]>Cc Stefano Babic <[email protected]>Cc Fabio Estevam <[email protected]>Cc Peng Fan <[email protected]>Cc Simon Glass <[email protected]>Cc Ye Li <[email protected]>Cc uboot-imx <[email protected]>
Reviewed-by Tom Rini <[email protected]>
Signature · 8 lines
Tom -------------- 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/20200212/a3f3d1bb/attachment.sig>