Skip to content
Snippets Groups Projects
Commit 213b1868 authored by Dolphin von Chips's avatar Dolphin von Chips
Browse files

WIP: cubietech-cubieboard: new device (Cubietech Cubieboard)

parent f88001e2
No related branches found
No related tags found
No related merge requests found
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-cubietech-cubieboard
pkgdesc="Cubietech Cubieboard"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-edge
mesa-dri-gallium
postmarketos-base
u-boot-cubieboard
"
makedepends="devicepkg-dev"
source="deviceinfo extlinux.conf"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/extlinux.conf \
"$pkgdir"/boot/extlinux/extlinux.conf
}
sha512sums="90e52b3bfff815a83f3a744a63d4ef0b59368f4227e5fb53a698da89a61a9cd464d63fa8534c3d2693bdd6899b17090b32feaf352d95d3d04cac0b192e151e46 deviceinfo
a33dd1a89548eb95d95e07a879bf412985bd01ebfef8e2ddaaa5c3e2d173743c3530148e36a9fc81a07e67b4a35509f06852bd2f652f64a9b6224ce8d7e12d56 extlinux.conf"
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell scripts.
deviceinfo_format_version="0"
deviceinfo_name="Cubietech Cubieboard"
deviceinfo_manufacturer="Cubietech"
deviceinfo_codename="cubietech-cubieboard"
deviceinfo_year="2012"
deviceinfo_dtb=""
deviceinfo_modules_initfs="sun4i-drm sun4i-drm-hdmi"
deviceinfo_arch="armv7"
# Device related
deviceinfo_chassis="embedded"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1920"
deviceinfo_screen_height="1080"
deviceinfo_getty="ttyS0;115200"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_sd_embed_firmware="u-boot/Cubieboard/u-boot-sunxi-with-spl.bin:8"
timeout 10
default POSTMARKETOS
menu title boot prev kernel
label POSTMARKETOS
linux /vmlinuz-edge
append console=ttyS0,115200n8 PMOS_NO_OUTPUT_REDIRECT
fdtdir /dtbs-edge
initrd /initramfs-edge
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment