Skip to content

Commit

Permalink
provide instructions to allow users boot the image
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 authored and kprosise committed Sep 21, 2023
1 parent b6f5267 commit 056775d
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion source/reference-manual/qemu/arm64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

0 comments on commit 056775d

Please sign in to comment.