Skip to contentSkip to conversation

arm64: ls1028a: remove fdt_high environment variable

PATCH New Yuantian Tang 2 participants 3 messages Feb 19, 2020 – Mar 30, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm64: ls1028a: remove fdt_high environment variable

Setting fdt_high and initrd_high to 0xffffffffffffffff leads to various difficulty to resolve bugs.
Remove them and use bootm_size instead to safely contain a kernel, device tree and initrd for relocation.

---
 include/configs/ls1028a_common.h | 3 +--
 include/configs/ls1028aqds.h     | 2 --
 2 files changed, 1 insertion(+), 4 deletions(-)
include/configs/ls1028a_common.h +1 -2
index 05b8cf00ee..1c7680c234 100644
@@ -79,8 +79,7 @@
 	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
 	"ramdisk_addr=0x800000\0"		\
 	"ramdisk_size=0x2000000\0"		\
-	"fdt_high=0xffffffffffffffff\0"		\
-	"initrd_high=0xffffffffffffffff\0"	\
+	"bootm_size=0x10000000\0"		\
 	"fdt_addr=0x00f00000\0"                 \
 	"kernel_addr=0x01000000\0"              \
 	"scriptaddr=0x80000000\0"               \
include/configs/ls1028aqds.h +0 -2
index 982df07bb0..fca0a3af19 100644
@@ -90,8 +90,6 @@
 	"hwconfig=fsl_ddr:bank_intlv=auto\0" \
 	"ramdisk_addr=0x800000\0" \
 	"ramdisk_size=0x2000000\0" \
-	"fdt_high=0xffffffffffffffff\0" \
-	"initrd_high=0xffffffffffffffff\0" \
 	"fdt_addr=0x00f00000\0" \
 	"kernel_addr=0x01000000\0" \
 	"scriptaddr=0x80000000\0" \
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 arm64: ls1046a: remove fdt_high environment variable

Setting fdt_high and initrd_high to 0xffffffffffffffff leads to various difficulty to resolve bugs.
Remove them and use bootm_size instead to safely contain a kernel, device tree and initrd for relocation.

---
 include/configs/ls1046a_common.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/configs/ls1046a_common.h +1 -2
index 3944f87794..978df3c947 100644
@@ -217,8 +217,7 @@
 	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
 	"ramdisk_addr=0x800000\0"		\
 	"ramdisk_size=0x2000000\0"		\
-	"fdt_high=0xffffffffffffffff\0"		\
-	"initrd_high=0xffffffffffffffff\0"	\
+	"bootm_size=0x10000000\0"		\
 	"fdt_addr=0x64f00000\0"                 \
 	"kernel_addr=0x65000000\0"              \
 	"scriptaddr=0x80000000\0"               \
Signature · 1 line
2.17.1
#2 lore raw

PATCH 1/2 arm64: ls1028a: remove fdt_high environment variable

In reply to Yuantian Tang
Quoted 7 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Yuantian Tang
Sent: Wednesday, February 19, 2020 2:32 PM
To: Priyanka Singh <[email protected]>
Cc: u-boot at lists.denx.de; Andy Tang <[email protected]>
Subject: [PATCH 1/2] arm64: ls1028a: remove fdt_high environment variable

Quoted 7 lines

Setting fdt_high and initrd_high to 0xffffffffffffffff leads to various difficulty to resolve bugs.
Remove them and use bootm_size instead to safely contain a kernel, device tree and initrd for relocation.

---

Applied to u-boot-fsl-qoriq. Waiting upstream

Thanks
Priyanka