diff mbox series

[v1,06/12] powerpc/mpc85xx: socrates: add initrd_high default environment variable

Message ID 20230124170700.3889830-7-hs@denx.de
State Accepted
Commit 316d3d06059810cc64e4e438cfe3f2b001fc31e1
Delegated to: Tom Rini
Headers show
Series powerpc: mpc85xx: fixes and updates for socrates board | expand

Commit Message

Heiko Schocher Jan. 24, 2023, 5:06 p.m. UTC
we need to set initrd_high to get fitimage booting.

Without, U-Boot drops when booting fitimage:

ERROR: Failed to allocate 0x59a0b6 bytes below 0x800000.
ramdisk - allocation error
bootm - boot application image from memory

Signed-off-by: Heiko Schocher <hs@denx.de>
---

 include/configs/socrates.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Feb. 7, 2023, 4:50 p.m. UTC | #1
On Tue, Jan 24, 2023 at 06:06:54PM +0100, Heiko Schocher wrote:

> we need to set initrd_high to get fitimage booting.
> 
> Without, U-Boot drops when booting fitimage:
> 
> ERROR: Failed to allocate 0x59a0b6 bytes below 0x800000.
> ramdisk - allocation error
> bootm - boot application image from memory
> 
> Signed-off-by: Heiko Schocher <hs@denx.de>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index 67ff370e05..ed1003158b 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -118,6 +118,7 @@ 
 #define	CFG_EXTRA_ENV_SETTINGS					\
 	"netdev=eth0\0"							\
 	"consdev=ttyS0\0"						\
+	"initrd_high=0x03000000\0"					\
 	"uboot_file=/home/tftp/syscon3/u-boot.bin\0"			\
 	"bootfile=/home/tftp/syscon3/uImage\0"				\
 	"fdt_file=/home/tftp/syscon3/socrates.dtb\0"			\