[PATCH] config/sifive_unmatched: add preboot commands

Alexander von Gluck IV kallisti5 at unixzen.com
Sun Aug 15 17:27:01 CEST 2021


* Opens up u-boot to properly search through USB media
  for a valid boot media
* The MMC on the unmatched is slow, so a model of running
  the OS from USB or NVMe is a compelling one. (putting just
  u-boot on the sd card)
---
 configs/sifive_unmatched_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/sifive_unmatched_defconfig b/configs/sifive_unmatched_defconfig
index 38b7acd536..0e02d46f72 100644
--- a/configs/sifive_unmatched_defconfig
+++ b/configs/sifive_unmatched_defconfig
@@ -11,6 +11,7 @@ CONFIG_TARGET_SIFIVE_UNMATCHED=y
 CONFIG_ARCH_RV64I=y
 CONFIG_RISCV_SMODE=y
 # CONFIG_SPL_USE_ARCH_MEMMOVE is not set
+CONFIG_PREBOOT="pci enum; usb start;"
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_SPL_LOAD_FIT_ADDRESS=0x84000000
-- 
2.32.0



More information about the U-Boot mailing list