Commit Graph

54 Commits

Author SHA1 Message Date
Yifan Hong
4696056f3c
davinci: Replace BOARD_CHARGER_ENABLE_SUSPEND with ro.charger.enable_suspend
Test: charger mode
Bug: 124118169
Change-Id: I3825d08e38d677bd7154879609857de302348b6f
2020-12-30 01:47:47 +01:00
Jimmy Chen
8341c18fac
davinci: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2020-12-30 01:47:46 +01:00
Nolen Johnson
41bfa0763e
davinci: Don't declare BOARD_VENDOR
* Only matters when it differs from the device OEM.

Change-Id: Id9af8263cb42dc7a0e3a9ce8677385e224910302
2020-12-30 01:46:40 +01:00
Daniel Mentz
d101d05406
davinci: Remove ineffective BOARD_KERNEL_OFFSET variable
Remove various variables related to where kernel and ramdisk are loaded
by the bootloader. There are two reasons for this:

1. The B1C1 bootloader ignores all the offset values for kernel, ramdisk
and tags. The default B1C1 memory layout has been designed to accomodate
a larger KASAN kernel.

2. The variables BOARD_KERNEL_TAGS_OFFSET and BOARD_RAMDISK_OFFSET are
ignored by the Android build system (unless they are copied into the
BOARD_MKBOOTIMG_ARGS variable). This is in contrast to the variables
BOARD_KERNEL_BASE, BOARD_KERNEL_PAGESIZE and BOARD_MKBOOTIMG_ARGS which
are referenced by build/make/core/Makefile

Bug: 117832711
Change-Id: I3404a4e084ed063d51077a3a80229854362c768b
2020-12-17 23:48:09 +01:00
PIPIPIG233666
fdf5278aba
davinci: Add audio amplifier for TFA amp feedback
* Fixes broken stereo channel seperation.

* Logic and original code by Smosia, slightly rewritten and moved to audio amplifier HAL by Pig.

Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Signed-off-by: Arian <arian.kulmer@web.de>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
2020-11-28 18:12:03 +01:00
Kyle Lin
c5cea3fb39
davinci: Enable cortex-A76
Bug: 142345573
Test: build , boot to home, do the benchmarks
Change-Id: I73c5042712da29d5cb63586bc4d145a770df074d
2020-11-28 18:12:02 +01:00
Pig
df732ce3dd
davinci: Enable TARGET_USES_FOD_ZPOS
Change-Id: I5558743ab7f96014aceae0a4e0aea9859a10d5d1
2020-11-28 18:12:01 +01:00
Rahul Shahare
f1f388ee89
davinci: Set Header version for bootimage
Set Header version to 1 for bootimage and Enable
BOARD_INCLUDE_RECOVERY_DTBO.

Change-Id: I165130b412020a6dee7fb3473766296f21a7cdb7
Signed-off-by: Rahul Shahare <rshaha@codeaurora.org>
2020-11-28 18:12:01 +01:00
Erfan Abdi
6e3b2395f6
davinci: Disable NFC for indian devices
* Setup davinci sku when device is global or chinese.
* Move the nfc manifest entry to davinci hardware sku
  variant.

Change-Id: I76ac75cd80f85efa6dfa68753602d934a11000a3
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-28 18:10:27 +01:00
LuK1337
71a981f61c
davinci: Disable uplink features in librmnetctl and build it from source
Change-Id: I2e5f63f3cb688f3d141fa9123f3a6e91b6294157
2020-11-23 20:44:38 +01:00
Arian
991edc2c96
davinci: Update from global stable V12.0.3.0.QFJMIXM
Change-Id: I5af4d9bb9f386707df37a6856805625c75cff7c0
2020-11-23 20:44:38 +01:00
Arian
d5591d6d37
davinci: Build audio HAL from source
* Disable ssrec and hdmipassthru since they depend on proprietary headers

Change-Id: I6abf4baf2e03aa9dc4ce52cbe758d976441cc7fc
2020-11-23 20:44:38 +01:00
dianlujitao
bf60c73d8e
davinci: Build GNSS HAL
* Remove unnecessary dependencies on liblbs_core.so
 * Hardcode vendor loc HIDL version to 3.0 to enable vendor HIDL when
   building w/o BSP.

Change-Id: I01f661f1d1e038737801f5a9db88e3388d470f74
2020-11-23 20:44:38 +01:00
TheScarastic
e83427491a
davinci: fod: Add surfaceflinger extension lib
Change-Id: I51fb56c0a20e3cac83afb46ed6a6e2f967159d18
2020-10-13 18:25:13 +02:00
Arian
f31e4ef583
davinci: Define vendor security patch level
Change-Id: If74e5a645a24cf4312056a07cf662018b1f5a37c
2020-10-13 18:25:13 +02:00
Fabian Leutenegger
d376352a80
davinci: Add assert for davinci & davinciin
Change-Id: Ibd97c7a9a790c9bf757e8cd34eb01fa2f43752b6
2020-10-10 21:43:31 +02:00
AbhiShek Aggarwal
cce805e116
davinci: Add custom init to set proper variants
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I04f09a14cf41c89b3135c53e3089d5c3e703aae0
2020-10-10 21:43:31 +02:00
Arian
22ecf03acd
davinci: Switch to enforcing
Change-Id: Id959ed770c96e63146b0009c4065b8b1b2d3513c
2020-10-10 21:43:31 +02:00
Arian
942836a618
davinci: Include local sepolicy
Change-Id: I3d2143498837970a01e2a288e3dbae152d4135fb
2020-10-10 21:43:16 +02:00
Demon000
5129977612
davinci: rootdir: Remove sleep_disabled switch during boot
Change-Id: I59f5f96e5aaf381f9cb2b3697983484ec3086aea
2020-08-06 21:28:09 +02:00
Arian
2aa75ea3a3
davinci: rootdir: Import scripts
Change-Id: I6dbee7c54c43a3e2186d21e7df6a028762aeb49a
2020-08-06 21:28:09 +02:00
Arian
1d1ca7b65f
davinci: fm: Disable loading of firmware
Change-Id: Idbb383567cc3b95e6a21f387184169c02d11a9bc
2020-08-06 21:28:08 +02:00
Arian
a23c2562ab
davinci: fm: Build FM2
Change-Id: Ifb8b0868f196f7cf84cd2dc251de03efb4656ac8
2020-08-06 21:28:08 +02:00
Fabian Leutenegger
85f1a5efdf
davinci: ant: Build ANT+ HAL
Change-Id: I0235a7f3dff531f000e897efa2e63621f969a23e
2020-08-06 21:28:08 +02:00
Michael Bestas
21ca597be9
davinci: charger: Enable offline charger suspend
Change-Id: I27a642dbadfba1575ff2d8e96dc385fc19c0eaff
2020-08-06 21:28:08 +02:00
Demon000
f9f0ca83ac
davinci: wifi: Build HAL
Change-Id: I1a59fe37aff8eb6ad413dff77adfa94bf03b5867
2020-08-06 21:28:08 +02:00
Arian
63f98f11b6
davinci: drm: Build HAL
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I3b0d2752a5955b326f5ae6e64f29c2888bf101c5
2020-08-06 21:28:07 +02:00
Demon000
646adbe60c
davinci: nfc: Compile NQ stack
Change-Id: Ib381f2546fac56e89203311cde18eb16a42b3daa
2020-08-06 21:28:07 +02:00
PIPIPIG233666
411e2502d9
davinci: media: Disable UBWC
Change-Id: If28a6bce43640b854a66b51944575a892da6bdbc
2020-08-06 21:28:07 +02:00
LuK1337
d41667c550
davinci: Convert configstore settings to props
Change-Id: Iadefa31bc863b7ab70239874bed82bef240cbba5
2020-08-06 21:28:07 +02:00
Demon000
5ca0a9fff7
davinci: display: Build stack from source
Change-Id: I4ae143d0cc0fba379894e1f69b793312192f0c4a
2020-08-06 21:28:07 +02:00
Demon000
7cadbfea11
davinci: audio: Build HAL
Change-Id: I2d07332cce733c2a0ae21c9a970abcede2de63a2
2020-08-06 21:28:06 +02:00
Arian
fcf43c3193
davinci: Import and sort vendor and odm properties
Change-Id: I83fc839a73c24f41dbb43e3c536c079f924dcc7f
2020-08-06 21:27:55 +02:00
Arian
661a7e3bb7
davinci: Import stock system properties
Change-Id: I768dd0db1568fe560260ab01dd35788e56ff39dd
2020-08-06 21:21:41 +02:00
Demon000
9ab6da26ed
davinci: telephony: Define vendor ril service usage
Change-Id: I5378de6eec4ff2511a49c19c0fc474658efe338f
2020-08-05 14:03:32 +02:00
Michael Bestas
46e2ad43cb
davinci: telephony: Set TARGET_PROVIDES_QTI_TELEPHONY_JAR
Change-Id: Idffe1a95d5ddac0ef3d6c74e3d55293b553e51ba
2020-08-05 14:03:32 +02:00
Arian
b2d6a22c11
davinci: power: Prepare HAL extension
Change-Id: Ia2fcbb47d61970521eb4b3da769f4f160580c61a
2020-08-05 14:03:32 +02:00
Arian
494d2c91bd
davinci: bluetooth: Add builcfg
Change-Id: I0caa5eb0e08243eb618669678983b65d9e90651f
2020-08-05 14:03:31 +02:00
Arian
c17ce45eaf
davinci: camera: Build camera provider
Change-Id: Ief92b2adfec0e365c0a73181cbf4b40c95b36070
2020-08-05 14:03:29 +02:00
TheScarastic
ee2e211a63
davinci: Add assertions on baseband version
Co-authored-by: Wang Han <416810799@qq.com>
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I5cd3dfe9415e5a45a6924592fe4d26f7cd301eed
2020-05-08 16:05:44 +02:00
XiNGRZ
39c32135b2
davinci: Ship and update vbmeta image
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2020-05-08 16:05:44 +02:00
Christian Oder
36f3e06a28
davinci: Build disabled vbmeta image
Change-Id: I381feef8f6fefc8449ca50d85d704b67bcc8a77e
2020-05-08 16:05:44 +02:00
Arian
b7bf60e84d
davinci: Include qcom sepolicy
Change-Id: I7799bc78e4969b2c32a27bbdc15d9d9c05b913e3
2020-05-08 16:05:44 +02:00
Arian
bd3efd90b0
davinci: Import manifest and compatibility matrix
Change-Id: I3466b07141b6517a4d83f99fe700a214bc09a93c
2020-05-08 16:05:44 +02:00
Arian
5c43c5af76
davinci: Import config.fs from LA.UM.8.9.r1-08500-SM6xx.0
Change-Id: I0d21c88601ba9d108f3247cb7cc7e7abb5ebd876
2020-05-08 16:05:44 +02:00
Arian
8c83e365de
davinci: Set recovery pixel format
Change-Id: I576ce33aafedddefa5df94de338700148423f6f9
2020-05-08 16:05:44 +02:00
Arian
1e2f7afeca
davinci: Configure partitions
Change-Id: Id49d192a98ec0bea8e861069593acad19adb0489
2020-05-08 16:05:44 +02:00
Arian
a88118da91
davinci: Use permissive selinux
Change-Id: I0491e57a63b237033bc2159bb7be8360548c17ea
2020-05-08 16:05:44 +02:00
Demon000
072190985e
davinci: Remove unused kernel cmdline arguments
Change-Id: If8fd59cd0ef1c774618bb77622d689adc16da2da
2020-05-08 16:05:44 +02:00
Arian
e5b7d6e622
davinci: Configure Kernel
Change-Id: I9b903cd9afbf0b671aab148633ec3ac9fcb6b2db
2020-05-08 16:05:44 +02:00