summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-01rb5: Add support for Qcom Robotics RB5 development kitandroid-s-beta-5android-s-beta-5Amit Pundir
* Add new lunch target "rb5-userdebug" * Boots android-mainline (3aa53d85a061) to UI * ADB works * If you are having display issues on your brand new RB5 kit then run the following set of adb commands to update the lt9611uxc firmware version: adb wait-for-device; adb root; adb shell "echo 1 > /sys/bus/i2c/devices/5-002b/lt9611uxc_firmware" Check installer/rb5/README for more details. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I2917de0375e95e17a88446474fdb256af769f73d
2021-08-27rb5: Add bootloader and firmware binariesAmit Pundir
Bootloader / Rescue files are downloaded from http://snapshots.linaro.org/96boards/qrb5165-rb5/linaro/rescue/14/rb5-bootloader-ufs-aosp-14.zip Adreno a650 firmware files and board.bin (38-bdwlan_split/bdwlan.e04) are copied from http://releases.linaro.org/96boards/rb5/qualcomm/firmware/RB5_firmware_20210331-v4.zip ath11k, qca, adsp/cdsp mbn, lt9611uxc_fw.bin and json files are copied from linux-firmware project https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git (168452ee695b) QDL source code is hosted at https://git.linaro.org/landing-teams/working/qualcomm/qdl.git (13681fcb359c) Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I0dc91d910de5d6aa8954062be09b1b0ceb88404e
2021-08-13Add the 'bdev_type' attribute to all block devicesBart Van Assche
The following patch iterates over all block devices: https://android-review.googlesource.com/c/platform/system/core/+/1783847/9 The following patch grants 'init' and 'apexd' permission to iterate over all block devices: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1783947 The above SELinux policy change requires to add the 'bdev_type' attribute to all block devices. Hence this patch. Bug: 194450129 Test: Untested. Change-Id: I0246d5fd0b5a47776dbe2d8ce43ac45421b952af Signed-off-by: Bart Van Assche <bvanassche@google.com>
2021-07-30db845c.mk: Do not copy kernel modules to vendor imageAmit Pundir
Copy the kernel modules the ramdisk/vendor_ramdisk only. Right now we keep a copy of all the kernel modules in /vendor/lib/modules, which results in modprobing of the modules from /vendor/lib/modules as well and though they fail safely (well most of the time and they should) but we have run into a regression where dual loading of Qcom UFS module resulted in probing failures. Ideally dual loading should not reach up to probing stage and there might be something more to that crash, but since this issue is difficult to reproduce and debug, the easiest way out is to make sure we do not try to load a kernel module twice. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I1be3bccd1ababaf258f1f87c75636919b962ad8d
2021-07-30init.common.usb.rc: Do not hardcode sys.usb.controller propertyAmit Pundir
Upstream commit eb9b7bfd5954 ("arm64: dts: qcom: Harmonize DWC USB3 DT nodes name") (v5.14-rc1) changed the DTS USB node names, breaking the sys.usb.controller property hardcoded in the platfrom specific init.usb.common.rc This script will get rid of the static/hardcoded proprty name and set the property to the available on-board USB controller from /sys/class/udc instead. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I1255cd9a3456510d93437989e7e378d9e6bc0c8b
2021-07-26db845c: Enable metadata encryptionJohn Stultz
This fully enables metadata encryption on db845c by following the instructions here: https://source.android.com/security/encryption/metadata?hl=en Mostly just adding --early/--late mountall arguments in the init.rc and the "latemount" and "keydirectory=/metadata/vold/metadata_encryption" options to the userdata fstab line. Note: You will likely need to flash new userdata (and possibly reflash metadata as well) after applying this. Use the flashall script if you are having any trouble. Reported-by: Lucas Henneman <henneman@google.com> Test: atest vts_kernel_encryption_test Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I3f4237267238dbf43a9c540f815ce2f00f8ae793
2021-07-13db845c: Switch gralloc to use gralloc.minigbm_msm instead of gralloc_gbmJohn Stultz
Instead of carying our own copy of gralloc_gbm, try to utilize the minigbm gralloc as it implements gralloc4 Change-Id: I628ff76d3ef7cf441b122bc6f2e49f662b0c7ed5 Signed-off-by: John Stultz <john.stultz@linaro.org>
2021-07-07db845c: Update PRODUCT_SHIPPING_API_LEVEL to 31 and FCM to 6android-s-beta-4android-s-beta-3android-s-beta-4John Stultz
Update PRODUCT_SHIPPING_API_LEVEL and FCM for db845c so they are at 31 and 6 respectively. This also dropps the dummy memtrack HAL, as its no longer required. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I96fb44dbb54d8f51dee917175342ee734c074512
2021-07-02db845c: Update PRODUCT_SHIPPING_API_LEVEL to 30 and FCM to 5John Stultz
Update PRODUCT_SHIPPING_API_LEVEL and FCM for db845c so they are at 30 and 5 respectively. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I33209f13e465f59730b2a6384d55cca73304c159
2021-07-02db845c: Bump FCM level to 4John Stultz
Sort of a baby step in bringing db845c up to current PRODUCT_SHIPPING_LEVEL and FCM levels. This simply bumps the FCM to 4 which is what it should be for PRODUCT_SHIPPING_LEVEL = 29 Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I78e6679fd15a892895420d3aabe1409f97d94468
2021-07-02db845c: Switch to using android13-5.10 kernel by defaultJohn Stultz
Switches to using a more recent 5.10 based kernel by default this enables extra features like audio for out of the box builds. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I77c4bf28c500f5f8d409310d8226eeb29d9fdf3e
2021-06-23db845c: Set ro.sf.lcd_density=160Amit Pundir
Set ro.sf.lcd_density to 160 at build time because the default density (FALLBACK_DENSITY=213) is a bit too high for the device. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I33fb0f028199aa236a775347ab442ba1d384da18
2021-06-21Merge "dragonboard: fstab.common: Set metadata as first_stage_mount to ↵Treehugger Robot
resolve adb remount overlay persistence issues"
2021-06-16dragonboard: fstab.common: Set metadata as first_stage_mount to resolve adb ↵John Stultz
remount overlay persistence issues PeterC reported adb remount was not working properly, and I noticed we had the same issue on HiKey960 recently due to metadata not being set as first_stage_mount in fstab. So this patch makes a similar change to fix the issue here. Test: Passes system/core/fs_mgr/tests/adb-remount-test.sh Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: If92f7810ff045ff58505a1af6829ec529a289cc2
2021-06-04Merge changes Ia3402742,I547f1f63 am: 030d036517Todd Kjos
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1727625 Change-Id: I2ef0ac5cd4f012797c52ff6d004e13030aa21c4e
2021-06-04Merge changes Ia3402742,I547f1f63Todd Kjos
* changes: sepolicy: Rename rtc to wakeup label and add other missing sysfs_wakeup labels suspend_blocker: Use Cuttlefish's workaround to avoid suspending the device
2021-06-04sepolicy: Rename rtc to wakeup label and add other missing sysfs_wakeup labelsAmit Pundir
This will fix system_suspend wakeup{1-7} denials. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: Ia340274277f7e5f4a5f5fa84cbddeb78b91693be
2021-06-01pixel3_mainline: device.mk: add lcd_density for Pixel3 am: 67798b10afSumit Semwal
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1723136 Change-Id: Ibd8b41ea0d35083ea1f44af3ea5e92a75c8e4dc8
2021-06-01device-common: make lcd_density device-specific am: e7e6207810Sumit Semwal
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1723135 Change-Id: I076a26842170d616407c2d527ae16857405fe19e
2021-06-01pixel3_mainline: device.mk: make fstab device-specific am: 37a07c0917Sumit Semwal
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1723134 Change-Id: I3610cc9e79894897b44fca1b8dc3a1417e4f5599
2021-06-01pixel3_mainline.mk: Update vendor-only modules am: 9571f46dffSumit Semwal
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1723133 Change-Id: Id118ecfbf763b7283ec8a991bf327eaa87e97f03
2021-06-01pixel3_mainline: device.mk: add lcd_density for Pixel3Sumit Semwal
Now that lcd_density is made device-specific, add it for Pixel3. Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Change-Id: Iab08a8b9ea6f8fbc1cdb8d04bc957ef9404e2292
2021-06-01device-common: make lcd_density device-specificSumit Semwal
lcd_density for dev boards is different from form-factor devices like Pixel3. Remove it from common and move to device-specific ones. Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Change-Id: I3f1ff4b03f229f05a40325a3914a6c655fbfc9fc
2021-06-01pixel3_mainline: device.mk: make fstab device-specificSumit Semwal
fstab.common was updated to add virt a/b and slotselect; pixel3 is not quite ready for it, so temporarily make it device specific and remove slotselect for now. TODO: revert this while adding virt a/b support. Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Change-Id: Iaaada81e2d2fbdaca2ee630eb61422adaedbbb1d
2021-06-01pixel3_mainline.mk: Update vendor-only modulesSumit Semwal
Remove most unused vendor module .kos to reduce the size of vendor.img Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Change-Id: Idee94216690baa679952da403eb5a14e39ce5764
2021-06-01suspend_blocker: Use Cuttlefish's workaround to avoid suspending the deviceAmit Pundir
Reuse Cuttlefish's suspend blocker service to avoid suspending the device while running CTS tests. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I547f1f635fc0779a58906a147b6cd821c531f4bb
2021-05-13Merge "dragonboard: Drop unsupported hwc.drm properties" am: 513c598041Treehugger Robot
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1688840 Change-Id: I21c649e2c6a9651800ee3e3f7c391ff1a7b5e12d
2021-05-13Merge "dragonboard: Drop unsupported hwc.drm properties"android-s-beta-2android-s-beta-1Treehugger Robot
2021-05-11db845c: firmware: Update numerous firmware files from linux-firmware am: ↵John Stultz
54dcccf381 Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1696391 Change-Id: I8ce432a2e0ae6bbb7b92ed1a3bc612c4072729ff
2021-05-05db845c: firmware: Update numerous firmware files from linux-firmwareJohn Stultz
Copy in the latest firmware files from linux-firmware as of commit ecdfcf8e2ca1 ("Merge branch 'adlp_dmc_firmware' of git://anongit.freedesktop.org/drm/drm-firmware into main") from: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ This fixes the use of new firmware names which was causing regressions with upstream kernels. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I419a15c6f2ce64fa68560000eb273a861e238e17
2021-04-28dragonboard: Drop unsupported hwc.drm propertiesJohn Stultz
The drm_hwcomposer code has changed to use vendor.hwc.drm.* for the properties values, and thus the values here have gone unused for awhile. They seem to be old hold-overs from early db410c development, so lets just get rid of them. Reported-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Reported-by: Benjamin Li <benl@squareup.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I942c225d0a3f0da2ec8c805996c706af19ebfa37
2021-04-06db845c: Add SOC information for CTS BuildTest am: faa63a37c0Will McVicker
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1664772 Change-Id: I0e516b83c1d1685755aab6f3cc4dffd2e80de85a
2021-04-06db845c: Add SOC information for CTS BuildTestWill McVicker
This adds the properties: * ro.soc.model * ro.soc.manufacturer Bug: 181845848 Signed-off-by: Will McVicker <willmcvicker@google.com> Change-Id: Ia8f75103d32a2679931f792be2ccb08a918663be
2021-03-30db845c: firmware: Update a630_sqe.fw from linux-firmware am: c34f56ce4fJohn Stultz
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1656183 Change-Id: I331d9abaf9333b3ad5362a3ac9ec43780ce5bad9
2021-03-30db845c: firmware: Update a630_sqe.fw from linux-firmwareJohn Stultz
Copy in the latest a630_sqe.fw from linux-firmware as of commit 3f026a2f13a8 ("rtl_bt: Update RTL8822C BT(UART I/F) FW to 0x59A_76A3") from: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ This resolves boot issues caused by kernels 5.12+ requiring newer seq ucode. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I45ff1d87a1686fe1afa7ed8df275abb2837ef40e
2021-03-29Revert "db845c/BoardConfig.mk: set bootv3 as the default" am: e85af9cf46Todd Kjos
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1656128 Change-Id: I4bdadf1a277064c9bbfc7b43516d66a4d3b8fdec
2021-03-29Revert "db845c/BoardConfig.mk: set bootv3 as the default"Todd Kjos
This reverts commit 63f8e16a54cbeffac39255f6b60b5bfbfcb070fa. Reason for revert: Appears to break boot in lab (odd since firmware was updated) Bug: 183952621 Change-Id: I98d5a6e651c421ab7dd41c1b4b5b0d8d79d76033 Signed-off-by: Todd Kjos <tkjos@google.com>
2021-03-29db845c/BoardConfig.mk: set bootv3 as the default am: 63f8e16a54Yongqin Liu
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1652236 Change-Id: I41e16b3a61d9d6ea42ce87788abb88d23bdc1cb1
2021-03-25db845c/BoardConfig.mk: set bootv3 as the defaultYongqin Liu
enable vendor_boot by default for the db845c build Test: boot tested with the bootv3 images Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Change-Id: I792eefc4b825cb936ccd0d942fe2b94457d1e06c
2021-03-22Reserve space in super for dynamic partition metadata am: f09d390e94Tianjie Xu
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1646517 Change-Id: Idc26b805b26fca55179f3125c3de15917ec37433
2021-03-22Reserve space in super for dynamic partition metadataTianjie Xu
The maximum size of all dynamic partition groups should not exceed the super size - DAP metadata size. Today the configuration of the device doesn't take the metadata into acount. Since we recommend 4M to partners, reserve 4M here. Bug: 183360400 Bug: 182431975 Change-Id: Idd6d01db2594b4598c03aecbf931009fcf92a36c Test: TH
2021-03-18Merge "Reserve space in super for dynamic partition metadata" am: 115a70409fTianjie Xu
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1645947 Change-Id: I05c24a0a7c6e2ae7edea2a0564f816bbcad10a2c
2021-03-18Merge "Reserve space in super for dynamic partition metadata"Tianjie Xu
2021-03-18Reserve space in super for dynamic partition metadataTianjie
The maximum size of all dynamic partition groups should not exceed the super size - DAP metadata size. Today the configuration of the device doesn't take the metadata into acount. Since we recommend 4M to partners, reserve 4M here. Bug: 182431975 Test: build Change-Id: I648017e4737a96d663449b8b27f1c6c19730e6cd
2021-03-17health: Switch to Cuttlefish' healthd HAL impl am: 4bcec51c1bAmit Pundir
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1628161 Change-Id: Ib22a3bfef60f1a812f629e9ebddf7ee4b2182aa4
2021-03-17health: Switch to Cuttlefish' healthd HAL implAmit Pundir
Mostly for the fake battery stats to keep the Android Runtime happy. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: Ie08ffb2f22413532f6cc2eec71e02141aed17212
2021-03-01db845c: Add usbmisc support am: e308698c20Daniele Palmas
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1610852 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia49a918ae83f2aaf90b49c5882988c120dddad9d
2021-03-01db845c: Add usbmisc supportDaniele Palmas
Add usbmisc support to db845c. This is needed for creating proper cdc-wdm files in /dev for hardware like USB QMI discrete modems which use the standard kernel driver (qmi_wwan). A similar change is already available for the Hikey. Test: tested with a qmi based modem (Telit FN980) Change-Id: Ifcf88e101e5d115c7e810d2467471212a58f6cf3
2021-02-20Mark ab/7061308 as merged in stage.Xin Li
Bug: 180401296 Merged-In: Id03a1d375d21df5b24ffbe827cc08c2641f8bf6a Change-Id: I0ed149be91a7cf82d60e1015e5e3c55593384e60
2021-02-19Merge "db845c: flash-all-aosp.sh: Format metadata when flashing" am: 11fac24bd9Treehugger Robot
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1595407 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I0f263fff84b0db36b1f69c2047a94cf6bd658b9e