aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-11-28 11:50:58 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-11-30 09:23:27 +0100
commit9d2465347c7cc6997c58409083c8ba18888cc9aa (patch)
tree451259799fd112f2e7d3ccf05d9af350e9ee75e9 /doc
parentade37460a944aed36ae6ee634c4d4a9a22690461 (diff)
downloadu-boot-9d2465347c7cc6997c58409083c8ba18888cc9aa.zip
u-boot-9d2465347c7cc6997c58409083c8ba18888cc9aa.tar.gz
u-boot-9d2465347c7cc6997c58409083c8ba18888cc9aa.tar.bz2
doc: qemu-arm peripherials
* add description how to add RNG device * for a disk specify format=raw to avoid a warning * fix a typo Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/board/emulation/qemu-arm.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu-arm.rst
index 584ef0a..7c24e29 100644
--- a/doc/board/emulation/qemu-arm.rst
+++ b/doc/board/emulation/qemu-arm.rst
@@ -65,7 +65,8 @@ can be enabled with the following command line parameters:
- To add a Serial ATA disk via an Intel ICH9 AHCI controller, pass e.g.::
- -drive if=none,file=disk.img,id=mydisk -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0
+ -drive if=none,file=disk.img,format=raw,id=mydisk \
+ -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0
- To add an Intel E1000 network adapter, pass e.g.::
@@ -75,10 +76,14 @@ can be enabled with the following command line parameters:
-device usb-ehci,id=ehci
-- To add a NVMe disk, pass e.g.::
+- To add an NVMe disk, pass e.g.::
-drive if=none,file=disk.img,id=mydisk -device nvme,drive=mydisk,serial=foo
+- To add a random number generator, pass e.g.::
+
+ -device virtio-rng-pci
+
These have been tested in QEMU 2.9.0 but should work in at least 2.5.0 as well.
Enabling TPMv2 support