This is done by conditionally including the makefile under vendor so
that AOSP builds where vendor is not present do not faile.
(cherry picked from commit a3a42642f3)
Bug: 203234558
Test: data wipe in Android recovery mode on raven
Test: data wipe in Android recovery mode on c10
Test: data wipe in user mode fastbootd mode on raven
Test: data wipe in user mode fastbootd mode on c10
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: I0ef9dd1ea9eae90ed4feabd19bf9edc7434a572b
This partially reverts the following change:
Switch GLES system driver to ANGLE
Bug: 241757590
Test: com.google.android.GoogleCamera
Change-Id: I79fee4a16eedf87aea40fd75044e065e1811e117
Revert "move digital car key wiping to gs-common"
Revert "clear secure element of Digital Car Keys during factory ..."
Revert "dck: switch to gs--common implementation of digital car ..."
Revert submission 19734547-b203234558-qpr1
Reason for revert: see b/243864778
Reverted Changes:
I53967a5e8:dck: pick up recovery mode library for digital car...
I8fd944c60:dck: switch to gs--common implementation of digita...
I6e8c80818:move digital car key wiping to gs-common
I60052ca58:Support calling WipeKeys with out a ui object
I459d81800:clear secure element of Digital Car Keys during fa...
Change-Id: Ic3f42d0d2c6c78be47cacf9794e7727e6ee5475f
This is done by pick optionally including a Makefile so that aosp builds
in which the library is not present will pass.
Bug: 203234558
Test: adb reboot recovery; wipe data via menu; verify keys removed
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: I53967a5e8ea0327d6467623929902b90eb2c85da
Actuator models can vary across devices. Actuator models can have
different characteristics that need to be handled appropriately. Add
support to define the actuator model used in Soong makefiles.
Bug: 236202962
Test: verified that different actuator model configs are used on
different targets
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I4b4c5e26c52f410ec36f9b8959e8fadd2ea19b0f
When building the 64 bit and the 32 bit executables, there
are a few targets that are prefer32. Using this option forces
those executables to be built as 64 bit.
Bug: 229787331
Test: With this option, drmserver/mediaserver are built as 64 bit.
Test: Without this option, drmserver/mediaserver are built as 32 bit.
Change-Id: Ie76ffe17f14b5157983796a616436bfa12987136
- Disable dlkm ramdisk fragment from vendor_boot
- Enable vendor_kernel_boot and OTA support
- Set partition size to 64MB
Bug: 214409109
Change-Id: I4a6ee0b2f1c44a4d257cc51cf408f6f7cf295471
Signed-off-by: Lucas Wei <lucaswei@google.com>
As HW doesn't have 32 bit address limitation, we can disable
zone dma32 to simplify memory management and improve performance.
Bug: 224535283
Test: boot, test basic wifi, faceauth, camera, UDFP features
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Ia7c1098ddd4b91738702dd99552661dbe18cfaa5
This reverts commit 184562c0f8.
Reason for revert: The cache coherency shouldn't be reverted. This will cause the function break.
Change-Id: I9a62e507911a3eaed704f029546e81770ef3d199
Since GRALLOC_VERSION control has been totally removed, the
corresponding conditional configs should be removed to avoid wrong
configurations.
Bug: 224911573
Test: gralloc sync function can work to avoid noise in tiktok
Change-Id: I7d48f0271a251dfef2abc13dea59b92c541a497e
This will let bionic use 8.2a atomics which helps scudo locking.
Bug: 224756824
Test: build , boot and check by getprop
Change-Id: Ie5f55071af5b8aff293224665ca68942f3e86625
Keep 2MB swiotlb for devices that not support 36bit access.
Bug: 226578178
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I88deb288e326880b0328c06f5d1b32777cc1ccb9
When $(TARGET_KERNEL_DIR) contains:
* boot.img
* boot-user.img
then use those as prebuilt boot images for the target build.
Note that debug kernels (e.g. $(TARGET_KERNEL_DIR)/kasan) only have
Image.lz4, so the debug build ends up building boot.img from source
Bug: 223663549
Change-Id: If9d2b1041108cec8fc0481e4b633502371d6f987
As dma devices are 36bit bounded, we don't need SWIOTLB
bounce buffers. Set swiotlb=noforce to disable this and
make the minimum amount of memory allocation.
Bug: 207573157
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I21eac64f57505c14e12fed50980aad4d818b34cb
Enable page pinner to catch long pin pages' history so
we can root cause issues.
Bug: 224771748
Test: check kernel cmdline
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I3b384d427ac0ba48841d9a13e8f5565d9a83fb72
Pixel kernel don't use MEMCG, let's disable it to
minimize the overhead.
Bug: 224521042
Test: check cmdline
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I60681fb04e4f9a41814eda5988b6c1a0d4fb127c
Set flags to enable system_dlkm dynmaic partition
for GKI Modules for T launch pixel devices.
Partition will be empty as of now but this adds
enough support to pass the vts for feature.
Bug: 222334390
Test: TH, manual build, Code testing gs101 & R6
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: Ic56dd711ab97f3ae993cc5c543fabc8cbe3f347c
Merged-In: Ic56dd711ab97f3ae993cc5c543fabc8cbe3f347c
Builds a new init_boot.img with the ramdisk that was previously in
boot.img.
Removes the ramdisk from boot.img.
Change fstab to make sure the /dev/block/by-name/init_boot_* entries are
created in first stage init for Verified Boot.
Add init_boot.img to the list of OTA images so it is picked up for OTA
updates.
Test: unpack_bootimg --boot_img=boot.img
Test: unpack_bootimg --boot_img=init_boot.img
Test: Build and boot new device with required bootloader changes
Bug: 211823573
Merged-In: Idbd700b17d862f48ea568d1274a6550b965763ea
Change-Id: Idbd700b17d862f48ea568d1274a6550b965763ea
The pvmfw image is included by setting PRODUCT_BUILD_PVMFW_IMAGE in
device.mk and there shouldn't be this prebuilt override.
Bug: 199717422
Test: build
Change-Id: I0ba022e7b222ff89a4b2f991900abb3b4589396c