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: 199997188
Change-Id: I6bb70644d8ab7356986f6ca6a77f3098d1ee0f83
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: 195894512
Test: verified that different actuator model configs are used on
different targets
Change-Id: Ic7fd5f52c3bfed252fa3956f3e926c90c1632013
Add a file "fstab.gs101-fips" alongside the existing "fstab.gs101" in
order to specify different encryption settings in FIPS mode.
"androidboot.fstab_suffix=gs101-fips" on the kernel command line will be
used to select the FIPS fstab when needed.
As the two fstabs should be otherwise identical, generate them from a
template file so that they will stay in sync.
Note that generating the fstabs requires that they be installed as build
system modules rather than via PRODUCT_COPY_FILES, which results in the
vendor_ramdisk copy of the fstabs being installed to system/etc rather
than /. This shouldn't cause any problem, now that Android has been
updated to look for the fstab in this location too.
Bug: 191417025
Change-Id: I1d115e014df8ba2fb83046ac0b9b791597364846
This reverts commit 96007d8f9cab5f6028cb4a1b15e30c6ffe8bf5dd.
Temporarily revert prebuilt boot.img usage on sc-qpr1-dev
until we have official signed GKI boot images available.
Bug: 188095549
Bug: 191417025
Change-Id: I2f9907d3674f8a8869aac3c926994e116c76a91b
Use:
* boot-user.img for -user builds
* boot.img for -userdebug and -eng builds
Bug: 188095549
Test: make dist (oriole-user)
Test: make dist (oriole-userdebug)
Change-Id: Ic4df227f2b4c261297272f17e6645b7ce1f5d4f3
This reverts commit 63ba0cb1affa83446f10585d403c81cc618be71a.
Reason for revert: Tentatively trying to address, http://b/193588301 OTA full package does not exist in O6/R4_SD1A.210714.001 userdebug build [SD1A]
Bug: 193588301
Change-Id: I9d5d9fc132bc7eaf7c0adccee7a18558d80edb40
Use prebuilt GKI boot.img for production builds.
Debug builds continue to use their own Image.lz4.
Bug: 191764119
Change-Id: I2b4950ce334cc990e858e0ea410ad7e57d6decf6
All devices use gralloc4 now, so this code is unused.
Bug: 174998182
Test: builds for the affected devices
Change-Id: Icff36a0204f7f9fd10ae7269248aef8a08c5fc1e
This library is hooked into the recovery code via
hardware/google/pixel/recovery and contains routines specific to the
GS101-based hardware.
Bug: 182508814
Test: did master reset on device with keys, verified no keys present after reset
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Signed-off-by: Harpreet Eli Sangha <eliptus@google.com>
Change-Id: I18357f5ac8db7a765a5464fd3366af3d14928ce6
Revert "recovery: enable support for device-specific WipeSe impl..."
Revert "clear secure element of Digital Car Keys during factory ..."
Revert submission 14983788-clear_keys
Reason for revert: b/192373955
Reverted Changes:
Ia8fc29e6c:add gs101-specific recovery library
Icc1eabfd4:clear secure element of Digital Car Keys during fa...
I943d97b26:recovery: enable support for device-specific WipeS...
I15c7fbd7f:allow recovery and fastboot to access secure elmen...
Change-Id: I545698bc7da1aa12f520c0190775358dae70de61
This library is hooked into the recovery code via
hardware/google/pixel/recovery and contains routines specific to the
GS101-based hardware.
Bug: 182508814
Test: did master reset on device with keys, verified no keys present after reset
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: Ia8fc29e6c043c58c09f189ac5dc91c4093cf64b6
In this commit, we update the interface combination
for P21.
Bug: 191020902
Test: local test on PP23935602 build.
Check STA+STA, STA+SAP, STA+P2P and STA+NAN are workable.
Change-Id: I424c4ea854f3a4f7b615038db8d63729fd32adda
Kernel modules on the blocklist are not automatically loaded during
second stage init. Modules are often put on the blocklist if we want
them to get loaded only under certain circumstances.
Bug: 190652328
Change-Id: Ib67463555f498f4dc85d5d175e0bf9e4150771dd
Previously, we copied all available kernel modules into the vendor_boot
ramdisk except for approx. 14 modules that we explicitly excluded.
Going forward, the kernel build will distribute the two additional files
vendor_boot.modules.load and vendor_dlkm.modules.load which define,
respectively, the lists of modules that should be loaded from
vendor_boot and vendor_dlkm.
The contents of the two *.modules.load files will be copied almost
verbatim into modules.load files in the respective images except for the
fact that the directory names of the .ko files are stripped. So, for
example, kernel/net/core/pktgen.ko becomes just pktgen.ko.
Additionally, we only copy those .ko files into the vendor_boot image
that are listed in vendor_boot.modules.load. On the other hand, the
vendor_dlkm partition image will contain all .ko files regardless of
whether they are listed in vendor_dlkm.modules.load.
Bug: 190652328
Change-Id: Ibda5b9368547ad089575333e2566697ec0e8465f
Enable Page Pinner.
Bug: 187552095
Test: adb bugreport <zip> and confirmed it contains page_pinner
information at dumpstate_board.txt
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I509c5a825a798d8f1851cb65c5dd28dbddf11d33
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
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
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>
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
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
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
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
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
Subtract out 4MiB for overhead.
Test: build
Bug: 182237294
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Idf07cf518ea0ab8e8586a85303e27538a8ee2885
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