Commit Graph

83 Commits

Author SHA1 Message Date
Konsta
eefaf52ed2 keylayout: add tv specific layout
* Copy from device/google/atv/Generic.kl at 8e49e4448fdced4816fc40d4e01f3f6e66e3c3db.

Change-Id: I2aeb85d5bab319c7efda7d324042e319a447bb83
2025-08-22 20:09:07 +03:00
Konsta
73dc302e7c graphics: build mesa using soong
* libgbm_mesa_wrapper is built as a requirement.
2025-06-27 11:09:39 +03:00
Konsta
79499edb0a libcamera: build using soong
* IPA data is now copied as a requirement to ipa_rpi_vc4.
2025-06-27 11:09:31 +03:00
Konsta
9f56322d0d libcamera: switch to aidl hal
* 20c227e0c3
2025-06-27 11:07:55 +03:00
Konsta
a27160eac6 audio: don't copy alsa configs
* ALSA configs are now copied as a requirement to libasound.
2025-06-24 16:04:40 +03:00
Konsta
dbb03fcd99 bump shipping api level 2025-06-16 13:35:41 +03:00
Konsta
b859ded61e wifi: remove hostapd_cli and wpa_cli
* These are mostly useful for debugging purposes so I've added them
  in the project's utilities wiki page.
2025-04-12 18:19:07 +03:00
Konsta
6805e02d6a audio: remove tinyalsa utils
* These are mostly useful for debugging purposes so I've added them
  in the project's utilities wiki page.
2025-04-12 18:19:07 +03:00
Konsta
f3265ec330 audio: remove alsa-utils
* These are mostly useful for debugging purposes so I've added them
  in the project's utilities wiki page.
* alsa-utils have been renamed to use their original names if there's no
  conflict with other packages in AOSP.
2025-04-12 18:18:44 +03:00
Konsta
2103ad1dea ffmpeg: move media codecs config & seccomp policy to device
* 71ac744017
2025-04-09 12:53:04 +03:00
Konsta
1b4858762d v4l2: move seccomp policy under same section 2025-04-09 12:30:29 +03:00
Konsta
5420780e92 bump shipping api level
* HIDL services are not included on API level 35. Add the services since
  we're still using few HIDL HALs.
  4ce8327a8f
* FCM level can't be bumped to 202404 until all HALs have been updated to
  AIDL i.e. at least following HALs reported by 'make check-vintf-all'.

All HALs in device manifest are declared in FCM <= level 202404
ERROR: files are incompatible:
...
android.hardware.camera.provider@2.5::ICameraProvider/legacy/0 is deprecated in compatibility matrix at FCM Version 202404; it should not be served.
    because it matches android.hardware.camera.provider@2.4::ICameraProvider/[^/]+/[0-9]+ from /system/etc/vintf/compatibility_matrix.7.xml
android.hardware.audio@7.1::IDevicesFactory/default is deprecated in compatibility matrix at FCM Version 202404; it should not be served.
    because it matches android.hardware.audio@7.0::IDevicesFactory/default from /system/etc/vintf/compatibility_matrix.8.xml
android.hardware.audio.effect@7.0::IEffectsFactory/default is deprecated in compatibility matrix at FCM Version 202404; it should not be served.
    because it matches android.hardware.audio.effect@7.0::IEffectsFactory/default from /system/etc/vintf/compatibility_matrix.8.xml: Success
INCOMPATIBLE
2025-03-31 19:34:18 +03:00
Konsta
be863bb0bf switch to 64-bit only target 2025-03-31 19:33:37 +03:00
Konsta
08303135d2 hdmi: connection: convert to apex 2025-03-25 18:00:14 +02:00
Konsta
b7cafd27c1 hdmi: cec: convert to apex 2025-03-25 18:00:03 +02:00
Konsta
f6fe82c411 hdmi: connection: add rpi specific aidl hal
* Needed for AIDL HDMI-CEC HAL to work. Some functions that were in the
  HIDL HDMI-CEC HAL have been moved to separate HDMI connection HAL in the
  AIDL versions. Only returns connection status of HDMI ports on Pi.
  onHotplugEvent is not implemented.
* Use hardware/interfaces/tv/hdmi/connection/aidl/ as reference.
2025-03-25 17:59:46 +02:00
Konsta
47a329c4e4 cec: convert to aidl
* Use hardware/interfaces/tv/hdmi/cec/aidl/ as reference.
2025-03-25 17:58:14 +02:00
Konsta
4ffea81903 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:38:59 +02:00
Konsta
e82989d87f 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:23:04 +02:00
Konsta
6db460055a wifi: switch to apex 2025-03-19 12:22:56 +02:00
Konsta
00e46f0d1e usb: convert gadget to apex 2025-03-19 12:22:48 +02:00
Konsta
faabc62ea4 usb: switch to apex 2025-03-19 12:22:40 +02:00
Konsta
ca95b7824f 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:22:32 +02:00
Konsta
e288798b65 light: convert to apex 2025-03-19 12:22:24 +02:00
Konsta
543cb97137 health: convert to apex 2025-03-19 12:22:15 +02:00
Konsta
e03e665eec graphics: switch hwcomposer to apex 2025-03-19 12:22:07 +02:00
Konsta
aa53179895 drm: switch clearkey to apex 2025-03-19 12:21:20 +02:00
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