device-xunlong-orangepi5-plus: new device (MR 5219)

[ci:skip-build]: already built successfully in CI
This commit is contained in:
WeirdTreeThing 2024-06-09 11:55:29 -04:00 committed by Stefan Hansson
parent 51d84dc5bc
commit 2ce4f51210
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD
3 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,37 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: WeirdTreeThing <bradyn127@protonmail.com>
pkgname=device-xunlong-orangepi5-plus
pkgdesc="Xunlong Orange Pi 5 Plus"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-rockchip-rk3588
postmarketos-base
systemd-boot
"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU/NIC firmware"
depends="linux-firmware-arm linux-firmware-rtl_nic"
mkdir "$subpkgdir"
}
sha512sums="
1b4c429965a4e855b8f544a18afdeed6d89be1566a1b5583f51e7c73bd1db80153dcf854dca6859a0714c228be1495126e9ab5bf62eb34ea75ccffbc11fea5dd deviceinfo
c787cb2c449bb493375e7c1519f1c6e0c35bce038277ca3032364c4867693f9099050611c0cbd7f22181f33dda11888d1f09e3e5272cf73fe3245aadfe9c2bd8 modules-initfs
"

View file

@ -0,0 +1,25 @@
# 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 5 Plus"
deviceinfo_manufacturer="Xunlong"
deviceinfo_codename="xunlong-orangepi5-plus"
deviceinfo_year="2023"
deviceinfo_dtb="rockchip/rk3588-orangepi-5-plus"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="embedded"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_getty="ttyS2;1500000"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_kernel_cmdline="console=null"
deviceinfo_partition_type="gpt"
deviceinfo_boot_filesystem="fat32"
deviceinfo_generate_systemd_boot="true"

View file

@ -0,0 +1,4 @@
fusb302
tcpm
phy_rockchip_usbdp
typec