Commit Graph

271 Commits

Author SHA1 Message Date
Konsta
89cbccc94b graphics: disable hdr
* 42c9655523
2025-08-30 17:53:14 +03:00
supechicken
fa17a27a8d keylayout: Fix Leanback Keyboard for ATV image
This patch remaps the Enter key to DPAD_CENTER for Leanback Keyboard to work

Change-Id: I201234d8a735c4eec5f6e0680c37bb5c13dcef21
Signed-off-by: supechicken <me@supechicken666.dev>
2025-08-22 20:11:03 +03:00
Konsta
48843429d4 keylayout: add cec config to tv layout
Change-Id: I628544c5e4fdd9b131c9596ef5b8eb9676c3a7c0
2025-08-22 20:10:53 +03:00
Konsta
91ac806cc6 keylayout: add tv specific layout
* Copy from device/google/atv/Generic.kl at 8e49e4448fdced4816fc40d4e01f3f6e66e3c3db.

Change-Id: I2aeb85d5bab319c7efda7d324042e319a447bb83
2025-08-22 20:10:29 +03:00
Konsta
79d71dad3e graphics: build mesa using soong
* libgbm_mesa_wrapper is built as a requirement.
2025-06-27 11:06:52 +03:00
Konsta
77332f861e libcamera: build using soong
* IPA data is now copied as a requirement to ipa_rpi_pisp.
2025-06-27 11:06:44 +03:00
Konsta
3f5dba6729 libcamera: switch to aidl hal
* 20c227e0c3
2025-06-27 11:06:10 +03:00
Konsta
de401a1c18 audio: don't copy alsa configs
* ALSA configs are now copied as a requirement to libasound.
2025-06-24 16:06:51 +03:00
Konsta
a7460bb97a ffmpeg: add instance to framework compatibility matrix
* Picked up by 'make check-vintf-all'.

The following instances are in the device manifest but not specified in framework compatibility matrix:
    android.hardware.media.c2.IComponentStore/ffmpeg (@1)
2025-06-24 16:06:31 +03:00
Konsta
df33a89dc2 enforce-product-packages-exist: add exception for com.android.ranging
* Android 16 ranging feature.
  https://developer.android.com/develop/connectivity/ranging
* com.android.ranging is nowhere found in AOSP though should be built.
  1e9faa2bc9

build/make/core/main.mk:1096: warning:  device/brcm/rpi5/aosp_rpi5.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
com.android.ranging

build/make/core/main.mk:1096: warning:  device/brcm/rpi5/aosp_rpi5_car.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
Bluetooth
Keyguard
Launcher2
OverviewApp
RotaryIME
RotaryPlayground
com.android.ranging
libnfc_ndef
libvariablespeed
pppd

build/make/core/main.mk:1096: warning:  device/brcm/rpi5/aosp_rpi5_tv.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
com.android.ranging
2025-06-16 13:37:43 +03:00
Konsta
c0402d3acc car: update vehicle aidl to v4 2025-06-16 13:37:43 +03:00
Konsta
3af1a6e4e9 car: switch to v4l2 evs aidl hal 2025-06-16 13:37:43 +03:00
Konsta
cefbd94c9a libcamera: update config for 6.12 kernel 2025-06-16 13:37:43 +03:00
Konsta
057d5bb186 ramdisk: update hw decoder media device for 6.12 kernel
console:/ # v4l2-ctl --list-devices
...
rpi-hevc-dec (platform:rpi-hevc-dec):
        /dev/video19
        /dev/media0
2025-06-16 13:37:43 +03:00
Konsta
e83c2e570c bump shipping api level 2025-06-16 13:37:43 +03:00
Konsta
11bcd723fc readme: mkimg: Raspberry Vanilla AOSP 16 2025-06-16 13:37:43 +03:00
Konsta
467fdeed87 mkimg: adjust flashable image size
* It's been reported that 14848MiB = 15569256448 bytes is still too
  large to fit some 16GB storage devices.
* 15360000000 bytes is dividable by 16384, 4096, 2048, 1024, 512, ...
* Fixes 6c7ec173b4.
2025-06-08 12:30:30 +03:00
Konsta
2117ba7dac mkimg: detach loop device 2025-06-08 12:30:22 +03:00
Konsta
0450c28673 wrimg: add more block devices to search 2025-06-08 12:30:14 +03:00
Konsta
b4409695e6 external camera: update ignored video devices
* These have changed on 6.6 kernel.

console:/ # v4l2-ctl --list-devices
pispbe (platform:1000880000.pisp_be):
        /dev/video20
        /dev/video21
        /dev/video22
        /dev/video23
        /dev/video24
        /dev/video25
        /dev/video26
        /dev/video27
        /dev/video28
        /dev/video29
        /dev/video30
        /dev/video31
        /dev/video32
        /dev/video33
        /dev/video34
        /dev/video35
        /dev/media0
        /dev/media1

rp1-cfe (platform:1f00110000.csi):
        /dev/video0
        /dev/video1
        /dev/video2
        /dev/video3
        /dev/video4
        /dev/video5
        /dev/video6
        /dev/video7
        /dev/media3

rpivid (platform:rpivid):
        /dev/video19
        /dev/media2
2025-06-08 12:30:07 +03:00
Konsta
305b81cdf5 light: support more backlight paths
* I2C address for the panel regulator driver depends on the device and
  DSI port the display is connected on. Add more backlight paths to support
  different hardware configurations. Also add path for legacy rpi_backlight
  driver to make testing easier.
2025-05-02 14:13:42 +03:00
Konsta
14b993ba1e increase system partition size
* Make room for unspecified add-ons.
2025-04-17 13:06:42 +03:00
Konsta
8709904958 car: add exceptions for non-existing targets 2025-04-17 13:06:03 +03:00
Konsta
45fad47629 enforce product packages exist 2025-04-17 13:05:48 +03:00
Konsta
4ce5bf57b6 add empty product manifest
* Needed with enforce-product-packages-exist.
* c38cec789c
2025-04-17 13:05:40 +03:00
Konsta
02b1412be8 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:36 +03:00
Konsta
17821d6cb2 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:36 +03:00
Konsta
e2ac9269f4 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:19:28 +03:00
Konsta
8b53a5a790 camera: remove unneeded media profiles property
* This hasn't been needed in years.
  72ad8cb0ae
2025-04-12 18:16:11 +03:00
Konsta
e9e4222534 ffmpeg: move media codecs config & seccomp policy to device
* 71ac744017
2025-04-09 12:54:04 +03:00
Konsta
7120a38fea ffmpeg: switch to apex 2025-04-09 12:28:47 +03:00
Konsta
d7a91d0681 ffmpeg: switch to aidl
* Also switch codec2 framework to use AIDL.
  cc7adc6936
2025-04-09 12:27:35 +03:00
Konsta
426c50ad5a wrimg: add script to write partition images
* Can be used to write partition images to a storage device that has the
  correct partition structure after flashing an image created by mkimg.sh.
* Poor man's alternative to
  fastboot flash boot boot.img
  fastboot flash system system.img
  fastboot flash vendor vendor.img
  fastboot erase userdata
2025-04-04 10:26:37 +03:00
Konsta
a7c86cf925 mkimg: improve error message 2025-04-04 10:26:25 +03:00
Konsta
cd4f885fe2 wifi: overlay: enable background scan 2025-04-04 10:25:00 +03:00
Konsta
38780decd0 wifi: enable 5GHz hotspot 2025-04-04 10:24:36 +03:00
Konsta
90e9be8f36 wifi: overlay: set default name for hotspot 2025-04-04 10:24:28 +03:00
Konsta
1ac59c93f7 bluetooth: set default device name
* Set default device name for bluetooth.
* I still prefer this displayed as 'Raspberry Pi 5' after commit
  acfacd0969.
2025-04-04 10:24:19 +03:00
Konsta
bfd873f4aa overlay: set default device name
* Set default device name displayed in settings menu.
* I still prefer this displayed as 'Raspberry Pi 5' after commit
  acfacd0969.
2025-04-04 10:24:10 +03:00
Konsta
6ff636f6ba ramdisk: remove ion 2025-04-02 13:59:14 +03:00
Konsta
91aa0a3e83 sepolicy: allow keymint to read serialno property 2025-04-02 13:48:21 +03:00
Konsta
e31b63ccc8 sepolicy: allow vendor_init to set cec property 2025-04-02 13:48:07 +03:00
Konsta
6f57d4d8af ffmpeg: use vendor properties 2025-04-02 13:47:35 +03:00
Konsta
87e473d8ff audio: use vendor properties 2025-04-02 13:46:45 +03:00
Konsta
ff19fe9878 audio: auto probe pcm card for jack & dac
* When 'jack' is selected using the property, first PCM card that has name
  'Headphones' is used.
  When 'dac' is selected, first PCM card that is not named 'Headphones',
  'vc4hdmi0', or 'vc4hdmi1' is used.
2025-04-02 13:40:23 +03:00
Konsta
66f0ae7d82 audio: cache pcm card and device
* It's always been intended that changing audio output devices requires
  a reboot. Get the PCM card and device once when the HAL is initialized.
  Might save a few ms on start_output_stream.
2025-04-02 13:39:14 +03:00
Konsta
a6ff435674 hdmi audio: cache alsa device
* It's always been intended that changing audio output devices requires
  a reboot. Get the ALSA device once when the HAL is initialized.
  Might save a few ms on start_output_stream.
2025-04-02 13:39:00 +03:00
Konsta
291b0d0e44 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:30:45 +03:00
Konsta
9f07c74401 camera: add to framework compatibility matrix
* Picked up by 'make check-vintf-all'.

The following instances are in the device manifest but not specified in framework compatibility matrix:
    android.hardware.camera.provider@2.5::ICameraProvider/legacy/0
2025-03-31 19:29:58 +03:00
Konsta
74b3908af7 remove device compatibility matrix
* Use default device compatibility matrix from
  system/libhidl/vintfdata/device_compatibility_matrix.default.xml.
* 282994a8a2
2025-03-31 19:29:48 +03:00