Albert Tang
620d3be334
dre: Initial device tree conversion and decommonization
...
Added properties taken from lemonade and modified for dre.
Change-Id: Ibac1a345547184d7dc6e231ce9b867c457d6b576
2022-06-01 22:09:03 -05:00
Alexander Koskovich
1341072665
sm8350-common: Sort kernel cmdline and additional flags as a list
...
* This allows better readability and eases tracking further changes.
Change-Id: I3a23f7ccb238b5f0e18dfa18080f1ae8ff51109f
2022-04-12 05:07:23 -07:00
Bruno Martins
66272c0013
sm8350-common: Inherit from QTI FCM
...
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2022-04-06 09:37:18 +01:00
LuK1337
ef4792c2db
sm8350-common: Replace Android.mk modules copy with BOOT_KERNEL_MODULES
...
Hacky copy rules were prone to fail because of some kind of race
condition.
Change-Id: I30d50a9dd87de9d57a583968f9936b84ac16cfca
2022-03-25 21:11:45 +01:00
Michael Bestas
9dab1c8c6d
sm8350-common: Adjust partition reserved sizes to fit S gapps
...
* Increase system_ext space so full MTG zip can be flashed.
* Decrease system size since we ran out of available space in super.
Set system size 90MB lower than maximum available space to avoid
near future breakage when our builds potentially grow in size.
Change-Id: I3a8b89b446d2d0183797cbcea6bd0b106119c4a9
2022-03-16 00:14:01 +01:00
Georg Veichtlbauer
897a109784
sm8350-common: Remove CLANG compile flag
...
Defaults to true now project-wide.
Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-03-12 14:47:49 +01:00
Kilian von Pflugk
87f30bfe9c
sm8350-common: Remove TARGET_USES_64_BIT_BINDER
...
The TARGET_USES_64_BIT_BINDER option is deprecated and can be removed
Change-Id: Ieab43c6baf17eff134a11312d8f8ee7d1b310d55
2022-03-12 09:51:32 +01:00
LuK1337
07185ba6c0
Revert "sm8350-common: Remove BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT"
...
Wasn't necessary.
This reverts commit 357da80ad6
.
Change-Id: I3ef84929299152b8f40ad4b8c45ee5099fca9fc5
2022-02-25 09:22:45 +01:00
Bruno Martins
9b930e1eea
sm8350-common: Migrate to fingerprint HIDL v2.3
...
Change-Id: Ibf065cfb9b6b8210713ab6dba8302937f56cf4c1
2022-02-23 20:34:27 +01:00
Michael Bestas
357da80ad6
sm8350-common: Remove BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT
...
* Uses too much of the reserved space so gapps no longer fit.
Change-Id: I0419cc1cef820ecac6b148cded9ecf296bfcb348
2022-02-22 09:50:01 +01:00
Alexander Koskovich
785885bbf5
sm8350-common: Switch to /vendor_dlkm for kernel modules.
...
* This lets us flash /vendor regardless of the kernel situation.
Change-Id: Ie1c18354b26006e416d06474f5844ceef3cfbaf3
2022-02-21 20:59:03 +00:00
Roger Ellis
96bc440071
sm8350-common: Allow ELF prebuilts in PRODUCT_COPY_FILES.
...
* ELF prebuilts were banned in PRODUCT_COPY_FILES starting
May 11th. See b/156534160 for long-term fix which should
override this change.
Change-Id: Icd25b40ca4e4285319775046a1b70de30572be07
2022-01-24 14:18:28 +00:00
Tri Vo
198d02a889
sm8350-common: Use PRODUCT_*_SEPOLICY_DIRS to build product sepolicy.
...
We are restoring the old behavior of BOARD_PLAT_*_SEPOLICY_DIR that
extends system sepolicy. To that end, we use another make variable to
specify product sepolicy.
Bug: 119305624
Test: m selinux_policy
Change-Id: I67636b7aaff2bd5ae5309981f9fa2f8ce51edf6f
2022-01-14 16:00:21 +00:00
Bruno Martins
93df8b59fa
sm8350-common: Update blobs from OOS 11.2.10.10.LE15BA
...
Change-Id: I4c445941b991e5f8ebea7d1ea2ff95a3292ce6c3
2021-11-25 15:44:36 +00:00
LuK1337
86105c0544
sm8350-common: Build libssrec from source
...
Change-Id: Ib5b1d99a0b6980a76d4c83063c7a84a0c090b361
2021-10-28 23:54:36 +02:00
LuK1337
0885f34c01
sm8350-common: Adjust for recent tri state key changes
...
tri-state-key package has been integrated into KeyHandler app, and
KeyHandler itself no longer needs to be added to lineage-sdk overlays.
Change-Id: I13b8f05e8e0b036c9303a01ec0c7e2d99b6756f7
2021-10-20 21:34:42 +02:00
LuK1337
34972ef817
sm8350-common: Switch to hardware/oneplus components
...
Change-Id: I26ba94eac5d7a0cdad07559afe55e6cabe2e161e
2021-09-22 11:43:30 +02:00
Bruno Martins
df5fdce826
sm8350-common: Update blobs from OOS 11.2.9.9.LE15BA
...
Change-Id: I57292b93add213a85f3c02dc80708b3a52edf8ee
2021-09-20 18:32:39 +01:00
Bowgo Tsai
75b2b721cc
sm8350-common: Including product partition into vbmeta_system.img
...
vbmeta_system.img should include HASHTREE descriptors for system.img,
system_ext.img and product.img, which will be updated in a system-only
OTA manner.
Bug: 170180068
Test: Tree Hugger
Change-Id: Iaf81dc11313826d146adb31d4edfbbd5310c48f6
2021-09-03 14:49:53 +02:00
Alessandro Astone
3da2d4fbc4
sm8350-common: Pass LLVM=1 for kernel instead of specifying only LD.
...
Change-Id: If2a4dcafb6602610a23fca9d067a484ab2e3b05b
2021-08-23 16:39:15 +02:00
LuK1337
93ac0da33e
sm8350-common: Include device FCM from vendor/lineage
...
Sadly we aren't able to include it globally without breaking other
devices ;((((
Change-Id: Ia29d6fb047a09a2b4767312cb2a3252c87095723
2021-08-02 22:54:35 +02:00
LuK1337
33ea7f26e0
sm8350-common: Remove all lineage HALs from FCM
...
No longer needed since we added device framework matrix in
vendor/lineage, see 78870c2.
Change-Id: I00233e7588dcfcd4bb66c42c52edb34cdff4376e
2021-08-02 15:57:03 +02:00
Bruno Martins
43c1a8c24f
sm8350-common: Update blobs from OOS 11.2.8.8.LE15BA
...
Change-Id: I7a773dbab1bfe8cd993380fb88a0b5160066de6d
2021-07-21 13:40:44 +01:00
Bruno Martins
5de6aea994
sm8350-common: Build opensource soundtrigger HAL
...
Change-Id: I956d53a67841a9e1e296de6b73f08ef2efac7470
2021-06-29 16:52:04 +02:00
Bruno Martins
298c65026f
sm8350-common: Drop TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
...
It is no longer necessary as per the latest QTI USB HAL update
(LA.UM.9.12.r1-11500-SMxx50.0).
Change-Id: I3caf226de247ac45bdcb9b35ab3a4c5b959dc1dd
2021-06-14 15:56:01 +02:00
Arne Coucheron
b0c92cc083
sm8350-common: Remove obsolete TARGET_BOARD_PLATFORM_GPU
...
Change-Id: I40a14bce12ee4725af17a3e8fbc05143e5577f8e
2021-06-11 11:35:00 +02:00
Sebastiano Barezzi
14307f1ef4
sm8350-common: Remove USE_XML_AUDIO_POLICY_CONF
...
* Dead since Q, where XML audio policies weren't enforced yet
Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2021-06-08 12:45:36 +01:00
Rheygine Medel
f4510723e1
sm8350-common: Removed TARGET_USES_GRALLOC1 flag.
...
Change-Id: I73e74d9a19d38c07f9ddc820484142dd3cd0a576
2021-06-03 22:24:58 +02:00
dianlujitao
a3a36f3a02
sm8350-common: Switch to QTI bt stack
...
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2021-06-01 23:23:38 +01:00
LuK1337
1be5e11fdb
sm8350-common: Don't pass OEM_TARGET_PRODUCT to kernel build cmdline
...
Not needed on this platform.
Change-Id: I6cbb2772b8a79a7d50be113e493ae9743238cc8e
2021-06-01 23:23:38 +01:00
LuK1337
448b981fac
sm8350-common: Use correct kernel linker
...
Change-Id: I1d1064a5176182acce7921e94485a1090d931660
2021-06-01 23:23:38 +01:00
LuK1337
81398e09df
sm8350-common: Set correct userdata size
...
Change-Id: I9d06a1d089fa8da2b024e0d0fbd85424a8c9c7b5
2021-06-01 23:23:38 +01:00
Christian Oder
c7065c61ee
sm8350-common: Add reserved partition sizes for product, system and system_ext
...
Change-Id: Ib856284f6b6c9ed3511ef691c72f58f7e6f5a901
2021-06-01 23:23:38 +01:00
LuK1337
ad5b0c461d
sm8350-common: Declare super and its partitions size
...
Partitions size is calculated using this formula: (super / 2 - 4M).
Change-Id: I8d211f9885f3bbebfc221ae320f83b9478677034
2021-06-01 23:23:38 +01:00
LuK1337
9f55e268e1
sm8350-common: Enable AUDIO_FEATURE_ENABLED_GKI
...
Change-Id: I4f909077d75bf188e57767614486e9ca1021707e
2021-06-01 23:23:38 +01:00
LuK1337
0607afb434
sm8350-common: Steal kernel modules setup from device/google/redbull
...
Change-Id: Iaf73f9492b3003d5f73ab7aeaf80084bc2c5a4f8
2021-06-01 23:23:38 +01:00
LuK1337
e4018d2d38
sm8350-common: No recovery partition for us :(
...
Change-Id: I437d711fead0245146b64a9fefca4453d714c236
2021-06-01 23:23:38 +01:00
Will McVicker
f6f7e210d6
sm8350-common: Add support for vendor_boot
...
This enables boot header v3 which creates a vendor_boot images that
holds the vendor kernel modules.
Signed-off-by: Will McVicker <willmcvicker@google.com>
Fixes: 151949371
Test: boot, verify vendor_boot ramdisk is loaded, check lsmod
Change-Id: Ia1b7df306d3a9f0e2f1f3ec8e7c2547da0b07596
2021-06-01 11:29:04 +02:00
Bruno Martins
f9ba3937a7
sm8350-common: Import common fstab from OOS
...
Change-Id: I30d05c1b4f02137a109e30ffd491435acf0b3df3
2021-06-01 11:29:04 +02:00
Bruno Martins
410e7ff323
sm8350-common: Initial common device tree conversion
...
Change-Id: I0d7188b3fa82dddf3f9fb9523d716a8f15f46184
2021-06-01 11:12:31 +02:00
LuK1337
f972f8c9fb
sm8250-common: Update blobs from OOS 11.0.6.6
...
Change-Id: I5b0519136cbca2b94c90fbae114197f4f1d4416e
2021-05-27 14:26:19 +02:00
LuK1337
bb16435fa4
sm8250-common: Relocate volume steps customization to vendor.prop
...
Change-Id: Ic0d0666de7899dde5afbd1cd40370ccea2837419
2021-05-04 19:45:43 +02:00
Nolen Johnson
9a36678b92
sm8250-common: Kill deprecated/unneeded board flags
...
* TARGET_KERNEL_ARCH - no-op unless it differs from TARGET_ARCH.
Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2021-04-23 20:11:14 +02:00
Anton Hansson
0c11497347
sm8250-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
2021-04-23 20:11:14 +02:00
LuK1337
cd50a1bbe9
sm8250-common: Unset NEED_KERNEL_MODULE_SYSTEM
...
We are building vendor image ^.^
Change-Id: Ia7f47528c116749f897d7bcfbff6acf290a220fd
2021-04-23 20:11:14 +02:00
Michael Bestas
6115bfd27c
sm8250-common: Remove unused TARGET_SPECIFIC_HEADER_PATH
...
Change-Id: I5518d31fa6c6f56f05dc374bfd8f98b3cd2e62cc
2021-04-23 20:07:17 +02:00
Nolen Johnson
ab44ad8b4b
sm8250-common: Kill deprecated TARGET_USES_MKE2FS
...
* This has been useless since some time in Pie.
Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2021-04-23 19:53:24 +02:00
LuK1337
1dd29a35a0
sm8250-common: Unset BOARD_VNDK_VERSION
...
Change-Id: Ie9e8615eb7fe186dbb595fc3fa0d2bfc013b5d47
2021-04-23 19:51:58 +02:00
LuK1337
6de1b949cd
sm8250-common: Enable TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
...
We can handle analog audio just fine, no need to
inform the user that their device is not supported.
Change-Id: I7dda01e7bd2560e8c782245dea3f3b7519c3b0b6
2021-04-10 11:00:57 +02:00
LuK1337
2a71acaa19
sm8250-common: Decommonize reserved partition sizes
...
Change-Id: I12d333c4688f265ddfcf55feaee155640c4e1efe
2021-04-02 03:09:08 +02:00