device-librecomputer-lepotato: new aport (MR 4324)
Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
This commit is contained in:
parent
2cb492a5f4
commit
9751f8b039
3 changed files with 73 additions and 0 deletions
41
device/testing/device-librecomputer-lepotato/APKBUILD
Normal file
41
device/testing/device-librecomputer-lepotato/APKBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Maintainer: Ferass El Hafidi <vitali64pmemail@protonmail.com>
|
||||
pkgname=device-librecomputer-lepotato
|
||||
pkgdesc="Libre Computer AML-S905X-CC-V1.0"
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-postmarketos-amlogic
|
||||
postmarketos-base
|
||||
soc-amlogic-s905
|
||||
u-boot-librecomputer-lepotato
|
||||
"
|
||||
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="vdec firmware"
|
||||
depends="linux-firmware-amlogic"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
20bac100d75b678654e8e2695f9621032fd8e397c3e8adeecee21713ff20e24443327c4a2d14bd7a4ab8489aff926f950963c01d66367942f7a53edc1acdc885 deviceinfo
|
||||
52948c2884a6f6384e12b7a598f70878526d0d3293c214425170145231144ec7de805c038641741a4a5d75b50e554f6a3fa3769784a674217ed032f9b6a233c8 modules-initfs
|
||||
"
|
29
device/testing/device-librecomputer-lepotato/deviceinfo
Normal file
29
device/testing/device-librecomputer-lepotato/deviceinfo
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Maintainer: Ferass El Hafidi <vitali64pmemail@protonmail.com>
|
||||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell
|
||||
# scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Libre Computer AML-S905X-CC-V1.0"
|
||||
deviceinfo_manufacturer="Libre Computer"
|
||||
deviceinfo_codename="librecomputer-lepotato"
|
||||
deviceinfo_year="2019"
|
||||
deviceinfo_dtb="amlogic/meson-gxl-s905x-libretech-cc"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="embedded"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_gpu_accelerated="true"
|
||||
deviceinfo_screen_width="800"
|
||||
deviceinfo_screen_height="600"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="none"
|
||||
deviceinfo_boot_filesystem="fat32"
|
||||
deviceinfo_generate_extlinux_config="true"
|
||||
deviceinfo_sd_embed_firmware_step_size="512"
|
||||
deviceinfo_sd_embed_firmware="u-boot/librecomputer-lepotato/u-boot.bin.sd-stripped.bin:1"
|
||||
deviceinfo_boot_part_start="4096"
|
||||
deviceinfo_kernel_cmdline="console=null"
|
|
@ -0,0 +1,3 @@
|
|||
meson_drm
|
||||
meson_dw_hdmi
|
||||
display_connector
|
Loading…
Reference in a new issue