samsung-milletwifi: new device (MR 4495)

This commit is contained in:
Bryant Mairs 2023-10-01 20:55:32 +02:00 committed by Stefan Hansson
parent ac80693307
commit 8d522e2640
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
3 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-milletwifi
pkgdesc="Samsung Galaxy Tab 4 8.0 Wi-Fi"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="linux-postmarketos-qcom-msm8226 mkbootimg postmarketos-base"
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="GPU/WiFi/BT/Modem/Video firmware"
depends="msm-firmware-loader"
mkdir "$subpkgdir"
}
sha512sums="
7f18715d199734594523319384ca5458a9ae54fff55db8337d6d74b1678695cd9db8a75666c22b41922a05e4af479d938ee53137d02fcd7fd5df3637527a8018 deviceinfo
566fbcbd958c465fa546068095c51678b6635a247dd7ef1d6c7f4c5fd527a21f41ed4daf8f63a1342433f150d3437b102e523bfa63d17ff64a0ebe48eb7b9ae6 modules-initfs
"

View file

@ -0,0 +1,31 @@
# 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 4 8.0 Wi-Fi"
deviceinfo_manufacturer="Samsung"
deviceinfo_codename="samsung-milletwifi"
deviceinfo_year="2014"
deviceinfo_dtb="qcom-apq8026-samsung-milletwifi"
deviceinfo_append_dtb="true"
deviceinfo_arch="armv7"
# Device related
deviceinfo_chassis="tablet"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="800"
deviceinfo_screen_height="1280"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="msm.allow_vram_carveout=1 clk_ignore_unused pd_ignore_unused"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x02000000"
deviceinfo_flash_offset_second="0x00000000"
deviceinfo_flash_offset_tags="0x01e00000"

View file

@ -0,0 +1,2 @@
mms114
msm