Skip to contentSkip to conversation

odroid: limit boot memory to lowmem

PATCH In review Joost van Zwieten 2 participants 2 messages Jan 14, 2023 – Jan 19, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 odroid: limit boot memory to lowmem

Commit 4963f63fe61f15329d77472a762b1d8bf754d24b changed the default value of the bootm_size environment variable. For the odroid board this caused the initrd and fdt to be placed in highmem. This patch restricts the boot data conservatively to 256MB.

---
include/configs/odroid.h | 1 +

1 file changed, 1 insertion(+)
include/configs/odroid.h +0 -0
index 560a23c23e..7255efc2df 100644
@@ -17,6 +17,7 @@

#define CFG_SYS_PL310_BASE 0x10502000
#endif

+#define CFG_SYS_BOOTMAPSZ 0x10000000
#define CFG_SYS_SDRAM_BASE 0x40000000
#define SDRAM_BANK_SIZE (256 << 20) /* 256 MB */
#define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE

Signature · 1 line
2.30.2
#1 lore raw
Quoted 6 lines · Joost van Zwieten

Commit 4963f63fe61f15329d77472a762b1d8bf754d24b changed the default value of the bootm_size environment variable. For the odroid board this caused the initrd and fdt to be placed in highmem. This patch restricts the boot data conservatively to 256MB.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom