device: New device samsung-espresso10

This commit is contained in:
Mithil Bavishi 2022-11-22 20:00:59 +05:30 committed by Oliver Smith
parent c45c27008c
commit 91035012b1
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Maintainer: Mighty17 <mightymb17@gmail.com>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-espresso10
pkgdesc="Samsung Galaxy Tab 2 (10.1 inch)"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base postmarketos-update-kernel linux-postmarketos-omap mkbootimg"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="$pkgdesc (WiFi firmware)"
depends="firmware-samsung-espresso"
mkdir "$subpkgdir"
}
sha512sums="
71cfa96be567b907fe8f4af4d20deb5a67ab2d10eaa7ed9a46e3787176ca65071f48aa9cd3092f6944c7e382fb1da4ec2e843f9c68f53833fc46943bf07051d7 deviceinfo
"

View file

@ -0,0 +1,33 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell scripts.
deviceinfo_format_version="0"
deviceinfo_name="Samsung Galaxy Tab 2 (10.1 inch)"
deviceinfo_manufacturer="Samsung"
deviceinfo_codename="samsung-espresso10"
deviceinfo_year="2012"
deviceinfo_dtb="omap4-samsung-espresso10"
deviceinfo_append_dtb="true"
deviceinfo_arch="armv7"
deviceinfo_flash_kernel_on_update="true"
# Device related
deviceinfo_chassis="tablet"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1280"
deviceinfo_screen_height="800"
deviceinfo_gpu_accelerated="false"
# Bootloader related
deviceinfo_flash_method="heimdall-bootimg"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_flash_offset_base="0x40000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_heimdall_partition_system="FACTORYFS"
deviceinfo_flash_heimdall_partition_dtbo="dtbo"