Commit Graph

56 Commits

Author SHA1 Message Date
Konsta
7d91c1b33c bluetooth: convert to apex
* Use device as an identifier in package names so APEXs on rpi4/rpi5 trees
  can co-exist. Somehow apex definitions escape the soong namespace. It
  doesn't complain about duplicate package names but dependecies later in
  the build after analyzing Android.bp files and generating ninja file.
  FAILED: ninja: ... multiple rules generate com.android.hardware.bluetooth.rpi-deps-info [-w dupbuild=err]
  https://android.googlesource.com/platform/build/soong/+/refs/heads/main/README.md#namespaces
* Not sure if this is an AOSP bug or intended behaviour for apex targets.
  Don't like using the rpi4/rpi5 tags but couldn't come up with better
  solution to limit the visibility that worked.
* General cleanups. As APEX package contains all dependencies that are
  needed for the service, remove unused shared libraries.
  Run 'bpfmt -s -w Android.bp'.
2025-03-19 12:20:30 +02:00
Konsta
6001b95ce2 keymaster: replace with keymint aidl apex
* 2d24638a3d
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/29.
2025-03-11 18:42:38 +02:00
Konsta
2ecea7b694 gatekeeper: switch to aidl apex
* 6ecd625b28
2025-03-11 18:42:25 +02:00
Konsta
8f75b1471c add touchscreen permission 2025-03-06 17:22:13 +02:00
Konsta
4edc28ddf9 libcamera: add configurations for imx519 and ov64a40 camera modules 2025-03-02 13:22:34 +02:00
Konsta
6a128defbc graphics: remove libglapi from mesa packages
* No longer exists on Mesa 25.0.
2025-02-25 17:01:43 +02:00
Konsta
2cc1d0e2ab cec: add rpi hal implementation
* TODO: Convert to AIDL.
2025-02-05 20:23:25 +02:00
Konsta
fe6264c79f cec: remove legacy hal
This reverts commit c0a8378d8b and more.
2025-02-05 20:23:00 +02:00
Konsta
3d223ae030 graphics: switch to aidl allocator and gralloc5 mapper 2024-12-13 18:50:51 +02:00
Konsta
3fba3e61e5 graphics: switch to hwc3
* Support for HWC3 was implemented in upstream drm_hwcomposer.
2024-12-09 14:25:10 +02:00
Konsta
441c2cde9f graphics: add libgbm_mesa to mesa packages
* This gets built as a dependency to minigbm gbm_mesa_driver's
  libgbm_mesa_wrapper but add it here for completeness.
* Move Mesa gbm libraries under separate section.
2024-12-05 19:59:21 +02:00
Konsta
fe5a39b067 bluetooth: switch to aidl hal 2024-11-23 15:53:34 +02:00
Konsta
f9f7db29e1 usb: convert gadget hal to aidl
* Based on hardware/interfaces/usb/gadget/aidl/default.
2024-11-22 15:53:36 +02:00
Konsta
ce6b4687fa graphics: add dri_gbm to mesa packages
* Needed with Mesa 24.3.
  15bea329d7
  514df444eb
2024-11-22 13:03:10 +02:00
Konsta
c94112be0b libcamera: add configuration for ai camera module 2024-10-16 11:46:26 +03:00
Konsta
0113344e01 graphics: bump opengles/vulkan deqp levels 2024-10-16 11:46:18 +03:00
Konsta
7e5f70d8a8 vulkan: bump to 1.3
* Missing patches to expose V3DV Vulkan 1.3 level have been backported
  to Raspberry Vanilla's Mesa 24.2.
2024-08-15 10:37:09 +03:00
Konsta
881295d1f0 thermal: switch to apex
* e1ba194595
2024-05-03 21:50:03 +03:00
Konsta
7276df653b v4l2_codec2: bump hidl hal to 1.2 2024-04-08 11:22:13 +03:00
Konsta
57cdc04899 build EmergencyInfo
* Fixes crash on Settings -> Safety & emergency.
2024-04-08 10:36:41 +03:00
Konsta
b7ac80d55f external camera: switch to aidl 2024-02-07 14:33:29 +02:00
Konsta
eef70eed76 libcamera: add override service for logging 2024-02-07 14:33:29 +02:00
Konsta
49655668d2 libcamera: update ipa config 2024-01-04 17:06:53 +02:00
Konsta
e47485495e graphics: bump opengles/vulkan deqp levels 2024-01-04 17:06:44 +02:00
Konsta
cafac234ff libcamera: update for v0.1.0 2023-11-23 17:25:52 +02:00
Konsta
3f4462dd77 usb: add gadget hal
* Copy from hardware/interfaces/usb/gadget/1.2/default with udc
  path changed and service renamed for Raspberry Pi.
2023-10-12 10:23:56 +03:00
Konsta
1ac293a581 usb: switch to aidl 2023-10-12 10:23:56 +03:00
Konsta
99f26e997f enable updatable apex
* This already gets enabled by inheriting virtualization makefile
  where this was enabled for Android 14 in
  3a747a655c
* Add this also here for clarity and redundancy.
2023-10-12 10:23:56 +03:00
Konsta
eeeab1fb7e bump shipping API level to 34 and FCM level to 8
* Does not pass 'make check-vintf-all'.
* Following HALs are deprecated at FCM level 8:
    android.hardware.camera.provider@2.5::ICameraProvider/external/0
    android.hardware.camera.provider@2.5::ICameraProvider/legacy/0
    android.hardware.gatekeeper@1.0::IGatekeeper/default
    android.hardware.graphics.allocator@4.0::IAllocator/default
    android.hardware.graphics.composer@2.4::IComposer/default
    android.hardware.keymaster@4.1::IKeymasterDevice/default
    android.hardware.tv.cec@1.0::IHdmiCec/default
2023-10-12 10:23:56 +03:00
Konsta
2df5bd40b4 wifi: switch to aidl
* Remove android.system.wifi.keystore from compatibility matrix
  as it's been removed in Android 14.
2023-10-12 10:19:53 +03:00
Konsta
003d08a615 thermal: switch to aidl 2023-10-12 10:19:53 +03:00
Konsta
b194bfeb50 build mock thermal hal 2023-09-27 19:46:07 +03:00
Konsta
b11baea4dd health: convert to aidl hal
* hardware/interfaces/health/aidl/default
2023-07-29 13:41:37 +03:00
Konsta
cc4df73839 light: convert to aidl hal
* hardware/interfaces/light/aidl/default
2023-07-29 13:41:26 +03:00
Konsta
18cc1bd154 bluetooth: switch to btlinux 2023-07-27 17:06:38 +03:00
Konsta
1273c5706f add android tv build target 2023-07-25 15:21:35 +03:00
Konsta
c0a8378d8b add hdmi cec hal
* Based on AOSP yukawa HDMI-CEC HAL
  https://android.googlesource.com/device/amlogic/yukawa/+/refs/heads/main/hal/hdmicec/
2023-07-25 15:20:44 +03:00
Konsta
6dd65fa73f add generic keylayout
* Copy from frameworks/base/data/keyboards/Generic.kl
2023-07-25 15:20:00 +03:00
Konsta
30b46be80b include window extensions
* Separate makefile was introduced in Android 13 QPR2.
2023-04-11 10:52:29 +03:00
Konsta
7e49f1dadb camera: add configs for Pi GS camera module 2023-03-25 19:40:15 +02:00
Konsta
5aefdbab09 hdmi audio: remove local VC4 HDMI configuration
* This was updated in alsa-lib v1.2.7 so use the upstream config.
2023-03-12 17:39:51 +02:00
Konsta
4c17ea10df camera: updates for libcamera v0.0.4
* Add configs for Pi camera module v3
* Add more camera permissions
2023-03-10 14:41:05 +02:00
nename0
c6ecc0a1dd hdmi audio: add new audio HAL module with alsa instead of tinyalsa 2023-03-04 10:40:38 +02:00
Konsta
53a5d230cc ffmpeg: integrate into build and enable h.265 hw decoder by default
* Use codec ranks to switch between decoders.
2023-01-30 14:32:37 +02:00
Konsta
e0a401b461 v4l2: enable h264 hardware encoder 2023-01-09 17:49:14 +02:00
Roman Stratiienko
2207df9355 Switch to mainline mesa3d's libgbm
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2022-09-17 14:00:24 +03:00
Konsta
dc1fc3a6e3 add support for virtualization 2022-09-17 13:58:59 +03:00
Konsta
523369cab2 bump shipping api level to 33 and fcm level to 7 2022-09-17 13:58:59 +03:00
Konsta
9b826f72b8 bump vulkan to 1.2
* Add local config as framework doesn't have one for Vulkan 1.2.
2022-09-17 13:58:59 +03:00
Konsta
8150438454 bump opengles deqp level 2022-09-17 13:58:59 +03:00