diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2019-08-20 13:59:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-21 15:29:02 +0100 |
commit | dd6358438c0641919a7929270edd57434d56eac7 (patch) | |
tree | bbe83b2e1a9e0bace41892a8775e90bfc6e78b13 | |
parent | 23662395e2e7f1ac2df9f2071ed2a1c38fecba77 (diff) | |
download | poky-dd6358438c0641919a7929270edd57434d56eac7.tar.gz |
qemuriscv64: Specify the firmware as a bios instead of kernel
Now that we have a -bios option for the RISC-V virt machine in QEMU we
can pass OpenSBI in via -bios and the kernel in via -kernel. We no
longer need to pass the kernel in via -device loader so let's remove
that.
(From OE-Core rev: 65e7f371f19e053d0bac7771a80615f6bada74c7)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/machine/include/riscv/qemuriscv.inc | 2 | ||||
-rw-r--r-- | meta/conf/machine/qemuriscv64.conf | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc b/meta/conf/machine/include/riscv/qemuriscv.inc index 84d09fa78e..f1cb62818b 100644 --- a/meta/conf/machine/include/riscv/qemuriscv.inc +++ b/meta/conf/machine/include/riscv/qemuriscv.inc | |||
@@ -26,7 +26,7 @@ UBOOT_ENTRYPOINT_riscv64 = "0x80200000" | |||
26 | QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi" | 26 | QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi" |
27 | QB_MEM = "-m 512" | 27 | QB_MEM = "-m 512" |
28 | QB_MACHINE = "-machine virt" | 28 | QB_MACHINE = "-machine virt" |
29 | QB_DEFAULT_KERNEL = "fw_jump.elf" | 29 | QB_DEFAULT_BIOS = "fw_jump.elf" |
30 | QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" | 30 | QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" |
31 | QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@" | 31 | QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@" |
32 | QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0" | 32 | QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0" |
diff --git a/meta/conf/machine/qemuriscv64.conf b/meta/conf/machine/qemuriscv64.conf index dba8f09e93..99b48b309b 100644 --- a/meta/conf/machine/qemuriscv64.conf +++ b/meta/conf/machine/qemuriscv64.conf | |||
@@ -4,8 +4,6 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/riscv/qemuriscv.inc | 5 | require conf/machine/include/riscv/qemuriscv.inc |
6 | 6 | ||
7 | QB_OPT_APPEND += "-show-cursor -monitor null -device loader,file=${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE},addr=0x80200000" | ||
8 | |||
9 | EXTRA_IMAGEDEPENDS += "u-boot" | 7 | EXTRA_IMAGEDEPENDS += "u-boot" |
10 | UBOOT_MACHINE = "qemu-riscv64_defconfig" | 8 | UBOOT_MACHINE = "qemu-riscv64_defconfig" |
11 | UBOOT_ELF = "u-boot" | 9 | UBOOT_ELF = "u-boot" |