Add adaptive haptics config parameter to the build environment
Bug: 198239103
Test: atest VibratorHalCs40l26TestSuite
Change-Id: I9e9e4733bd204dfe2f8d719902afa32b405b35cf
Signed-off-by: Chris Paulo <chrispaulo@google.com>
Append vendor kernel modules variable instead of overwriting it.
Otherwise, the global variables set by other board specific makefile
will be overwritten.
Test: Manual build and verify kernel module is appended correctly.
Bug: 260153425
Change-Id: I574be28ca6fd345ba717e424dd32eb6e30fb4f34
Add support for copying prebuilt kernel modules like fips140.ko into the
vendor ramdisk. These kernel modules are different in the following
ways:
- They do not appear in vendor_boot.modules.load provided by the
kernel build system.
- We want to put their names at the very beginning of the output
modules.load file to ensure that they are loaded prior to all other
modules.
We define a new Makefile variable named
BOARD_PREBUILT_VENDOR_RAMDISK_KERNEL_MODULES. For every filename on this
list, we verify that the file exists in $(KERNEL_MODULE_DIR), and if it
does, we include its name in the modules.load for the vendor boot
ramdisk.
Bug: 194712883
Change-Id: Iff8923c2492296b8eb4d24ec94bbfccc19f4e8f5
When $(TARGET_KERNEL_DIR) contains:
* boot.img
then use those as prebuilt boot images for the target build.
Bug: 242812258
Change-Id: Icbd880c9461d7ba3d707d56c7ff43f4b8bf2e47c
This variable is always false or empty now.
Remove it so we can mark it as deprecated later.
Bug: 241346584
Test: Presubmit
Change-Id: I57cbe875f556bb853d4ea9b1d458c9c554c6bfa5
(cherry picked from commit c17b465041)
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: Id4bb38b8391e72f62de5c29587e7b5bcdbd1e99f
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: I6a81d572889d7c1ba1fda4e40b122057a7c60ca9
As HW doesn't have 32 bit address limitation, we can disable
zone dma32 to simplify memory management and improve performance.
Bug: 236225957
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Id7c67b985848f50331bafacf31e59f67cf9aa34d
Now that the necessary SELinux policies are in (ag/16507235), we should
be able to re-apply this change without breaking OTA updates
(b/211070100).
This reverts commit efd5649bb8.
Bug: 210833963
Test: local OTA update (see bug)
Change-Id: I0fd5f840159e4163adde753f6d339546067b8cf6
(cherry picked from commit e635619443)
Page_pinner aimed for help tracking cma allocation failure.
Since we are memory hungry and gs101 is lacking of critical
usecases atm, we could disable it. It will return memory
0.78% memory.
Bug: 235227018
Test: confirmed that no page_pinner directory in the debugfs.
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I37a0c9ba76b278f813dff6e81b77438ab9e87d3c
This reverts commit 58893b442f.
Reason for revert: OTA failues observed during S -> T
Bug: 228927535
Test: Full and Incremental OTA's.
Change-Id: Iec9e15d60dab92213494c9e679de6702f8d56e37
Remove redundant spaces so the variable is set correctly
Bug: 224556677
Test: Built R4 64bit
Signed-off-by: Gina Ko <yichunko@google.com>
Change-Id: Ide1f48cf04806234f637faea5edcd988403bafca
Set flags to enable system_dlkm dynamic partition
for GKI Modules for gs101 devices.
Partition will be empty as of now but this adds
enough support to pass the vts for the feature.
Bug: 222334390
Test: TH, manual build, flash and verification on 6Pro
Full OTA Update test from S to T as below:
1. go/flash: git_sc-v2-release - SP2A.220405.004 (8233519)
2. Full ota build from tm-dev
3. Manual push full ota update and verify boot
4. Verify system_dlkm partition is present & mounted
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: I0b4038b100add965737527b72a8d5f905907e23e
Some targets are using tangor_xxx and some use xxx_tangor,
cover both to avoid duplicate zygote props.
Test: Build
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I43b18f6b5296f7b1575a8d5e817b3f2281dc1e1c
Moving vendor_dlkm.modules.blocklist to the source repo and picking to
/<DEVICE>-kernel, the development experience can be aligned between
Kernel and Android codebase.
Bug: 214017561
Change-Id: I9f556178f882dc15cc7066df16dd59e1da86091b
intermediates-dir-for relies on several variables that
haven't been set at the time the board configuration
runs. The board configuration got around that by using
deferred expansion, but deferred expansion is something
that starlark doesn't support. Remove intermediates-dir-for
by switching to TARGET_RECOVERY_FSTAB_GENRULE, which
accepts a genrule module to use instead of a file.
Bug: 201700692
Test: Presubmits
Change-Id: I6ebb75073abeebce71873f414129759789096b0f
move wifi configurations from BoardConfig-common.mk to wifi/BoardConfig-wifi.mk.
So, each project can decide whether it should share the same configurations or create a new one on their own.
Bug: 208159314
Test: ifconfig after attempting STA+SAP concurrency.
Change-Id: Id2474df377f242528be661fefe712d7203cdddf8
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: 205246642
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: If9f68b269f326f0f4b8e165593ec5dd4787fbb52
Remove the definition for BOARD_PREBUILT_PVMFWIMAGE (which currently
points to the shared AOSP pre-built of pvmfw.img) to fall back to the
default behavior of the AOSP framework. Even though this will result in
the same pre-built being used (for now), not setting that variable still
partially modifies the overall behavior (e.g. for packaging) and allows
upcoming framework changes to be automatically picked up.
Bug: 199717422
Test: m
Change-Id: I7c3bbbee8c83d262b707f8582b5f43040bc25a06
Remove the deprecated variable now that it has been replaced by
BOARD_PVMFWIMAGE_PARTITION_SIZE in AOSP.
Bug: 199717422
Test: m ${ANDROID_PRODUCT_OUT}/pvmfw.img
Change-Id: I96fba129d0b0f9a2e845e8a507a9ec8f65910942
Support for pKVM is being added to all gs101 builds starting with T,
disabled by default. So far, the userspace components have been included
only in special _pkvm builds. Include them unconditionally.
Also move BOARD_* variables specifying location and partition size of
pvmfw from vendor board config file here.
This adds 89MB to the size of the system image.
Bug: 192819132
Test: build a gs101 target, check /apex/com.android.virt exists
Change-Id: Ie46b0ad5f45bd4757570b72cb275d002df7b4616
This reverts commit 7badc4b5f1c7b6adff8cd9142f5c97bd4a5a0d49.
Reason for revert: it introduce b/201469630 and b/201476061
Bug: 201469630
Bug: 201476061
Change-Id: Id48ea931410a55bfd382feb7a0da02994fdf8928