Adithya R
695b45271c
sm7325-common: Switch to dot product CPU variant
...
* dubai:/ $ cat /proc/cpuinfo | grep -m 1 Features
Features: fp asimd evtstrm aes pmull sha1 sha2 crc32
atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
* From this, it's evident that our CPU (Snapdragon 778G+)
supports all the features of ARMv8.2-DotProd [1].
Moreover AOSP sets this arch variant in their generic
cortex-a55 ART target as well [2]. This should unlock
some optimizations in different code paths.
[1]: https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features
[2]: https://android.googlesource.com/device/generic/art/+/refs/heads/master/armv8_cortex_a55/BoardConfig.mk#23
Change-Id: I484bb2bcc181c62e29c04bc6e467e5edea8ac0d8
2025-01-21 11:56:59 -05:00
Michael Bestas
167ee81c54
sm7325-common: gps/location: Convert remaining Android.mk to bp
...
Change-Id: I75e6af92795fe755a48557aa06106406b14c6750
2025-01-19 20:34:06 +02:00
Marc Bourgoin
04b45dcda0
sm7325-common: Guard android.hardware.nfc HIDL entry
...
tundra uses snxxx NFC AIDL HAL which doesn't use android.hardware.nfc,
so let's guard it so we don't have to decommonize it for just one device
Change-Id: Ic8d78a401c614ea4b19c7fccdc7f472bc67534d6
2024-12-22 11:06:20 -07:00
Bruno Martins
3e4cea0e32
sm7325-common: Use the common device compatibility matrix from QCOM
...
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-12-22 00:05:14 -07:00
Aaron Kling
0f492139bb
sm7325-common: Re-enable broken dup rules check
...
All failures of this have been resolved
Change-Id: I56a923ac90b98e63c093c8cb65cb1059dde57c49
2024-11-14 22:39:39 -07:00
Aaron Kling
b153159616
sm7325-common: Remove elf files in copy files check
...
New extract files uses packages instead of copy files
Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-11-10 18:09:19 -07:00
Cosmin Tanislav
c117c2ec85
sm7325-common: remove additional kernel flags
...
LLVM=1 is passed inside BoardConfigKernel.mk, and DTC is passed inside
kernel.mk
Change-Id: Ie80943cee67ca7447d50d76b59072e7d445bf979
2024-10-15 03:44:48 +00:00
Michael Bestas
375003228b
sm7325-common: Compile the kernel without GCC
...
Change-Id: I882c0d8600f88c1bb939c7ee247230ec5e70338a
2024-10-15 03:44:42 +00:00
Marc Bourgoin
dd7d18c0c2
sm7325-common: Fix more property selinux denials
...
Change-Id: Icd4e387b994819659e26feeeefee6bf0ff604ee8
2024-09-25 20:42:36 -06:00
Bruno Martins
a38579c664
sm7325-common: Inherit from QTI FCM
...
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2024-09-25 20:42:36 -06:00
Michael Bestas
27d036b329
sm7325-common: Bump LOC_HIDL_VERSION to 4.2
...
Change-Id: Ic961685f4a1887a2053ff08455ea3c3d0958ac86
2024-09-25 20:42:36 -06:00
Bruno Martins
20748cc7e9
sm7325-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
...
Qualcomm targets can now build hermetic partitions.
Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-07-02 04:47:52 -07:00
basamaryan
4689a61aeb
sm7325-common: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
...
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
2024-06-20 11:31:48 -04:00
Cole Faust
189b622ad1
sm7325-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
...
Qcom has issues that prevent it from working with a hermetic
partition build.
Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-03-10 23:26:03 +00:00
Marc Bourgoin
8d398dc589
sm7325-common: Drop vAB move recovery to vendor_boot
...
Checking stock dubai boot image it has recovery there and not vendor_boot,
so to keep things similar let's do the same here
Change-Id: I86e89ec97a8ce9b4f71705ed526093f37f4331e6
2024-01-31 00:48:37 +00:00
Michael Bestas
7c62934d8a
sm7325-common: Inherit common partition reserved sizes
...
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-01-06 22:21:54 -05:00
DillerOFire
45b24bc3d8
sm7325-common: Nuke obsolete BOARD_BUILD_SYSTEM_ROOT_IMAGE
...
Change-Id: I8fafc8952e2b3bd535309a6aad035f02f1e00b14
2023-11-20 08:21:33 -07:00
Bruno Martins
1f54f6d684
sm7325-common: Migrate to restructured sepolicy_vndr
...
The new folder structure now looks like this:
device/qcom/sepolicy_vndr
├─ legacy-um (meant for sdm845 until sm8350)
├─ sm8450
└─ sm8550
SEPolicy.mk placed in the root automatically redirects devices to the
proper subfolder.
Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
2023-11-01 10:58:30 -04:00
Andrew Hexen
56d93f30a0
sm7325-common: symlink vendor/fsg to system_root
...
* Seems to be an issue where if modemst1/2 (efs) is wiped modem only looks for fsg to rebuild efs in the root_directory.
* Even though this isn't correct it should allow radio to be easily flashed during future firmware upgrades as the stock radio.img is a container which flashes fsg/modem then passes the command to wipe modemst*
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Ic7acabbe16d66740b3aee414be60c24d3a0de43d
2023-10-26 06:09:48 -07:00
electimon
2120f3cd4a
sm7325-common: Remove unneeded cmdline properties
...
* HAB properties are appended by the bootloader,
as well as console. RTB filter is a debug property.
Change-Id: If5347a00492c6782f17355b5221c033987475b09
Signed-off-by: electimon <electimon@gmail.com>
2023-04-23 00:45:15 -06:00
electimon
8de4fbe8b1
sm7325-common: Rename manifest_yupik.xml to manifest.xml
...
* CAF only does this because they use one device tree
for all 3 SoCs, vendor/qcom/lahaina. We use one -common
tree with device trees inheriting it. There is no need
to have manifest_yupik.xml.
Change-Id: I133f19725d523ce2e4acb17114b687f9e5757019
Signed-off-by: electimon <electimon@gmail.com>
2023-04-23 00:45:15 -06:00
Bruno Martins
071491f492
sm7325-common: Drop custom APM flag
...
Custom audio policy manager is hard disabled by CAF
for 2 years now.
Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
2023-02-14 10:58:51 -05:00
Cosmin Tanislav
f89ad28fcb
sm7325-common: remove wlan module alias
...
Doesn't even work. Module is still wlan.ko.
Change-Id: I62d58dadfba1e2357b5106226f4435cc32a3058e
2023-01-28 18:44:38 +02:00
Kujou Yuko
a076a47e9b
sm7325-common: Remove duplicate loop.max_part=7 from kernel cmdline
...
Change-Id: Ib4632febb5a3bb4c88f5235172f298b2f13f31c6
2022-12-11 17:49:01 +01:00
Alexander Koskovich
2b1d39afc4
sm7325-common: Remove virtual framebuffer
...
* It's largely for testing purposes and it consumes
a large amount of memory. If your hardware doesn't
have graphics then it can be useful, which isn't the
case for shipped devices.
Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
2022-12-11 17:49:01 +01:00
Lisa Liu
c9984ff4ff
sm7325-common: Enable LZ4 compression for ramdisks
...
* This shortens the time to unpack initramfs.
Change-Id: Id23daba43ae7a6003cbde29480d2f433f344df73
2022-12-11 17:49:01 +01:00
Mohammad Asaad Akram
8000001417
sm7325-common: Enable asynchronous library events in WPA supplicant
...
Change-Id: I3b028afa54605bd57d9fb5700d792cb9e5e0e76f
2022-12-11 17:49:01 +01:00
Edwin Moquete
af62bb3f25
sm7325-common: Switch to legacy sepolicy_vndr
...
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2022-09-29 22:21:31 -04:00
Marc Bourgoin
219c25e9e1
sm7325-common: Adapt to virtual A/B
...
dubai is virtual A/B where-as berlin is not
Based on the logic from
https://github.com/LineageOS/android_device_xiaomi_sm8250-common
Change-Id: Ibadfd452365c799b290d32fd5afabc046b9f9c41
2022-08-26 04:02:24 -06:00
SGCMarkus
3fcf389bfc
sm7325-common: go enforcing
...
Change-Id: I3f059c797eb9a0dcffa3dc7627c35a3622ecc342
2022-08-12 20:18:49 +02:00
Peng Xu
4b72c1f28e
sm7325-common: wifi: Enable support for IEEE80211AX
...
* This is to allow supporting WiFi 6 mobile hotspots,
to be noted this is only supported on SDM855+ platforms.
[jjpprrrr: skipping CONFIG_IEEE80211AC because external/wpa_supplicant_8/wpa_supplicant/defconfig has it enabled by default]
Change-Id: Iab61bd12499968e8823b3078acd1c7b8bce46136
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
2022-08-11 14:20:40 +02:00
SGCMarkus
9396fb121e
sm7325-common: Switch to AOSP BT HAL
...
Change-Id: I9a733ff3edd6b1841096c86998007c51724ce309
2022-08-09 16:07:12 -04:00
Nolen Johnson
6db14c7ddc
sm7325-common: Correctly declare device recovery directory
...
Change-Id: Iebf2df406c526df25df74252d5b11e8eb4a32528
2022-08-07 22:04:29 -04:00
Nolen Johnson
08d1e2c466
sm7325-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-08-07 22:04:29 -04:00
Nolen Johnson
33c7540b74
sm7325-common: Remove BSP specific flags
...
Change-Id: Ie2673f2a9cbb0dc4626653e367a6c2d2ca3d9635
2022-08-07 22:04:29 -04:00
Elektroschmock
f16f2c5d7b
sm7325-common: Drop USE_DEVICE_SPECIFIC_CAMERA
...
* Old, dead, not something we use.
Change-Id: I254a85b85380f53b105f01b33ff49a35d56214aa
2022-08-07 20:14:35 -04:00
Nolen Johnson
9b36511027
sm7325-common: Remove deprecated TARGET_USES_QTI_CAMERA_DEVICE
...
* Dead as of https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/331507 .
* We never needed this.
Change-Id: I8ec420d6264fee70a1602eecdbb4f34f2e5db3dc
2022-08-07 19:24:23 -04:00
Georg Veichtlbauer
fd22d9fc17
sm7325-common: Remove CLANG compile flag
...
Defaults to true now project-wide.
Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-08-07 19:21:06 -04:00
Nolen Johnson
9896d6196a
sm7325-common: Enforce vendor board configuration presence
...
* We already do so for blobs, so why not here.
Change-Id: Ia6ed0475b1f5360c027b9bcbbd2d6f4330add11c
2022-08-07 19:13:31 -04:00
SGCMarkus
f2a8de29f1
sm7325-common: update to S1RG32.53-18-11
...
Change-Id: I4bea9b6ebe78c4fc87c89405b43bb51467575be5
2022-08-06 21:51:07 +02:00
Marc Bourgoin
782cc6aa56
sm7325-common: Add support for dubai (Edge 30)
...
Also decommonize a kernel cmdline
Change-Id: Id5aa4a5b2b893bd43531fa7bd0c1b9391705b430
2022-08-04 10:14:51 +02:00
SGCMarkus
a34f68d835
sm7325-common: enable opensource st hal
...
Change-Id: I0173f8dd0e2bdca208e97dbe828041fca0a2cad2
2022-07-30 14:00:59 +02:00
SGCMarkus
d023bd34ae
sm7325-common: rename qca6750.ko to qca_cld3_qca6750.ko during build
...
Change-Id: I39ffbec91342edec871665653961425c9d78a5b9
2022-07-29 15:16:07 +02:00
SGCMarkus
228c85acee
sm7325-common: make manifest.xml sku specific
...
Change-Id: Ib30a34dd8b5cb75d0fce29ab8c81243bcdfb624f
2022-07-29 15:14:16 +02:00
SGCMarkus
297359d95e
sm7325-common: set AUDIO_FEATURE_ENABLED_GKI true
...
Change-Id: I29c95d6058ea6b81a06e8658876a4c802ceb1505
2022-04-04 12:04:12 +02:00
SGCMarkus
599b343fcf
sm7325-common: kernel: use proper defconfigs
...
Change-Id: I26ed6f5f5c75df079a7daf7532824472ca12500f
2022-04-03 21:51:42 +02:00
SGCMarkus
95b667c5b9
sm8250-common -> sm7325-common
2022-03-26 23:16:05 +01:00
Vinay Verma
a3dd6d4d07
sm8250-common: Enable PAC and BTI
...
Change-Id: I014eadcd8b59260ad59e9a1085ccf974404590d0
2022-03-24 19:29:34 +01:00
dianlujitao
2e94198a79
Revert "sm8250-common: Use gcc binutils for kernel"
...
This reverts commit b8be3007b09ad4129b8f1ba7a7d99f10f403ed04.
Change-Id: I5782f75c42a76b408058adeb62c3a9e336f969a9
2022-03-24 19:28:14 +01:00
SGCMarkus
2a84a55549
sm8250-common: set LOC_HIDL_VERSION and BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE
...
Change-Id: I917be4ea340871112b9dd1a42d10b4a800bef5fb
2022-03-23 23:19:37 +01:00