Created
August 14, 2022 16:50
-
-
Save peremen/27e361d0b7240d3daa6cda1827c0774b to your computer and use it in GitHub Desktop.
Casio CA-201L pmOS packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reference: <https://postmarketos.org/devicepkg> | |
pkgname=device-casio-ca201l | |
pkgdesc="Casio G'zOne CA-201L" | |
pkgver=0.1 | |
pkgrel=0 | |
url="https://postmarketos.org" | |
license="MIT" | |
arch="armv7" | |
options="!check !archcheck" | |
depends=" | |
mesa-dri-gallium | |
mkbootimg | |
postmarketos-base | |
evtest | |
libgpiod | |
" | |
makedepends="devicepkg-dev" | |
subpackages=" | |
$pkgname-kernel-downstream:kernel_downstream | |
$pkgname-kernel-mainline:kernel_mainline" | |
source="deviceinfo" | |
build() { | |
devicepkg_build $startdir $pkgname | |
} | |
package() { | |
devicepkg_package $startdir $pkgname | |
} | |
kernel_downstream() { | |
pkgdesc="CAF-based downstream kernel, builds but not booting" | |
depends="linux-casio-ca201l" | |
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname | |
} | |
kernel_mainline() { | |
pkgdesc="linux-next kernel, only for development" | |
depends="linux-postmarketos-qcom-apq8064" | |
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname | |
} | |
sha512sums=" | |
b66906e3f5b848cd6268b1a4b27f62db2fd2e0072f1a1b3087160c2e8fc2201902d87b903f409cd725f6d0a209d9328ff99bda2c96e2fb04c4f0a08473eaec1b deviceinfo | |
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reference: <https://postmarketos.org/deviceinfo> | |
# Please use double quotes only. You can source this file in shell | |
# scripts. | |
deviceinfo_format_version="0" | |
deviceinfo_name="Casio G'zOne CA-201L" | |
deviceinfo_manufacturer="Casio" | |
deviceinfo_codename="casio-ca201l" | |
deviceinfo_year="2013" | |
deviceinfo_arch="armv7" | |
# Device related | |
deviceinfo_chassis="handset" | |
deviceinfo_keyboard="false" | |
deviceinfo_external_storage="true" | |
deviceinfo_screen_width="480" | |
deviceinfo_screen_height="800" | |
# Bootloader related | |
deviceinfo_flash_method="fastboot" | |
deviceinfo_kernel_cmdline_downstream="androidboot.hardware=qcom user_debug=31 kgsl.mmutype=gpummu" | |
deviceinfo_generate_bootimg="true" | |
deviceinfo_bootimg_qcdt_downstream="false" | |
deviceinfo_append_dtb_downstream="false" | |
deviceinfo_bootimg_mtk_mkimage="false" | |
deviceinfo_bootimg_dtb_second="false" | |
deviceinfo_flash_pagesize="2048" | |
deviceinfo_flash_offset_base="0x80200000" | |
deviceinfo_flash_offset_kernel="0x00008000" | |
deviceinfo_flash_offset_ramdisk="0x02000000" | |
deviceinfo_flash_offset_second="0x00f00000" | |
deviceinfo_flash_offset_tags="0x00000100" | |
# Mainline kernel settings | |
deviceinfo_kernel_cmdline_mainline="clk_ignore_unused pd_no_unused console=tty1 PMOS_NO_OUTPUT_REDIRECT panic=5 fw_devlink=permissive" | |
deviceinfo_bootimg_qcdt_mainline="false" | |
deviceinfo_append_dtb_mainline="true" | |
deviceinfo_dtb_mainline="qcom-msm8960-casio-ca201l" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment