Browse Source

machine.conf: Add qemu defconfig to machine config
User must rebuild u-boot-starfive with qemu-riscv64_spl_defconfig to run QEMU.

Signed-off-by: weiheng.cheng <weiheng.cheng@starfivetech.com>

weiheng.cheng 6 months ago
parent
commit
0ca4b09569
2 changed files with 3 additions and 0 deletions
  1. 2 0
      conf/machine/starfive-dubhe.conf
  2. 1 0
      conf/machine/starfive-jh8100.conf

+ 2 - 0
conf/machine/starfive-dubhe.conf

@@ -57,6 +57,8 @@ PREFERRED_VERSION_opensbi = "1.2"
 #UBOOT_CONFIG = "defconfig"
 
 UBOOT_MACHINE = "starfive_dubhe_fpga_defconfig"
+#UBOOT_MACHINE = "qemu-riscv64_spl_defconfig"
+
 UBOOT_DTB_BINARY = "dubhe_fpga.dtb"
 
 SPL_BINARY = "spl/u-boot-spl.bin"

+ 1 - 0
conf/machine/starfive-jh8100.conf

@@ -51,6 +51,7 @@ UBOOT_ENV ?= "boot"
 UBOOT_ENV_SUFFIX = "scr.uimg"
 
 UBOOT_MACHINE = "starfive_jh8100_defconfig"
+#UBOOT_MACHINE = "qemu-riscv64_spl_defconfig"
 UBOOT_DTB_BINARY = "jh8100-fpga.dtb"
 
 SPL_BINARY = "spl/u-boot-spl.bin"