|
@@ -14,11 +14,11 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-mainline"
|
|
|
EXTRA_IMAGEDEPENDS += "opensbi"
|
|
|
RISCV_SBI_PLAT = "sifive/fu540"
|
|
|
|
|
|
-## When we have u-boot SD/MMC load support we can swap to
|
|
|
-## u-boot being the defual. Until then it's an option for TFTP boot
|
|
|
-# RISCV_SBI_PAYLOAD ?= "u-boot.bin"
|
|
|
-## This will set the kernel as the OpenSBI payload
|
|
|
-RISCV_SBI_PAYLOAD ?= "${KERNEL_IMAGETYPE}-${MACHINE}.bin"
|
|
|
+## This sets u-boot as the default OpenSBI payload
|
|
|
+RISCV_SBI_PAYLOAD ?= "u-boot.bin"
|
|
|
+## This will set the kernel as the OpenSBI payload. This is not recommended,
|
|
|
+## you can use U-Boot's MMC loading instead.
|
|
|
+# RISCV_SBI_PAYLOAD ?= "${KERNEL_IMAGETYPE}-${MACHINE}.bin"
|
|
|
|
|
|
RISCV_SBI_FDT ?= "hifive-unleashed-a00.dtb"
|
|
|
## Use this to add Microsemi Expansion board support
|
|
@@ -40,10 +40,10 @@ UBOOT_MACHINE = "sifive_fu540_defconfig"
|
|
|
|
|
|
UBOOT_ENTRYPOINT = "0x80200000"
|
|
|
|
|
|
-## Set this to "tftp-boot" to generate a boot.scr file which should
|
|
|
-## be included in the TFTP directory. It will contain the commands to
|
|
|
-## autoboot Linux from u-boot.
|
|
|
-UBOOT_ENV ?= "tftp-boot"
|
|
|
+## Set this to "mmc-boot" to generate a boot.scr file which should be included
|
|
|
+## in the boot partition. It will try to load a kernel image by TFTP and if that
|
|
|
+## fails it will fall back to local images in the boot partition.
|
|
|
+UBOOT_ENV ?= "mmc-boot"
|
|
|
|
|
|
## wic default support
|
|
|
WKS_FILE_DEPENDS ?= " \
|