device-pine64-rock64: new device (MR 2328)

This commit is contained in:
tim 2021-07-08 10:34:44 -05:00
parent 8874185abf
commit 6973a44d38
No known key found for this signature in database
GPG key ID: 8642571587897EA1
3 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,30 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Timothy Valldeperas <tvall43@gmail.com>
pkgname=device-pine64-rock64
pkgver=1
pkgrel=0
pkgdesc="PINE64 ROCK64"
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-postmarketos-rockchip u-boot-rock64 mesa-dri-gallium"
makedepends="devicepkg-dev"
source="deviceinfo
extlinux.conf
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/extlinux.conf \
"$pkgdir"/boot/extlinux/extlinux.conf
}
sha512sums="
ff1e00dbc17d854ff2f8fbd977f11589d4e0d73d205e94b320d5af48eaec8b8a4be20d1a904a91010cfbb78bf47f9765d2138a0cafdd204d78b636f5ff439494 deviceinfo
0e0f4f44da43f4a64a3e15ec8c796f0d9d71b8ce51b94c7b3b3e850d6c23fc751aa3d22fe8297ee3ceceba9f040fd58e83f67b72f7548e6a49841939fd900d70 extlinux.conf
"

View file

@ -0,0 +1,24 @@
# 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 Rock64"
deviceinfo_manufacturer="PINE64"
deviceinfo_codename="pine64-rock64"
deviceinfo_year="2017"
deviceinfo_dtb=""
deviceinfo_modules_initfs=""
deviceinfo_arch="aarch64"
# Device related
deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="embedded"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1920"
deviceinfo_screen_height="1080"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_sd_embed_firmware="u-boot/pine64-rock64/u-boot-rockchip.bin:32"
deviceinfo_boot_part_start="32768"

View file

@ -0,0 +1,9 @@
timeout 10
default POSTMARKETOS
menu title boot prev kernel
label POSTMARKETOS
kernel /vmlinuz-postmarketos-rockchip
fdt /dtbs-postmarketos-rockchip/rockchip/rk3328-rock64.dtb
initrd /initramfs-postmarketos-rockchip
append console=tty0 console=ttyS0,1500000n8 panic=10 coherent_pool=1M video=HDMI-A-1:1920x1080@60 video=eDP-1:1920x1080@60 loglevel=5 PMOS_NO_OUTPUT_REDIRECT