Age | Commit message (Collapse) | Author |
|
Enables the build to utilize prebuilt mesa binaries found in the
20220303 linaro-vendor-package.
Also provides a TARGET_BUILD_MESA build option such that
building with the aosp/master or aosp/upstream-main branches of
external/mesa3d are still possible by setting:
TARGET_BUILD_MESA=true
Change-Id: Ibeee5cd578df6e8462427d0f3757007ed30c6148
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
In an upcoming patch we are going to add "mini" device configurations
that avoid most of the usual driver dependencies. This requires
splitting out the device-specific configuration from the configuration
required for a full device image.
Bug: 217455793
Change-Id: Id17d162d142a2595e54e163f5faaf7dcf9b68e35
|
|
Patch completely suggested by Roman Stratiienko (many thanks!)
This patch enables config options needed to get vulkan
working using the upstream mesa/main branch.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I762436a5dc7403674eae5b20b6da1548805a7271
|
|
Update the db845c/rb5 build to use the mesa/main build targets
if they are available.
We still keep the libGLES_mesa target, so we can still properly
build with AOSP's mesa branch.
This just allows us to easily test upstream mesa.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Icc8e3fedecb72a458a8419a1fe8bbb326fbe4b87
|
|
Moving all the vendor binaries (including bootloader, qdl
and firmware binaries) to an external vendor.tgz package
to be downloaded from:
https://releases.linaro.org/android/aosp-linaro-vendor-package/extract-linaro_devices-20220106.tgz
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES build flag is
used to copy a few vendor firmware files to ramdisk or
vendor_ramdisk to work-around the dependency of their
drivers on FW_LOADER_USER_HELPER_FALLBACK kernel config.
And for that we needed to bump up the boot and vendor_boot
partition sizes as well.
Also folded John's installer script changes into this patch.
Change-Id: I1b46ee17f4a218c735e2ac8d81759364b3bf7332
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
[Reworked to handle versioned vendor/linaro/<dev> paths]
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I8ec9dbd971d7d7590d0342ca3e8bc3ddaa116c9c
|
|
When running CtsGraphicsTestCases, I was seeing failures from
android.graphics.cts.OpenGlEsDeqpLevelTest#testOpenGlEsDeqpLevel:
[1/1] android.graphics.cts.OpenGlEsDeqpLevelTest#testOpenGlEsDeqpLevel: FAILED (138ms)
STACKTRACE:
java.lang.AssertionError: Feature android.software.opengles.deqp.level must be present and have at least version 132383489
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.assertTrue(Assert.java:42)
at android.graphics.cts.OpenGlEsDeqpLevelTest.testOpenGlEsDeqpLevel(OpenGlEsDeqpLevelTest.java:64)
So this patch adds the file to set android.software.opengles.deqp.level.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I1cf4592e14eae9c73b2c81b36e28213c3fb1cd60
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1843074
Change-Id: I793b678232ad2a620eb137cb1640b89ff351f455
|
|
Working with Caleb, I noticed we have had this property
set the entire time. It doesn't do anything these days
so its safe to remove.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Ie7e37630265297337ec376a45d28b8460ddf665c
|
|
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1778610
Change-Id: Icf1d0dbec2e75bb7abb77aa459f27427d2e20eee
|
|
Following:
https://source.android.com/devices/camera/external-usb-cameras
With a number of additions (like sepolicy, and permissions), in order
to get it going.
This patch also adds a very simple media_profiles.xml implementation
which works for video recording, but adds an iffy vga (640x480) entry
calling it 480p. We will likely need to tweak all this quite a bit
when we add real hwcodec support or onboard camera support.
Change-Id: I9db300d9eadd9246d5f1fbab40d1fcbe33336961
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Bug: 197001420
Test: build
Change-Id: I7458e90a05cd532eca18618a4e0f7993f8ce3269
|
|
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
|
|
* 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
|
|
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
|
|
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
|
|
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
|
|
Mostly for the fake battery stats to keep the Android
Runtime happy.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: Ie08ffb2f22413532f6cc2eec71e02141aed17212
|
|
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
|
|
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
|
|
Test: treehugger
Change-Id: Ia4840909fc17a4e3e2d510be76cc7c80e302dc63
|
|
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
|
|
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
|
|
Fix mediaswcodec selinux and seccomp denials for video
playback to work with software codecs.
mediaswcodec need gpu access, plus it also crashes with
following seccomp error during video playback:
E media.swcodec: libminijail[2139]: blocked syscall: sysinfo
So whitelist sysinfo syscall for mediaswcodec.
Change-Id: I11db36aeda475c4ca73121efb8b2bfd3d7590be0
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Right now "Connection preferences" tab buried in
"Settings" application crashes on user because
Printing feature is not enabled for dragonboards.
Copy Print feature (android.software.print)
manifest to fix that.
Test: From UI navigate to
"Settings" ->
"Connected devices" ->
"Connection preferences"
and interact with BT, Cast and Printing services.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: If2741ef00ff3d117c6d2a98c0d2578acc8d3acfc
|
|
Existing HAL copied from goldfish days seem to be obsolete
and didn't work as expected with both analog speakers (WIP)
and BT audio profiles. So copied generic audio HAL from
Cuttlefish and verified BT and analog audio playback.
Change-Id: Ib7fbea1c02240663e3406865f3a21544b1aec793
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Recent changes caused the db845c to stop booting successfully,
and it was narrowed down to boringssl failures caused by us
missing the line to inherit updatable_apex.
This patch adds the line, and gets the board to boot again.
Change-Id: Ia56a4dc5eba92b6b044880782624b967b1baeb69
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
|
|
The qca bluetooth module has some yet to be determined issue
which causes deferred firmware loading to stop it from working.
But as long as the bluetooth module is loaded from the vendor
partition where the bluetooth firmware is present, it can be
made to load and function.
This patch updates the bluetooth hal version and adds a trick
to exclude the qca and hci_uart modules from being on the
ramdisk.
Note: Bluetooth audio isn't working yet. Devices pair but I
don't hear audio yet.
Change-Id: I37e927485414368b817958dfef2137fc263003a0
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
mesa3d is starting to migrate to Soong.
Bug: 122332854
Test: treehugger
Change-Id: I25c23e7cfca8e2662524d9e2e958cd6873669101
|
|
With new kill logic implemented in lmkd, devices should work
with default values. Remove ro.lmk.* property overrides.
Based on similar changes submitted for cuttlefish and crosshatch.
Change-Id: Ifb8cf342795395fbc385353d3a896b86f0cb1449
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Start default Health service to keep BatteryService happy,
otherwise AOSP runs into bootloop with following exceptions:
---------------------------------------------------
E BatteryService: health: cannot register callback. (no supported health HAL service)
--<snip>--
E System : ************ Failure starting system services
E System : java.lang.RuntimeException: Failed to start service com.android.server.BatteryService: onStart threw an exception
--<snip>--
E Zygote : System zygote died with exception
E Zygote : java.lang.RuntimeException: Failed to start service com.android.server.BatteryService: onStart threw an exception
--<snip>--
E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E AndroidRuntime: java.lang.RuntimeException: Failed to start service com.android.server.BatteryService: onStart threw an exception
--<snip>--
I Zygote : Process 1660 exited due to signal 9 (Killed)
E Zygote : Exit zygote because system server (pid 1660) has terminated
---------------------------------------------------
Change-Id: I653dd3c177e6f9cc57fe6d69faae776680fd3423
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
* Add AOSP flashing and board recovery scripts, a README for
instructions and prebuilt flashing tool (qdl) for board recovery.
QDL source is hosted at
https://github.com/andersson/qdl/commits/master (760b3dffb03d)
* Also added the db845c aosp bootloader binaries from here:
https://snapshots.linaro.org/96boards/dragonboard845c/linaro/rescue/26/
Build description:
Build URL: https://ci.linaro.org/job/lt-qcom-bootloader-dragonboard845c/26/
Linux proprietary bootloaders package: RB3_firmware_20190529180356-v3.zip
ABL source code: https://git.linaro.org/landing-teams/working/qualcomm/abl.git/commit/?id=5086ee1aa38de6d69efea1d4a5ee535203014097
Partition table:
AOSP: https://git.linaro.org/landing-teams/working/qualcomm/db-boot-tools.git/tree/dragonboard845c/aosp/partition.xml?id=0e8dde66a17cad7040b7f21f9e752fc1ee13006d
Change-Id: I563b09779ef506b529774bd0b32147d8d516f096
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Boots dragonboard db845c to console.
HDMI display broken due to missing firmware files.
Change-Id: I820aeb7b7ab2536a362f9ae37cc44906be0a6190
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|