From 35659b6b0dcc4e36968d9a0384278f06cef545d7 Mon Sep 17 00:00:00 2001 From: Marc0x1 Date: Thu, 5 Jan 2023 19:47:26 +0100 Subject: [PATCH] xunlong-orangepi-pc: new device (MR 3785) --- .../device-xunlong-orangepi-pc/APKBUILD | 25 +++++++++++++++++ .../device-xunlong-orangepi-pc/deviceinfo | 27 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 device/testing/device-xunlong-orangepi-pc/APKBUILD create mode 100644 device/testing/device-xunlong-orangepi-pc/deviceinfo diff --git a/device/testing/device-xunlong-orangepi-pc/APKBUILD b/device/testing/device-xunlong-orangepi-pc/APKBUILD new file mode 100644 index 000000000..43b3073bd --- /dev/null +++ b/device/testing/device-xunlong-orangepi-pc/APKBUILD @@ -0,0 +1,25 @@ +# Reference: +# Maintainer: Marco Loletti +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 +" diff --git a/device/testing/device-xunlong-orangepi-pc/deviceinfo b/device/testing/device-xunlong-orangepi-pc/deviceinfo new file mode 100644 index 000000000..d339a6c4e --- /dev/null +++ b/device/testing/device-xunlong-orangepi-pc/deviceinfo @@ -0,0 +1,27 @@ +# Reference: +# 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"