nokia-pl2: new device

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7615>
This commit is contained in:
Sid Pranjale 2025-12-21 20:46:35 +05:30 committed by The Friendly Merge Bot
parent e8f41bbd28
commit dd15329220
No known key found for this signature in database
2 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Sid Pranjale <sidpranjale127@protonmail.com>
pkgname=device-nokia-pl2
pkgdesc="HMD Global Nokia 6.1"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-sdm660
mkbootimg
postmarketos-base
msm-firmware-loader
"
makedepends="devicepkg-dev"
source="
deviceinfo
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
ca4940a95ee25e0e3ab51b012d75cc98c093cd52cb698b036d59195475d9021cd559d13bea9f2fa3e81534e7c2c8198d3ddd7784211804bf86d551b6339a98fa deviceinfo
"

View 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="HMD Global Nokia 6.1"
deviceinfo_manufacturer="HMD Global"
deviceinfo_codename="nokia-pl2"
deviceinfo_year="2018"
deviceinfo_dtb="qcom/sdm630-nokia-pl2"
deviceinfo_append_dtb="true"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="handset"
deviceinfo_external_storage="true"
deviceinfo_drm="true"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="1920"
# Bootloader related
deviceinfo_kernel_cmdline="console=ttyMSM0,115200,n8 earlycon=msm_serial_dm,0xc170000 console=tty0"
deviceinfo_flash_method="fastboot"
deviceinfo_generate_bootimg="true"
deviceinfo_flash_pagesize="4096"
deviceinfo_bootimg_qcdt="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"