Browse Source

dubhe: starfive-dubhe.conf: Update QEMU boot config
Remove all conditional arguments and update to the core-image-minimal.
The command "runqemu nographic core-image-minimal" will run fw_dynamic.bin as bios and drop to rootfs.

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

weiheng.cheng 4 months ago
parent
commit
ebeb0f041d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      conf/machine/starfive-dubhe.conf

+ 4 - 4
conf/machine/starfive-dubhe.conf

@@ -15,15 +15,15 @@ PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'
 EXTRA_IMAGEDEPENDS:append = " qemu-helper-native:do_addto_recipe_sysroot"
 IMAGE_CLASSES += " qemuboot "
 QB_MACHINE = "-machine virt"
-QB_DEFAULT_KERNEL = "${@oe.utils.conditional('ENABLE_INIT','1','Image-initramfs-starfive-dubhe.bin','Image-starfive-dubhe.bin',d)}"
-QB_DEFAULT_BIOS = "fw_payload.bin"
+QB_DEFAULT_KERNEL = "Image"
+QB_DEFAULT_BIOS = "fw_dynamic.bin"
 QB_CPU = "-cpu rv64"
-QB_DEFAULT_FSTYPE = "${@oe.utils.conditional('ENABLE_INIT','1','cpio.gz','ext4',d)}"
+QB_DEFAULT_FSTYPE = "ext4"
 SERIAL_CONSOLES = "115200;ttyS0"
 QB_SYSTEM_NAME = "qemu-system-riscv64"
 QB_MEM = "-m 2048"
 QB_OPT_APPEND = "-smp 8"
-QB_ROOTFS_OPT = "${@oe.utils.conditional('ENABLE_EXT4','1','-drive file=@ROOTFS@,format=raw,id=mmc0,if=none -device virtio-blk-device,drive=mmc0','',d)}"
+QB_ROOTFS_OPT = "-drive file=@ROOTFS@,format=raw,id=mmc0,if=none -device virtio-blk-device,drive=mmc0"
 
 require conf/machine/include/riscv/tune-riscv.inc