pmaports/device
Pablo Castellano 5d011e30ff Close #226: Launch postmarketOS in a qemu virtual machine (#350)
Thanks to Pablo Castellano and Martijn Braam!
In postmarketOS we are now able to generate system images with the
correct configuration so that they can boot already using qemu

This commit brings the `pmbootstrap qemu` action.
This command is very handy because you don't have to set all the
qemu parameters, pmbootstrap does it for you.

* device-qemu-vexpress: Added kernel command line according to wiki
* qemu: Added workaround for image writing permissions
* qemu: Added support to launch postmarketOS in a QEMU virtual machine

- Support for emulating these architectures in QEMU: arm, aarch64, x86_84
- Generate QEMU command correctly depending no guest architecture (arm/x86)
- Run QEMU in the same architecture as the host by default
- Refactoring in pmb.parse.arch and pmb.qemu.run
- Raise exception if DTB file or system image are not present
- Display more useful information when something fails (e.g. image not found)
- Run qemu version depending on arch (host or argument), not device configured

* device-qemu-amd64: set deviceinfo_kernel_cmdline to "PMOS_NO_OUTPUT_REDIRECT"
* qemu: added --memory argument to specific guest RAM
* device-qemu-amd64: adjusted deviceinfo_kernel_cmdline (console=tty1)
* Added /etc/network/interfaces for qemu-amd64
* qemu: Added KVM support if /dev/kvm if present
* Specify separate machines for architecture
* qemu: Check if QEMU is installed instead of crashing
* Added graphics driver to qemu-aarch64

- Use arm (as used in qemu) instead of armhf (used in Alpine)
- qemu argument is -dtb
- Follow same style to build the command + arguments

* qemu: Added SSH port redirection: ./pmbootstrap.py qemu -p 2222
2017-08-09 20:26:40 +00:00
..
device-asus-grouper Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-htc-ace Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-htc-bravo Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-lg-d855 Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-lg-hammerhead Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-lg-mako Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-motorola-titan Implement sparse system images (fix #299) (#303) 2017-08-02 16:21:50 +00:00
device-nokia-rx51 Fix the checksum on the n900 device package (#352) 2017-08-09 14:25:48 +02:00
device-qemu-aarch64 Close #226: Launch postmarketOS in a qemu virtual machine (#350) 2017-08-09 20:26:40 +00:00
device-qemu-amd64 Close #226: Launch postmarketOS in a qemu virtual machine (#350) 2017-08-09 20:26:40 +00:00
device-qemu-vexpress Close #226: Launch postmarketOS in a qemu virtual machine (#350) 2017-08-09 20:26:40 +00:00
device-samsung-i9070 Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-samsung-i9100 Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-samsung-maguro Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-samsung-n7100 Add device Samsung Galaxy Note 2 (N7100) (#293) 2017-07-31 18:02:44 +00:00
device-sony-amami Fix weston on sony-amami (#340) 2017-08-07 19:08:35 +00:00
linux-asus-grouper Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-htc-ace Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-htc-bravo Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-lg-d855 Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-lg-hammerhead Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-lg-mako Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
linux-motorola-titan Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-samsung-i9070 Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-samsung-i9100 Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-samsung-n7100 Add device Samsung Galaxy Note 2 (N7100) (#293) 2017-07-31 18:02:44 +00:00
linux-samsung-tuna Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-sony-amami Fix refresh rate on sony-amami (#348) 2017-08-08 16:50:11 +00:00