Refresh Fairphone 2 packages
This commit is contained in:
parent
dabc26f1c6
commit
8b39bafb50
12 changed files with 316 additions and 375 deletions
|
@ -1,3 +0,0 @@
|
|||
# use 'weston-calibrator' to calibrate the touchscreen!
|
||||
SUBSYSTEM=="input", ATTRS{name}=="synaptics_dsx", \
|
||||
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1"
|
|
@ -1,36 +1,29 @@
|
|||
pkgname=device-fairphone-fp2
|
||||
pkgver=1
|
||||
pkgrel=9
|
||||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname="device-fairphone-fp2"
|
||||
pkgdesc="Fairphone 2"
|
||||
pkgver=2
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="postmarketos-base linux-fairphone-fp2 mkbootimg mesa-dri-swrast"
|
||||
makedepends=""
|
||||
install=""
|
||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||
source="
|
||||
deviceinfo
|
||||
90-android-touch-dev.rules
|
||||
bcmdhd.cal
|
||||
"
|
||||
arch="noarch"
|
||||
options="!check"
|
||||
depends="postmarketos-base linux-fairphone-fp2 mkbootimg mesa-dri-swrast"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
install -D -m644 "$srcdir"/deviceinfo \
|
||||
"$pkgdir"/etc/deviceinfo
|
||||
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
||||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
install -D -m644 "$srcdir"/bcmdhd.cal \
|
||||
"$pkgdir"/etc/wifi/bcmdhd.cal
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
depends="firmware-fairphone-fp2"
|
||||
pkgdesc="WCNSS firmware (WiFi, Bluetooth, FM)"
|
||||
depends="firmware-fairphone-fp2"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="1bca0fd2045b4567ff1058e3cf784d2e04abe5c34f31265a6fd20bfd04365e01eb475e7dbc82e2da3a52042b3790def53efcf6cac82d1448f2a32e7ba7927517 deviceinfo
|
||||
4e6c0b87872f278de5603d821a1e9dab8363db285d1d7fd56e900b33e8533eecb79b1fb6359e58e112e69e714a4f2aee06157b1d6f8d3e26274cd29c93cd659b 90-android-touch-dev.rules
|
||||
32652ef366694f34dec31f316a38aca96700e3a5a3eac1f8d192e3c5de7b91e480b1c0fcd8e7c80a51692dc3737020ebbb2e5d3779436e82fb18822089c63055 bcmdhd.cal"
|
||||
sha512sums="fe35eb83d1eb5bc0d6bfced5db30238730a2309e8266556f36ca2a9e34ecc2b3825b9533416e93d147ff5488455db7b760d059fde07a714137aae57d0e227e2c deviceinfo"
|
||||
|
|
|
@ -1,129 +0,0 @@
|
|||
#Hammerhead for 4339 iPA/eLNA / AARDVARK_6_30_271
|
||||
#2G CCK Filter / 5G EVM SW Ctrl / Targer power / 130930
|
||||
#Boardflags3 / 5G cal / RSSI cal
|
||||
|
||||
sromrev=11
|
||||
boardrev=0x1106
|
||||
boardtype=0x06b6
|
||||
|
||||
boardflags=0x10081401
|
||||
boardflags2=0x00000000
|
||||
boardflags3=0x08001188
|
||||
|
||||
#boardnum=57410
|
||||
macaddr=00:90:4c:c5:12:38
|
||||
ccode=XV
|
||||
regrev=17
|
||||
antswitch=0
|
||||
pdgain2g=7
|
||||
pdgain5g=7
|
||||
tworangetssi2g=0
|
||||
tworangetssi5g=0
|
||||
muxenab=0x10
|
||||
#sd_gpout=0
|
||||
#sd_oobonly=1
|
||||
vendid=0x14e4
|
||||
devid=0x43ae
|
||||
manfid=0x2d0
|
||||
#prodid=0x052e
|
||||
nocrc=1
|
||||
otpimagesize=502
|
||||
xtalfreq=37400
|
||||
extpagain2g=2
|
||||
pdetrange2g=2
|
||||
extpagain5g=2
|
||||
pdetrange5g=2
|
||||
|
||||
rxgains2gelnagaina0=4
|
||||
rxgains2gtrisoa0=6
|
||||
rxgains2gtrelnabypa0=1
|
||||
rxgains5gelnagaina0=5
|
||||
rxgains5gtrisoa0=9
|
||||
|
||||
rxgains5gtrelnabypa0=1
|
||||
rxchain=1
|
||||
txchain=1
|
||||
aa2g=1
|
||||
aa5g=1
|
||||
|
||||
agbg0=0
|
||||
aga0=0
|
||||
|
||||
tssipos5g=0
|
||||
tssipos2g=0
|
||||
|
||||
|
||||
pa2gccka0=-116,7568,-852
|
||||
pa2ga0=-161,6269,-723
|
||||
|
||||
pa5ga0=0xFF40,0x15EA,0xFD51,0xFF33,0x160A,0xFD49,0xFF51,0x1706,0xFD3E,0xFF54,0x16E3,0xFD47
|
||||
pa5gbw40a0=0xFF45,0x1676,0xFD49,0xFF45,0x1789,0xFD21,0xFF38,0x16CE,0xFD28,0xFF25,0x15D1,0xFD36
|
||||
pa5gbw80a0=0xFF49,0x15C6,0xFD61,0xFF52,0x1736,0xFD39,0xFF5D,0x1735,0xFD4B,0xFF48,0x16B4,0xFD3B
|
||||
|
||||
pdoffset40ma0=0
|
||||
pdoffset80ma0=0
|
||||
pdoffsetcckma0=0
|
||||
|
||||
maxp2ga0=78
|
||||
|
||||
cckbw202gpo=0x0000
|
||||
cckbw20ul2gpo=0x0000
|
||||
cckbw20ul2gpo=0x0
|
||||
|
||||
ofdmlrbw202gpo=0x8864
|
||||
dot11agofdmhrbw202gpo=0x8866
|
||||
|
||||
mcsbw202gpo=0xaaaa8884
|
||||
mcsbw402gpo=0xaaaa8884
|
||||
|
||||
maxp5ga0=74,74,74,78
|
||||
|
||||
tssifloor2g=500
|
||||
|
||||
#low
|
||||
mcsbw205glpo=0xaa866662
|
||||
mcsbw405glpo=0xaa888888
|
||||
mcsbw805glpo=0xaa888888
|
||||
mcsbw1605glpo=0xaa888888
|
||||
#mid
|
||||
mcsbw205gmpo=0xaa866662
|
||||
mcsbw405gmpo=0xaa888888
|
||||
mcsbw805gmpo=0xaa888888
|
||||
mcsbw1605gmpo=0xaa888888
|
||||
#high
|
||||
mcsbw205ghpo=0xcca88882
|
||||
mcsbw405ghpo=0xccaaaaaa
|
||||
mcsbw805ghpo=0xccaaaaaa
|
||||
mcsbw1605ghpo=0xccaaaaaa
|
||||
|
||||
mcslr5glpo=0x0000
|
||||
mcslr5gmpo=0x0000
|
||||
mcslr5ghpo=0x0000
|
||||
|
||||
sb20in40hrrpo=0x0
|
||||
sb20in80and160hr5glpo=0x0
|
||||
sb40and80hr5glpo=0x0
|
||||
sb20in80and160hr5gmpo=0x0
|
||||
sb40and80hr5gmpo=0x0
|
||||
sb20in80and160hr5ghpo=0x0
|
||||
sb40and80hr5ghpo=0x0
|
||||
sb20in40lrpo=0x0
|
||||
sb20in80and160lr5glpo=0x0
|
||||
sb40and80lr5glpo=0x0
|
||||
sb20in80and160lr5gmpo=0x0
|
||||
sb40and80lr5gmpo=0x0
|
||||
sb20in80and160lr5ghpo=0x0
|
||||
sb40and80lr5ghpo=0x0
|
||||
dot11agduphrpo=0x0
|
||||
dot11agduplrpo=0x0
|
||||
phycal_tempdelta=25
|
||||
cckdigfilttype=1
|
||||
|
||||
swctrlmap_5g=0x00080008,0x00040000,0x00000008,0x800301,0x00c
|
||||
swctrlmap_2g=0x00000000,0x00030001,0x00010000,0x800301,0x0ff
|
||||
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
|
||||
swctrlmapext_2g=0x00000001,0x00000000,0x00000000,0x000000,0x001
|
||||
|
||||
|
||||
rssicorrnorm_c0=2,2
|
||||
rssicorrnorm5g_c0=-1,0,0,-2,0,0,0,1,1,1,2,2
|
|
@ -5,30 +5,31 @@ deviceinfo_format_version="0"
|
|||
deviceinfo_name="Fairphone 2"
|
||||
deviceinfo_manufacturer="Fairphone"
|
||||
deviceinfo_date=""
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_nonfree="????"
|
||||
deviceinfo_dtb=""
|
||||
deviceinfo_modules=""
|
||||
deviceinfo_modules_initfs=""
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_flash_sparse="true"
|
||||
deviceinfo_arch="armhf"
|
||||
|
||||
# Splash screen
|
||||
# Device related
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="1080"
|
||||
deviceinfo_screen_height="1920"
|
||||
deviceinfo_dev_touchscreen="/dev/input/event0"
|
||||
deviceinfo_dev_touchscreen_calibration=""
|
||||
deviceinfo_dev_keyboard=""
|
||||
|
||||
# Fastboot related
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="console=ttyHSL0,115200,n8 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt="true"
|
||||
|
||||
deviceinfo_kernel_cmdline="console=ttyHSL0,115200,n8 PMOS_NO_OUTPUT_REDIRECT"
|
||||
deviceinfo_flash_offset_kernel="0x00000000"
|
||||
deviceinfo_flash_offset_ramdisk="0x02000000"
|
||||
deviceinfo_flash_offset_base="0x00000000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x01E00000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
# Weston red screen workaround (see issue #54)
|
||||
deviceinfo_weston_pixman_type="2"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
From aeea3592a13bf12861943e44fc48f1f270941f8d Mon Sep 17 00:00:00 2001
|
||||
From e281a7f1481d1f900ca32844f70ca3bb56351781 Mon Sep 17 00:00:00 2001
|
||||
From: Behan Webster <behanw@converseincode.com>
|
||||
Date: Wed, 24 Sep 2014 01:06:46 +0100
|
||||
Subject: [PATCH] ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h
|
||||
Subject: [PATCH 1/6] ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h
|
||||
|
||||
With compilers which follow the C99 standard (like modern versions of gcc and
|
||||
clang), "extern inline" does the wrong thing (emits code for an externally
|
||||
|
@ -19,7 +19,7 @@ Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
|||
2 files changed, 1 insertion(+), 6 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
|
||||
index 39eb16b0066f2..bfe2a2f5a644e 100644
|
||||
index f89515adac60..2bb8cac28b9e 100644
|
||||
--- a/arch/arm/include/asm/ftrace.h
|
||||
+++ b/arch/arm/include/asm/ftrace.h
|
||||
@@ -45,7 +45,7 @@ void *return_address(unsigned int);
|
||||
|
@ -32,10 +32,10 @@ index 39eb16b0066f2..bfe2a2f5a644e 100644
|
|||
return NULL;
|
||||
}
|
||||
diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c
|
||||
index fafedd86885dd..f6aa84d5b93c9 100644
|
||||
index 8085417555dd..57827a61f13c 100644
|
||||
--- a/arch/arm/kernel/return_address.c
|
||||
+++ b/arch/arm/kernel/return_address.c
|
||||
@@ -63,11 +63,6 @@ void *return_address(unsigned int level)
|
||||
@@ -62,11 +62,6 @@ void *return_address(unsigned int level)
|
||||
#warning "TODO: return_address should use unwind tables"
|
||||
#endif
|
||||
|
||||
|
@ -47,3 +47,6 @@ index fafedd86885dd..f6aa84d5b93c9 100644
|
|||
#endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */
|
||||
|
||||
EXPORT_SYMBOL_GPL(return_address);
|
||||
--
|
||||
2.18.0
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
source:
|
||||
https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9
|
||||
From 33f9e6039c4f1780b9b457fb70b2817dea56fa35 Mon Sep 17 00:00:00 2001
|
||||
From: Chet Kener <Cl3Kener@gmail.com>
|
||||
Date: Tue, 21 Oct 2014 18:41:36 -0400
|
||||
Subject: [PATCH 2/6] gpu: msm: Fix compilation
|
||||
|
||||
* These need to be static to avoid these errors:
|
||||
|
||||
|
@ -10,10 +12,15 @@ Makefile:877: recipe for target '.tmp_vmlinux1' failed
|
|||
make: *** [.tmp_vmlinux1] Error 1
|
||||
|
||||
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
|
||||
---
|
||||
drivers/gpu/msm/kgsl_iommu.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/drivers/gpu/msm/kgsl_iommu.c b/drivers/gpu/msm/kgsl_iommu.c
|
||||
index f755b226b078..deb568e3446f 100644
|
||||
--- a/drivers/gpu/msm/kgsl_iommu.c
|
||||
+++ b/drivers/gpu/msm/kgsl_iommu.c
|
||||
@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu)
|
||||
@@ -997,7 +997,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu)
|
||||
*
|
||||
* Return - int - number of commands.
|
||||
*/
|
||||
|
@ -22,7 +29,7 @@ Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
|
|||
unsigned int *cmds)
|
||||
{
|
||||
struct kgsl_device *device = mmu->device;
|
||||
@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
||||
@@ -1067,7 +1067,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
||||
*
|
||||
* Return - int - number of commands.
|
||||
*/
|
||||
|
@ -31,3 +38,6 @@ Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
|
|||
unsigned int *cmds)
|
||||
{
|
||||
struct kgsl_device *device = mmu->device;
|
||||
--
|
||||
2.18.0
|
||||
|
39
device/linux-fairphone-fp2/0003-Fix-includes.patch
Normal file
39
device/linux-fairphone-fp2/0003-Fix-includes.patch
Normal file
|
@ -0,0 +1,39 @@
|
|||
From 9f6591cedda666e560b0ecfc1200ce4c5c0e41d6 Mon Sep 17 00:00:00 2001
|
||||
From: Luca Weiss <luca@z3ntu.xyz>
|
||||
Date: Sun, 19 Aug 2018 17:31:58 +0200
|
||||
Subject: [PATCH 3/6] Fix includes
|
||||
|
||||
---
|
||||
arch/arm/mach-msm/smd_init_dt.c | 2 +-
|
||||
sound/soc/msm/qdsp6v2/rtac.c | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/mach-msm/smd_init_dt.c b/arch/arm/mach-msm/smd_init_dt.c
|
||||
index 1766a68bfa87..df88bf5b35c7 100644
|
||||
--- a/arch/arm/mach-msm/smd_init_dt.c
|
||||
+++ b/arch/arm/mach-msm/smd_init_dt.c
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <linux/io.h>
|
||||
|
||||
#include <mach/msm_ipc_logging.h>
|
||||
-#include <smd_private.h>
|
||||
+#include "smd_private.h"
|
||||
|
||||
#define MODULE_NAME "msm_smd"
|
||||
#define IPC_LOG(level, x...) do { \
|
||||
diff --git a/sound/soc/msm/qdsp6v2/rtac.c b/sound/soc/msm/qdsp6v2/rtac.c
|
||||
index 3e0df21c3bb4..2b6579c762cf 100755
|
||||
--- a/sound/soc/msm/qdsp6v2/rtac.c
|
||||
+++ b/sound/soc/msm/qdsp6v2/rtac.c
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <sound/q6afe-v2.h>
|
||||
#include <sound/q6audio-v2.h>
|
||||
#include <sound/apr_audio-v2.h>
|
||||
-#include <q6voice.h>
|
||||
+#include "q6voice.h"
|
||||
#include "audio_acdb.h"
|
||||
|
||||
|
||||
--
|
||||
2.18.0
|
||||
|
25
device/linux-fairphone-fp2/0004-msm-fix-trace.patch
Normal file
25
device/linux-fairphone-fp2/0004-msm-fix-trace.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
From 56c8e4686c63557b7040c0509fa34fa7b71cdd68 Mon Sep 17 00:00:00 2001
|
||||
From: Luca Weiss <luca@z3ntu.xyz>
|
||||
Date: Sun, 19 Aug 2018 17:32:47 +0200
|
||||
Subject: [PATCH 4/6] msm: fix trace
|
||||
|
||||
---
|
||||
drivers/video/msm/mdss/mdss_mdp_trace.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/video/msm/mdss/mdss_mdp_trace.h b/drivers/video/msm/mdss/mdss_mdp_trace.h
|
||||
index 33fe3a4b7937..730b7ff5a85d 100644
|
||||
--- a/drivers/video/msm/mdss/mdss_mdp_trace.h
|
||||
+++ b/drivers/video/msm/mdss/mdss_mdp_trace.h
|
||||
@@ -17,7 +17,7 @@
|
||||
#undef TRACE_SYSTEM
|
||||
#define TRACE_SYSTEM mdss
|
||||
#undef TRACE_INCLUDE_PATH
|
||||
-#define TRACE_INCLUDE_PATH .
|
||||
+#define TRACE_INCLUDE_PATH ../../drivers/video/msm/mdss
|
||||
#undef TRACE_INCLUDE_FILE
|
||||
#define TRACE_INCLUDE_FILE mdss_mdp_trace
|
||||
|
||||
--
|
||||
2.18.0
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
From bd447b61c49fc26f0299587db3e6d66da49dc529 Mon Sep 17 00:00:00 2001
|
||||
From 1bbea76e31078276fae96dd09eddc8a8aa8d027e Mon Sep 17 00:00:00 2001
|
||||
From: Chen Gang <gang.chen.5i5j@gmail.com>
|
||||
Date: Sun, 9 Nov 2014 13:31:11 -0800
|
||||
Subject: [PATCH] Input: lifebook - use "static inline" instead of "inline" in
|
||||
lifebook.h
|
||||
Subject: [PATCH 5/6] Input: lifebook - use "static inline" instead of "inline"
|
||||
in lifebook.h
|
||||
|
||||
For functions defined in header files we should use static inline rather
|
||||
than inline, which breaks under the latest upstream gcc (which is really
|
||||
|
@ -42,5 +42,5 @@ index 4c4326c6f504..0baf02a70a99 100644
|
|||
return -ENOSYS;
|
||||
}
|
||||
--
|
||||
2.14.1
|
||||
2.18.0
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
From bde304575f3ecaa9570a9329196dffaadf3adafa Mon Sep 17 00:00:00 2001
|
||||
From 8aced5520b9c1ec1f23e004aae59a2a88ad74764 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 22 May 2015 09:56:29 -0700
|
||||
Subject: [PATCH] Input: sentelic - use "static inline" instead of "inline"
|
||||
Subject: [PATCH 6/6] Input: sentelic - use "static inline" instead of "inline"
|
||||
|
||||
gcc-5 defaults to gnu11 which used c99 inline semantics in c99 'inline' is
|
||||
not externally visible unlike gnu89, therefore we use 'static inline' which
|
||||
|
@ -14,10 +14,10 @@ Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
|||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/drivers/input/mouse/sentelic.h b/drivers/input/mouse/sentelic.h
|
||||
index aa697ece405b..42df9e3beae8 100644
|
||||
index 334de19e5ddb..a821628244b9 100644
|
||||
--- a/drivers/input/mouse/sentelic.h
|
||||
+++ b/drivers/input/mouse/sentelic.h
|
||||
@@ -123,11 +123,11 @@ struct fsp_data {
|
||||
@@ -115,11 +115,11 @@ struct fsp_data {
|
||||
extern int fsp_detect(struct psmouse *psmouse, bool set_properties);
|
||||
extern int fsp_init(struct psmouse *psmouse);
|
||||
#else
|
||||
|
@ -32,5 +32,5 @@ index aa697ece405b..42df9e3beae8 100644
|
|||
return -ENOSYS;
|
||||
}
|
||||
--
|
||||
2.14.1
|
||||
2.18.0
|
||||
|
|
@ -1,122 +1,80 @@
|
|||
# APKBUILD based on linux-vanilla aport. Changes:
|
||||
# - disabled module installation
|
||||
# - add !check !tracedeps
|
||||
# - package: just install zimage and kernel.release, because the kernel config
|
||||
# does not generate modules or dtb files
|
||||
# - do not create -dev subpackage (makes no sense without module support)
|
||||
#
|
||||
# Kernel config based on: arch/arm/configs/fairphone-perf_defconfig
|
||||
# Changes:
|
||||
# - enable devtmpfs (needed for udev -> touch support in weston)
|
||||
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
|
||||
# Kernel config based on: arch/arm/configs/lineageos_FP2_defconfig
|
||||
|
||||
_vendor=fairphone
|
||||
_flavor=fairphone-fp2
|
||||
_hash="8c73c363d1cd11624ddda9a1ef08b9dc7a5569e4"
|
||||
_config="config-${_flavor}.armhf"
|
||||
|
||||
pkgname=linux-${_flavor}
|
||||
pkgname="linux-fairphone-fp2"
|
||||
pkgver=3.4.0
|
||||
case $pkgver in
|
||||
*.*.*) _kernver=${pkgver%.*};;
|
||||
*.*) _kernver=$pkgver;;
|
||||
esac
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc="Fairphone 2 kernel fork"
|
||||
arch="armhf"
|
||||
pkgdesc="LineageOS kernel for Fairphone 2"
|
||||
url="https://github.com/LineageOS/android_kernel_fairphone_msm8974"
|
||||
depends=""
|
||||
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev python2 dtbtool"
|
||||
options="!strip !check !tracedeps"
|
||||
install=
|
||||
source="
|
||||
https://github.com/LineageOS/android_kernel_fairphone_msm8974/archive/${_hash}.zip
|
||||
${_config}
|
||||
compiler-gcc6.h
|
||||
00_fix_return_address.patch
|
||||
00_Input-lifebook-use-static-inline-instead-of-inline-i.patch
|
||||
00_Input-sentelic-use-static-inline-instead-of-inline.patch
|
||||
gpu-msm-fix-gcc5-compile.patch
|
||||
"
|
||||
|
||||
subpackages=""
|
||||
license="GPL2"
|
||||
|
||||
_abi_release=${pkgver}
|
||||
_carch="arm"
|
||||
_flavor="fairphone-fp2"
|
||||
url="https://kernel.org"
|
||||
license="GPL2"
|
||||
options="!strip !check !tracedeps"
|
||||
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev dtbtool xz"
|
||||
HOSTCC="${CC:-gcc}"
|
||||
HOSTCC="${HOSTCC#${CROSS_COMPILE}}"
|
||||
|
||||
ksrcdir="$srcdir/android_kernel_fairphone_msm8974-${_hash}"
|
||||
# Source
|
||||
_repository="android_kernel_fairphone_msm8974"
|
||||
_commit="284400aea4b9f8a3c97a34408f48d0971897ae02"
|
||||
_config="config-${_flavor}.${arch}"
|
||||
source="
|
||||
$pkgname-$_commit.tar.gz::https://github.com/LineageOS/${_repository}/archive/${_commit}.tar.gz
|
||||
$_config
|
||||
compiler-gcc6.h
|
||||
0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
|
||||
0002-gpu-msm-Fix-compilation.patch
|
||||
0003-Fix-includes.patch
|
||||
0004-msm-fix-trace.patch
|
||||
0005-Input-lifebook-use-static-inline-instead-of-inline-i.patch
|
||||
0006-Input-sentelic-use-static-inline-instead-of-inline.patch
|
||||
"
|
||||
builddir="$srcdir/${_repository}-${_commit}"
|
||||
|
||||
prepare() {
|
||||
local _patch_failed=
|
||||
cd "$ksrcdir"
|
||||
|
||||
# first apply patches in specified order
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch)
|
||||
msg "Applying $i..."
|
||||
if ! patch -s -p1 -N -i "$srcdir"/$i; then
|
||||
echo $i >>failed
|
||||
_patch_failed=1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if ! [ -z "$_patch_failed" ]; then
|
||||
error "The following patches failed:"
|
||||
cat failed
|
||||
return 1
|
||||
fi
|
||||
|
||||
# gcc6 support
|
||||
cp -v "$srcdir/compiler-gcc6.h" "$ksrcdir/include/linux/"
|
||||
|
||||
mkdir -p "$srcdir"/build
|
||||
cp "$srcdir"/$_config "$srcdir"/build/.config
|
||||
echo "--[ silentoldconfig ]--"
|
||||
yes "" | make -C "$ksrcdir" O="$srcdir"/build ARCH="$_carch" HOSTCC="$HOSTCC" \
|
||||
oldconfig
|
||||
default_prepare
|
||||
downstreamkernel_prepare "$srcdir" "$builddir" "$_config" "$_carch" "$HOSTCC"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/build
|
||||
unset LDFLAGS
|
||||
make ARCH="$_carch" CC="${CC:-gcc}" \
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" CONFIG_NO_ERROR_ON_MISMATCH=y
|
||||
echo "--[ Build modules ]--"
|
||||
make ARCH="$_carch" CC="${CC:-gcc}" \
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" CONFIG_NO_ERROR_ON_MISMATCH=y \
|
||||
modules
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
|
||||
|
||||
# Generate master DTB (deviceinfo_bootimg_qcdt)
|
||||
dtbTool -s 2048 -p "scripts/dtc/" -o "arch/arm/boot/dt.img" "arch/arm/boot/"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 "$srcdir/build/arch/arm/boot/dt.img" \
|
||||
"$pkgdir/boot/dt.img"
|
||||
|
||||
install -Dm644 "$srcdir/build/arch/arm/boot/zImage" \
|
||||
"$pkgdir/boot/vmlinuz-$_flavor"
|
||||
|
||||
install -D "$srcdir/build/include/config/kernel.release" \
|
||||
# kernel.release
|
||||
install -D "$builddir/include/config/kernel.release" \
|
||||
"$pkgdir/usr/share/kernel/$_flavor/kernel.release"
|
||||
|
||||
cd "$srcdir"/build
|
||||
unset LDFLAGS
|
||||
echo "--[ Installing modules ]--"
|
||||
make ARCH="$_carch" CC="${CC:-gcc}" \
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" CONFIG_NO_ERROR_ON_MISMATCH=y \
|
||||
INSTALL_MOD_PATH="$pkgdir" modules_install
|
||||
# zImage (find the right one)
|
||||
cd "$builddir/arch/$_carch/boot"
|
||||
_target="$pkgdir/boot/vmlinuz-$_flavor"
|
||||
for _zimg in zImage-dtb Image.gz-dtb *zImage Image; do
|
||||
[ -e "$_zimg" ] || continue
|
||||
msg "zImage found: $_zimg"
|
||||
install -Dm644 "$_zimg" "$_target"
|
||||
break
|
||||
done
|
||||
if ! [ -e "$_target" ]; then
|
||||
error "Could not find zImage in $PWD!"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Master DTB (deviceinfo_bootimg_qcdt)
|
||||
install -Dm644 "$builddir/arch/arm/boot/dt.img" \
|
||||
"$pkgdir/boot/dt.img"
|
||||
}
|
||||
|
||||
sha512sums="acddc069c3e8aa5b58c82eddc6e335946695e618fe5756e81a730cbcfbba0fd256b6e46024c46a66f8551d67608edd6d55b5a7cfa8ea98b064ca1ddaa1d7238d 8c73c363d1cd11624ddda9a1ef08b9dc7a5569e4.zip
|
||||
ab13d17b292081ecaa607e52b424eedea3e2c02678e5b329f3c8b5267cc844b4c40e7cd7244ede0d4fa4d5722b9e0a1cfd23498b34859b5702534d51954dc41a config-fairphone-fp2.armhf
|
||||
sha512sums="6b440c5d087b790894606d4736af815204d9e6f682b7c1ba78f5852fa7aecd74cb276f4953d270f14c96d5418f4e2a83c5179c54d50e2e5afc9084f83ab54200 linux-fairphone-fp2-284400aea4b9f8a3c97a34408f48d0971897ae02.tar.gz
|
||||
aa8c8dd8502b7ecbfc7d8aee2146a5b613dbea3f071d8f0a48f213a5be0f4026a596d3c55d72ebdef1897f93133f4111aac50f62f3c560a7a49c838b4bbf6413 config-fairphone-fp2.armhf
|
||||
d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h
|
||||
ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch
|
||||
5c49f6ff6773a7dc3067d2b1359648fe7a9f758b6c068d6fa69d9aaf24a291ba8022c960317d926aabc11d020a71b20c4e81a6fcf9b21ef66d9b6d065bae23e9 00_Input-lifebook-use-static-inline-instead-of-inline-i.patch
|
||||
2d77d90b501aa8afbf81629e73fc0a2055b373942975f58277e43f398d0835b3dbbff4a1118137ec82873ba90a254fea87c1d73ba7708578f1779bd0b4c6ff2d 00_Input-sentelic-use-static-inline-instead-of-inline.patch
|
||||
7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 gpu-msm-fix-gcc5-compile.patch"
|
||||
19d21a15d5470ba0a77ddfac2ea662f6424bca4af66d310019ba3c3d7d976cae6b7f88422d64e564c47a7347a7338459f61f3ac94d13d7b981defc206f99a120 0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
|
||||
6f806c8e2a5b6e7e503c2b98ff55cd90f4e77cb7d82b9a3e3f85f4d718265be06f03a81ab9c0d88a95508b4192713c98f3959b18c6119edf209722c3002d19fe 0002-gpu-msm-Fix-compilation.patch
|
||||
403d4999e98ddf73e083076c130a7c9de265096b7abeaabe1ba4305403202e651289a538d104cb37adf783fcecea009f3ed2b722d8640d8d3f12e6cbb8ebe97d 0003-Fix-includes.patch
|
||||
432099f87fbcd66fa801ecaedb06715754198761c709cbb40b0dc8ffef14a6d6d5f0df27823229b731b18438c705c60c0ce44728b192d8e0f20c285bf761b7f3 0004-msm-fix-trace.patch
|
||||
fdc336206dedc11f560849738903f18ffa28ea5387b8764cae37c981a5e1bc610d32f041c0cde4ff246fb24cb79cb3f5d7820a40ea33aac75b9660897299b03f 0005-Input-lifebook-use-static-inline-instead-of-inline-i.patch
|
||||
ea45a9faa3320410b76409b373dc4a2d41ef2f815c48cdfe5ca8072df402ecab87bbd2021f116a4d93827bc62f59bce4c5defc10758134a1e054a66822371a77 0006-Input-sentelic-use-static-inline-instead-of-inline.patch"
|
||||
|
|
|
@ -48,8 +48,8 @@ CONFIG_HAVE_KERNEL_GZIP=y
|
|||
CONFIG_HAVE_KERNEL_LZMA=y
|
||||
CONFIG_HAVE_KERNEL_XZ=y
|
||||
CONFIG_HAVE_KERNEL_LZO=y
|
||||
CONFIG_KERNEL_GZIP=y
|
||||
# CONFIG_KERNEL_LZMA is not set
|
||||
# CONFIG_KERNEL_GZIP is not set
|
||||
CONFIG_KERNEL_LZMA=y
|
||||
# CONFIG_KERNEL_XZ is not set
|
||||
# CONFIG_KERNEL_LZO is not set
|
||||
CONFIG_DEFAULT_HOSTNAME="(none)"
|
||||
|
@ -175,6 +175,12 @@ CONFIG_HAVE_CLK=y
|
|||
CONFIG_HAVE_DMA_API_DEBUG=y
|
||||
CONFIG_HAVE_HW_BREAKPOINT=y
|
||||
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
||||
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
|
||||
CONFIG_SECCOMP_FILTER=y
|
||||
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
|
||||
CONFIG_ARCH_MMAP_RND_BITS_MIN=8
|
||||
CONFIG_ARCH_MMAP_RND_BITS_MAX=16
|
||||
CONFIG_ARCH_MMAP_RND_BITS=8
|
||||
|
||||
#
|
||||
# GCOV-based kernel profiling
|
||||
|
@ -270,9 +276,6 @@ CONFIG_FREEZER=y
|
|||
# System Type
|
||||
#
|
||||
CONFIG_MMU=y
|
||||
CONFIG_ARCH_MMAP_RND_BITS_MIN=8
|
||||
CONFIG_ARCH_MMAP_RND_BITS_MAX=16
|
||||
CONFIG_ARCH_MMAP_RND_BITS=8
|
||||
# CONFIG_ARCH_INTEGRATOR is not set
|
||||
# CONFIG_ARCH_REALVIEW is not set
|
||||
# CONFIG_ARCH_VERSATILE is not set
|
||||
|
@ -437,6 +440,7 @@ CONFIG_RTAC=y
|
|||
# CONFIG_MSM_VREG_SWITCH_INVERTED is not set
|
||||
CONFIG_MSM_DMA_TEST=m
|
||||
# CONFIG_WIFI_CONTROL_FUNC is not set
|
||||
CONFIG_SURF_FFA_GPIO_KEYPAD=y
|
||||
CONFIG_MSM_SLEEP_TIME_OVERRIDE=y
|
||||
# CONFIG_MSM_MEMORY_LOW_POWER_MODE is not set
|
||||
CONFIG_MSM_PM_TIMEOUT_HALT=y
|
||||
|
@ -607,6 +611,7 @@ CONFIG_SCHED_MC=y
|
|||
# CONFIG_SCHED_SMT is not set
|
||||
CONFIG_HAVE_ARM_SCU=y
|
||||
CONFIG_ARM_ARCH_TIMER=y
|
||||
# CONFIG_ARM_ARCH_TIMER_VCT_ACCESS is not set
|
||||
CONFIG_VMSPLIT_3G=y
|
||||
# CONFIG_VMSPLIT_2G is not set
|
||||
# CONFIG_VMSPLIT_1G is not set
|
||||
|
@ -656,7 +661,7 @@ CONFIG_ENABLE_VMALLOC_SAVING=y
|
|||
CONFIG_FORCE_MAX_ZONEORDER=11
|
||||
CONFIG_ALIGNMENT_TRAP=y
|
||||
# CONFIG_UACCESS_WITH_MEMCPY is not set
|
||||
# CONFIG_SECCOMP is not set
|
||||
CONFIG_SECCOMP=y
|
||||
CONFIG_CC_STACKPROTECTOR=y
|
||||
# CONFIG_DEPRECATED_PARAM_STRUCT is not set
|
||||
# CONFIG_ARM_FLUSH_CONSOLE_ON_RESTART is not set
|
||||
|
@ -668,8 +673,8 @@ CONFIG_CC_STACKPROTECTOR=y
|
|||
CONFIG_USE_OF=y
|
||||
CONFIG_BUILD_ARM_APPENDED_DTB_IMAGE=y
|
||||
CONFIG_BUILD_ARM_APPENDED_DTB_IMAGE_NAMES=""
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_ZBOOT_ROM_TEXT=0
|
||||
CONFIG_ZBOOT_ROM_BSS=0
|
||||
# CONFIG_ARM_APPENDED_DTB is not set
|
||||
CONFIG_CMDLINE=""
|
||||
# CONFIG_XIP_KERNEL is not set
|
||||
|
@ -748,11 +753,14 @@ CONFIG_PM_WAKELOCKS_LIMIT=0
|
|||
# CONFIG_PM_WAKELOCKS_GC is not set
|
||||
CONFIG_PM_RUNTIME=y
|
||||
CONFIG_PM=y
|
||||
# CONFIG_PM_DEBUG is not set
|
||||
CONFIG_PM_DEBUG=y
|
||||
# CONFIG_PM_ADVANCED_DEBUG is not set
|
||||
# CONFIG_PM_TEST_SUSPEND is not set
|
||||
CONFIG_CAN_PM_TRACE=y
|
||||
# CONFIG_APM_EMULATION is not set
|
||||
CONFIG_PM_CLK=y
|
||||
CONFIG_CPU_PM=y
|
||||
# CONFIG_SUSPEND_TIME is not set
|
||||
CONFIG_SUSPEND_TIME=y
|
||||
CONFIG_ARCH_SUSPEND_POSSIBLE=y
|
||||
CONFIG_ARM_CPU_SUSPEND=y
|
||||
CONFIG_NET=y
|
||||
|
@ -895,8 +903,8 @@ CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y
|
|||
CONFIG_NETFILTER_XT_TARGET_NOTRACK=y
|
||||
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
|
||||
CONFIG_NETFILTER_XT_TARGET_TEE=y
|
||||
# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set
|
||||
# CONFIG_NETFILTER_XT_TARGET_TRACE is not set
|
||||
CONFIG_NETFILTER_XT_TARGET_TPROXY=y
|
||||
CONFIG_NETFILTER_XT_TARGET_TRACE=y
|
||||
CONFIG_NETFILTER_XT_TARGET_SECMARK=y
|
||||
CONFIG_NETFILTER_XT_TARGET_TCPMSS=y
|
||||
# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set
|
||||
|
@ -1255,7 +1263,7 @@ CONFIG_OF=y
|
|||
#
|
||||
# Device Tree and Open Firmware support
|
||||
#
|
||||
# CONFIG_PROC_DEVICETREE is not set
|
||||
CONFIG_PROC_DEVICETREE=y
|
||||
# CONFIG_OF_SELFTEST is not set
|
||||
CONFIG_OF_FLATTREE=y
|
||||
CONFIG_OF_EARLY_FLATTREE=y
|
||||
|
@ -1283,7 +1291,7 @@ CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
|
|||
# CONFIG_BLK_DEV_UB is not set
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_COUNT=16
|
||||
CONFIG_BLK_DEV_RAM_SIZE=4096
|
||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
||||
# CONFIG_BLK_DEV_XIP is not set
|
||||
# CONFIG_CDROM_PKTCDVD is not set
|
||||
# CONFIG_ATA_OVER_ETH is not set
|
||||
|
@ -1319,7 +1327,6 @@ CONFIG_HAPTIC_ISA1200=y
|
|||
CONFIG_QSEECOM=y
|
||||
# CONFIG_QFP_FUSE is not set
|
||||
CONFIG_QPNP_MISC=y
|
||||
CONFIG_USB_HSIC_SMSC_HUB=y
|
||||
CONFIG_TI_DRV2667=y
|
||||
CONFIG_UID_CPUTIME=y
|
||||
# CONFIG_TCMD_DRIVER is not set
|
||||
|
@ -1408,7 +1415,7 @@ CONFIG_DM_REQ_CRYPT=y
|
|||
# CONFIG_DM_ZERO is not set
|
||||
# CONFIG_DM_MULTIPATH is not set
|
||||
# CONFIG_DM_DELAY is not set
|
||||
# CONFIG_DM_UEVENT is not set
|
||||
CONFIG_DM_UEVENT=y
|
||||
# CONFIG_DM_FLAKEY is not set
|
||||
# CONFIG_DM_VERITY is not set
|
||||
# CONFIG_TARGET_CORE is not set
|
||||
|
@ -1549,7 +1556,7 @@ CONFIG_WCNSS_REGISTER_DUMP_ON_BITE=y
|
|||
# Input device support
|
||||
#
|
||||
CONFIG_INPUT=y
|
||||
# CONFIG_INPUT_FF_MEMLESS is not set
|
||||
CONFIG_INPUT_FF_MEMLESS=y
|
||||
# CONFIG_INPUT_POLLDEV is not set
|
||||
# CONFIG_INPUT_SPARSEKMAP is not set
|
||||
|
||||
|
@ -1563,7 +1570,7 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
|
|||
# CONFIG_INPUT_JOYDEV is not set
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_INPUT_EVBUG=m
|
||||
# CONFIG_INPUT_KEYRESET is not set
|
||||
CONFIG_INPUT_KEYRESET=y
|
||||
|
||||
#
|
||||
# Input Device Drivers
|
||||
|
@ -1632,10 +1639,16 @@ CONFIG_INPUT_JOYSTICK=y
|
|||
# CONFIG_JOYSTICK_AS5011 is not set
|
||||
# CONFIG_JOYSTICK_JOYDUMP is not set
|
||||
CONFIG_JOYSTICK_XPAD=y
|
||||
# CONFIG_JOYSTICK_XPAD_FF is not set
|
||||
# CONFIG_JOYSTICK_XPAD_LEDS is not set
|
||||
CONFIG_JOYSTICK_XPAD_FF=y
|
||||
CONFIG_JOYSTICK_XPAD_LEDS=y
|
||||
# CONFIG_TOUCHDISC_VTD518_SHINETSU is not set
|
||||
# CONFIG_INPUT_TABLET is not set
|
||||
CONFIG_INPUT_TABLET=y
|
||||
CONFIG_TABLET_USB_ACECAD=y
|
||||
CONFIG_TABLET_USB_AIPTEK=y
|
||||
CONFIG_TABLET_USB_GTCO=y
|
||||
CONFIG_TABLET_USB_HANWANG=y
|
||||
CONFIG_TABLET_USB_KBTAB=y
|
||||
CONFIG_TABLET_USB_WACOM=y
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
# CONFIG_TOUCHSCREEN_ADS7846 is not set
|
||||
# CONFIG_TOUCHSCREEN_AD7877 is not set
|
||||
|
@ -1703,14 +1716,14 @@ CONFIG_INPUT_HBTP_INPUT=y
|
|||
# CONFIG_INPUT_GP2A is not set
|
||||
# CONFIG_INPUT_GPIO_TILT_POLLED is not set
|
||||
# CONFIG_INPUT_ATI_REMOTE2 is not set
|
||||
# CONFIG_INPUT_KEYCHORD is not set
|
||||
CONFIG_INPUT_KEYCHORD=y
|
||||
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
|
||||
# CONFIG_INPUT_KXTJ9 is not set
|
||||
# CONFIG_INPUT_POWERMATE is not set
|
||||
# CONFIG_INPUT_YEALINK is not set
|
||||
# CONFIG_INPUT_CM109 is not set
|
||||
CONFIG_INPUT_UINPUT=y
|
||||
# CONFIG_INPUT_GPIO is not set
|
||||
CONFIG_INPUT_GPIO=y
|
||||
# CONFIG_INPUT_ISA1200_FF_MEMLESS is not set
|
||||
# CONFIG_INPUT_PCF8574 is not set
|
||||
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
|
||||
|
@ -1765,11 +1778,9 @@ CONFIG_LEGACY_PTY_COUNT=256
|
|||
# CONFIG_SERIAL_MAX3100 is not set
|
||||
# CONFIG_SERIAL_MAX3107 is not set
|
||||
CONFIG_SERIAL_CORE=y
|
||||
CONFIG_SERIAL_CORE_CONSOLE=y
|
||||
# CONFIG_SERIAL_MSM is not set
|
||||
CONFIG_SERIAL_MSM_HS=y
|
||||
CONFIG_SERIAL_MSM_HSL=y
|
||||
CONFIG_SERIAL_MSM_HSL_CONSOLE=y
|
||||
# CONFIG_SERIAL_MSM_HSL is not set
|
||||
# CONFIG_SERIAL_BCM_BT_LPM is not set
|
||||
# CONFIG_SERIAL_TIMBERDALE is not set
|
||||
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
|
||||
|
@ -1781,7 +1792,7 @@ CONFIG_SERIAL_MSM_HSL_CONSOLE=y
|
|||
#
|
||||
# Diag Support
|
||||
#
|
||||
CONFIG_DIAG_CHAR=m
|
||||
CONFIG_DIAG_CHAR=y
|
||||
|
||||
#
|
||||
# DIAG traffic over USB
|
||||
|
@ -2636,11 +2647,19 @@ CONFIG_DVB_M88RS2000=m
|
|||
# CONFIG_DRM is not set
|
||||
CONFIG_ION=y
|
||||
CONFIG_ION_MSM=y
|
||||
# CONFIG_MSM_KGSL is not set
|
||||
CONFIG_MSM_KGSL=y
|
||||
# CONFIG_MSM_KGSL_CFF_DUMP is not set
|
||||
# CONFIG_MSM_KGSL_PSTMRTMDMP_CP_STAT_NO_DETAIL is not set
|
||||
# CONFIG_MSM_KGSL_PSTMRTMDMP_NO_IB_DUMP is not set
|
||||
# CONFIG_MSM_KGSL_PSTMRTMDMP_RB_HEX is not set
|
||||
CONFIG_MSM_KGSL_2D=y
|
||||
CONFIG_MSM_ADRENO_DEFAULT_GOVERNOR="msm-adreno-tz"
|
||||
CONFIG_MSM_Z180_DEFAULT_GOVERNOR="performance"
|
||||
CONFIG_KGSL_PER_PROCESS_PAGE_TABLE=y
|
||||
CONFIG_MSM_KGSL_PAGE_TABLE_SIZE=0xFFF0000
|
||||
CONFIG_MSM_KGSL_PAGE_TABLE_COUNT=8
|
||||
CONFIG_MSM_KGSL_MMU_PAGE_FAULT=y
|
||||
# CONFIG_MSM_KGSL_DISABLE_SHADOW_WRITES is not set
|
||||
# CONFIG_VGASTATE is not set
|
||||
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
|
||||
CONFIG_FB=y
|
||||
|
@ -2854,7 +2873,7 @@ CONFIG_SND_SOC_MSM_HDMI_CODEC_RX=y
|
|||
CONFIG_HID_SUPPORT=y
|
||||
CONFIG_HID=y
|
||||
# CONFIG_HID_BATTERY_STRENGTH is not set
|
||||
# CONFIG_HIDRAW is not set
|
||||
CONFIG_HIDRAW=y
|
||||
CONFIG_UHID=y
|
||||
|
||||
#
|
||||
|
@ -2862,58 +2881,76 @@ CONFIG_UHID=y
|
|||
#
|
||||
CONFIG_USB_HID=y
|
||||
# CONFIG_HID_PID is not set
|
||||
# CONFIG_USB_HIDDEV is not set
|
||||
CONFIG_USB_HIDDEV=y
|
||||
|
||||
#
|
||||
# Special HID drivers
|
||||
#
|
||||
# CONFIG_HID_A4TECH is not set
|
||||
# CONFIG_HID_ACRUX is not set
|
||||
CONFIG_HID_A4TECH=y
|
||||
CONFIG_HID_ACRUX=y
|
||||
CONFIG_HID_ACRUX_FF=y
|
||||
CONFIG_HID_APPLE=y
|
||||
# CONFIG_HID_BELKIN is not set
|
||||
# CONFIG_HID_CHERRY is not set
|
||||
# CONFIG_HID_CHICONY is not set
|
||||
# CONFIG_HID_PRODIKEYS is not set
|
||||
# CONFIG_HID_CYPRESS is not set
|
||||
# CONFIG_HID_DRAGONRISE is not set
|
||||
# CONFIG_HID_EMS_FF is not set
|
||||
CONFIG_HID_BELKIN=y
|
||||
CONFIG_HID_CHERRY=y
|
||||
CONFIG_HID_CHICONY=y
|
||||
CONFIG_HID_PRODIKEYS=y
|
||||
CONFIG_HID_CYPRESS=y
|
||||
CONFIG_HID_DRAGONRISE=y
|
||||
CONFIG_DRAGONRISE_FF=y
|
||||
CONFIG_HID_EMS_FF=y
|
||||
CONFIG_HID_ELECOM=y
|
||||
# CONFIG_HID_EZKEY is not set
|
||||
# CONFIG_HID_HOLTEK is not set
|
||||
# CONFIG_HID_KEYTOUCH is not set
|
||||
# CONFIG_HID_KYE is not set
|
||||
# CONFIG_HID_UCLOGIC is not set
|
||||
# CONFIG_HID_WALTOP is not set
|
||||
# CONFIG_HID_GYRATION is not set
|
||||
# CONFIG_HID_TWINHAN is not set
|
||||
# CONFIG_HID_KENSINGTON is not set
|
||||
# CONFIG_HID_LCPOWER is not set
|
||||
# CONFIG_HID_LOGITECH is not set
|
||||
CONFIG_HID_EZKEY=y
|
||||
CONFIG_HID_HOLTEK=y
|
||||
# CONFIG_HOLTEK_FF is not set
|
||||
CONFIG_HID_KEYTOUCH=y
|
||||
CONFIG_HID_KYE=y
|
||||
CONFIG_HID_UCLOGIC=y
|
||||
CONFIG_HID_WALTOP=y
|
||||
CONFIG_HID_GYRATION=y
|
||||
CONFIG_HID_TWINHAN=y
|
||||
CONFIG_HID_KENSINGTON=y
|
||||
CONFIG_HID_LCPOWER=y
|
||||
CONFIG_HID_LOGITECH=y
|
||||
CONFIG_HID_LOGITECH_DJ=y
|
||||
CONFIG_LOGITECH_FF=y
|
||||
CONFIG_LOGIRUMBLEPAD2_FF=y
|
||||
CONFIG_LOGIG940_FF=y
|
||||
CONFIG_LOGIWHEELS_FF=y
|
||||
CONFIG_HID_MAGICMOUSE=y
|
||||
CONFIG_HID_MICROSOFT=y
|
||||
# CONFIG_HID_MONTEREY is not set
|
||||
# CONFIG_HID_MULTITOUCH is not set
|
||||
# CONFIG_HID_NTRIG is not set
|
||||
# CONFIG_HID_ORTEK is not set
|
||||
# CONFIG_HID_PANTHERLORD is not set
|
||||
# CONFIG_HID_PETALYNX is not set
|
||||
# CONFIG_HID_PICOLCD is not set
|
||||
# CONFIG_HID_PRIMAX is not set
|
||||
# CONFIG_HID_ROCCAT is not set
|
||||
# CONFIG_HID_SAITEK is not set
|
||||
# CONFIG_HID_SAMSUNG is not set
|
||||
# CONFIG_HID_SONY is not set
|
||||
# CONFIG_HID_SPEEDLINK is not set
|
||||
# CONFIG_HID_SUNPLUS is not set
|
||||
# CONFIG_HID_GREENASIA is not set
|
||||
# CONFIG_HID_SMARTJOYPLUS is not set
|
||||
# CONFIG_HID_TIVO is not set
|
||||
# CONFIG_HID_TOPSEED is not set
|
||||
# CONFIG_HID_THRUSTMASTER is not set
|
||||
# CONFIG_HID_WACOM is not set
|
||||
# CONFIG_HID_WIIMOTE is not set
|
||||
# CONFIG_HID_ZEROPLUS is not set
|
||||
# CONFIG_HID_ZYDACRON is not set
|
||||
CONFIG_HID_MONTEREY=y
|
||||
CONFIG_HID_MULTITOUCH=y
|
||||
CONFIG_HID_NTRIG=y
|
||||
CONFIG_HID_ORTEK=y
|
||||
CONFIG_HID_PANTHERLORD=y
|
||||
CONFIG_PANTHERLORD_FF=y
|
||||
CONFIG_HID_PETALYNX=y
|
||||
CONFIG_HID_PICOLCD=y
|
||||
# CONFIG_HID_PICOLCD_FB is not set
|
||||
# CONFIG_HID_PICOLCD_BACKLIGHT is not set
|
||||
# CONFIG_HID_PICOLCD_LEDS is not set
|
||||
CONFIG_HID_PRIMAX=y
|
||||
CONFIG_HID_ROCCAT=y
|
||||
CONFIG_HID_SAITEK=y
|
||||
CONFIG_HID_SAMSUNG=y
|
||||
CONFIG_HID_SONY=y
|
||||
CONFIG_HID_SPEEDLINK=y
|
||||
CONFIG_HID_SUNPLUS=y
|
||||
CONFIG_HID_GREENASIA=y
|
||||
CONFIG_GREENASIA_FF=y
|
||||
CONFIG_HID_SMARTJOYPLUS=y
|
||||
CONFIG_SMARTJOYPLUS_FF=y
|
||||
CONFIG_HID_TIVO=y
|
||||
CONFIG_HID_TOPSEED=y
|
||||
CONFIG_HID_THRUSTMASTER=y
|
||||
# CONFIG_THRUSTMASTER_FF is not set
|
||||
CONFIG_HID_WACOM=y
|
||||
# CONFIG_HID_WACOM_POWER_SUPPLY is not set
|
||||
CONFIG_HID_WIIMOTE=y
|
||||
CONFIG_HID_WIIMOTE_EXT=y
|
||||
CONFIG_HID_ZEROPLUS=y
|
||||
# CONFIG_ZEROPLUS_FF is not set
|
||||
CONFIG_HID_ZYDACRON=y
|
||||
# CONFIG_USB_ARCH_HAS_OHCI is not set
|
||||
CONFIG_USB_ARCH_HAS_EHCI=y
|
||||
CONFIG_USB_ARCH_HAS_XHCI=y
|
||||
|
@ -2946,17 +2983,11 @@ CONFIG_USB_MON=y
|
|||
CONFIG_USB_XHCI_HCD=y
|
||||
CONFIG_USB_XHCI_PLATFORM=y
|
||||
# CONFIG_USB_XHCI_HCD_DEBUGGING is not set
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_EHSET=y
|
||||
CONFIG_USB_EHCI_ROOT_HUB_TT=y
|
||||
CONFIG_USB_EHCI_TT_NEWSCHED=y
|
||||
CONFIG_USB_EHCI_MSM=y
|
||||
CONFIG_USB_EHCI_MSM_HSIC=y
|
||||
# CONFIG_USB_EHCI_HCD is not set
|
||||
# CONFIG_USB_OXU210HP_HCD is not set
|
||||
# CONFIG_USB_ISP116X_HCD is not set
|
||||
# CONFIG_USB_ISP1760_HCD is not set
|
||||
# CONFIG_USB_ISP1362_HCD is not set
|
||||
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
|
||||
# CONFIG_USB_SL811_HCD is not set
|
||||
# CONFIG_USB_R8A66597_HCD is not set
|
||||
# CONFIG_USB_PEHCI_HCD is not set
|
||||
|
@ -3025,12 +3056,10 @@ CONFIG_USB_STORAGE_ENE_UB6250=y
|
|||
# CONFIG_USB_IDMOUSE is not set
|
||||
# CONFIG_USB_FTDI_ELAN is not set
|
||||
# CONFIG_USB_APPLEDISPLAY is not set
|
||||
# CONFIG_USB_SISUSBVGA is not set
|
||||
# CONFIG_USB_LD is not set
|
||||
# CONFIG_USB_TRANCEVIBRATOR is not set
|
||||
# CONFIG_USB_IOWARRIOR is not set
|
||||
# CONFIG_USB_TEST is not set
|
||||
CONFIG_USB_EHSET_TEST_FIXTURE=y
|
||||
# CONFIG_USB_ISIGHTFW is not set
|
||||
# CONFIG_USB_YUREX is not set
|
||||
# CONFIG_USB_QCOM_DIAG_BRIDGE is not set
|
||||
|
@ -3189,8 +3218,6 @@ CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
|
|||
CONFIG_RTC_INTF_SYSFS=y
|
||||
CONFIG_RTC_INTF_PROC=y
|
||||
CONFIG_RTC_INTF_DEV=y
|
||||
CONFIG_RTC_INTF_ALARM=y
|
||||
CONFIG_RTC_INTF_ALARM_DEV=y
|
||||
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
|
||||
# CONFIG_RTC_DRV_TEST is not set
|
||||
|
||||
|
@ -3300,6 +3327,8 @@ CONFIG_STAGING=y
|
|||
#
|
||||
CONFIG_ANDROID=y
|
||||
CONFIG_ANDROID_BINDER_IPC=y
|
||||
# CONFIG_ANDROID_BINDER_IPC_32BIT is not set
|
||||
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
|
||||
CONFIG_ASHMEM=y
|
||||
CONFIG_ANDROID_LOGGER=y
|
||||
CONFIG_LOGCAT_SIZE=256
|
||||
|
@ -3311,7 +3340,7 @@ CONFIG_ANDROID_TIMED_GPIO=y
|
|||
CONFIG_ANDROID_LOW_MEMORY_KILLER=y
|
||||
CONFIG_ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES=y
|
||||
# CONFIG_ANDROID_SWITCH is not set
|
||||
# CONFIG_ANDROID_INTF_ALARM_DEV is not set
|
||||
CONFIG_ANDROID_INTF_ALARM_DEV=y
|
||||
# CONFIG_PHONE is not set
|
||||
# CONFIG_USB_WPAN_HCD is not set
|
||||
|
||||
|
@ -3378,6 +3407,7 @@ CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y
|
|||
CONFIG_DEVFREQ_GOV_PERFORMANCE=y
|
||||
CONFIG_DEVFREQ_GOV_POWERSAVE=y
|
||||
CONFIG_DEVFREQ_GOV_USERSPACE=y
|
||||
CONFIG_DEVFREQ_GOV_MSM_ADRENO_TZ=y
|
||||
CONFIG_DEVFREQ_GOV_MSM_CPUFREQ=y
|
||||
CONFIG_DEVFREQ_GOV_MSM_CPUBW_HWMON=y
|
||||
|
||||
|
@ -3419,17 +3449,31 @@ CONFIG_FS_MBCACHE=y
|
|||
# CONFIG_OCFS2_FS is not set
|
||||
# CONFIG_BTRFS_FS is not set
|
||||
# CONFIG_NILFS2_FS is not set
|
||||
# CONFIG_FS_POSIX_ACL is not set
|
||||
CONFIG_F2FS_FS=y
|
||||
CONFIG_F2FS_STAT_FS=y
|
||||
CONFIG_F2FS_FS_XATTR=y
|
||||
CONFIG_F2FS_FS_POSIX_ACL=y
|
||||
CONFIG_F2FS_FS_SECURITY=y
|
||||
# CONFIG_F2FS_CHECK_FS is not set
|
||||
# CONFIG_F2FS_FAULT_INJECTION is not set
|
||||
CONFIG_FS_POSIX_ACL=y
|
||||
CONFIG_FILE_LOCKING=y
|
||||
CONFIG_FSNOTIFY=y
|
||||
CONFIG_DNOTIFY=y
|
||||
CONFIG_INOTIFY_USER=y
|
||||
# CONFIG_FANOTIFY is not set
|
||||
# CONFIG_QUOTA is not set
|
||||
# CONFIG_QUOTACTL is not set
|
||||
CONFIG_QUOTA=y
|
||||
# CONFIG_QUOTA_NETLINK_INTERFACE is not set
|
||||
CONFIG_PRINT_QUOTA_WARNING=y
|
||||
# CONFIG_QUOTA_DEBUG is not set
|
||||
CONFIG_QUOTA_TREE=y
|
||||
# CONFIG_QFMT_V1 is not set
|
||||
CONFIG_QFMT_V2=y
|
||||
CONFIG_QUOTACTL=y
|
||||
# CONFIG_AUTOFS4_FS is not set
|
||||
CONFIG_FUSE_FS=y
|
||||
# CONFIG_CUSE is not set
|
||||
CONFIG_GENERIC_ACL=y
|
||||
|
||||
#
|
||||
# Caches
|
||||
|
@ -3446,7 +3490,7 @@ CONFIG_FUSE_FS=y
|
|||
# DOS/FAT/NT Filesystems
|
||||
#
|
||||
CONFIG_FAT_FS=y
|
||||
# CONFIG_MSDOS_FS is not set
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_FAT_DEFAULT_CODEPAGE=437
|
||||
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
|
||||
|
@ -3460,8 +3504,8 @@ CONFIG_PROC_SYSCTL=y
|
|||
CONFIG_PROC_PAGE_MONITOR=y
|
||||
CONFIG_SYSFS=y
|
||||
CONFIG_TMPFS=y
|
||||
# CONFIG_TMPFS_POSIX_ACL is not set
|
||||
# CONFIG_TMPFS_XATTR is not set
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_TMPFS_XATTR=y
|
||||
# CONFIG_HUGETLB_PAGE is not set
|
||||
CONFIG_CONFIGFS_FS=y
|
||||
CONFIG_MISC_FILESYSTEMS=y
|
||||
|
|
Loading…
Reference in a new issue