Commit graph

132 commits

Author SHA1 Message Date
Carter Hsu
5bc59075bd haptic: add haptic ampilifer codec
Bug: 178431048
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Id20663a7469f04fda8dd49651fce88a815450af7
2021-05-07 03:10:19 +00:00
Sunil Ravi
3d015b03ab Revert "Wifi: Move supplicant service init to wpa_supplicant"
This reverts commit 788012640b

Reason for revert: Caused throughput issue in p2p b/187302501

Bug: 187302501
Bug: 186636898

Test: boot and wifi function is ok
Test: p2p connection and throughput tests.

Change-Id: I70f4015040f10452acff697ee504b02cfb3c1e27
2021-05-06 23:33:51 +00:00
Alex Hong
2f8fde91a1 Downgrade the PRODUCT_SHIPPING_API_LEVEL from 31 to 30
We should wait for the Android SC SDK finalization.
Remove the unnecessary "BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE".

Test: Build successfully and the device is bootable
      CtsOsTestCases: android.os.cts.BuildTest#testSdkInt pass
Bug: 187023500
Change-Id: Ib9adbb7a7c913790994a06ae1a57f95eebf84a78
2021-05-05 11:55:09 +00:00
Sunil Ravi
788012640b Wifi: Move supplicant service init to wpa_supplicant
Bug: 186636898
Test: boot and wifi function is ok
Change-Id: Idb6ebe962e50408c907f9d961a6f75e3ceddf0f2
2021-05-04 17:38:38 +00:00
Victor Liu
3f606543d5 Revert "gs101: don't load uwb module at boot"
This reverts commit 2207cb4b9f.

Reason for revert: uwb power controls are in place

Bug: 183896897
Change-Id: Ib52de732dc86f7fe8a3d688a34d32034de26e031
Signed-off-by: Victor Liu <victorliu@google.com>
2021-05-03 16:57:48 +00:00
Sean Callanan
13c4abd67c Enable Gralloc ion sync
Gralloc ion sync enables a cache sync when Gralloc buffers are
unlocked.  Buffers the GPU wrote don't need this, but buffers the
CPU wrote do.

Bug: 183735780
Test: RealCalc
Change-Id: I67a9ee15b172fb11d262c41723404c5b9cafde82
2021-04-29 16:55:16 +00:00
Robin Peng
c5b41648b3 shipping level 31, and keep target-level as-is
PRODUCT_SHIPPING_API_LEVEL := 31
kernel target-level="6"
target-level="3" or ="4"

Bug: 167997902
Change-Id: I110e251a108bbca7b63cd90142c82b35e93287b7
2021-04-27 07:14:20 +00:00
Tai Kuo
eba083050f BoardConfig: filter cl40l26 probe during the first stage init
Bug: 184610991
Test: probe timing was delayed
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I8f90697112160849091b8347079c9590c8e18099
2021-04-20 11:49:50 +00:00
Victor Liu
2207cb4b9f gs101: don't load uwb module at boot
Uwb power controls are still being implement.  Disable
the uwb module from loading automatically until uwb power
controls are implemented.

Bug: 185471298
Change-Id: Ie7021f6015c564613ded10dec2c9b92ff619af81
2021-04-20 03:00:17 +00:00
J. Avila
df9dc5cf76 Explicitly set log_buf_len
By setting the log_buf_len via cmdline, devices using this cmdline will
be able to guarantee their preferred buffer size even if the underlying
CONFIG_LOG_BUF_SHIFT changes.

Bug: 185141673
Change-Id: Iafe7561dceef65fc47cb0bb54a8f84a5e10c51a9
2021-04-12 22:00:50 +00:00
Oleg Matcovschi
ae9494ee6b BoardConfig-common.mk: restore boot image version 3
Some of the components don't handle bootimage v4 yet.

Bug: 183237066
Bug: 183896891
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: Ie8764f2d7da452f1941b0001c0c4be51f56e3a44
2021-04-06 18:51:32 +00:00
Ricky Niu
88313cf20b gs101: usb: remove flag "OLDER_GADGET"
The flag "OLDER_GADGET" is no need.
Using "11110000.dwc3" be the udc name.

Test: Build Pass and boot to home
Bug: 177879761
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I43c9e2815a6384c4dffdc47312fa0f372b34d9e9
2021-04-02 04:42:53 +00:00
Minchan Kim
3623b5745f BoardConfig: enable cma_sysfs
Bug: 179256052
Test: confirmed /sys/kernel/mm/cma/reserved/alloc_pages_success works
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Ib24f1ecabdc199bf9e8a2c0ac7dba778a40c1cf9
2021-03-29 13:57:59 -07:00
Adam Shih
48e389c89c Turn on SELinux
Bug: 171942789
Test: flashall, OTA, adb, bluetooth, wifi, LTE, phone call, SMS,
play audio, video, camera picture, recording, sensors, storage PTS,
thermal PTS, bugreport, GPS, lock screen

Change-Id: I85c22c7a7fd97aa30618455478974a71e19cfcab
2021-03-24 13:25:02 +00:00
Oleg Matcovschi
9963cf04e0 BoardConfig: move androidboot.console to cmdline
Bug: 183531243
Change-Id: Ida1dd4c8f3a2b57a64955f6002c6bace1d0b40c9
2021-03-23 14:08:58 -07:00
Oleg Matcovschi
9ef069c978 gs101: migrate to bootimg v4
Bug: 183237066
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: If4ed53f3ea4964139b33ef691469a1dbbfa97e80
2021-03-22 19:28:26 +00:00
Minchan Kim
5d13529329 BoardConfig: enable dump migration failure
Enable dynamic debug to dump migration failure.

Bug: 182195592
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I4817f84c1d2e15dad48f7c475d7072b88bc12114
2021-03-18 08:00:09 +00:00
Charlie Chen
935a1dd591 Revert "Switch back from DMABUF to ION/BLOB allocator"
This reverts commit f35c9cb038.
To enable DMABUF again.
Patch: https://android-review.googlesource.com/c/platform/system/memory/libdmabufheap/+/1634146/
fixed the error when using DMABUF

Bug: 153786620
Test: reboot O6 device and confirm the error does not show up again
Change-Id: Id378fe1fe8b9615f72138575cec8e5e1e20caec9
2021-03-16 16:28:15 +08:00
Tianjie Xu
ad661aed61 Merge "Include the Pixel common board configuration" into sc-dev 2021-03-15 18:46:12 +00:00
Daniel Mentz
b494fcea4d Merge "Add vendor_dlkm partition (2nd attempt)" into sc-dev 2021-03-15 18:34:41 +00:00
Tianjie
a76d104aac Include the Pixel common board configuration
In particular, the config builds the hashtree with SHA256 for verified boot
2.0.

Bug: 156162446
Test: build an image, run avbtool info_image
Change-Id: Ib588472434f5df0265d8b457c184272ae4b566fb
2021-03-12 11:42:05 -08:00
Pat Tjin
977ea34b77 Adjust BOARD_GOOGLE_DYNAMIC_PARTITIONS_SIZE to 8527020032
Subtract out 4MiB for overhead.

Test: build
Bug: 182237294
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Idf07cf518ea0ab8e8586a85303e27538a8ee2885
2021-03-11 23:21:35 -08:00
Daniel Mentz
fc05a5f218 Add vendor_dlkm partition (2nd attempt)
Certain vendor kernel modules were previously stored in the vendor
partition. With this change, we create a new separate partition named
vendor_dlkm for these vendor modules.

Bug: 173653839
Change-Id: I1fc887bdfac958d3a65fb48a4bf7a398e756733e
2021-03-11 22:52:20 -08:00
Chris Fries
0e26f54d1f Merge "Switch back from DMABUF to ION/BLOB allocator" into sc-dev 2021-03-11 23:50:55 +00:00
TreeHugger Robot
10992cb965 Merge "Revert "Revert "Enable chained vbmeta for boot""" into sc-dev 2021-03-11 22:31:19 +00:00
Will McVicker
b5b92eadd1 Revert "Revert "Enable chained vbmeta for boot""
This reverts commit 8ed24f1c7f8923e0b0ac62c16abc5ea32c1a11e0 which
disables chained vbmeta for boot.

Bug: 176930600
Test: manually verify chained vbmeta is enforced
Change-Id: Iba79a072798ff4dd0eb9add3c36d7f6c1ffb4655
2021-03-11 22:30:45 +00:00
Wonsik Kim
f35c9cb038 Switch back from DMABUF to ION/BLOB allocator
Revert of the following changes:
I70af757f5 conf: change a group about dma_heap for video codec
Id4fc2f04b uses dmabufheap on codec2
I090f0491f disable to use BLOB allocator

Bug: 182312949
Test: boot without DMABUF failures
Change-Id: Ibeb05a1341c15a206b8c1d2b9c9765769f6472e1
2021-03-11 13:56:46 -08:00
Petri Gynther
ce5bdb9bd3 Remove vendor partition definitions
Remove vendor partition definitions from:
device/google/gs101/BoardConfig-common.mk

The right place for these definitions is:
vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk

This is necessary for -without-vendor builds.

Bug: 182481577
Test: build oriole-userdebug
Change-Id: Iee6e2964dfca84cc0f40f332067332f7564f6f3b
2021-03-11 10:30:57 -08:00
Cody Schuffelen
815b951c33 Revert "Add vendor_dlkm partition"
Revert "Add vendor_dlkm to AB_OTA_PARTITIONS"

Revert submission 13804535-slider_vendor_dlkm

Reason for revert: Evaluating whether a revert fixes b/182319837
Reverted Changes:
I50887cb75:Add vendor_dlkm to AB_OTA_PARTITIONS
I6e3b20ada:Add vendor_dlkm partition

Change-Id: I71817d8ff65dfb63978dc775178947e12bd1982a
2021-03-10 01:37:58 +00:00
Daniel Mentz
1adeec60ba Add vendor_dlkm partition
Certain vendor kernel modules were previously stored in the vendor
partition. With this change, we create a new separate partition named
vendor_dlkm for these vendor modules.

Bug: 173653839
Change-Id: I6e3b20ada58ffea05de3df8e7eae9fc59a6019e0
2021-03-09 22:48:49 +00:00
Petri Gynther
3c5da8c48b gs101: build vendor_ramdisk.img
aosp/1619809 has landed, so let's start building:
out/target/product/<name>/vendor_ramdisk.img

We can then easily grab ramdisk.img + vendor_ramdisk.img
from any go/ab build to our kernel dev environment.

Bug: 170687803
Change-Id: I1469fd9e545353029ceea6251dad631eab2ae1d9
2021-03-08 10:57:28 -08:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00