summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandolph <[email protected]>2025-10-29 16:23:28 +0800
committerLeo Yu-Chi Liang <[email protected]>2025-12-08 12:10:21 +0800
commit28261933c5ab6e9e0c0935efb09810b08ab3d16d (patch)
treec0e94db148482a17603d5efe0d70438bbe32b33b
parent281e6fa4e4664df0101c5d97d95eeea97818eccc (diff)
falcon: support booting linux from MMC/Parallel Flash
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 <[email protected]>
-rw-r--r--common/spl/Kconfig1
-rw-r--r--configs/ae350_rv32_falcon_xip_defconfig3
-rw-r--r--configs/ae350_rv64_falcon_xip_defconfig3
3 files changed, 5 insertions, 2 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 8dade2b501e..06081af3ce1 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -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"
diff --git a/configs/ae350_rv32_falcon_xip_defconfig b/configs/ae350_rv32_falcon_xip_defconfig
index 1895d52a180..4ae973b6e7a 100644
--- a/configs/ae350_rv32_falcon_xip_defconfig
+++ b/configs/ae350_rv32_falcon_xip_defconfig
@@ -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
diff --git a/configs/ae350_rv64_falcon_xip_defconfig b/configs/ae350_rv64_falcon_xip_defconfig
index ae31675cc9c..14d22b9d32a 100644
--- a/configs/ae350_rv64_falcon_xip_defconfig
+++ b/configs/ae350_rv64_falcon_xip_defconfig
@@ -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