Skip to content
Snippets Groups Projects
Verified Commit 6a58a985 authored by Raihan Ahamed's avatar Raihan Ahamed Committed by Clayton Craft
Browse files

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

[ci:skip-build] already built successfully in CI
parent aaaf815d
No related branches found
No related tags found
No related merge requests found
Pipeline #199273 passed
# 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
"
# 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment