Age | Commit message (Collapse) | Author |
|
* 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
|
|
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
|
|
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>
|
|
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
|
|
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
|
|
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
|
|
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>
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
resolve adb remount overlay persistence issues"
|
|
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
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1727625
Change-Id: I2ef0ac5cd4f012797c52ff6d004e13030aa21c4e
|
|
* 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
|
|
This will fix system_suspend wakeup{1-7} denials.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: Ia340274277f7e5f4a5f5fa84cbddeb78b91693be
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1723136
Change-Id: Ibd8b41ea0d35083ea1f44af3ea5e92a75c8e4dc8
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1723135
Change-Id: I076a26842170d616407c2d527ae16857405fe19e
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1723134
Change-Id: I3610cc9e79894897b44fca1b8dc3a1417e4f5599
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1723133
Change-Id: Id118ecfbf763b7283ec8a991bf327eaa87e97f03
|
|
Now that lcd_density is made device-specific, add it for Pixel3.
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Change-Id: Iab08a8b9ea6f8fbc1cdb8d04bc957ef9404e2292
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1688840
Change-Id: I21c649e2c6a9651800ee3e3f7c391ff1a7b5e12d
|
|
|
|
54dcccf381
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1696391
Change-Id: I8ce432a2e0ae6bbb7b92ed1a3bc612c4072729ff
|
|
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
|
|
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
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1664772
Change-Id: I0e516b83c1d1685755aab6f3cc4dffd2e80de85a
|
|
This adds the properties:
* ro.soc.model
* ro.soc.manufacturer
Bug: 181845848
Signed-off-by: Will McVicker <willmcvicker@google.com>
Change-Id: Ia8f75103d32a2679931f792be2ccb08a918663be
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1656183
Change-Id: I331d9abaf9333b3ad5362a3ac9ec43780ce5bad9
|
|
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
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1656128
Change-Id: I4bdadf1a277064c9bbfc7b43516d66a4d3b8fdec
|
|
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>
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1652236
Change-Id: I41e16b3a61d9d6ea42ce87788abb88d23bdc1cb1
|
|
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
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1646517
Change-Id: Idc26b805b26fca55179f3125c3de15917ec37433
|
|
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
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1645947
Change-Id: I05c24a0a7c6e2ae7edea2a0564f816bbcad10a2c
|
|
|
|
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
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1628161
Change-Id: Ib22a3bfef60f1a812f629e9ebddf7ee4b2182aa4
|
|
Mostly for the fake battery stats to keep the Android
Runtime happy.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: Ie08ffb2f22413532f6cc2eec71e02141aed17212
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1610852
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia49a918ae83f2aaf90b49c5882988c120dddad9d
|
|
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
|
|
Bug: 180401296
Merged-In: Id03a1d375d21df5b24ffbe827cc08c2641f8bf6a
Change-Id: I0ed149be91a7cf82d60e1015e5e3c55593384e60
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1595407
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0f263fff84b0db36b1f69c2047a94cf6bd658b9e
|