* [PATCH v2] imx: imx8qm: enable relocation of fdt and initrd
@ 2020-02-12 12:01 Oliver Graute
2020-02-12 13:31 ` Tom Rini
0 siblings, 1 reply; 3+ messages in thread
From: Oliver Graute @ 2020-02-12 12:01 UTC (permalink / raw)
To: u-boot
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 <oliver.graute@kococonnector.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Ye Li <ye.li@nxp.com>
Cc: uboot-imx <uboot-imx@nxp.com>
---
include/configs/imx8qm_rom7720.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/configs/imx8qm_rom7720.h b/include/configs/imx8qm_rom7720.h
index 8e1427da8a..6fc2478d64 100644
--- a/include/configs/imx8qm_rom7720.h
+++ b/include/configs/imx8qm_rom7720.h
@@ -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" \
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2] imx: imx8qm: enable relocation of fdt and initrd
2020-02-12 12:01 [PATCH v2] imx: imx8qm: enable relocation of fdt and initrd Oliver Graute
@ 2020-02-12 13:31 ` Tom Rini
0 siblings, 0 replies; 3+ messages in thread
From: Tom Rini @ 2020-02-12 13:31 UTC (permalink / raw)
To: u-boot
On Wed, Feb 12, 2020 at 12:01:17PM +0000, Oliver Graute wrote:
> 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 <oliver.graute@kococonnector.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Ye Li <ye.li@nxp.com>
> Cc: uboot-imx <uboot-imx@nxp.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2] imx: imx8qm: enable relocation of fdt and initrd
@ 2020-03-10 15:32 sbabic at denx.de
0 siblings, 0 replies; 3+ messages in thread
From: sbabic at denx.de @ 2020-03-10 15:32 UTC (permalink / raw)
To: u-boot
> 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 <oliver.graute@kococonnector.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Ye Li <ye.li@nxp.com>
> Cc: uboot-imx <uboot-imx@nxp.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-10 15:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-12 12:01 [PATCH v2] imx: imx8qm: enable relocation of fdt and initrd Oliver Graute
2020-02-12 13:31 ` Tom Rini
-- strict thread matches above, loose matches on Subject: below --
2020-03-10 15:32 sbabic at denx.de
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox