DM: update launch scripts to use OVMF.fd directly from the rootfs

* Update the launch scripts provided as examples on how to launch a Zephyr,
VxWorks or Windows User VM to directly use the 'OVMF.fd' bios file installed
by default in '/usr/share/acrn/bios/'
* Remove the OVMF.fd that was kept under 'doc/tutorials' (no longer needed)
* Adapt the tutorials to reflect this change

Tracked-On: #3673
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
Geoffroy Van Cutsem
2019-09-16 12:16:34 +02:00
committed by wenlingz
parent 32a75af1ea
commit f5c8fbb281
7 changed files with 4 additions and 9 deletions

Binary file not shown.

View File

@@ -102,7 +102,6 @@ Steps for Using VxWorks as User OS
$ mkdir vxworks && cd vxworks
$ cp /usr/share/acrn/samples/nuc/launch_vxworks.sh .
$ cp /usr/share/acrn/bios/OVMF.fd .
You will also need to copy the ``VxWorks.img`` created in the VxWorks build environment into directory
``vxworks`` (via, e.g. a USB stick or network).

View File

@@ -337,9 +337,6 @@ Boot Windows with GVT-g on ACRN
===============================
#. Modify the ``/usr/share/acrn/samples/nuc/launch_win.sh`` script to specify the Windows image generated above.
#. Download `OVMF.fd <https://raw.githubusercontent.com/projectacrn/acrn-hypervisor/master/doc/tutorials/OVMF.fd>`_
binary to the directory in Service VM: ``/usr/share/acrn/samples/nuc/``.
#. Run the ``launch_win.sh`` and you should see the WaaG desktop coming up over the HDMI monitor (instead of the VNC).
.. note:: Use the following command to disable the GNOME Display Manager (GDM) if it is enabled::
@@ -420,7 +417,7 @@ Device configurations of acrn-dm command line
* *-s 8,ahci,cd:/root/img/virtio-win-0.1.141.iso*: This is another cdrom device
to install the virtio Windows driver later. Make sure it points to your VirtIO ISO path.
* *--ovmf /root/bios/OVMF.fd*:
* *--ovmf /usr/share/acrn/bios/OVMF.fd*:
Make sure it points to your OVMF binary path
References

View File

@@ -97,7 +97,6 @@ Steps for Using Zephyr as User OS
$ mkdir zephyr && cd zephyr
$ cp /usr/share/acrn/samples/nuc/launch_zephyr.sh .
$ cp /usr/share/acrn/bios/OVMF.fd .
You will also need to copy the ``zephyr.img`` created in the above section into directory ``zephyr``.