1
0
Fork 0
No description
Find a file
Brendan Szymanski 9ca54ed439 BoardConfig.mk: set BOARD_WLAN_DEVICE := bcmdhd for generic nl80211 HAL
Without BOARD_WLAN_DEVICE, libwifi-hal's fallback returns
WIFI_ERROR_NOT_SUPPORTED from init_wifi_vendor_hal_func_table, which
causes the AIDL wifi HAL (com.android.hardware.wifi) to fail at startup:

  E android.hardware.wifi-service: Can not initialize the vendor
    function pointer table
  E android.hardware.wifi-service: Wifi HAL start failed

The bcmdhd implementation of init_wifi_vendor_hal_func_table uses
purely generic nl80211 — it scans /sys/class/net/ for phy80211
interfaces, creates netlink sockets, and resolves the nl80211 family
ID via genl_ctrl_resolve().  There are no bcmdhd-specific IOCTLs or
vendor commands in the core startup path (wifi_initialize, wifi_cleanup,
wifi_event_loop, wifi_get_ifaces, wifi_get_iface_name); the vendor
commands are only used for optional advanced features (RTT, NAN, etc.)
that this device does not use.
2026-07-14 16:18:05 -04:00
audio Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
bluetooth Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
hdmi Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
health Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
keylayout Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
light Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
media Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
overlay Remove stale values-tvdpi overlay (redundant after xhdpi switch) 2026-07-14 12:31:39 -04:00
ramdisk Add temporary serial logcat and persistent logging for bring-up 2026-07-12 14:30:24 -04:00
seccomp_policy Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
sepolicy Add wireless reprobe service for post-mount firmware loading 2026-07-13 04:16:02 -04:00
suspend_blocker Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
usb Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
wifi wireless_reprobe.sh: fix Phase 2 glob — remove trailing slash that broke symlink detection 2026-07-14 14:42:35 -04:00
Android.bp Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
AndroidProducts.mk Rename to tart codename 2026-07-11 17:27:17 -04:00
aosp_tart.mk Update device/kernel paths for tart codename rename 2026-07-11 18:43:11 -04:00
BoardConfig.mk BoardConfig.mk: set BOARD_WLAN_DEVICE := bcmdhd for generic nl80211 HAL 2026-07-14 16:18:05 -04:00
bootanimation.zip Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
compatibility_matrix.xml Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
device.mk Add wireless reprobe service for post-mount firmware loading 2026-07-13 04:16:02 -04:00
framework_compatibility_matrix.xml Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
lineage_tart.mk Switch PRODUCT_AAPT_PREF_CONFIG to xhdpi to fix display sizing 2026-07-14 11:47:44 -04:00
manifest.xml Remove deprecated HIDL camera provider from VINTF manifest 2026-07-12 14:30:07 -04:00
mkbootimg.mk Update device/kernel paths for tart codename rename 2026-07-11 18:43:11 -04:00
mkimg.sh Add androidboot.console to extlinux append for serial shell 2026-07-13 21:50:40 -04:00
product_manifest.xml Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
README.md Rewrite README to reflect tart LineageOS ATV port 2026-07-12 00:05:59 -04:00
vendor.prop Add temporary serial logcat and persistent logging for bring-up 2026-07-12 14:30:24 -04:00
wrimg.sh Suppress 'not mounted' warning from umount in wrimg.sh 2026-07-14 10:25:57 -04:00

android_device_rockchip_tart

Device tree for building LineageOS 23.2 (Android 16, Android TV variant) for the Orange Pi 5 Ultra, codename tart.

Hardware

  • SoC: Rockchip RK3588 (4x Cortex-A76 @ 2.4GHz + 4x Cortex-A55 @ 1.8GHz)
  • GPU: ARM Mali-G610 MP4 "Odin" (Valhall, OpenGL ES 3.2 / Vulkan 1.2 / OpenCL 2.2)
  • Ethernet: 2.5GbE via Realtek RTL8125BG (PCIe)
  • WiFi/BT: WiFi 6E + Bluetooth 5.3 via Ampak AP6611S module (Synaptics SYN43711 chipset)
  • Audio: Everest ES8388 codec (3.5mm jack, mic, HDMI eARC)
  • Display: HDMI 2.1 out (8K60), 4-lane MIPI DSI out, HDMI 2.0 capture in

Status

This is an active bring-up port, not a finished build. Working/not-working status changes frequently — the authoritative, currently-maintained list lives in AGENTS.md and CLAUDE.md at the root of the parent project repo, not here. As of the last update to this README:

Working:

  • Boots to Android on real hardware (kernel, all 8 CPUs, GPU/USB/PCIe detected)
  • breakfast tart + plain mka build system/vendor/boot/ramdisk images
  • GPT image creation (mkimg.sh) and flashing via U-Boot/extlinux

Not working / deferred:

  • GPU acceleration — stock AOSP mesa3d only, no Panfrost yet
  • SELinux enforcing (currently permissive)
  • Camera, HDMI capture input, RTL8125BG Ethernet firmware, and WiFi/BT driver support are all unverified/in progress

This device has no Android recovery (TARGET_NO_RECOVERY := true) — it boots via U-Boot + extlinux.conf, not a recovery/OTA-zip flow. Use plain mka, not mka bacon (see BoardConfig.mk and the parent project's build docs for why bacon fails on this device).

Building and flashing

Full setup, sync, and build instructions live in the android_local_manifest README — this repo is just one of several projects (device tree, kernel, vendor blobs) that manifest pulls in.

Two scripts in this repo are used post-build:

  • mkimg.sh — assembles a flashable GPT image (U-Boot + FAT32 boot partition with extlinux.conf/kernel/DTB/ramdisk, plus system/vendor/metadata/userdata partitions) from the build output. Run from the source tree root after mka, in the same shell used to build (needs TARGET_PRODUCT/ANDROID_PRODUCT_OUT from lunch/breakfast). Do not run with sudo — it escalates internally per-command only where needed.
  • wrimg.sh — writes individual partition images (boot/system/vendor) directly to an already-flashed physical device for fast dev-iteration re-flashes, without rebuilding the whole GPT image. Also supports wipe (reformat userdata) and wipe-metadata. Auto-detects the target block device by matching partition labels/sizes against mkimg.sh's 5-partition layout.

License

Apache-2.0. Originally forked from KonstaKang's Orange Pi 5 Pro AOSP device tree and dvab-sarma's port; substantially modified for the Orange Pi 5 Ultra / LineageOS ATV port.