Commit Graph

258 Commits

Author SHA1 Message Date
Konsta
07e066812c cec: add rpi hal implementation
* TODO: Convert to AIDL.
2025-02-05 20:20:07 +02:00
Konsta
9b0ddfd25d cec: remove mock hal 2025-02-05 20:19:48 +02:00
Konsta
1b74e802ee cec: copy hidl hal
* Copy from hardware/interfaces/tv/cec/1.0/default
  at b04e2f3df5ebbbeea46f555d0965357f05aa1457.
2025-02-05 20:19:38 +02:00
Konsta
f999796b13 cec: remove legacy hal
This reverts commit c0a8378d8b and more.
2025-02-05 20:18:33 +02:00
Konsta
822083ba68 overlay: disable screen dimming by default 2025-02-02 15:48:54 +02:00
Konsta
2da7253013 lights: boot: use DSI panel regulator driver
* Old rpi_backlight driver is no longer used on recent kernel versions.
  Regulator driver is used for backlight instead.
* Change the backlight path and implement scaling to support the official
  Raspberry Pi 7" DSI Touch Display & Touch Display 2.
* The original Touch Display has max brightness of 255 while the new Touch
  Display 2 has 31.
2025-02-02 15:47:10 +02:00
Konsta
1b7cb2e460 mkimg: set image owner 2025-01-30 20:01:45 +02:00
Konsta
318905d5ef mkimg: minor cleanups 2025-01-30 20:00:25 +02:00
Konsta
bc1843f1e6 mkimg: check partition images exist 2025-01-30 18:35:35 +02:00
Konsta
451f4129cd mkimg: strip aosp_ from build target 2025-01-30 18:35:25 +02:00
MinnieTheMoocher
936497eced mkimg: use existing env variables instead of hardcoded strings
* this requires to run "lunch" before, the script checks for that
2025-01-30 18:34:51 +02:00
Konsta
66656f14fb graphics: disable hwc config groups
* 613a9440a0.
2025-01-02 21:30:53 +02:00
Konsta
7bacc18602 boot: ramdisk: add CM5 USB configuration 2025-01-02 21:30:33 +02:00
Konsta
ec9011cc09 boot: increase CMA size
* CMA size was decreased in 3edaa3875f.
* Larger CMA allocation is needed for H.265 hardware decoding
  in some cases. Essentially revert the above change.

Change-Id: I7b53cc6bca4663be4a51ab61daf644460d09532d
2024-12-13 18:50:20 +02:00
Konsta
1899d4a4e4 graphics: switch to aidl allocator and gralloc5 mapper 2024-12-13 18:50:20 +02:00
Konsta
aaaabffb91 sepolicy: add hwc3 hal
* Fixes a47cb47fba.
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/158.
2024-12-12 18:10:16 +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
87ece4d4b9 sepolicy: update mesa libraries
* Adapt to changes in Mesa 24.2/24.3.
2024-12-05 19:50:11 +02:00
Konsta
8a9e11b327 sepolicy: add bluetooth hal
* Fixes 1ae3ede91b.
2024-12-05 19:48:41 +02:00
Konsta
1ae3ede91b bluetooth: switch to aidl hal 2024-11-23 15:52:20 +02:00
Konsta
89eb1f3253 bluetooth: adjust rfkill
* Switch to android.hardware.bluetooth@1.1-service.btlinux rfkill
  implementation that uses /sys/class/rfkill/rfkill*/state.
2024-11-23 15:52:10 +02:00
Konsta
412e289949 bluetooth: remove serial implementation
* Remove serial bluetooth implementation that is used on cuttlefish
  as we're only using the HCI socket implementation on Raspberry Pi.
2024-11-23 15:52:01 +02:00
Konsta
4d3171fec4 bluetooth: rename aidl hal for rpi 2024-11-23 15:51:46 +02:00
Konsta
a0126e7460 bluetooth: add aidl hal
* Copy from hardware/interfaces/bluetooth/aidl/default
  at 488942f82bd1bc9ad1cb65a02c71421dc3a6a3d6.
2024-11-23 15:51:39 +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
032720fcec usb: add gadget lib
* Copy from hardware/interfaces/usb/gadget/1.2/default.
2024-11-22 15:55:20 +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
9d943bb391 Revert "seccomp_policy: mediaswcodec: allow mkdirat"
* No longer needed with 8a5dd4d00a.

This reverts commit 32db92738a.
2024-11-22 12:57:41 +02:00
Konsta
9bd2172543 mkbootimg: copy dtb for d0 variant 2024-11-22 12:56:53 +02:00
Oleg Lyovin
c46596dec5 CEC: fix use-after-free in hdmicec_close
Fields of 'ctx' are accessed just after it is freed.

Test: manual
Change-Id: I7c3786db9ae618d84149874c72662e4d105765b4
Signed-off-by: Oleg Lyovin <ovlevin@salutedevices.com>
2024-11-22 12:54:02 +02:00
Oleg Lyovin
59dbe8e028 CEC: do not join NULL thread
'hdmicec_close' may be called after exit_fd initialized,
but before ctx->thread created.

This patch checks it for NULL before join.

Test: manual
Change-Id: I1c57be56f2cd9956044d9a48fea914b1c1fd0132
Signed-off-by: Oleg Lyovin <ovlevin@salutedevices.com>
2024-11-22 12:53:54 +02:00
Konsta
adc7d7b432 audio: minor code readability and formatting fixes
* Fixes 0205059ddb.
2024-11-22 12:53:15 +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
d5e3af9b01 car: enable A2DP source bluetooth profile
* 61473cb0eb
2024-09-07 13:20:56 +03:00
Konsta
d730ccf1c6 car: show instrument cluster on secondary display
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/43
2024-09-07 13:20:47 +03:00
Konsta
8829ea27fa car: build can bus hal and debug tools 2024-09-07 13:20:39 +03:00
Konsta
8b2e452bbd car: build occupant awareness hal 2024-09-07 13:20:31 +03:00
Konsta
6906b29151 car: build audio control hal 2024-09-07 13:20:23 +03:00
Konsta
1c0420d518 car: switch to aidl vehicle hal 2024-09-07 13:20:16 +03:00
Konsta
c2277d28e8 car: move automotive related configs to separate directory 2024-09-07 13:20:08 +03:00
Konsta
be71876e39 keylayout: update for Android 15
* Changes from frameworks/base/data/keyboards/Generic.kl
2024-09-05 16:38:39 +03:00
Konsta
4df4207d06 readme: mkimg: Raspberry Vanilla Ice Cream AOSP 15 2024-09-05 16:37:55 +03:00
Konsta
32db92738a seccomp_policy: mediaswcodec: allow mkdirat 2024-09-04 20:09:27 +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
f6d1a17729 storage: disable stable uris for for external primary
* MediaProvider changes in AOSP 14 QPR3 cause a crash if external USB
  storage device is connected on the first boot.
* D MediaProvider: Backup is present for external_primary
  E FuseDaemon: Leveldb setup is missing for: external_primary
  I FuseDaemon: ReadFilePathsFromLevelDb: Missing leveldb connection, attempting setup.
  E FuseDaemon: Leveldb setup is missing for: internal
  E FuseDaemon: Leveldb connection failed for :internal with error:IO error: /storage/emulated/0/.transforms/recovery/leveldb-internal/LOCK: Permission denied
  E FuseDaemon: Leveldb setup is missing for: external_primary
  E FuseDaemon: Leveldb connection failed for :external_primary with error:IO error: /storage/emulated/0/.transforms/recovery/leveldb-external_primary/LOCK: Permission denied
  E FuseDaemon: Leveldb setup is missing for: ownership
  E FuseDaemon: Leveldb connection failed for :ownership with error:IO error: /storage/emulated/0/.transforms/recovery/leveldb-ownership/LOCK: Permission denied
  F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 12344 (fg), pid 12323 (rs.media.module)
2024-06-20 15:02:09 +03:00
Konsta
8b0798e2f9 overlay: add safety center to default qs tiles
* Otherwise QS tile changes in AOSP 14 QPR3 cause a crash.
* E DatabaseUtils: java.lang.IllegalArgumentException: The value of your setting [sysui_qs_tiles] is too long. The max length allowed for the string is 32768.
2024-06-20 15:01:41 +03:00
Konsta
233188083c keylayout: update for Android 14 QPR2
* Changes from frameworks/base/data/keyboards/Generic.kl
2024-05-03 21:51:13 +03:00
Konsta
bfc013f2f5 thermal: switch to apex
* e1ba194595
2024-05-03 21:51:13 +03:00