Skip to contentSkip to conversation

board: stih410-b2260: remove fdt_high and initrd_high

PATCH New Patrice Chotard 3 participants 4 messages Feb 3, 2020 – Feb 14, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board: stih410-b2260: remove fdt_high and initrd_high

Remove fdt_high and initrd_high as they shouldn't be used, this allows the fdt and initrd relocation.
This implies to set CONFIG_SYS_BOOTMAPSZ to indicate the amount of memory available to contain kernel, device tree and initrd for relocation.

---

 include/configs/stih410-b2260.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
include/configs/stih410-b2260.h +6 -2
index a8a58f3950..f393aa0264 100644
@@ -19,6 +19,12 @@
 
 /* Environment */
 
+/*
+ * For booting Linux, use the first 256 MB of memory, since this is
+ * the maximum mapped by the Linux kernel during initialization.
+ */
+#define CONFIG_SYS_BOOTMAPSZ		SZ_256M
+
 #define CONFIG_LOADADDR			CONFIG_SYS_LOAD_ADDR
 #define CONFIG_SYS_BOOTM_LEN		SZ_16M
 
@@ -34,8 +40,6 @@
 			"fdt_addr_r=0x47000000\0"		\
 			"scriptaddr=0x50000000\0"		\
 			"pxefile_addr_r=0x50100000\0"		\
-			"fdt_high=0xffffffffffffffff\0"		\
-			"initrd_high=0xffffffffffffffff\0"	\
 			"ramdisk_addr_r=0x48000000\0"		\
 			BOOTENV
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 board: stih410-b2260: remove fdt_high and initrd_high

Quoted 7 lines · Patrice Chotard

Remove fdt_high and initrd_high as they shouldn't be used, this allows the fdt and initrd relocation.
This implies to set CONFIG_SYS_BOOTMAPSZ to indicate the amount of memory available to contain kernel, device tree and initrd for relocation.

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/20200203/834bd4f9/attachment.sig>
#2 lore raw

PATCH 1/1 board: stih410-b2260: remove fdt_high and initrd_high

In reply to Patrice Chotard

Hi Patrice,

Quoted 10 lines

From: Patrice CHOTARD <[email protected]>
Sent: lundi 3 f?vrier 2020 15:01

Remove fdt_high and initrd_high as they shouldn't be used, this allows the fdt and initrd relocation.
This implies to set CONFIG_SYS_BOOTMAPSZ to indicate the amount of memory available to contain kernel, device tree and initrd for relocation.

---

Regards,

Patrick

#3 lore raw

PATCH 1/1 board: stih410-b2260: remove fdt_high and initrd_high

In reply to Patrice Chotard

Hi,

Quoted 10 lines

From: Patrice CHOTARD <[email protected]>
Sent: lundi 3 f?vrier 2020 15:01

Remove fdt_high and initrd_high as they shouldn't be used, this allows the fdt and initrd relocation.
This implies to set CONFIG_SYS_BOOTMAPSZ to indicate the amount of memory available to contain kernel, device tree and initrd for relocation.

---

Applied to u-boot-stm32/master, thanks!

Regards
Patrick