]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
falcon: support booting linux from MMC/Parallel Flash
authorRandolph <randolph@andestech.com>
Wed, 29 Oct 2025 08:23:28 +0000 (16:23 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 8 Dec 2025 04:10:21 +0000 (12:10 +0800)
To support booting Linux from MMC, the file name should be
set up correctly. To support booting Linux from Parallel Flash,
the SPL_LOAD_FIT_ADDRESS should point to the Parallel Flash.

Signed-off-by: Randolph <randolph@andestech.com>
common/spl/Kconfig
configs/ae350_rv32_falcon_xip_defconfig
configs/ae350_rv64_falcon_xip_defconfig

index 8dade2b501eb91eb4fe40b940f643d221acebf6f..06081af3ce1bce3bbed318fda9a7a5e3f2f10d44 100644 (file)
@@ -787,6 +787,7 @@ config SPL_FS_LOAD_PAYLOAD_NAME
        string "File to load for U-Boot from the filesystem"
        depends on SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS || SPL_SEMIHOSTING
        default "tispl.bin" if SYS_K3_SPL_ATF
+       default "linux.itb" if SPL_LOAD_FIT_OPENSBI_OS_BOOT
        default "u-boot.itb" if SPL_LOAD_FIT
        default "linux.itb" if SPL_LOAD_FIT_OPENSBI_OS_BOOT
        default "u-boot.img"
index 1895d52a18038d2a15b3cb45514618d0b3987749..4ae973b6e7abc1a0def270de406d60713f51c5a2 100644 (file)
@@ -18,7 +18,8 @@ CONFIG_SPL_XIP=y
 CONFIG_SPL_LOAD_FIT_OPENSBI_OS_BOOT=y
 CONFIG_SYS_MONITOR_BASE=0x88000000
 CONFIG_FIT=y
-CONFIG_SPL_LOAD_FIT_ADDRESS=0x80010000
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x88600000
+CONFIG_SYS_BOOTM_LEN=0x4000000
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_PBSIZE=1050
index ae31675cc9c3f16b363853796dd0830e556dd9d5..14d22b9d32a93e9c857dd222843ced680781ccb3 100644 (file)
@@ -18,7 +18,8 @@ CONFIG_SPL_XIP=y
 CONFIG_SPL_LOAD_FIT_OPENSBI_OS_BOOT=y
 CONFIG_SYS_MONITOR_BASE=0x88000000
 CONFIG_FIT=y
-CONFIG_SPL_LOAD_FIT_ADDRESS=0x80010000
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x88600000
+CONFIG_SYS_BOOTM_LEN=0x4000000
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_PBSIZE=1050