device-pine64-quartz64: new aport (MR 4178)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
04f7c38b2e
commit
3c8f78045a
3 changed files with 90 additions and 0 deletions
51
device/testing/device-pine64-quartz64/APKBUILD
Normal file
51
device/testing/device-pine64-quartz64/APKBUILD
Normal file
|
@ -0,0 +1,51 @@
|
|||
# Maintainer: Petr Hodina <phodina@protonmail.com>
|
||||
pkgname=device-pine64-quartz64
|
||||
pkgdesc="Pine64 Quartz64"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
postmarketos-base
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo
|
||||
modules-initfs
|
||||
"
|
||||
|
||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware
|
||||
$pkgname-kernel-a:kernel_a
|
||||
$pkgname-kernel-b:kernel_b"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="WiFi, Bluetooth and display firmware"
|
||||
depends="linux-firmware-brcm"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
kernel_a() {
|
||||
pkgdesc="Quartz64 Model A"
|
||||
depends="u-boot-pine64-quartz64-a linux-postmarketos-rockchip"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
kernel_b() {
|
||||
pkgdesc="Quartz64 Model B"
|
||||
depends="u-boot-pine64-quartz64-b linux-postmarketos-rockchip"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
749693707a16ebe8eae39c3b9cae4fb870aa6e679a152eb6d2fc5be606e962d7996b89265910fc200b5082400114050e6326c16aac2f4ea8bb5daeef60a673f4 deviceinfo
|
||||
7ab2de793a3eb1f4e813d138c179858d5d808bd3de7ee25ef42375aedd26265d76f54ec2bc6bc4bdf808ba5adfa25eaaeb1ee378d32dd32b07fcf786604cceec modules-initfs
|
||||
"
|
33
device/testing/device-pine64-quartz64/deviceinfo
Normal file
33
device/testing/device-pine64-quartz64/deviceinfo
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell
|
||||
# scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Pine64 Quartz64"
|
||||
deviceinfo_manufacturer="Pine64"
|
||||
deviceinfo_codename="pine64-quartz64"
|
||||
deviceinfo_year="2021"
|
||||
deviceinfo_dtb_a="rockchip/rk3566-quartz64-a"
|
||||
deviceinfo_dtb_b="rockchip/rk3566-quartz64-b"
|
||||
deviceinfo_arch="aarch64"
|
||||
deviceinfo_gpu_accelerated="true"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="embedded"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="1920"
|
||||
deviceinfo_screen_height="1080"
|
||||
deviceinfo_getty="ttyS2;1500000"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="rkdeveloptool"
|
||||
deviceinfo_flash_sparse="true"
|
||||
|
||||
deviceinfo_boot_part_start="65536"
|
||||
|
||||
deviceinfo_sd_embed_firmware="u-boot/u-boot-rockchip-quartz64.bin:1"
|
||||
deviceinfo_sd_embed_firmware_step_size="32768"
|
||||
|
||||
deviceinfo_generate_extlinux_config="true"
|
||||
deviceinfo_kernel_cmdline="earlycon PMOS_NO_OUTPUT_REDIRECT PMOS_FORCE_PARTITION_RESIZE"
|
6
device/testing/device-pine64-quartz64/modules-initfs
Normal file
6
device/testing/device-pine64-quartz64/modules-initfs
Normal file
|
@ -0,0 +1,6 @@
|
|||
tps65185-regulator
|
||||
rockchip_ebc
|
||||
drm_kms_helper
|
||||
drm_shmem_helper
|
||||
pvi_waveform
|
||||
clk_scmi
|
Loading…
Reference in a new issue