device-barnesnoble-encore: new device

Add device package for barnesnoble-encore, aka Barnes & Noble Nook Color. Device tree and initial stab at panel driver will be added as a separate commit to the mainline omap kernel.

	new file:   device/testing/device-barnesnoble-encore/APKBUILD
	new file:   device/testing/device-barnesnoble-encore/deviceinfo
	new file:   device/testing/device-barnesnoble-encore/modules-initfs

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6486
This commit is contained in:
Scott C 2025-05-10 16:02:29 -04:00 committed by Pablo Correa Gómez
parent ee13367e22
commit d3742fc7ee
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
3 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,33 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-barnesnoble-encore
pkgdesc="Barnes & Noble Nook Color"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-omap
postmarketos-base
u-boot-tools
"
_pmb_recommends="linux-firmware-ti-connectivity"
makedepends="devicepkg-dev u-boot-tools"
source="
deviceinfo
modules-initfs
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
0e069c1eb289acfc343c96e9d0a9675544ba8ad925d0e5451f7254aad0a37ccea4decf45afae74f28d923dacd0a93c5d354a983906e20c79eb324fd4ad7b9651 deviceinfo
0491da0e90890b7884c8af5e5a8b3541a6aa298e7980c3179e4eb193f2f22767add0811bb7abb00abab7faa74bf35e1243b97e308fb1005c9e26d3aef99da3a2 modules-initfs
"

View 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="Barnes & Noble Nook Color"
deviceinfo_manufacturer="Barnes & Noble"
deviceinfo_codename="barnesnoble-encore"
deviceinfo_year="2010"
deviceinfo_dtb="omap3-nookcolor"
deviceinfo_append_dtb="true"
deviceinfo_arch="armv7"
# Device related
deviceinfo_chassis="tablet"
deviceinfo_external_storage="true"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_generate_legacy_uboot_initfs="true"
deviceinfo_partition_type="msdos"
deviceinfo_boot_filesystem="fat32"

View file

@ -0,0 +1,2 @@
lvds-codec
panel_lg_ld070ws1