device-khadas-vim3: new device (MR 6220)
The Khadas VIM3 [1] is a popular devboard (SBC). It has an Amlogic A311D SoC and is well supported in mainline linux. Add board support in testing. Note that we use the soc-amlogic-s905 package which also provides support for A311d. [1] https://www.khadas.com/vim3 Signed-off-by: Mattijs Korpershoek <mattijs.korpershoek@gmail.com>
This commit is contained in:
parent
1d732b5a8a
commit
be3686c69e
3 changed files with 65 additions and 0 deletions
40
device/testing/device-khadas-vim3/APKBUILD
Normal file
40
device/testing/device-khadas-vim3/APKBUILD
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Maintainer: Mattijs Korpershoek <mattijs.korpershoek@gmail.com>
|
||||
pkgname=device-khadas-vim3
|
||||
pkgdesc="Khadas VIM3 Amlogic A311D"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-postmarketos-amlogic
|
||||
postmarketos-base
|
||||
soc-amlogic-s905
|
||||
"
|
||||
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-meson"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
49893fc40492c17d47097b5f103aa21400e677a5ccdc7519bb08376813748ea493771c7382e98f3994abfb39ac6eda7a618bd2766c81f2345d2df8ad255d733f deviceinfo
|
||||
52948c2884a6f6384e12b7a598f70878526d0d3293c214425170145231144ec7de805c038641741a4a5d75b50e554f6a3fa3769784a674217ed032f9b6a233c8 modules-initfs
|
||||
"
|
||||
22
device/testing/device-khadas-vim3/deviceinfo
Normal file
22
device/testing/device-khadas-vim3/deviceinfo
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell
|
||||
# scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Khadas VIM3"
|
||||
deviceinfo_manufacturer="Khadas"
|
||||
deviceinfo_codename="khadas-vim3"
|
||||
deviceinfo_year="2025"
|
||||
deviceinfo_dtb="amlogic/meson-g12b-a311d-khadas-vim3"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="embedded"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_gpu_accelerated="true"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="none"
|
||||
deviceinfo_generate_extlinux_config="true"
|
||||
deviceinfo_kernel_cmdline="quiet loglevel=2"
|
||||
3
device/testing/device-khadas-vim3/modules-initfs
Normal file
3
device/testing/device-khadas-vim3/modules-initfs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
meson_drm
|
||||
meson_dw_hdmi
|
||||
display_connector
|
||||
Loading…
Add table
Add a link
Reference in a new issue