samsung-j5x: new device (MR 2965)

This commit is contained in:
Raymond Hackley 2022-02-27 00:02:05 +09:00 committed by Newbyte
parent 18046f68f2
commit a9b5f66292
No known key found for this signature in database
GPG key ID: 5873C171C9429CFA
2 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-j5x
pkgdesc="Samsung Galaxy J5 (2015)"
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"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
ff3a82a37dfbcc31493d5f72cc00a1ee870cda4ea325fce5d10fa74b85d946fb00f2a85d99c7a301f21128e99c23c520e22b33511241a316af1bbaa21b28295b deviceinfo
"

View file

@ -0,0 +1,34 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell scripts.
deviceinfo_format_version="0"
deviceinfo_name="Samsung Galaxy J5 2016"
deviceinfo_manufacturer="Samsung"
deviceinfo_codename="samsung-j5x"
deviceinfo_year="2016"
deviceinfo_dtb="qcom/msm8916-samsung-j5x"
deviceinfo_append_dtb="true"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="720"
deviceinfo_screen_height="1280"
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="0x00080000"
deviceinfo_flash_offset_ramdisk="0x02000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"