Skip to content
Snippets Groups Projects
Commit 7ff7166c authored by Alison Wang's avatar Alison Wang Committed by York Sun
Browse files

arm: ls102xa: Set fdt_high and initrd_high to the value of 0xffffffff


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: default avatarAlison Wang <alison.wang@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 831c068f
No related branches found
No related tags found
No related merge requests found
...@@ -442,13 +442,13 @@ ...@@ -442,13 +442,13 @@
#ifdef CONFIG_LPUART #ifdef CONFIG_LPUART
#define CONFIG_EXTRA_ENV_SETTINGS \ #define CONFIG_EXTRA_ENV_SETTINGS \
"bootargs=root=/dev/ram0 rw console=ttyLP0,115200\0" \ "bootargs=root=/dev/ram0 rw console=ttyLP0,115200\0" \
"initrd_high=0xcfffffff\0" \ "initrd_high=0xffffffff\0" \
"fdt_high=0xcfffffff\0" "fdt_high=0xffffffff\0"
#else #else
#define CONFIG_EXTRA_ENV_SETTINGS \ #define CONFIG_EXTRA_ENV_SETTINGS \
"bootargs=root=/dev/ram0 rw console=ttyS0,115200\0" \ "bootargs=root=/dev/ram0 rw console=ttyS0,115200\0" \
"initrd_high=0xcfffffff\0" \ "initrd_high=0xffffffff\0" \
"fdt_high=0xcfffffff\0" "fdt_high=0xffffffff\0"
#endif #endif
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment