[PATCH 1/2] arm-bsp/sbsa-ref: modify network device and pflash for runqemu
Jon Mason <[email protected]>
| Newsgroups | org.yoctoproject.lists.meta-arm |
|---|---|
| Message-ID | <[email protected]> |
The network device and pflash can be modified to more correctly emulate an actual system. Suggested-by: Marcin Juszkiewicz <[email protected]> Signed-off-by: Jon Mason <[email protected]> --- meta-arm-bsp/conf/machine/sbsa-ref.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-arm-bsp/conf/machine/sbsa-ref.conf b/meta-arm-bsp/conf/machine/sbsa-ref.conf index 116b4276319d..3f93b6929121 100644 --- a/meta-arm-bsp/conf/machine/sbsa-ref.conf +++ b/meta-arm-bsp/conf/machine/sbsa-ref.conf @@ -36,11 +36,11 @@ QB_MACHINE = "-machine sbsa-ref" QB_CPU = "-cpu neoverse-n2" QB_MEM = "-m 1024" QB_DEFAULT_FSTYPE = "wic.qcow2" -QB_NETWORK_DEVICE = "-device virtio-net-pci,netdev=net0,mac=@MAC@" +QB_NETWORK_DEVICE = "-device e1000e,netdev=net0,mac=@MAC@" QB_DRIVE_TYPE = "/dev/hd" QB_ROOTFS_OPT = "-drive file=@ROOTFS@,if=ide,format=qcow2" QB_DEFAULT_KERNEL = "none" -QB_OPT_APPEND = "-device usb-tablet -device usb-kbd -pflash @DEPLOY_DIR_IMAGE@/SBSA_FLASH0.fd -pflash @DEPLOY_DIR_IMAGE@/SBSA_FLASH1.fd" +QB_OPT_APPEND = "-device usb-tablet -device usb-kbd -drive if=pflash,format=raw,unit=0,readonly,file=@DEPLOY_DIR_IMAGE@/SBSA_FLASH0.fd -drive if=pflash,format=raw,unit=1,readonly,file=@DEPLOY_DIR_IMAGE@/SBSA_FLASH1.fd" QB_SERIAL_OPT = "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=virtcon" QB_TCPSERIAL_OPT = "-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon" # sbsa-ref is a true virtual machine so can't use KVM -- 2.39.5 (Apple Git-154)