Commit Graph

69 Commits

Author SHA1 Message Date
Konsta
e1d92d2183 suspend_blocker: convert to apex
* Start the service later at 'class hal' to avoid making this into bootstrap
  APEX. 'class early_hal' is started on trigger 'on late-fs' which is too
  early for vendor APEX.
2025-03-20 13:37:44 +02:00
Konsta
c7eeef4b58 wifi: package hostapd and wpa_supplicant into apex
* This is now possible on Android 15 QPR2. Use cuttlefish as reference.
  https://android.googlesource.com/device/google/cuttlefish/+/refs/tags/android-15.0.0_r20/apex/com.google.cf.wpa_supplicant/
* Create local copies of the service entries. Generally creating the
  directories for wireless subsystem happens on trigger 'on post-fs-data'.
  Since apexd for non-bootstrap APEXs starts 'on post-fs-data', this
  trigger is not available for vendor APEX packages. Use trigger
  'apex.all.ready=true' instead which is later still within post-fs-data.
  https://source.android.com/docs/core/ota/vendor-apex#init-scripts
* Create a local copy of wpa_supplicant_overlay.conf. It hasn't been updated
  in ten years in hardware/broadcom/wlan. TODO: Check relevance.
2025-03-19 12:17:03 +02:00
Konsta
0a67b3fd59 wifi: switch to apex 2025-03-19 12:16:48 +02:00
Konsta
2e3182f4cc usb: convert gadget to apex 2025-03-19 12:16:16 +02:00
Konsta
14b1e06e9d usb: switch to apex 2025-03-19 12:15:59 +02:00
Konsta
aeca9d70ff power: switch to apex
* In addtion to android.hardware.power-service.example,
  com.android.hardware.power APEX also contains
  android.hardware.power.stats-service.example.
2025-03-19 12:15:45 +02:00
Konsta
0106e97a16 light: convert to apex 2025-03-19 12:15:21 +02:00
Konsta
909a21f5d1 health: convert to apex 2025-03-19 12:14:26 +02:00
Konsta
2a653366d0 graphics: switch hwcomposer to apex 2025-03-19 12:14:10 +02:00
Konsta
67ea1fb3ae drm: switch clearkey to apex 2025-03-19 12:13:43 +02:00
Konsta
16d401ff12 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:09:58 +02:00
Konsta
484c9906ae keymaster: replace with keymint aidl apex
* 2d24638a3d
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/29.
2025-03-11 18:38:48 +02:00
Konsta
dc248dcb02 gatekeeper: switch to aidl apex
* 6ecd625b28
2025-03-11 18:38:32 +02:00
Konsta
cbcaf931e3 add touchscreen permission 2025-03-06 17:19:22 +02:00
Konsta
91a626c855 libcamera: add configurations for imx519 and ov64a40 camera modules 2025-03-02 13:25:13 +02:00
Konsta
2ff057cea4 graphics: remove libglapi from mesa packages
* No longer exists on Mesa 25.0.
2025-02-25 17:02:19 +02:00
Konsta
07e066812c cec: add rpi hal implementation
* TODO: Convert to AIDL.
2025-02-05 20:20:07 +02:00
Konsta
f999796b13 cec: remove legacy hal
This reverts commit c0a8378d8b and more.
2025-02-05 20:18:33 +02:00
Konsta
1899d4a4e4 graphics: switch to aidl allocator and gralloc5 mapper 2024-12-13 18:50:20 +02:00
Konsta
a47cb47fba graphics: switch to hwc3
* Support for HWC3 was implemented in upstream drm_hwcomposer.
2024-12-09 14:23:11 +02:00
Konsta
53f9d2ecfe 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:50:16 +02:00
Konsta
1ae3ede91b bluetooth: switch to aidl hal 2024-11-23 15:52:20 +02:00
Konsta
380ec34eed usb: convert gadget hal to aidl
* Based on hardware/interfaces/usb/gadget/aidl/default.
2024-11-22 15:55:35 +02:00
Konsta
6cffe9e82a graphics: add dri_gbm to mesa packages
* Needed with Mesa 24.3.
  15bea329d7
  514df444eb
2024-11-22 12:58:17 +02:00
Konsta
74c07a5877 libcamera: add configuration for ai camera module 2024-10-16 11:47:05 +03:00
Konsta
eb8f018a5f graphics: bump opengles/vulkan deqp levels 2024-10-16 11:46:53 +03:00
Konsta
8538ab1639 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:39:07 +03:00
Konsta
bfc013f2f5 thermal: switch to apex
* e1ba194595
2024-05-03 21:51:13 +03:00
Konsta
af69bfa76c seccomp_policy: remove v4l2_codec2
* Fixes 32979cf0ba.
2024-04-08 11:08:27 +03:00
Konsta
fb37a682dc build EmergencyInfo
* Fixes crash on Settings -> Safety & emergency.
2024-04-08 10:35:59 +03:00
Konsta
7c8cc92d1b external camera: switch to aidl 2024-02-07 14:34:36 +02:00
Konsta
7bb00c6cb1 libcamera: add override service for logging 2024-02-07 14:34:36 +02:00
Konsta
af9637e976 libcamera: update ipa config 2024-01-04 17:08:23 +02:00
Konsta
f8ffa2e7b4 graphics: bump opengles/vulkan deqp levels 2024-01-04 17:08:14 +02:00
Konsta
d1f26a1142 libcamera: update to use pisp 2023-11-24 13:25:25 +02:00
Konsta
32979cf0ba remove v4l2_codec2
* Raspberry Pi 5 doesn't have H.264 hardware video decoder/encoder.
2023-11-24 13:25:25 +02:00
Konsta
1c9bf21bfe rename rpi4 -> rpi5 2023-11-24 13:15:33 +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