device-librecomputer-lafrite: new aport (MR 4324)
Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
This commit is contained in:
parent
e13a0a15c5
commit
0cad27f9aa
3 changed files with 73 additions and 0 deletions
41
device/testing/device-librecomputer-lafrite/APKBUILD
Normal file
41
device/testing/device-librecomputer-lafrite/APKBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Maintainer: Ferass El Hafidi <vitali64pmemail@protonmail.com>
|
||||
pkgname=device-librecomputer-lafrite
|
||||
pkgdesc="Libre Computer AML-S805X-AC-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-lafrite
|
||||
"
|
||||
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="
|
||||
6861c2fa573d871d1c75cb17126325fc6c1f3b8cfc387b062b5d37531e5aadd96ec7176eedc34c89ff7a8f9559544ac71deb58f3864e7bfdd7d84ba443988124 deviceinfo
|
||||
52948c2884a6f6384e12b7a598f70878526d0d3293c214425170145231144ec7de805c038641741a4a5d75b50e554f6a3fa3769784a674217ed032f9b6a233c8 modules-initfs
|
||||
"
|
29
device/testing/device-librecomputer-lafrite/deviceinfo
Normal file
29
device/testing/device-librecomputer-lafrite/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-S805X-AC-V1.0"
|
||||
deviceinfo_manufacturer="Libre Computer"
|
||||
deviceinfo_codename="librecomputer-lafrite"
|
||||
deviceinfo_year="2019"
|
||||
deviceinfo_dtb="amlogic/meson-gxl-s805x-libretech-ac"
|
||||
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-lafrite/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