samsung-chagallwifi: new device (MR 1174)
This gets the Samsung Galaxy Tab S 10.5 Wifi (samsung-chagallwifi) working at a very basic level. Full instructions of how to flash the device etc are already on the wiki at https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Tab_S_10.5_WiFi_(chagallwifi)
This commit is contained in:
parent
c26e8fc454
commit
bef5dc9ae8
6 changed files with 3808 additions and 0 deletions
25
device/testing/device-samsung-chagallwifi/APKBUILD
Normal file
25
device/testing/device-samsung-chagallwifi/APKBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Contributor: David Davies-Jones <david@exultantmonkey.co.uk>
|
||||
# Maintainer: David Davies-Jones <david@exultantmonkey.co.uk>
|
||||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-samsung-chagallwifi
|
||||
pkgdesc="Samsung Galaxy Tab S 10.5"
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base linux-samsung-chagallwifi mkbootimg mesa-dri-swrast"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
|
||||
sha512sums="273994a361f1a65544c7aa4827beeace5fc90a39b7eaf951767b52826515488e8ebb455c5e2a79cb6de7ccffb6bff6183e34387a90f1a3835d453a7f15d38290 deviceinfo"
|
33
device/testing/device-samsung-chagallwifi/deviceinfo
Normal file
33
device/testing/device-samsung-chagallwifi/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="Samsung Galaxy Tab S 10.5 WiFi"
|
||||
deviceinfo_manufacturer="Samsung"
|
||||
deviceinfo_codename="samsung-chagallwifi"
|
||||
deviceinfo_year="2014"
|
||||
deviceinfo_dtb=""
|
||||
deviceinfo_modules_initfs=""
|
||||
deviceinfo_arch="armv7"
|
||||
|
||||
# Device related
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="2560"
|
||||
deviceinfo_screen_height="1600"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="heimdall-bootimg"
|
||||
deviceinfo_kernel_cmdline=""
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt="false"
|
||||
deviceinfo_bootimg_dtb_second="false"
|
||||
deviceinfo_flash_offset_base="0x10000000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
deviceinfo_flash_heimdall_partition_kernel="BOOT"
|
||||
deviceinfo_flash_heimdall_partition_system="SYSTEM"
|
||||
|
49
device/testing/linux-samsung-chagallwifi/APKBUILD
Normal file
49
device/testing/linux-samsung-chagallwifi/APKBUILD
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Contributor: David Davies-Jones <david@exultantmonkey.co.uk>
|
||||
# Maintainer: David Davies-Jones <david@exultantmonkey.co.uk>
|
||||
# Reference: <https://postmarketos.org/vendorkernel>
|
||||
# Kernel config based on: arch/arm/configs/lineageos_chagallwifi_defconfig
|
||||
|
||||
pkgname=linux-samsung-chagallwifi
|
||||
pkgver=3.4.39
|
||||
pkgrel=0
|
||||
pkgdesc="Samsung Galaxy Tab S 10.5 kernel fork"
|
||||
arch="armv7"
|
||||
_carch="arm"
|
||||
_flavor="samsung-chagallwifi"
|
||||
url="https://kernel.org"
|
||||
license="GPL-2.0-only"
|
||||
options="!strip !check !tracedeps"
|
||||
makedepends="bash bc bison devicepkg-dev flex openssl-dev perl xz"
|
||||
|
||||
# Source
|
||||
_repository="android_kernel_samsung_exynos5420"
|
||||
_commit="61dd0870a1982be7567f9cb288f3f76f03f017f4"
|
||||
_config="config-$_flavor.$arch"
|
||||
source="
|
||||
$pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz
|
||||
$_config
|
||||
gcc7-give-up-on-ilog2-const-optimizations.patch
|
||||
gcc8-fix-put-user.patch
|
||||
"
|
||||
builddir="$srcdir/$_repository-$_commit"
|
||||
_outdir="out"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
. downstreamkernel_prepare
|
||||
}
|
||||
|
||||
build() {
|
||||
unset LDFLAGS
|
||||
make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
|
||||
}
|
||||
|
||||
package() {
|
||||
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" "$_outdir"
|
||||
}
|
||||
|
||||
sha512sums="b10abf35473b5ac8109d35c86485c1a83e7874feb9fa15bd69f0d5a3f063ecaa94914cb86e6ed0cb3f8c8cb2d89f93ba51b651f095d364ddb00688a887532081 linux-samsung-chagallwifi-61dd0870a1982be7567f9cb288f3f76f03f017f4.tar.gz
|
||||
14ceb782138b8fb3fdd8e14d26773b0813a44925804a9e47f2d96f5058459a9bd1e91add25820e39f283e8dff0bbf30d185b06da466386c549c93e07b8ca420f config-samsung-chagallwifi.armv7
|
||||
77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch
|
||||
197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch"
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1 @@
|
|||
../../.shared-patches/linux/gcc7-give-up-on-ilog2-const-optimizations.patch
|
1
device/testing/linux-samsung-chagallwifi/gcc8-fix-put-user.patch
Symbolic link
1
device/testing/linux-samsung-chagallwifi/gcc8-fix-put-user.patch
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.shared-patches/linux/gcc8-fix-put-user.patch
|
Loading…
Reference in a new issue