7553dc4011
Support launching postmarketOS in QEMU on riscv64 architecture. It is mostly copied from device-qemu-aarch64 with some riscv64-specific modifications. Currently UIs using Xorg like Mate, XFCE4 and LXQT work fine, Wayland UIs like weston, plasma-mobile etc didn't work in my testing. Also using "pmbootstrap qemu --tablet" is needed to make mouse input work, the defaults don't seem to work at the moment. [ci:skip-build]: already built successfully in CI
23 lines
785 B
Text
23 lines
785 B
Text
# Reference: <https://postmarketos.org/deviceinfo>
|
|
# Please use double quotes only. You can source this file in shell scripts.
|
|
|
|
deviceinfo_format_version="0"
|
|
deviceinfo_name="QEMU riscv64"
|
|
deviceinfo_manufacturer="QEMU"
|
|
deviceinfo_codename="qemu-riscv64"
|
|
deviceinfo_modules_initfs="virtio_pci virtio_blk virtio-gpu virtio_input evdev"
|
|
deviceinfo_arch="riscv64"
|
|
|
|
# Device related
|
|
deviceinfo_gpu_accelerated="true"
|
|
deviceinfo_chassis="vm"
|
|
deviceinfo_keyboard="true"
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_screen_width="1024"
|
|
deviceinfo_screen_height="768"
|
|
deviceinfo_getty="ttyS0;230400"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="none"
|
|
deviceinfo_kernel_cmdline="console=tty1 console=ttyS0 PMOS_NO_OUTPUT_REDIRECT PMOS_FORCE_PARTITION_RESIZE"
|
|
deviceinfo_disable_dhcpd="true"
|