Commit Graph

175 Commits

Author SHA1 Message Date
Arian
057daefb66 sm8350-common: Move vendor manifest fragments to vendor repository
Change-Id: I8770fb6c27637dfa934af45a3993c4447dcd2430
2022-04-01 17:39:06 +02:00
Arian
2eb8ab7ef0 sm8350-common: Checkout framework compatibility matrix to LA.QSSI.11.0.r1-12100-qssi.0
Additonally move xiaomi's additions to xiaomi_framework_compatibility_matrix.xml
and make them optional.

Change-Id: Ib3abddb4a9e9615fb973b9efd2e511d96998d6ce
2022-04-01 17:39:06 +02:00
Arian
da78308f49 sm8350-common: Checkout manifest_lahaina to caf
This is a pre-public tag which matches stock.
https://source.codeaurora.org/quic/la/platform/vendor/qcom/lahaina/plain/manifest_lahaina.xml?h=LA.UM.9.14.r1-12600-LAHAINA.0&id=2100bf201f102dcf517f7436dc5f6e802ab386ac

Change-Id: I4ebe1dc949c0e1188d18e04bae77ed62bdc51fc0
2022-04-01 17:39:06 +02:00
Arian
8799b8c223 sm8350-common: Move manifests to hidl folder
Change-Id: Ie1a43451abdcf02038e58959e1818a5275ae37c8
2022-04-01 17:39:06 +02:00
Arian
027ef2d641 sm8350-common: Drop unnecessary framework manifest
Change-Id: Ib1f92e29fd0830b6f13c2f899e6aa358e1997b4c
2022-04-01 17:39:06 +02:00
Luca Stefani
1275ef272b sm8350-common: Set linker to LLD
Change-Id: Ia165daa55ff707725b0619af12bf3a2e6e79c981
2022-04-01 17:12:23 +02:00
Erfan Abdi
0098ec7279 sm8350-common: Disable debugging full super build 2022-04-01 17:12:22 +02:00
Erfan Abdi
c20701501c sm8350-common: Set armv8-2a for arch variant 2022-04-01 17:11:09 +02:00
Arian
1a3440bdb7 Revert "sm6520-common: use BUILD_COPY_HEADERS"
This reverts commit b220c66461.

Change-Id: If674d4ad180cb51b7a268faf11e79a8ea811a05f
2022-04-01 17:09:12 +02:00
Erfan Abdi
0d8363f239 sm8350-common: Drop RenderScript override 2022-04-01 17:09:02 +02:00
Arian
da5b5366f4 sm8350-common: Drop deprecated TARGET_USES_ION flag
This is not a thing anymore in sm8350 media HAL

Change-Id: I06dd979fd59ea3adb1c0daf2a80e60dedcb4fc67
2022-04-01 17:09:02 +02:00
Nolen Johnson
0269bed70c sm8350-common: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2022-04-01 17:09:02 +02:00
Arian
02d4073671 sm8350-common: Drop unused TARGET_USES_HWC2 flag
Change-Id: Ibbd99b25b270c4fb593d1ad09d8003d40b6f0d18
2022-04-01 17:09:02 +02:00
Anton Hansson
8a92c6d7e8 sm8350-common: Remove obsolete dex settings
This block is completely redundant because..
- WITH_DEXPREOPT := true is the default
- WITH_DEXPREOPT_PIC is never read
- DEX_PREOPT_DEFAULT := nostripping has no effect when the
  BOARD_USES_SYSTEM_OTHER_ODEX flag is set to true

Test: make
Change-Id: I618a1e395ca1a14555cd50eef1a4f1aa079b553d
2022-04-01 17:09:02 +02:00
Sebastiano Barezzi
114ba94139 sm8350-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2022-04-01 17:09:02 +02:00
Arian
2191cd7d4a sm8350-common: Drop unnecessary audio HAL flags from BoardConfig
BOARD_USES_ALSA_AUDIO is only used to determine wether the audio HAL
is built from source, but we ship the prebuilt stock HAL.
AUDIO_FEATURE_ENABLED_GEF_SUPPORT is used to modify the source-built
audio HAL, which does not have an effect for us.

Change-Id: I652de533d1c21a0e45dc7406bd0698326c5dbcd7
2022-04-01 17:09:02 +02:00
Nolen Johnson
02192e7637 sm8350-common: Kill deprecated/unneeded board flags
* TARGET_KERNEL_ARCH - no-op unless it differs from TARGET_ARCH.

Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2022-04-01 17:09:02 +02:00
Daniel Mentz
7ba36f043f sm8350-common: Remove ineffective BOARD_KERNEL_TAGS_OFFSET variable
Remove various variables related to where kernel and ramdisk are loaded
by the bootloader. There are two reasons for this:

1. Our bootloader ignores all the offset values for kernel, ramdisk
and tags.

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
2022-04-01 17:09:02 +02:00
Nolen Johnson
589821dcaa sm8350-common: Simplify AVB flag logic
* AVB's `--flags 3` argument builds a disabled VBMeta with
  disabled hashtree, so no need to set both flags individually.

Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
2022-04-01 17:09:02 +02:00
Erfan Abdi
941f73234a sm8350-common: Drop vendor modules load
Change-Id: Ibd9c586c62cbb28b145bf98c6fb5bef9a5b2ae8b
2022-04-01 17:09:02 +02:00
Erfan Abdi
e6b036480f sm8350-common: Drop unused releasetools 2022-04-01 17:09:02 +02:00
Erfan Abdi
88c208f447 sm8350-common: Drop disabled ubwc flag 2022-04-01 17:09:02 +02:00
Arian
207f94ca90 sm8350-common: Decommonize dtbo and userdata partition sizes
These sizes are different on odin and renoir

Change-Id: I37c8a248d0f29a018bd23f859271ef9141421653
2022-04-01 17:09:02 +02:00
Arian
8ba658fd19 sm8350-common: Decommonize kernel config
Change-Id: I359cfc735d900056db3f5d060001b395b9197abb
2022-04-01 17:09:02 +02:00
Cosmin Tanislav
1bb5d225b1 sm8350-common: manifests: remove prebuilt ir hal manifest 2022-03-02 18:03:43 +01:00
Cosmin Tanislav
78c5b48291 sm8350-common: manifests: remove prebuilt health hal manifest 2022-02-28 11:41:27 +01:00
Cosmin Tanislav
7d91a29c74 sm8350-common: manifests: remove prebuilt boot hal manifest 2022-02-28 11:41:27 +01:00
Cosmin Tanislav
adc4f3228b sm8350-common: manifests: remove prebuilt drm clearkey manifest 2022-02-28 11:41:27 +01:00
Cosmin Tanislav
80f36505a7 sm8350-common: manifests: remove prebuilt thermal@2.0 manifest 2022-02-28 11:41:27 +01:00
VortexHD
66bd8b7440 sm8350-common: Correctly remove FM Radio 2021-11-26 02:20:18 +02:00
Cosmin Tanislav
70a869881b sm8350-common: remove duplicated BOARD_INCLUDE_DTB_IN_BOOTIMG 2021-10-21 10:03:36 +03:00
Cosmin Tanislav
bf652618b8 sm8350-common: switch to enforcing selinux 2021-10-19 10:14:36 +03:00
Cosmin Tanislav
1c85821b7c sm8350-common: manifests: remove xiaomi dumpstate service 2021-10-13 21:18:17 +03:00
Cosmin Tanislav
e43ea9aebd sm8350-common: manifests: remove xiaomi hals 2021-09-24 11:20:24 +03:00
Cosmin Tanislav
b160929655 sm8350-common: do not touch sleep disabled 2021-09-24 02:44:26 +03:00
Cosmin Tanislav
c47516628a sm8350-common: manifests: remove xiaomi cit sensor hal 2021-09-21 02:17:06 +03:00
Cosmin Tanislav
ba78bdb195 sm8350-common: remove touchfeature manifest entries 2021-09-20 20:41:20 +03:00
Cosmin Tanislav
36d413f801 sm8350-common: specify double tap to wake node 2021-09-17 19:59:22 +03:00
Cosmin Tanislav
4887ae5fc9 sm8350-common: manifests: remove prebuilt power hal 2021-09-17 19:59:22 +03:00
Cosmin Tanislav
176bd2e4c0 sm8350-common: include lineage framework compatibility matrix xml 2021-09-10 12:34:28 +03:00
Cosmin Tanislav
bcab47397a sm8350-common: remove xiaomi vibrator feature manifest 2021-09-09 20:34:43 +03:00
Cosmin Tanislav
9593827009 sm8350-common: build open source display hal libs 2021-09-09 20:34:43 +03:00
Cosmin Tanislav
3aea82e14b sm8350-common: remove light hal manifest 2021-09-07 14:42:35 +03:00
Cosmin Tanislav
7f8399e7a7 sm8350-common: add system_ext prop list 2021-09-07 11:57:49 +03:00
Cosmin Tanislav
d98f1cb8f6 sm8350-common: remove product prop list 2021-09-07 11:55:45 +03:00
Cosmin Tanislav
2ddf49280d sm8350-common: remove usb service manifest 2021-09-06 08:53:51 +03:00
Cosmin Tanislav
69272b9f09 sm8350-common: use the generated wlan module name 2021-09-05 12:59:05 +03:00
Cosmin Tanislav
14dbfbd478 sm8350-common: import framework manifest 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
ba148e7a8e sm8350-common: remove duplicated manifest definitions 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
55bbce97d1 sm8350-common: import framework compatibility matrix 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
b82a85246a sm8350-common: import manifests 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
8821eba038 sm8350-common: add modules load list 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
9238d9678d sm8350-common: enable GKI audio 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
9a2df9c2d4 sm8350-common: include system_ext in vbmeta system 2021-09-03 20:23:58 +03:00
Cosmin Tanislav
c28a95caee sm8350-common: update recovery configuration 2021-09-03 20:23:13 +03:00
Cosmin Tanislav
f6036b35e1 sm8350-common: update partition configuration 2021-09-03 20:21:54 +03:00
Cosmin Tanislav
8bac7cd91e sm8350-common: update kernel configuration 2021-09-03 20:20:02 +03:00
Cosmin Tanislav
add3c80bf8 sm8350-common: update security patch 2021-09-03 20:18:46 +03:00
Cosmin Tanislav
9b998e9aef sm8350-common: switch to kryo385 runtime cpu variant 2021-09-03 20:18:06 +03:00
Cosmin Tanislav
6973392b5b sm8350-common: remove miatoll specific hacks 2021-09-03 20:11:04 +03:00
Cosmin Tanislav
d478fd5202 sm8350-common: atoll -> lahaina 2021-09-03 20:11:04 +03:00
Cosmin Tanislav
1649671922 sm6250-common: partial conversion to sm8350 2021-08-29 12:22:31 +03:00
Volodymyr Zhdanov
f253f20e39 sm6250-common: reserve less system/product space for gapps builds
* we just want to have a bit to flash some basic stuffs and do some replacements
2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
0080dbd0ea sm6250-common: reserve some sapce for system_ext 2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
f50bff274a sm6250-common: enable TARGET_USE_QTI_BT_STACK
* needed for common qti bt setup
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
0b3f00ebe2 sm6250-common: build renderscript hal from source 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
c67aef45f7 sm6250-common: build display stack from source 2020-12-05 00:36:17 +02:00
Kyle Lin
59f9d88074 sm6250-common: enable cortex-A76
Bug:142345573
Test: build , boot to home, do the benchmarks
Change-Id: I73c5042712da29d5cb63586bc4d145a770df074d
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
03808516a1 sm6250-common: add system_ext partition flags 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
c034f3b609 sm6250-common: build audio stack from source 2020-12-05 00:36:17 +02:00
Redick Lin
832390a4d0 sm6250-common: BOARD_CHARGER_ENABLE_SUSPEND becomes ro.charger.enable_suspend
Define ro.charger.enable_suspend to true as charger no
longer uses BOARD_CHARGER_ENABLE_SUSPEND.

Bug: 153937817
Change-Id: Ic76bf3a66c5e21c74e49607f54d6c0358c31bbac
Signed-off-by: Redick Lin <redicklin@google.com>
2020-12-05 00:36:17 +02:00
Jaihind Yadav
f7c8dd0a44 sm6250-common: update sepolicy.mk path to point to vendor sepolicy.mk
Due to split of sepolicy , Now the vendor Boardconfig.mk should
call to venodor sepolicy.mk file.

Change-Id: Ie6a930b2310c372b5e570b68372c896ea77ddbd7
2020-12-05 00:36:17 +02:00
Jimmy Chen
264ba999e2 sm6250-common: wifi: move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: Icea6361942873b5177c5fa59f9628c3b383b4509
2020-12-03 01:19:26 +02:00
Shivaprasad Hongal
026131b271 sm6250-common: avb: Compile recovery image as a chain partition
Add AVB flags to compile recovery image
as a chained partition. This is required
for safe OTA when multislot support is
not present.

Change-Id: I1115eba4038e6fcaa61440846a25861366996ed4
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2020-12-03 01:16:21 +02:00
Dan Willemsen
b220c66461 sm6520-common: use BUILD_COPY_HEADERS
Bug: 130719878
Test: turn copy headers into an error by default; still builds
Change-Id: Idf228b2e8c4a4d93c3ad43fcd9995564d4feb67d
2020-12-03 01:16:09 +02:00
Volodymyr Zhdanov
94b6dd902c sm6250-common: Increase reserved space on product and system partitions
* low inodes shouldn't be possible issue anymore
2020-12-03 01:08:38 +02:00
Volodymyr Zhdanov
7479c2b15f sm6250-common: reserve some space for product partition
* so nikgapps can be happy now
2020-12-03 01:08:34 +02:00
Luca Stefani
b10c3c7d83 sm6250-common: Set linker to LLD
Change-Id: Ia165daa55ff707725b0619af12bf3a2e6e79c981
2020-12-03 01:08:27 +02:00
razorloves
b5645dbd80 sm6250-common: Lower reserved space on system partition
Reserving more than 1.5gb sharply decreases free inodes, resulting
in gapps install/restore issues.

Change-Id: I16c0c649b7e06aea6203e34a81d0d0350b80588c
2020-12-03 01:07:23 +02:00
Nick C
45daab797e sm6250-common: add FM 2020-08-25 16:49:31 +03:00
Demon000
2594a4727e sm6250-common: update vendor security patch 2020-08-25 16:49:30 +03:00
Demon000
99ed2b49d1 sm6250-common: build WiFi packages 2020-08-18 14:56:37 +03:00
Demon000
6f531fdd49 sm6250-common: reserve more space on system 2020-08-14 23:35:10 +03:00
Demon000
68259e5706 sm6250-common: set screen density 2020-08-13 18:16:18 +03:00
Cosmin Tanislav
07dd93ff58 sm6250-common: define defconfig name
Change-Id: I5d7462170b510a7766cc92aec3e47b88e0863a1e
2020-08-11 18:16:12 +02:00
Demon000
15bdd26d32 sm6250-common: enable ODM value additions
Checked by qti bluetooth service before registering IBTConfigStore.
2020-07-18 18:24:47 +03:00
PIPIPIG233666
3b446b4447 sm6250-common: Disable UBWC
Change-Id: If28a6bce43640b854a66b51944575a892da6bdbc
2020-07-18 13:27:43 +02:00
Cosmin Tanislav
5e14c379b7 sm6250-common: enable ION usage
Change-Id: I2975e2758bf4c9b939a6f9963559a3f25e0d3821
2020-07-18 13:24:40 +02:00
dianlujitao
14509d9e2f sm6250-common: Switch to QTI bt stack
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2020-07-18 13:15:53 +02:00
Cosmin Tanislav
9d9cb61021 Revert "[DNM] sm6250-common: disable building with qcom hardware"
This reverts commit 31a7722031.
2020-07-18 12:05:11 +02:00
Demon000
81d93fb1b6 sm6250-common: properly include dtb in bootimg 2020-07-18 05:04:32 +03:00
Demon000
319da037d2 sm6250-common: update security patch 2020-07-16 18:20:28 +03:00
Cosmin Tanislav
bd3f1341e1 [DNM] sm6250-common: reserve 100MB on each dynamic partition
Change-Id: I7960bc6a365946924fcae90a61035d13af9ac9c4
2020-07-15 23:03:28 +03:00
Demon000
31a7722031 [DNM] sm6250-common: disable building with qcom hardware
Change-Id: I2d690949a43ee1170f1639827f732b691f792a9e
2020-07-15 23:03:28 +03:00
Demon000
6f175e568e [DNM] sm6250-common: disable audio HAL extension
Change-Id: I01c165a0251623580cd05ece8cc395629e16faf5
2020-07-15 23:03:28 +03:00
Demon000
f4100037a5 [DNM] sm6250-common: permissive selinux 2020-07-15 23:03:28 +03:00
XiNGRZ
28cb6ac7c9 sm6250-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2020-07-15 23:03:28 +03:00
David Ng
0d171a099e sm6250-common: Add common config.fs AID/fs configuration file
Common config.fs/$TARGET_FS_CONFIG_GEN AID/fs configuration
file for all chipset inheriting from base.mk.

Since legacy device-specific android_filesystem_config.h and
config.fs do not co-exist, temporarily include config.fs only
if legacy file is absent.  Once all legacy, device-specific
files have been deleted, config.fs can be made unconditional.

Change-Id: Ie100d0cd9db808b82d99be7139f0709390c7f3a2
2020-07-15 23:03:28 +03:00
Demon000
e07fbb9738 sm6250-common: init: override dalvik heap config based on total RAM 2020-07-15 23:03:28 +03:00
Demon000
ac373c1520 sm6250-common: define vendor ril service usage
This can be checked by looking for a rild service in system.
If it's missing, then a vendor ril service is being used, in
our case, it is qcrild.

Change-Id: I5378de6eec4ff2511a49c19c0fc474658efe338f
2020-07-15 23:03:28 +03:00