samsung-gt510wifi: new device (Samsung Galaxy Tab A 9.7 Wifi (2015) (SM-T550)) (!683)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
55a71fea98
commit
4576d1b334
3 changed files with 97 additions and 0 deletions
29
device/device-samsung-gt510wifi/APKBUILD
Normal file
29
device/device-samsung-gt510wifi/APKBUILD
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname="device-samsung-gt510wifi"
|
||||
pkgdesc="Samsung Galaxy Tab A 9.7 WiFi (2015) (SM-T550)"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8916"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="GPU/WiFi/BT/Video firmware"
|
||||
depends="linux-firmware-qcom firmware-samsung-gt510wifi-venus firmware-samsung-gt510wifi-wcnss"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="3ebfa3b46208f4ffa93728ddc46e09fe7e84e8c961399595375bf716013687c5ebac8235c7c1a4fc166913e575878dd1df2e3bec9a9f480c34a4c5996acec294 deviceinfo"
|
36
device/device-samsung-gt510wifi/deviceinfo
Normal file
36
device/device-samsung-gt510wifi/deviceinfo
Normal file
|
@ -0,0 +1,36 @@
|
|||
# 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 A 9.7 Wifi (2015) (SM-T550)"
|
||||
deviceinfo_manufacturer="Samsung"
|
||||
deviceinfo_codename="samsung-gt510wifi"
|
||||
deviceinfo_date=""
|
||||
deviceinfo_dtb="qcom/apq8016-samsung-gt510wifi"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_modules_initfs=""
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="768"
|
||||
deviceinfo_screen_height="1024"
|
||||
deviceinfo_dev_touchscreen="/dev/input/by-path/platform-78b9000.i2c-event"
|
||||
deviceinfo_dev_touchscreen_calibration=""
|
||||
deviceinfo_dev_keyboard=""
|
||||
|
||||
# MSM DRM cannot take over the framebuffer from the bootloader at the moment
|
||||
deviceinfo_no_framebuffer="true"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="earlycon=msm_serial_dm,0x78b0000 console=ttyMSM0,115200,n8 PMOS_NO_OUTPUT_REDIRECT"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_flash_offset_base="0x80000000"
|
||||
deviceinfo_flash_offset_kernel="0x00080000"
|
||||
deviceinfo_flash_offset_ramdisk="0x02000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x01e00000"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
deviceinfo_flash_sparse="true"
|
32
firmware/firmware-samsung-gt510wifi/APKBUILD
Normal file
32
firmware/firmware-samsung-gt510wifi/APKBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
pkgname=firmware-samsung-gt510wifi
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgdesc="Firmware for Samsung Galaxy Tab A 9.7 WiFi (2015) (SM-T550)"
|
||||
url="https://rizzotherat.gitlab.io/firmware/"
|
||||
subpackages="$pkgname-venus $pkgname-wcnss"
|
||||
arch="aarch64"
|
||||
license="proprietary"
|
||||
options="!check !strip !archcheck"
|
||||
source="https://rizzotherat.gitlab.io/firmware/SM-T550.tar.xz"
|
||||
|
||||
_fwdir="/lib/firmware/postmarketos"
|
||||
|
||||
package() {
|
||||
# parent package is empty
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
venus() {
|
||||
pkgdesc="Samsung Galaxy Tab A 9.7 WiFi (2015) (SM-T550) video firmware"
|
||||
install -Dm644 "$srcdir"/venus.* -t "$subpkgdir/$_fwdir"/qcom/venus-1.8
|
||||
}
|
||||
|
||||
wcnss() {
|
||||
pkgdesc="Samsung Galaxy Tab A 9.7 WiFi (2015) (SM-T550) WiFi/BT firmware"
|
||||
cd "$srcdir"
|
||||
install -Dm644 wcnss.* -t "$subpkgdir/$_fwdir"
|
||||
install -Dm644 WCNSS_* -t "$subpkgdir/$_fwdir"/wlan/prima
|
||||
}
|
||||
|
||||
|
||||
sha512sums="ad1e0ec6eb0f23c1cca1e0657176d6ecf536489fb9c64a53ab5e63dd980e0df67e257dc2ae0808c50885476960448bf8d1713c43a9c6225d22c0e854fa67f923 SM-T550.tar.xz"
|
Loading…
Reference in a new issue