xunlong-orangepi-pc: new device (MR 3785)

This commit is contained in:
Marc0x1 2023-01-05 19:47:26 +01:00 committed by Dylan Van Assche
parent af198149e0
commit 35659b6b0d
No known key found for this signature in database
GPG key ID: 8642571587897EA1
2 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,25 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Marco Loletti <marco.loletti@zohomail.eu>
pkgname=device-xunlong-orangepi-pc
pkgdesc="Xunlong Orange Pi PC"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="GPL-3.0-or-later"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-allwinner
postmarketos-base
u-boot-sunxi
"
makedepends="devicepkg-dev"
source="deviceinfo"
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
f03f27dbb76cb5e4946a8290c9778074aeb86d15897334c8f75901a9593a4d783ab0d585df9ce62935eedeba2f9bfc30ebf139035ffe8240436b24bffdf6f756 deviceinfo
"

View file

@ -0,0 +1,27 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="Xunlong Orange Pi PC"
deviceinfo_manufacturer="Xunlong"
deviceinfo_codename="xunlong-orangepi-pc"
deviceinfo_year="2015"
deviceinfo_dtb="sun8i-h3-orangepi-pc"
deviceinfo_arch="armv7"
deviceinfo_disable_dhcpd="true"
# Device related
deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="embedded"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_screen_width="800"
deviceinfo_screen_height="600"
deviceinfo_getty="ttyS0;115200"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_generate_extlinux_config="true"
deviceinfo_kernel_cmdline="console=null"
deviceinfo_sd_embed_firmware="u-boot/orangepi_pc/u-boot-sunxi-with-spl.bin:8"