alcatel-5010d: new device (MR 2152)
[ci:skip-build] already built successfully in CI
This commit is contained in:
parent
34a85fafa4
commit
8c51cfffcd
7 changed files with 3717 additions and 0 deletions
31
device/testing/device-alcatel-5010d/APKBUILD
Normal file
31
device/testing/device-alcatel-5010d/APKBUILD
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Maintainer: Er2 <er2@dismail.de>
|
||||
|
||||
pkgname=device-alcatel-5010d
|
||||
pkgdesc="Alcatel OneTouch Pixi 4 (5) 5010D"
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-alcatel-5010d
|
||||
mesa-dri-gallium
|
||||
mkbootimg
|
||||
postmarketos-base
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
59d759a790d2a973256d6bd177558edf0ae62cf3f2d2caec4d4ac6942a5d8c9583fc733a7b6b3ce2a4277f0c70a3b50f2393654dd8b1bfc1877beb4cfea189ab deviceinfo
|
||||
"
|
33
device/testing/device-alcatel-5010d/deviceinfo
Normal file
33
device/testing/device-alcatel-5010d/deviceinfo
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Alcatel OneTouch Pixi 4 (5) 5010D"
|
||||
deviceinfo_manufacturer="Alcatel"
|
||||
deviceinfo_codename="alcatel-5010d"
|
||||
deviceinfo_year="2016"
|
||||
deviceinfo_dtb=""
|
||||
deviceinfo_modules_initfs=""
|
||||
deviceinfo_arch="armv7"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="480"
|
||||
deviceinfo_screen_height="854"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="bootopt=64S3,32S1,32S1"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt="false"
|
||||
deviceinfo_bootimg_mtk_mkimage="false"
|
||||
deviceinfo_bootimg_dtb_second="false"
|
||||
deviceinfo_flash_offset_base="0x80000000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x04000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x0e000000"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
70
device/testing/linux-alcatel-5010d/APKBUILD
Normal file
70
device/testing/linux-alcatel-5010d/APKBUILD
Normal file
|
@ -0,0 +1,70 @@
|
|||
# Reference: <https://postmarketos.org/vendorkernel>
|
||||
# Kernel config based on: arch/arm/configs/pixi4_5_defconfig
|
||||
|
||||
pkgname=linux-alcatel-5010d
|
||||
pkgver=3.18.19
|
||||
pkgrel=0
|
||||
pkgdesc="Alcatel OneTouch Pixi 4 (5) 5010D kernel fork"
|
||||
arch="armv7"
|
||||
_carch="arm"
|
||||
_flavor="alcatel-5010d"
|
||||
url="https://kernel.org"
|
||||
license="GPL-2.0-only"
|
||||
options="!strip !check !tracedeps pmb:cross-native"
|
||||
makedepends="
|
||||
bash
|
||||
bc
|
||||
bison
|
||||
devicepkg-dev
|
||||
flex
|
||||
gcc6
|
||||
openssl-dev
|
||||
perl
|
||||
python2
|
||||
"
|
||||
|
||||
# Use GCC 6
|
||||
if [ "${CC:0:5}" != "gcc6-" ]; then
|
||||
CC="gcc6-$CC"
|
||||
HOSTCC="gcc6-gcc"
|
||||
CROSS_COMPILE="gcc6-$CROSS_COMPILE"
|
||||
fi
|
||||
|
||||
# Source
|
||||
_author="Er2ch"
|
||||
_repository="linux-ot-5010d"
|
||||
_commit="0d82a5ab369dce2f6df876f31359d0394f750f67"
|
||||
_config="config-$_flavor.$arch"
|
||||
source="
|
||||
$pkgname-$_commit.tar.gz::https://github.com/$_author/$_repository/archive/$_commit.tar.gz
|
||||
$_config
|
||||
gcc10-extern_YYLOC_global_declaration.patch
|
||||
gcc8-fix-put-user.patch
|
||||
gcc7-give-up-on-ilog2-const-optimizations.patch
|
||||
"
|
||||
builddir="$srcdir/$_repository-$_commit"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
. downstreamkernel_prepare
|
||||
}
|
||||
|
||||
build() {
|
||||
unset LDFLAGS
|
||||
make ARCH="$_carch" CC="${CC:-gcc}" \
|
||||
KBUILD_BUILD_USER="er2" \
|
||||
KBUILD_BUILD_HOST="kitchen" \
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-$_flavor"
|
||||
}
|
||||
|
||||
package() {
|
||||
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" ""
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
0045132d42f6afa721c62aef484ec9f5395fe031ba825a02860f95a28a57d2387ba9255b4baa95e003f7b1f222597cf8d24c7452e849c7dce50637702e0faa13 linux-alcatel-5010d-0d82a5ab369dce2f6df876f31359d0394f750f67.tar.gz
|
||||
774096ffca52525ee4bb37a146b304fe5264806be854340969b307bf795fe5937b64701d2b8c5b72a4d71996167d66db4557ed4f4c884e2daffe8f0e15126d77 config-alcatel-5010d.armv7
|
||||
2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch
|
||||
197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch
|
||||
77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch
|
||||
"
|
3580
device/testing/linux-alcatel-5010d/config-alcatel-5010d.armv7
Normal file
3580
device/testing/linux-alcatel-5010d/config-alcatel-5010d.armv7
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1 @@
|
|||
../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch
|
|
@ -0,0 +1 @@
|
|||
../../.shared-patches/linux/gcc7-give-up-on-ilog2-const-optimizations.patch
|
1
device/testing/linux-alcatel-5010d/gcc8-fix-put-user.patch
Symbolic link
1
device/testing/linux-alcatel-5010d/gcc8-fix-put-user.patch
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.shared-patches/linux/gcc8-fix-put-user.patch
|
Loading…
Reference in a new issue