Commit 404fa564 authored by Heather Ellsworth's avatar Heather Ellsworth
Browse files

Merge branch 'qemu' into 'master'

Update QEMU instructions

See merge request Librem5/developer.puri.sm!36
parents 169ce842 e96d6336
......@@ -13,17 +13,19 @@ There's an experimental QEMU image available that includes:
Linux Environments
------------------
1. Check the last succesful job on the CI server: https://arm01.puri.sm/job/Images/job/Image%20Build/
1. Open the Jenkins job building QEMU images on the CI server: https://arm01.puri.sm/job/Images/job/Image%20Build/
2. Download::
2. Find the latest successful build which has the description *qemu-x86_64 image*, e.g. https://arm01.puri.sm/job/Images/job/Image%20Build/172/ . The number at the end of the URL is the build number, in this case ``172``.
wget https://arm01.puri.sm/job/Images/job/Image%20Build/133/artifact/qemu-x86_64.img.xz
3. Download the build artifact called ``qemu-x86_64.img.xz``. For the build numbered ``172``, it's at the following URL::
3. Decompress it::
wget https://arm01.puri.sm/job/Images/job/Image%20Build/172/artifact/qemu-x86_64.img.xz
4. Decompress it::
unxz qemu-x86_64.img.xz
4. Run it::
5. Run it::
qemu-system-x86_64 -boot menu=on -drive file=qemu-x86_64.img,format=raw -vga virtio -display sdl,gl=on -m 1G -enable-kvm
......@@ -32,7 +34,7 @@ Linux Environments
- install org.gnome.Boxes from flatpak: https://flathub.org/apps/details/org.gnome.Boxes
- Create a new Box from archive selecting qemu-x86_64.img
5. Use it
6. Use it
.. image:: librem5fromqemu.gif
:alt: QEMU VM running phosh and default apps
......@@ -40,17 +42,19 @@ Linux Environments
Microsoft Windows
-----------------
1. Open a browser to check the last succesful job on the CI server: https://arm01.puri.sm/job/Images/job/Image%20Build/
1. Open the Jenkins job building QEMU images on the CI server: https://arm01.puri.sm/job/Images/job/Image%20Build/
2. Find the latest successful build which has the description *qemu-x86_64 image*, e.g. https://arm01.puri.sm/job/Images/job/Image%20Build/172/
2. Save the latest version of the builds by right-clicking on the file and choosing "Save As".
3. Save the build by right-clicking on the file called ``qemu-x86-64.img`` and choosing "Save As".
3. Choose a folder on your computer with 4gb of free space.
4. Choose a folder on your computer with 4gb of free space.
4. After the download is complete, extract the file with 7zip or other untar program.
5. After the download is complete, extract the file with 7zip or other untar program.
5. Open an instance of PowerShell and navigate to the extracted file's folder.
6. Open an instance of PowerShell and navigate to the extracted file's folder.
6. The following command can be executed in PowerShell after modifying the path to the qemu
7. The following command can be executed in PowerShell after modifying the path to the qemu
executable and the path to the downloaded qemu-x86-64.img file.::
C:\Program Files\qemu\qemu-system-x86_64.exe -drive file=c:\downloads\qemu-x86_64.img,index=0,media=disk,format=raw -vga virtio -display sdl,gl=off -m 2G -L Bios -boot menu=on -rtc base=localtime,clock=host -parallel none -serial none -name PureOS -no-reboot
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment