Skip to content
Snippets Groups Projects
Commit cdd200b2 authored by Dang Huynh's avatar Dang Huynh
Browse files

fxtec-qx1000: new device


Initially this was submitted by NotKit, but never got merged because
hybris support got dropped in 2019.

Signed-off-by: default avatarDang Huynh <danct12@disroot.org>
parent a671e6d5
No related branches found
No related tags found
No related merge requests found
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-fxtec-qx1000
pkgdesc="F(x)tec Pro1"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-msm8998
mkbootimg
postmarketos-base
postmarketos-update-kernel
soc-qcom-msm8998
"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Modem, WiFi and GPU Firmware, also needed for osk-sdl"
depends="firmware-fxtec-msm8998 firmware-fxtec-msm8998-initramfs"
mkdir "$subpkgdir"
}
sha512sums="
e31165aa679f7e75fc907bbe8fc6af3f8e400d4074d4920d77de962174992e7eb064f52eb40a391552b4ffb2b0a522e1859de3c98d67d4eff76f1501467190ee deviceinfo
"
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="F(x)tec Pro1"
deviceinfo_manufacturer="F(x)tec"
deviceinfo_codename="fxtec-qx1000"
deviceinfo_year="2019"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="handset"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="2160"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="clk_ignore_unused"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="4096"
deviceinfo_flash_sparse="true"
# Kernel options
deviceinfo_dtb="qcom/msm8998-fxtec-pro1"
deviceinfo_append_dtb="true"
deviceinfo_flash_kernel_on_update="true"
# Initramfs
deviceinfo_modules_initfs="msm i2c-qup panel-boe-bf060y8m-aj0 goodix qcom_fg qcom_spmi_haptics"
deviceinfo_mesa_driver="msm"
# Required for devices using UFS as storage (instead of e.g. eMMC)
deviceinfo_rootfs_image_sector_size="4096"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment