Commit Graph

132 Commits

Author SHA1 Message Date
Konsta
b654f2f634 mkimg: check partition images exist 2025-01-30 18:51:19 +02:00
Konsta
4353b21505 mkimg: strip aosp_ from build target 2025-01-30 18:51:19 +02:00
MinnieTheMoocher
c8cff6403c mkimg: use existing env variables instead of hardcoded strings
* this requires to run "lunch" before, the script checks for that
2025-01-30 18:51:19 +02:00
Konsta
971e4f5a25 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:56:03 +02:00
Konsta
72705008ca sepolicy: update mesa libraries
* Adapt to changes in Mesa 24.2/24.3.
2024-12-05 19:56:03 +02:00
Konsta
1f09347814 usb: convert gadget hal to aidl
* Based on hardware/interfaces/usb/gadget/aidl/default.
2024-11-22 15:49:19 +02:00
Konsta
9da660bd44 usb: add gadget lib
* Copy from hardware/interfaces/usb/gadget/1.2/default.
2024-11-22 15:49:19 +02:00
Konsta
4d4fba6638 graphics: add dri_gbm to mesa packages
* Needed with Mesa 24.3.
  15bea329d7
  514df444eb
2024-11-22 15:43:22 +02:00
Konsta
03beac99ad Revert "seccomp_policy: mediaswcodec: allow mkdirat"
* No longer needed with 8a5dd4d00a.

This reverts commit 32db92738a.
2024-11-22 13:08:02 +02:00
Oleg Lyovin
e715baa749 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:07:48 +02:00
Oleg Lyovin
63d3f1ddb8 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:07:48 +02:00
Konsta
a32b0dc3d1 audio: minor code readability and formatting fixes
* Fixes 0205059ddb.
2024-11-22 13:07:48 +02:00
Konsta
be24cefd65 car: show instrument cluster on secondary display
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/43
2024-09-07 13:29:47 +03:00
Konsta
35895e0978 car: build can bus hal and debug tools 2024-09-07 13:29:47 +03:00
Konsta
0ab313fa7a car: build occupant awareness hal 2024-09-07 13:29:47 +03:00
Konsta
a00cc82199 car: build audio control hal 2024-09-07 13:29:47 +03:00
Konsta
e07c42997a car: switch to aidl vehicle hal 2024-09-07 13:29:47 +03:00
Konsta
ef50160a6c car: move automotive related configs to separate directory 2024-09-07 13:29:47 +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
Konsta
717e279508 ramdisk: remove vold.post_fs_data_done
* This was used by FDE which was removed in Android 13.
  0803ba0985
* Fixes 3ca55b2c31.
2024-05-03 21:51:13 +03:00
Konsta
06979db1ba audio: reduce id name size
* Fixes 0205059ddb.
2024-05-03 21:51:06 +03:00
Konsta
1df48cdd40 window extensions: enable large screen optimization
* Feature was disabled by default in Android 14 QPR2
  f18920bc5e
2024-04-08 11:18:26 +03:00
Konsta
08b3f74fad health: update aidl to v3
* c33734ade7
2024-04-08 11:18:12 +03:00
Greg Kaiser
34f1983a93 Fix lunch choices for git_main
We add "trunk_staging-" for all COMMON_LUNCH_CHOICES so they are
valid in the trunk stable setup.

Bug: 307738446
Test: lunch
2024-04-08 11:17:24 +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
aloshchilov
cf4022a694 car: BT AVRCP target enabled 2024-03-28 18:28:58 +02:00
adufftpc
c724e60c78 car: Disabled BT MAP causing cyclic BT reconnect
Disabled BT Message Access Profile. Allows to keep connection to the paired device
2024-03-28 18:28:58 +02: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
71b154a8bb boot: default to serial console on the uart connector
* Dedicated UART connector is always active and enabled.
  https://www.raspberrypi.com/documentation/computers/raspberry-pi-5.html#uart-connector
* Fixes 5780f0a884.
2024-01-12 23:29:00 +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
50ef80ac75 usb: set correct udc path for rpi5
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/51.
* Requires EEPROM update to 2023-12-06 or newer.
2024-01-04 17:08:06 +02:00
Konsta
e20b10c023 overlay: hide data saver from settings 2023-12-07 20:24:33 +02:00
Konsta
a43ef40039 overlay: hide more battery info from settings 2023-12-07 20:24:24 +02:00
Konsta
746dd37cb4 use system property to disable lockscreen
* d1645f8d0f
* This reverts commit 2632bb5db3.
2023-12-07 20:24:13 +02:00
Konsta
2e7c281b6a cec: don't add port info if physical address is invalid
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/37.
2023-11-26 21:30:38 +02:00
Konsta
ea465608e8 graphics: enable rpi5 hwcomposer backend
* f766dd1619
2023-11-24 13:28:45 +02:00
Konsta
60a84b71e8 boot: remove obsolete config.txt options
* https://www.raspberrypi.com/documentation/computers/config_txt.html#arm_64bit
* https://www.raspberrypi.com/documentation/computers/config_txt.html#arm_boost-raspberry-pi-4-only
* https://www.raspberrypi.com/documentation/computers/config_txt.html#disable_fw_kms_setup
2023-11-24 13:28:45 +02:00
Konsta
c39716527b audio: default to hdmi0
* Raspberry Pi 5 doesn't have 3.5mm audio jack.
2023-11-24 13:28:40 +02:00
Konsta
474b7132d1 mkimg: don't copy boot firmware
* Raspberry Pi 5 firmware is self-contained in the bootloader EEPROM:
  https://www.raspberrypi.com/documentation/computers/config_txt.html#start_file-fixup_file
2023-11-24 13:25:25 +02:00
Konsta
d1f26a1142 libcamera: update to use pisp 2023-11-24 13:25:25 +02:00
Konsta
09e9616d44 external camera: update ignored video devices
* Remove H.264 hw dec/enc devices and add new camera ISP devices.
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