samsung-gprimeltexx: new device (MR 3026)
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
|
||||
pkgname=device-samsung-gprimeltexx
|
||||
pkgdesc="Samsung Galaxy Grand Prime (G530FZ)"
|
||||
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 soc-qcom-msm8916-rproc"
|
||||
makedepends="devicepkg-dev"
|
||||
source="
|
||||
deviceinfo
|
||||
phoc.ini
|
||||
"
|
||||
subpackages="
|
||||
$pkgname-nonfree-firmware:nonfree_firmware
|
||||
$pkgname-phosh
|
||||
"
|
||||
_pmb_select="soc-qcom-msm8916-rproc"
|
||||
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
||||
depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-samsung-gprimeltexx-wcnss-nv"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
phosh() {
|
||||
install_if="$pkgname postmarketos-ui-phosh"
|
||||
install -Dm644 "$srcdir"/phoc.ini \
|
||||
"$subpkgdir"/etc/phosh/phoc.ini
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
21e90d94e5e61e0d139b283320dd2b151e7416ca56e691cadec069b48e30364ec01d161ef824f897ba4a09280a4253da56523b4bb7fe90b686674aefc3c11b5d deviceinfo
|
||||
dbc8422fc00c757963dd016f26dd45d8c05c8c46b7e60cd11dd154550e166568cfdcee60678ee3542d27c2f8c373b71a1c3ec33da0260509fe4133ecd06a27bc phoc.ini
|
||||
"
|
||||
@@ -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 Grand Prime (G530FZ)"
|
||||
deviceinfo_manufacturer="Samsung"
|
||||
deviceinfo_codename="samsung-gprimeltexx"
|
||||
deviceinfo_year="2014"
|
||||
deviceinfo_dtb="qcom/msm8916-samsung-gprimeltecan"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_modules_initfs="panel-samsung-hx8389c-gh9607501a msm zinitix"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_gpu_accelerated="true"
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="540"
|
||||
deviceinfo_screen_height="960"
|
||||
deviceinfo_getty="ttyMSM0;115200"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 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"
|
||||
@@ -0,0 +1,2 @@
|
||||
[output:DSI-1]
|
||||
scale = 1.5
|
||||
Reference in New Issue
Block a user