summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-29Snap for 7110675 from dd5bd1b45d17408eda074adb5aec317ad5316086 to sdk-releaseplatform-tools-31.0.0android-build-prod (mdb)
Change-Id: Ifffa741507de0164e276317e738ffaf2665eab3e
2021-01-19db845c: Enable boot image header v3 supportAmit Pundir
To enable boot image header v3 support, set "TARGET_USES_BOOT_HDR_V3=true" while building AOSP images for db845c. Build will fall back to boot image header v2 otherwise. Boot image header v3 support depends on the latest bootloader binaries. Run device/linaro/dragonboard/installer/db845c/flash-all-aosp.sh script to update the bootloader binaries on db845c. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: Iaf565fc25c731a9d42c8fbc550686b588caba5df
2021-01-19screenrecord: Fix mediacodec selinux and seccomp policy denialsAmit Pundir
Fix mediacodec selinux and seccomp denials for screenrecord to work. mediacodec need gpu access, plus it also crashes with following seccomp error during screenrecord: E android.hardware.media.omx@1.0-service: libminijail[488]: blocked syscall: sysinfo So allow sysinfo syscall for mediacodec by re-using the same seccomp_policy which we use for mediaswcodec (aosp/1238348). Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I62fd7ef159c520a26be83cd57ec72e1d51adfa52
2021-01-15db845c: installer: Update bootloader binaries to support boot image header v3Amit Pundir
Update db845c bootloader binaries to support Android boot image header v3. Downloaded (build #66) from here: https://snapshots.linaro.org/96boards/dragonboard845c/linaro/rescue/66/ Build description: * Build URL: https://ci.linaro.org/job/lt-qcom-bootloader-dragonboard845c/66/ * ABL source code: https://git.linaro.org/landing-teams/working/qualcomm/abl.git/commit/?id=5ec80d0f198b * Partition table: https://git.linaro.org/landing-teams/working/qualcomm/db-boot-tools.git/tree/dragonboard845c/aosp/partition.xml?id=a8d3103bd7cf Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I6a058cf44630493cb2edcc4e3839d7ae1b647e3f
2021-01-15Revert "db845c: Add support for cache partition"Amit Pundir
This reverts commit 70f37c65199443d2502da58ecb81a4be28d36d80. With Virtual A/B, we no longer need cache partition for "adb remount" to work with overlayfs. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I979e61c4a64a8d0b1c7345491f4924c1d3fa62e0
2021-01-12db845c: Make it a Virtual A/B deviceAmit Pundir
All dynamic partitions are A/B. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I9650626b5a463ff9f368680ae8c32b8432fee1e8
2020-11-25Remove unnecessary quotes am: e24372e861Sasha Smundak
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1509510 Change-Id: I5d3690c6a09164a351d2c445b7e3851d0f39ad98
2020-11-23Remove unnecessary quotesSasha Smundak
Bug: 173737347 Test: treehugger Change-Id: Id49741240ecfe74aa006e58540c16a4b0d8b8ff4
2020-11-23Mark ab/6881855 as mergedXin Li
Bug: 172690556 Change-Id: I0cf3117a17c0894cd10557555065318a79ec38b8
2020-11-19audio: Kang audio HAL from amlogic yukawa device am: e6732bb951Amit Pundir
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1462048 Change-Id: Ib00135226f5f06317c630c7a7ea585f577b5f41f
2020-11-18audio: Kang audio HAL from amlogic yukawa deviceAmit Pundir
Copied from device/amlogic/generic/hal/audio/ minus the speaker equalizer filter file. It is a generic and more feature rich HAL, plus it fixes the occasional static noise we hear on db845c and PocoF1. Removed the mixer control settings from qcom/init.qcom.rc and added HDMI out mixer control in etc/mixer_paths.xml to start with. ** Analog audio out is not tested yet. ** ToDo: 1. Fallback to Analog audio port if the monitor doesn't support HDMI audio out. 2. Mic AEC support is integrated deep in this HAL, so I didn't remove it. Might as well test and use that feature on Pixel 3 and Poco F1. Same with speaker EQ, though we may end up never using this equalizer feature at all. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I85614abdd684ab67f405f4c0e48380668ade4e06
2020-11-09Remove wifilogd. am: 6e1a73e3aeElliott Hughes
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1490171 Change-Id: I54d97218cf3342209ad7a9b4be3e5b243a78c243
2020-11-06Remove wifilogd.Elliott Hughes
Test: treehugger Change-Id: Ia4840909fc17a4e3e2d510be76cc7c80e302dc63
2020-10-23Merge "Fix an out-of-bounds read in assoc_next." am: 4a86774d36Peter Collingbourne
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1468267 Change-Id: I553c6f86cca9716918303f5765155a188beab359
2020-10-22Merge "Fix an out-of-bounds read in assoc_next."Peter Collingbourne
2020-10-21Merge "enable bootctrol for db845c build" am: bae1b814cdTodd Kjos
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1469002 Change-Id: Ib9fa4bbc5fe6d5ffdc3f25211fb0c77780fd399a
2020-10-21Merge "enable bootctrol for db845c build"Todd Kjos
2020-10-21enable bootctrol for db845c buildYongqin Liu
so that it will be possible to work with GSI image Test: boot to homescreen console:/ # getprop init.svc.vendor.boot-hal-1-1 running console:/ # VtsHalBootV1_0TargetTest and VtsHalBootV1_1TargetTest Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Change-Id: I147f04de1c8bc7fd506d351f514498341ef7388c
2020-10-20Fix an out-of-bounds read in assoc_next.Peter Collingbourne
Found using HWASan. Also sent upstream: https://github.com/andersson/pd-mapper/pull/5 Bug: 171327997 Change-Id: I69d07d0228719abbffb38aa709de39c1d8190158
2020-10-20Merge "Bump target level to 3" am: 53a7a51d35Treehugger Robot
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1468185 Change-Id: Ic6df589dfe888f41e620e051c07e67d5af685914
2020-10-20Merge "Bump target level to 3"Treehugger Robot
2020-10-20Bump target level to 3Yifan Hong
Test: m check-vintf-all Bug: 171317032 Change-Id: I4b1d077c82872e50afbd366fa5e71da930d39afd
2020-10-14db845c: Add tweaks to properly support emulated storage w/o sdcardfs am: ↵John Stultz
80e228b5d8 Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1454457 Change-Id: I86ae760d40ebb7ea0921b7b28770a32c5e334fba
2020-10-14db845c: BoardConfig: Correct the super partition size am: 7d3a1ac4e5Amit Pundir
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1452362 Change-Id: I24d55b8d9721f533c35de6271dc4b33f7a677f7c
2020-10-14db845c: Unify fstab files to fix issues w/ adb remount am: e53665ed85John Stultz
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1449169 Change-Id: I2393e56047105f7742f7c881e843965c4592f1cd
2020-10-14db845c: Add support for cache partition am: 70f37c6519John Stultz
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1449168 Change-Id: I4619786a4a530cbc024e8374e65164d7acc03a13
2020-10-08Skip ab/6749736 in stage.Xin Li
Merged-In: I6f86b9d412627a64624c55159631a46926df69a5 Change-Id: I6b25082ea23d6337c6fd58c278caeb4177d0c760
2020-10-08db845c: Add tweaks to properly support emulated storage w/o sdcardfsJohn Stultz
Now that sdcardfs is deprecated, we need a few tweaks to support emulated storage on the board. Thanks so much to Martijn Coenen and Daniel Rosenberg for their help narrowing down the changes needed here. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I66aa4010df196e9fa7ca6a0be612f706e83a2715
2020-10-07db845c: BoardConfig: Correct the super partition sizeAmit Pundir
Super partition size is not set correctly. I rounded off to 10G during initial porting days. Reset it to the correct size mentioned in the bootloader ptable. It fixes the following warning we see during adb remount: [liblp]Device size does not match (got 12437225472, expected 10737418240) [liblp]Block device super size mismatch (expected10737418240, got 12437225472) Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I89d74070893c14796e24cc8286fd794725b48717
2020-10-06db845c: Unify fstab files to fix issues w/ adb remountJohn Stultz
The overlayfs remount handling of superpartitions expects the fstab to have all the partitions in it. This means we can't use the split between the ramdisk fstab and the vendor fstab that we have been previously. So this patch merges the two fstabs together. With this change "adb root; adb remount" works now. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: Iad408d5d3b1e4c9291a947cd44ee65f4aaef5c45
2020-10-06db845c: Add support for cache partitionJohn Stultz
Add logic to support cache partition, as it seems to be required to properly handle overlayfs remounts on the super paritition. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I5c3c0eebb7e8d34cff85197855f4ea5b989b90b3
2020-10-05db845c: Add missing etc/permissions/android.software.xml am: 365efe26a8John Stultz
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1434892 Change-Id: I572a598f77ecdefc7f6c65dad2fc069622ee651e
2020-10-01Snap for 6877830 from 48ce23715a5f3cf094e014922d9110462791458c to sdk-releaseplatform-tools-30.0.5android-build-prod (mdb)
Change-Id: Idee122377ccbee8e65b2080ef033512d151c0ee4
2020-09-23db845c: Add missing etc/permissions/android.software.xmlJohn Stultz
Since Android11 merged in, I have been seeing some odd crashes occasionally that was pointing to the fact that the AutoFillManager mService value was null. However, this same issue was not seen on HiKey960, with the same application and AOSP source. I dug around and realized we were not adding the android.software.xml file we add on HiKey960, and copying it over resolves the issue. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I1bc88c67030b0ed69511acdf348c27367bf7213a
2020-09-18gbm_gralloc: Sync with upstream project am: 48ce23715a am: e072e96c13 am: ↵John Stultz
0d96cb4f50 am: 1dbed0edae Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1429668 Change-Id: Ib416ee00d4c1b30218d5615c8425865a35814a95
2020-09-18gbm_gralloc: Sync with upstream project am: 48ce23715a am: e072e96c13 am: ↵John Stultz
0d96cb4f50 Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1429668 Change-Id: I21d72c805a53c306fd54830562eb52029acedcaa
2020-09-18gbm_gralloc: Sync with upstream project am: 48ce23715a am: e072e96c13John Stultz
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1429668 Change-Id: I20ed37370002b0a1f56012df305547bf81a17f99
2020-09-18gbm_gralloc: Sync with upstream project am: 48ce23715aJohn Stultz
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1429668 Change-Id: Ib2b5e754a10f8a3967746a5c820d4a9ab962abe8
2020-09-17gbm_gralloc: Sync with upstream projectJohn Stultz
This syncs the gralloc dir with the upstream gbm_gralloc project here: https://github.com/robherring/gbm_gralloc As of commit cecd1a2c8504 ("gralloc_gbm: Quiet logcat verbosity") with the exception of Android.mk to which necessary local AOSP changes have been made. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: If845e8cbe144db6df90a2c5eb3e844f361ece7ec
2020-09-11[automerger skipped] Merge Android R am: dcb54d425a -s ours am: 3563b4b56b ↵Xin Li
-s ours am: 9e8a6e47a7 -s ours am: 1d2afd3298 -s ours am skip reason: Change-Id Ic43dc2b316898ebb8e5505ce0c2d2908abad5fd2 with SHA-1 f609e272ee is in history Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1422329 Change-Id: I0f6811bf701fb82894208dd9df1d7dd02cbde84e
2020-09-11[automerger skipped] Merge Android R am: dcb54d425a -s ours am: 3563b4b56b ↵Xin Li
-s ours am: 9e8a6e47a7 -s ours am skip reason: Change-Id Ic43dc2b316898ebb8e5505ce0c2d2908abad5fd2 with SHA-1 f609e272ee is in history Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1422329 Change-Id: Ic3d96fff699ce30d71c98945f88fa3cc4cfbfbf8
2020-09-11[automerger skipped] Merge Android R am: dcb54d425a -s ours am: 3563b4b56b ↵Xin Li
-s ours am skip reason: Change-Id Ic43dc2b316898ebb8e5505ce0c2d2908abad5fd2 with SHA-1 f609e272ee is in history Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1422329 Change-Id: I0819c853a45e34e1c0fdc61475c551006ee735ea
2020-09-11[automerger skipped] Merge Android R am: dcb54d425a -s oursXin Li
am skip reason: Change-Id Ic43dc2b316898ebb8e5505ce0c2d2908abad5fd2 with SHA-1 f609e272ee is in history Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1422329 Change-Id: I91d5bded87a7674ce5949a226d158d1923d6acfe
2020-09-08Merge Android RXin Li
Bug: 168057903 Merged-In: Ic43dc2b316898ebb8e5505ce0c2d2908abad5fd2 Change-Id: If13e94e93e2beaf8e886b455c752b1e32cd3ceaf
2020-09-01[automerger skipped] Merge "Merge Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709)" into stage-aosp-master am: 781db4fc8f -s ours am: 85892917cb -s ours am: f9ed095d06 -s ours am skip reason: Change-Id Ia85b6f41af2746d4ba682ab08cdc8b614922d3b6 with SHA-1 df1fdccaaa is in history Original change: https://googleplex-android-review.googlesource.com/c/device/linaro/dragonboard/+/12469239 Change-Id: Ic8594fe157b99b1518fa6cc630ee74aba3422378
2020-09-01[automerger skipped] Merge "Merge Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709)" into stage-aosp-master am: 781db4fc8f -s ours am: 85892917cb -s ours am skip reason: Change-Id Ia85b6f41af2746d4ba682ab08cdc8b614922d3b6 with SHA-1 df1fdccaaa is in history Original change: https://googleplex-android-review.googlesource.com/c/device/linaro/dragonboard/+/12469239 Change-Id: Ifd88ac6f0a656e88d7c66ac387fc26299e8bf369
2020-09-01[automerger skipped] Merge "Merge Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709)" into stage-aosp-master am: 781db4fc8f -s ours am skip reason: Change-Id Ia85b6f41af2746d4ba682ab08cdc8b614922d3b6 with SHA-1 df1fdccaaa is in history Original change: https://googleplex-android-review.googlesource.com/c/device/linaro/dragonboard/+/12469239 Change-Id: I760e1aec75943c982e779fcebff4c80ead39b415
2020-09-01Merge "Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)" into ↵Xin Li
stage-aosp-master
2020-09-01Fix sepolicy after libgbm rename am: 06c07a3ffe am: f609e272ee am: ↵Alistair Delva
002a2165e5 am: 1219aab3a1 Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1416650 Change-Id: I30b02d9cfb04fbd886fd9c8236ab855eb4cfc593
2020-09-01Fix sepolicy after libgbm rename am: 06c07a3ffe am: f609e272ee am: 002a2165e5Alistair Delva
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1416650 Change-Id: Iec8a6594e12ebd018448c27de5208b43825e42c2