device-qcom-qcs6490: New device
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7699>
This commit is contained in:
parent
f1438ff1cb
commit
65885b2eeb
5 changed files with 105 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
/lib/firmware/qcom/qcm6490/qupv3fw.elf
|
||||
58
device/testing/device-qcom-qcs6490/APKBUILD
Normal file
58
device/testing/device-qcom-qcs6490/APKBUILD
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
maintainer="Aelin <aelin@postmarketos.org>"
|
||||
pkgname=device-qcom-qcs6490
|
||||
pkgdesc="Generic QCS6490"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
alsa-ucm-conf
|
||||
dtbloader
|
||||
firmware-thundercomm-rubikpi3
|
||||
hexagonrpcd
|
||||
linux-firmware-qcom
|
||||
linux-firmware-rtl_nic
|
||||
linux-postmarketos-qcom-sc7280
|
||||
postmarketos-base
|
||||
systemd-boot
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
subpackages="
|
||||
$pkgname-vulkan
|
||||
"
|
||||
|
||||
source="
|
||||
30-initramfs-firmware-qcom-qcs6490.files
|
||||
deviceinfo
|
||||
kernel-cmdline.conf
|
||||
modules-initfs
|
||||
"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
|
||||
install -Dm644 "$srcdir/30-initramfs-firmware-qcom-qcs6490.files" -t \
|
||||
"$pkgdir"/usr/share/mkinitfs/files
|
||||
}
|
||||
|
||||
vulkan() {
|
||||
pkgdesc="Vulkan support for freedreno"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel vulkan-loader"
|
||||
depends="mesa-vulkan-freedreno"
|
||||
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
3287fbc2155133f350896028c205ebba910a491e8d4e951391ce414c8aa4f49801c80720df2c672894215e2a81ae65cfd2753dea1f76ff92e80e106cf211224f 30-initramfs-firmware-qcom-qcs6490.files
|
||||
c5c5c5e4e58ae7dfb78be6cbcff77b257f828eee7720b07a92e885acbf8e1b3201fca3d500630cadcf35c78f5eee09e1f398303ee1eed8573f240b81bdb9b445 deviceinfo
|
||||
b011963364382785cfc3b80ec380007ab8ff413b772421de40d2004f2f4bbe4bbfb0ed2ff038f1060329689edfedbfe7269e690309317db18d6c2c3ce08dcb5a kernel-cmdline.conf
|
||||
a8c659732a4fa105baed0c94fb8d83cca84cb13392cd051765684f44a04e2ac0fd027ca7f363dcf137d2cc2a762bfcae257ff6c9728de211ea07230fceddf3dd modules-initfs
|
||||
"
|
||||
31
device/testing/device-qcom-qcs6490/deviceinfo
Normal file
31
device/testing/device-qcom-qcs6490/deviceinfo
Normal 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="Qualcomm QCS6490 Device"
|
||||
deviceinfo_manufacturer="Qualcomm"
|
||||
deviceinfo_codename="qcom-qcs6490"
|
||||
deviceinfo_year="2025"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_drm="true"
|
||||
deviceinfo_chassis="embedded"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_disable_dhcpd="true"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot-bootpart"
|
||||
# Different devices have different partition layouts
|
||||
# The Rubik Pi 3 has a LUN with efi, persist and system partitions,
|
||||
# while the Dragon Q6A has no fixed partition layout.
|
||||
# People installing the Dragon Q6A will not be using fastboot, while
|
||||
# those using the Rubik Pi 3 may, so cater to its needs.
|
||||
deviceinfo_flash_fastboot_partition_kernel="efi"
|
||||
deviceinfo_flash_fastboot_partition_rootfs="system"
|
||||
deviceinfo_getty="ttyMSM0;115200"
|
||||
deviceinfo_generate_systemd_boot="true"
|
||||
deviceinfo_boot_filesystem="fat32"
|
||||
# Required for devices using UFS as storage (instead of e.g. eMMC)
|
||||
deviceinfo_rootfs_image_sector_size="4096"
|
||||
2
device/testing/device-qcom-qcs6490/kernel-cmdline.conf
Normal file
2
device/testing/device-qcom-qcs6490/kernel-cmdline.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
console=ttyMSM0,115200
|
||||
pmos.nosplash
|
||||
13
device/testing/device-qcom-qcs6490/modules-initfs
Normal file
13
device/testing/device-qcom-qcs6490/modules-initfs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
ax88179_178a
|
||||
display-connector
|
||||
gpio-sbu-mux
|
||||
lontium-lt9611
|
||||
mii
|
||||
msm
|
||||
nvme
|
||||
r8169
|
||||
realtek
|
||||
rtc-ds1307
|
||||
simple-bridge
|
||||
usbnet
|
||||
xhci-pci-renesas
|
||||
Loading…
Add table
Add a link
Reference in a new issue