From 056775d1084f8204f290ecd3b24d3d0cbaa54c6b Mon Sep 17 00:00:00 2001 From: Camila Macedo Date: Wed, 20 Sep 2023 18:28:15 +0100 Subject: [PATCH] provide instructions to allow users boot the image --- source/reference-manual/qemu/arm64.rst | 27 +++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/source/reference-manual/qemu/arm64.rst b/source/reference-manual/qemu/arm64.rst index 38ddbbcfd..927459380 100644 --- a/source/reference-manual/qemu/arm64.rst +++ b/source/reference-manual/qemu/arm64.rst @@ -18,7 +18,32 @@ QEMU CLI -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 \ -chardev null,id=virtcon -machine virt,secure=on -nographic +.. note:: + The |FIRMWARE_BLOB| artifact can typically be found in the same location where you downloaded the ``.wic.gz`` image. If you are unable to locate |FIRMWARE_BLOB|, consider checking for other artifacts such as; ``QEMU_EFI.fd`` and ``QEMU_VARS.fd``. These can be used to boot the image with the ``-drive`` flag. + Example: + + .. code-block:: + + qemu-system-aarch64 \ + -drive file=lmp-factory-image-qemuarm64-secureboot.wic.qcow2,if=virtio,format=qcow2 \ + -device qemu-xhci \ + -device usb-tablet \ + -device usb-kbd \ + -net nic \ + -net user \ + -machine virt \ + -cpu host \ + -smp 4 \ + -m 2048 \ + -accel hvf \ + -no-reboot \ + -device virtio-gpu-pci \ + -display default,show-cursor=on \ + -drive file=QEMU_EFI.fd,format=raw,readonly=on,if=pflash \ + -drive file=QEMU_VARS.fd,format=raw,if=pflash \ # Here's the added line + -serial mon:stdio -serial null + .. include:: qemu-ssh.template .. tip:: - You can register your device by following the steps from :ref:`gs-register`. + You can register your device by following the steps from :ref:`gs-register`. \ No newline at end of file