device-vivo-y21l: new device (MR 4535)

[ci:skip-build] already built successfully in CI
This commit is contained in:
raihan2000 2023-11-05 20:46:07 +05:30 committed by Clayton Craft
parent aaaf815dc4
commit 6a58a985ee
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
2 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer Raihan Ahamed <raihan1999ahamed@gmail.com>
pkgname=device-vivo-y21l
pkgdesc="Vivo Y21L"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8916"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
depends="firmware-qcom-adreno-a300 msm-firmware-loader"
mkdir "$subpkgdir"
}
sha512sums="
fac2cd651bc17a3efe2fa14b7a0fa71b3df37214d6b96e701f9e2f2f095f2485ebcc2da7d5d421ef1dcd9d66286e062bc37f44c44bdd0cf5ca32ccca208c1275 deviceinfo
"

View file

@ -0,0 +1,35 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="Vivo Y21L"
deviceinfo_manufacturer="Vivo"
deviceinfo_codename="vivo-y21l"
deviceinfo_year="2016"
deviceinfo_dtb="qcom/msm8916-vivo-y21l"
deviceinfo_append_dtb="true"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="480"
deviceinfo_screen_height="854"
deviceinfo_getty="ttyMSM0;115200"
# MSM DRM cannot take over the framebuffer from the bootloader at the moment
deviceinfo_no_framebuffer="true"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x02000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"