device-samsung-expressatt: boot mainline (6.5-rc2) (MR 4205)

[ci:skip-build] already built successfully in CI
This commit is contained in:
Rudraksha Gupta 2023-07-03 22:34:48 -04:00 committed by Clayton Craft
parent f7db770f46
commit 805cf7bb62
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
9 changed files with 6162 additions and 8 deletions

View file

@ -2,12 +2,12 @@
pkgname=device-samsung-expressatt pkgname=device-samsung-expressatt
pkgdesc="Samsung Galaxy Express SGH-I437" pkgdesc="Samsung Galaxy Express SGH-I437"
pkgver=0.2 pkgver=0.2
pkgrel=1 pkgrel=2
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="armv7" arch="armv7"
options="!check !archcheck" options="!check !archcheck"
depends="postmarketos-base linux-samsung-expressatt mkbootimg" depends="postmarketos-base linux-postmarketos-qcom-msm8960 mkbootimg"
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source="deviceinfo" source="deviceinfo"
@ -21,5 +21,5 @@ package() {
sha512sums=" sha512sums="
de2f550d9a95869d50e69935553606c5fda46dc10cf69e33a065f7ee99eeb4fa515c61b15fbe9eda198d958832bc4bae78b5ff3dfc6ea1df1ad0724e5ccfb061 deviceinfo e0884e5403c774c8609607f9158895028cf04a000df1f0d8054e22258e42f404671fc39ead2978d16d84c08c5f3f4136bed1e03a4dba4e1422351cda5f46f074 deviceinfo
" "

View file

@ -1,6 +1,9 @@
# Reference: <https://postmarketos.org/deviceinfo> # Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell scripts. # Please use double quotes only. You can source this file in shell scripts.
deviceinfo_dtb="qcom-msm8960-samsung-expressatt"
deviceinfo_append_dtb="true"
deviceinfo_format_version="0" deviceinfo_format_version="0"
deviceinfo_name="Samsung Galaxy Express SGH-I437" deviceinfo_name="Samsung Galaxy Express SGH-I437"
deviceinfo_manufacturer="Samsung" deviceinfo_manufacturer="Samsung"
@ -28,4 +31,3 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100" deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048" deviceinfo_flash_pagesize="2048"
deviceinfo_flash_heimdall_partition_kernel="BOOT" deviceinfo_flash_heimdall_partition_kernel="BOOT"

View file

@ -0,0 +1,54 @@
# Reference: <https://postmarketos.org/vendorkernel>
# Kernel config based on: qcom_apq8064_defconfig
_flavor="postmarketos-qcom-msm8960"
pkgname=linux-$_flavor
pkgver=6.5_rc2
pkgrel=0
pkgdesc="Mainline kernel fork for Qualcomm APQ8064/MSM8960 devices"
arch="armv7"
_carch="arm"
url="https://kernel.org"
license="GPL-2.0-only"
options="!strip !check !tracedeps pmb:cross-native"
makedepends="bison flex openssl-dev perl gmp-dev mpc1-dev mpfr-dev findutils postmarketos-installkernel"
# Source
_repository="linux"
_config="config-$_flavor.$arch"
_tag="fdf0eaf11452d72945af31804e2a1048ee1b574c"
source="
$pkgname-$_tag.tar.gz::https://github.com/torvalds/$_repository/archive/$_tag.tar.gz
$_config
"
builddir="$srcdir/$_repository-$_tag"
prepare() {
default_prepare
cp -v "$srcdir"/$_config .config
}
build() {
unset LDFLAGS
make ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
}
package() {
mkdir -p "$pkgdir"/boot
make zinstall modules_install dtbs_install \
ARCH="$_carch" \
INSTALL_PATH="$pkgdir"/boot \
INSTALL_MOD_PATH="$pkgdir" \
INSTALL_MOD_STRIP=1 \
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs
rm -f "$pkgdir"/lib/modules/*/build "$pkgdir"/lib/modules/*/source
install -D "$builddir"/include/config/kernel.release \
"$pkgdir"/usr/share/kernel/$_flavor/kernel.release
}
sha512sums="
893bdb7364040b08b74e0775419d0d827f0d2a03d82df359cc8d8d2f1a7d6a7d2c47eb39922c44d5d895857ad4a0b4ac4fdfa32519fc1f2df4c1f880b933f5e9 linux-postmarketos-qcom-msm8960-fdf0eaf11452d72945af31804e2a1048ee1b574c.tar.gz
de1c730d050896ca15bbb6d87708c60342f940c04111ae327714652b6229c76eee5e7ba8bde0b19c4ce29554e720af5fd13795987448aabb57886cf7c09962d7 config-postmarketos-qcom-msm8960.armv7
"

View file

@ -0,0 +1,26 @@
# Unmaintained: Downstream port
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-expressatt-downstream
pkgdesc="Samsung Galaxy Express SGH-I437"
pkgver=0.2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-expressatt mkbootimg"
makedepends="devicepkg-dev"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
ffbb5718fbc89cb57c9601b68257a8833963da2926ed7ef683282e425693323b53ed06abd37b3355ba734f8c27dbe15d7ab5ad6162d53984c4cc51e405b4ef30 deviceinfo
"

View file

@ -0,0 +1,31 @@
# 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 Express SGH-I437"
deviceinfo_manufacturer="Samsung"
deviceinfo_codename="samsung-expressatt-downstream"
deviceinfo_year="2012"
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="heimdall-bootimg"
deviceinfo_kernel_cmdline="androidboot.hardware=qcom user_debug=31 zcache androidboot.bootdevice=msm_sdcc.1"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_offset_base="0x80200000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01500000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_heimdall_partition_kernel="BOOT"

View file

@ -1,9 +1,10 @@
# Unmaintained: Downstream port
# Reference: <https://postmarketos.org/vendorkernel> # Reference: <https://postmarketos.org/vendorkernel>
# Kernel config based on: arch/arm/configs/cyanogen_expressatt_defconfig # Kernel config based on: arch/arm/configs/cyanogen_expressatt_defconfig
pkgname=linux-samsung-expressatt pkgname=linux-samsung-expressatt-downstream
pkgver=3.4.106 pkgver=3.4.106
pkgrel=5 pkgrel=0
pkgdesc="Samsung Galaxy Express SGH-I437 kernel fork" pkgdesc="Samsung Galaxy Express SGH-I437 kernel fork"
arch="armv7" arch="armv7"
_carch="arm" _carch="arm"
@ -46,6 +47,8 @@ package() {
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor"
} }
sha512sums="b9ac45ce753c83d1875ef0f55cedf0c998a2ad58ac4e1a667869980b21e70dd0e7c0781e8108c454fe45ed5a4bf76a3f79d68b70f38467470899acf4dc7daa47 linux-samsung-expressatt-0dbe2b56847b304d30b809dfd08ba3b4a61d9af8.tar.gz sha512sums="
b9ac45ce753c83d1875ef0f55cedf0c998a2ad58ac4e1a667869980b21e70dd0e7c0781e8108c454fe45ed5a4bf76a3f79d68b70f38467470899acf4dc7daa47 linux-samsung-expressatt-downstream-0dbe2b56847b304d30b809dfd08ba3b4a61d9af8.tar.gz
ba96d4e7a712f77442a2e99dd747cdb367a5f2994c18ff8be4eb256b16ca53216528b085886cd0f9df310fec394928c06b70e92bfde7be3a918cd77662bc98cc config-samsung-expressatt.armv7 ba96d4e7a712f77442a2e99dd747cdb367a5f2994c18ff8be4eb256b16ca53216528b085886cd0f9df310fec394928c06b70e92bfde7be3a918cd77662bc98cc config-samsung-expressatt.armv7
ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch" ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch
"