]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/mpc85xx: socrates: add initrd_high default environment variable
authorHeiko Schocher <hs@denx.de>
Tue, 24 Jan 2023 17:06:54 +0000 (18:06 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 6 Feb 2023 18:04:53 +0000 (13:04 -0500)
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

index 67ff370e05c953f6158f1391d81d9e3797f587a5..ed1003158bddecd4455e026aa987ed9ba56e4077 100644 (file)
 #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"                    \