xiaomi-gauguin: new device
Add support for the Xiaomi Mi 10T Lite 5G Signed-off-by: DomHeadroom <domefemia@protonmail.com> Xiaomi-gauguin fixed linting problems Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8609>
This commit is contained in:
parent
f34c51c335
commit
ad9f07bb1d
2 changed files with 60 additions and 0 deletions
31
device/testing/device-xiaomi-gauguin/APKBUILD
Normal file
31
device/testing/device-xiaomi-gauguin/APKBUILD
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
maintainer="DomHeadroom <domefemia@protonmail.com>"
|
||||
pkgname=device-xiaomi-gauguin
|
||||
pkgdesc="Xiaomi Mi 10T Lite 5G"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-postmarketos-qcom-sm6350
|
||||
mkbootimg
|
||||
postmarketos-base
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
source="
|
||||
deviceinfo
|
||||
"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
3720c0dff9aee47e0a57739d90e66d47ef27761ee4706aa171fc426c2639bbbf26c89d6290194ad55fc84467e46c4a91b48d137c55e288795b4e1e39643f6da7 deviceinfo
|
||||
"
|
||||
29
device/testing/device-xiaomi-gauguin/deviceinfo
Normal file
29
device/testing/device-xiaomi-gauguin/deviceinfo
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell
|
||||
# scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Xiaomi Mi 10T Lite 5G"
|
||||
deviceinfo_manufacturer="Xiaomi"
|
||||
deviceinfo_codename="xiaomi-gauguin"
|
||||
deviceinfo_year="2020"
|
||||
deviceinfo_dtb="qcom/sm7225-xiaomi-gauguin"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_external_storage="true"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_flash_pagesize="4096"
|
||||
deviceinfo_header_version="2"
|
||||
deviceinfo_flash_offset_dtb="0x01f00000"
|
||||
deviceinfo_flash_offset_base="0x00000000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00000000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
|
||||
deviceinfo_rootfs_image_sector_size="4096"
|
||||
Loading…
Add table
Add a link
Reference in a new issue