Konsta
7ab77538e6
bluetooth: enable A2DP sink
...
* A2DP source and sink can coexist on Android 15.
https://android-review.googlesource.com/q/topic:%22bt_a2dp_src_sink_coexist%22
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/188 .
2025-03-01 22:27:41 +02:00
Konsta
b3a1d84235
mkimg: adjust flashable image size again
...
* Different decimal separator is used depending on the locale.
* 14848MiB = 15569256448 bytes.
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/187 .
* Fixes fd9c60bdaf
.
2025-02-27 17:36:20 +02:00
Konsta
fd9c60bdaf
mkimg: adjust flashable image size
...
* Raspberry Pi Imager expects image size to be multiple of 512 bytes
so revert back to using gibibytes.
* 14.5GiB = 15569256448 bytes.
* Fixes e5359d2734
.
Change-Id: Iae83ff6a3eb2b6033279ac5bfcd5d952577eeefa
2025-02-25 19:56:55 +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
41ddcf5ca5
overlay: tv: remove minimum screenoff timeout
...
* Fixes screen saver on Android TV.
* IIRC this is an old hack when Android TV didn't respect stay awake
option. Probably hasn't been needed in years.
2025-02-20 15:14:41 +02:00
Konsta
e942debb44
health: fake more battery stats
...
Change-Id: Ic511604c9ed5e5972af34ef0afb120affacd0586
2025-02-20 15:14:31 +02:00
Konsta
e5359d2734
mkimg: increase image size to fit 16GB storage device
...
* This will create a flashable image that is 15500000000 bytes.
* I checked several 16GB sdcards and USB storage devices and the
actual byte size ranged from 15646851072 to 16008609792.
2025-02-20 15:14:22 +02:00
Konsta
9f396b332a
mkimg: use fallocate to create the image
...
* This is much faster than creating a file by filling it with zeroes.
* Remove unnecessary quotes for consistency.
2025-02-20 15:14:14 +02:00
Konsta
dfdcfe5c6e
Revert "graphics: disable hwc config groups"
...
* Disabled by default on upstream
cd3902ab4a
.
This reverts commit aa56ad1961
.
2025-02-20 15:13:46 +02:00
Konsta
05919b729a
cec: check input on device property
2025-02-06 15:01:17 +02:00
Konsta
2cc1d0e2ab
cec: add rpi hal implementation
...
* TODO: Convert to AIDL.
2025-02-05 20:23:25 +02:00
Konsta
bc6e2d5ee2
cec: remove mock hal
2025-02-05 20:23:18 +02:00
Konsta
99ebee2452
cec: copy hidl hal
...
* Copy from hardware/interfaces/tv/cec/1.0/default
at b04e2f3df5ebbbeea46f555d0965357f05aa1457.
2025-02-05 20:23:08 +02:00
Konsta
fe6264c79f
cec: remove legacy hal
...
This reverts commit c0a8378d8b
and more.
2025-02-05 20:23:00 +02:00
Konsta
e934722c00
overlay: disable screen dimming by default
2025-02-02 15:49:55 +02:00
Konsta
4815bb04bd
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:49:46 +02:00
Konsta
bad22b6d33
mkimg: set image owner
2025-01-30 20:03:48 +02:00
Konsta
7a16da5609
mkimg: minor cleanups
2025-01-30 20:03:40 +02:00
Konsta
e928f841f0
mkimg: check partition images exist
2025-01-30 18:37:17 +02:00
Konsta
b27f62c475
mkimg: strip aosp_ from build target
2025-01-30 18:37:07 +02:00
MinnieTheMoocher
a2363586b2
mkimg: use existing env variables instead of hardcoded strings
...
* this requires to run "lunch" before, the script checks for that
2025-01-30 18:36:45 +02:00
Konsta
aa56ad1961
graphics: disable hwc config groups
...
* 613a9440a0
.
2025-01-02 21:34:54 +02:00
Konsta
3d223ae030
graphics: switch to aidl allocator and gralloc5 mapper
2024-12-13 18:50:51 +02:00
Konsta
941fb0f0c1
sepolicy: add hwc3 hal
...
* Fixes 3fba3e61e5
.
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/158 .
2024-12-12 17:55:12 +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
be7c3b6462
sepolicy: update mesa libraries
...
* Adapt to changes in Mesa 24.2/24.3.
2024-12-05 19:59:21 +02:00
Konsta
c86505857d
sepolicy: add bluetooth hal
...
* Fixes fe5a39b067
.
2024-12-05 19:59:14 +02:00
Konsta
fe5a39b067
bluetooth: switch to aidl hal
2024-11-23 15:53:34 +02:00
Konsta
75efcfcbb4
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:53:34 +02:00
Konsta
be98ffc92d
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:53:34 +02:00
Konsta
21a6d545b2
bluetooth: rename aidl hal for rpi
2024-11-23 15:53:34 +02:00
Konsta
01569e8eec
bluetooth: add aidl hal
...
* Copy from hardware/interfaces/bluetooth/aidl/default
at 488942f82bd1bc9ad1cb65a02c71421dc3a6a3d6.
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
6119d30d95
usb: add gadget lib
...
* Copy from hardware/interfaces/usb/gadget/1.2/default.
2024-11-22 15:53:33 +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
2bcf780b91
Revert "seccomp_policy: v4l2_codec2: allow mkdirat"
...
* No longer needed with 8a5dd4d00a
.
This reverts commit 9f0b78612e
.
2024-11-22 13:02:50 +02:00
Konsta
aebb08edae
Revert "seccomp_policy: mediaswcodec: allow mkdirat"
...
* No longer needed with 8a5dd4d00a
.
This reverts commit a152d68eac
.
2024-11-22 13:02:31 +02:00
Oleg Lyovin
fb83928d5a
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 13:02:20 +02:00
Oleg Lyovin
9fdacb0960
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 13:02:11 +02:00
Konsta
2785f1c5fd
audio: minor code readability and formatting fixes
...
* Fixes 0205059ddb
.
2024-11-22 13:02:03 +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
741b658768
car: enable A2DP source bluetooth profile
...
* 61473cb0eb
2024-09-07 13:27:05 +03:00
Konsta
c0ecc79bbb
car: show instrument cluster on secondary display
...
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/43
2024-09-07 13:26:57 +03:00
Konsta
e107fc556c
car: build can bus hal and debug tools
2024-09-07 13:26:49 +03:00
Konsta
85a8359c38
car: build occupant awareness hal
2024-09-07 13:26:41 +03:00
Konsta
31279e096f
car: build audio control hal
2024-09-07 13:26:34 +03:00
Konsta
c2217592d2
car: switch to aidl vehicle hal
2024-09-07 13:26:26 +03:00
Konsta
ef8706e703
car: move automotive related configs to separate directory
2024-09-07 13:26:17 +03:00