1
0
Fork 0
No description
Find a file
Brendan Szymanski 22205a67e1 Build socket diag and vsock built-in, disable WiFi default powersave
This device has no module-loading infrastructure, so =m configs are
silently absent at runtime. Missing SOCK_DIAG made every
InetDiagMessage.destroyLiveTcpSockets() call in system_server block
~6s on netlink timeouts (114 times in one 9-minute boot, watchdog-level
main-thread stalls, Settings ANRs, stale IP/status UI). Missing
AF_VSOCK made traced crash-loop every 5s (vsock://-1:2010
EAFNOSUPPORT), tripping updatable_crashing flag resets.

CONFIG_CFG80211_DEFAULT_PS=n: mt7921u with powersave on goes deaf
after association - EAPOL 2/4 is sent, msg 3 never heard, AP deauths
with reason 15 (4-way handshake timeout) - and idle RTT spikes to
100ms+, delaying inbound connections. Always-powered TV box, so
default powersave off is the right trade.

Hypervisor-only vsock transports (VMware/virtio) stay off.
2026-07-15 12:51:51 -04:00
arch Build socket diag and vsock built-in, disable WiFi default powersave 2026-07-15 12:51:51 -04:00
block
certs
crypto
Documentation
drivers Remove HDMI mode and AVI infoframe debug logging 2026-07-13 19:58:32 -04:00
firmware Embed regulatory.db and MT7961 WiFi firmware via CONFIG_EXTRA_FIRMWARE 2026-07-14 20:43:07 -04:00
fs
include brcmfmac: add BCM43711 chip and firmware support with named constants 2026-07-12 22:59:40 -04:00
init
io_uring
ipc
kernel
lib
LICENSES
mm
net
rust
samples
scripts
security
sound
tools
usr
virt
.clang-format
.clippy.toml
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore Remove test files from tracking and add to gitignore 2025-12-04 02:57:30 -06:00
.mailmap
.rustfmt.toml
abi.bzl
android-sdcard.dts Adding HEVC and h.264 using v4l2 requests - testing! not final prod build 2025-10-27 01:42:27 -05:00
BUILD.bazel added Orange pi 3b v2.1 support 2025-08-06 14:13:44 -05:00
build.config.aarch64
build.config.arm
build.config.common
build.config.constants
build.config.gki
build.config.gki.aarch64
build.config.gki.x86_64
build.config.opi3b added Orange pi 3b v2.1 support 2025-08-06 14:13:44 -05:00
build.config.opi5
build.config.opi5_pro
build.config.rockpi4
build.config.x86_64
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.ext
MAINTAINERS
Makefile
modules.bzl
OWNERS
OWNERS_DrNo
README
README.md Update README for Orange Pi 5 Ultra source kernel 2026-07-12 18:31:58 -04:00

Orange Pi 5 Ultra — Kernel Source

Source kernel for the Orange Pi 5 Ultra (Rockchip RK3588). Forked from dvab-sarma/android_kernel_rk_opi (android-16.0-hwaccel-testing branch).

Based on mainline Linux 6.15 with Rockchip DRM patches and Android kernel features (binder, memfd, cgroups, SELinux, etc.).

Device Tree

WiFi (brcmfmac SDIO) and Bluetooth (hci_uart BCM serdev) are enabled in the rk3588-orangepi-5-compact.dtsi shared DT include. PIN mappings follow jimmyhon/linux max-wifi branch:

Function Pin
WIFI_REG_ON GPIO2 PC5
BT_REG_ON (shutdown) GPIO4 PC4
BT device wake GPIO4 PC5
BT host wake GPIO0 PA0
WiFi host wake GPIO0 PB0
SDIO sdiom0_pins
BT UART uart7m0_xfer + ctsn/rtsn

Building

Built via LineageOS's TARGET_KERNEL_SOURCE mechanism. The kernel is compiled by AOSP clang during mka:

TARGET_KERNEL_SOURCE := kernel/rockchip/tart
TARGET_KERNEL_CONFIG := tart_defconfig

Output: Image + rk3588-orangepi-5-ultra.dtb at $(KERNEL_OUT)/arch/arm64/boot/.

Defconfig

tart_defconfig is based on android_orangepi5_defconfig with the same driver set. Key options:

  • CONFIG_DRM_PANFROST — Mali-G610 GPU (Panfrost)
  • CONFIG_BRCMFMAC_SDIO — AP6611S WiFi
  • CONFIG_BT_HCIUART_BCM — SYN43711 Bluetooth
  • CONFIG_R8169 — RTL8125BG 2.5GbE Ethernet
  • CONFIG_SND_SOC_ES8388 — Audio codec

Branch

lineage-23.2 — for use with LineageOS 23.2 (Android 16).