qcom-msm8226: new device

With the new changes in lk2nd that allow us to support extlinux.conf,
we can now generate image that would be generic to these devices.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7279>
This commit is contained in:
Raymond Hackley
2025-11-01 06:08:54 +00:00
committed by The Friendly Merge Bot
parent 39a15d7e9a
commit 396654d0c4
3 changed files with 60 additions and 0 deletions
@@ -0,0 +1,34 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Raymond Hackley <wonderfulShrineMaidenOfParadise@postmarketos.org>
pkgname=device-qcom-msm8226
pkgdesc="Generic device package for various Qualcomm MSM8226-based devices"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-msm8226
msm-firmware-loader
postmarketos-base
soc-qcom-msm8226
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-initfs
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
54199e710ec4ee40e7e88ac34b2a213a19aa9591c3a332aab19901e22a2706b3c057d3eb13037e4bd1f580acf8a86b9f096be2f9fc377bf0c146c026ba593f17 deviceinfo
5a05e62ede286b2c4c6ca73b1d76bf989f0219a12b4700cb33664b4e9b8a34cb4592f1580fa7c7ce0abc59eff86a043df699371b80118b82c7b8712e659e89a0 modules-initfs
"
@@ -0,0 +1,25 @@
# 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 msm8226-based device"
deviceinfo_manufacturer="Qualcomm"
deviceinfo_codename="qcom-msm8226"
deviceinfo_year="2013"
deviceinfo_arch="armv7"
# Device related
deviceinfo_chassis="embedded"
deviceinfo_external_storage="true"
deviceinfo_getty="ttyMSM0;115200"
# Bootloader related
deviceinfo_boot_filesystem="ext2"
deviceinfo_dtb="msm8226-* qcom-apq8026-* qcom-msm8226-* qcom-msm8926-*"
deviceinfo_flash_method="fastboot"
deviceinfo_generate_extlinux_config="true"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -0,0 +1 @@
simpledrm