Commit Graph

24 Commits

Author SHA1 Message Date
Konsta
14b993ba1e increase system partition size
* Make room for unspecified add-ons.
2025-04-17 13:06:42 +03:00
Konsta
4ce5bf57b6 add empty product manifest
* Needed with enforce-product-packages-exist.
* c38cec789c
2025-04-17 13:05:40 +03:00
Konsta
38780decd0 wifi: enable 5GHz hotspot 2025-04-04 10:24:36 +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
Konsta
fea8235247 switch to 64-bit only target 2025-03-31 19:28:49 +03:00
Konsta
c7eeef4b58 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:17:03 +02:00
Konsta
e47f8c6791 bluetooth: remove unused BDROID_BUILDCFG header
* Doesn't do anything if BOARD_HAVE_BLUETOOTH_BCM is not set.
* Bluetooth device name is parsed from 'ro.product.model' if no default
  is provided using 'bluetooth.device.default_name' property.
2025-03-18 23:48:21 +02:00
Konsta
57aaa02c1f set TARGET_BOOTLOADER_BOARD_NAME
* Populate 'ro.product.board' as well.
* Fixes 1bd1c53659.
2025-03-18 20:26:18 +02:00
Konsta
1bd1c53659 set hardware platform name
* Some hardware information applications use this so set actual hardware
  platform name.
* Historic reason why this was set to rpi is that this allowed to use same
  HALs on rpi3/rpi4 when they were commonized. 'ro.board.platform' this sets
  is used in the legacy module load order.
  https://android.googlesource.com/platform/hardware/libhardware/+/refs/tags/android-15.0.0_r20/modules/README.android
  This has no use with modern HIDL/AIDL/APEX HALs. For legacy HALs name can
  be implicitly set using system properties (e.g. 'ro.hardware.audio.primary'
  that's still relevant).
2025-03-18 16:34:32 +02:00
Konsta
6e3aa4099e reorganize board config 2025-03-18 16:34:27 +02:00
Konsta
47d647f7a5 treble: remove deprecated vndk flag
* Deprecated in Android 15.
  https://source.android.com/docs/whatsnew/android-15-release#deprecate-vndk
  69f5dbb0d0
2025-03-18 16:23:31 +02:00
Konsta
0658026dcf treble: remove unneeded flags
* PRODUCT_FULL_TREBLE gets set on PRODUCT_SHIPPING_API_LEVEL >= 26.
  There's no need to override it.
  2b32469c47
* BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED gets set with PRODUCT_FULL_TREBLE.
  c227ce7c25
2025-03-17 19:34:04 +02:00
Konsta
8b85358ac8 virtualization: report vm as supported
* 8c352a4c5c
* Fixes dc1fc3a6e3.
2025-03-06 17:20:06 +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
d1f26a1142 libcamera: update to use pisp 2023-11-24 13:25:25 +02:00
Konsta
5780f0a884 boot: enable serial console on gpio
* To use the new serial port on Raspberry Pi 5 adjust cmdline to
  use ttyAMA10 for console.
2023-11-24 13:25:11 +02:00
Konsta
88e0af519d set cpu variant to cortex-a76 2023-11-24 13:15:33 +02:00
Konsta
1c9bf21bfe rename rpi4 -> rpi5 2023-11-24 13:15:33 +02:00
Konsta
cafac234ff libcamera: update for v0.1.0 2023-11-23 17:25:52 +02:00
Konsta
f396cbd7cd remove obsolete TARGET_ENABLE_MEDIADRM_64
* android.hardware.drm@1.0-impl/service this affects is no longer
  used after 203db632fa.
2023-10-09 15:42:33 +03:00
Konsta
f40e2e0b3f add framework compatibility matrix for android.hardware.media.c2 2023-09-27 19:46:32 +03:00
Konsta
18cc1bd154 bluetooth: switch to btlinux 2023-07-27 17:06:38 +03:00
Roman Stratiienko
2207df9355 Switch to mainline mesa3d's libgbm
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2022-09-17 14:00:24 +03:00
Konsta
bbdbc45eea initial Raspberry Vanilla AOSP 12 commit
* Audio
  - Based on AOSP hikey audio HAL:
    https://android.googlesource.com/device/linaro/hikey/+/refs/heads/master/audio/
  - ALSA based on Android-x86
  - ALSA loop is used to support HDMI audio on Pi 4 because VC4 HDMI
    audio devices use SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE that is not
    supported on Android
    https://github.com/raspberrypi/linux/issues/4651
    https://github.com/raspberrypi/linux/issues/4654

* Bluetooth
  - AOSP Broadcom vendor stack with some additional fixes from android-rpi

* Camera
  - libcamera for official Raspberry Pi CSI camera modules based on GloDroid
  - AOSP external camera HAL for UVC USB webcams:
    https://source.android.com/docs/core/camera/external-usb-cameras

* Graphics
  - OpenGL & Vulkan: upstream Mesa with GloDroid patches
  - Upstream drm_hwcomposer with force resolution patch from Android-x86 and
    my additional fixes
  - minigbm based on GloDroid

* Health
  - Based on AOSP cuttlefish health HAL

* Kernel
  - Merge of Raspberry Pi and AOSP common kernel with my additional fixes
    and configurations
    https://github.com/raspberrypi/linux
    https://android.googlesource.com/kernel/common/

* Lights
  - Based on LineageOS Xiaomi msm8996-common lights HAL

* suspend_blocker
  - Based on AOSP cuttlefish

* v4l2_codec2
  - Based on AOSP with my Raspberry Pi 4 specific fixes

* Wifi
  - AOSP Broadcom vendor stack with my additional fixes
2022-09-17 13:57:57 +03:00