All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: ls102xa: Set fdt_high and initrd_high to the value of 0xffffffff
@ 2015-10-26  6:08 Alison Wang
  2015-10-30 16:17 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Alison Wang @ 2015-10-26  6:08 UTC (permalink / raw)
  To: u-boot

As 3G/1G user/kernel memory split is used on LS1021A, the Linux kernel
fails to access the device tree blob on boot. The reason is that u-boot
relocates the device tree blob into high memory when booting the kernel
and the kernel is unable to access the blob.

To avoid this issue, fdt_high is set to the value of 0xffffffff. The
device tree blob will not get relocated and is still in low memory to
make it accessible to the kernel.

For the same reason, initrd_high is set to the value of 0xffffffff too.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
---
 include/configs/ls1021atwr.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 784331f..d6fe020 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -429,13 +429,13 @@
 #ifdef CONFIG_LPUART
 #define CONFIG_EXTRA_ENV_SETTINGS       \
 	"bootargs=root=/dev/ram0 rw console=ttyLP0,115200\0" \
-	"initrd_high=0xcfffffff\0"      \
-	"fdt_high=0xcfffffff\0"
+	"initrd_high=0xffffffff\0"      \
+	"fdt_high=0xffffffff\0"
 #else
 #define CONFIG_EXTRA_ENV_SETTINGS	\
 	"bootargs=root=/dev/ram0 rw console=ttyS0,115200\0" \
-	"initrd_high=0xcfffffff\0"      \
-	"fdt_high=0xcfffffff\0"
+	"initrd_high=0xffffffff\0"      \
+	"fdt_high=0xffffffff\0"
 #endif
 
 /*
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] arm: ls102xa: Set fdt_high and initrd_high to the value of 0xffffffff
  2015-10-26  6:08 [U-Boot] [PATCH] arm: ls102xa: Set fdt_high and initrd_high to the value of 0xffffffff Alison Wang
@ 2015-10-30 16:17 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2015-10-30 16:17 UTC (permalink / raw)
  To: u-boot



On 10/25/2015 11:08 PM, Alison Wang wrote:
> As 3G/1G user/kernel memory split is used on LS1021A, the Linux kernel
> fails to access the device tree blob on boot. The reason is that u-boot
> relocates the device tree blob into high memory when booting the kernel
> and the kernel is unable to access the blob.
> 
> To avoid this issue, fdt_high is set to the value of 0xffffffff. The
> device tree blob will not get relocated and is still in low memory to
> make it accessible to the kernel.
> 
> For the same reason, initrd_high is set to the value of 0xffffffff too.
> 
> Signed-off-by: Alison Wang <alison.wang@freescale.com>
> ---


Applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-30 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-26  6:08 [U-Boot] [PATCH] arm: ls102xa: Set fdt_high and initrd_high to the value of 0xffffffff Alison Wang
2015-10-30 16:17 ` York Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.