Commit Graph

14 Commits

Author SHA1 Message Date
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
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
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
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
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
f5db2884d7 boot: enable arm_boost
* Increases arm_freq to 1800 on Pi4B R1.4+.
  https://www.raspberrypi.com/documentation/computers/config_txt.html#arm_boost-raspberry-pi-4-only
  https://www.raspberrypi.com/documentation/computers/config_txt.html#overclocking
2023-11-24 11:49:21 +02:00
Konsta
51d93e9116 boot: disable firmware kms setup
* https://www.raspberrypi.com/documentation/computers/config_txt.html#disable_fw_kms_setup
2023-11-23 17:28:09 +02:00
Konsta
7e2e50fdb5 boot: remove obsolete config.txt options for 6.1 kernel
* ec08e93837
* 9b523e1fc8
2023-10-12 10:19:53 +03:00
Konsta
18cc1bd154 bluetooth: switch to btlinux 2023-07-27 17:06:38 +03:00
Konsta
53a5d230cc ffmpeg: integrate into build and enable h.265 hw decoder by default
* Use codec ranks to switch between decoders.
2023-01-30 14:32:37 +02:00
Konsta
4bb647b2d6 updates for 5.15 kernel 2022-09-17 13:58:59 +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