Skip to content

cubie-a5e: add linux 6.6 support (board.dts + bsp_defconfig) - #24

Draft
xzl01 wants to merge 5 commits into
radxa:device-a527-v1.5.0from
xzl01:pr-cubie-a5e-v15
Draft

xzl01 wants to merge 5 commits into
radxa:device-a527-v1.5.0from
xzl01:pr-cubie-a5e-v15

Conversation

@xzl01

@xzl01 xzl01 commented Aug 5, 2026

Copy link
Copy Markdown

Add linux 6.6 support for Radxa Cubie A5E (A527/sun55iw3) on the v1.5.0 branch:

  • configs/cubie_a5e/linux-6.6/board.dts: ported from linux-5.15, add radxa,a527 compatible, always-on wifi power regulators, enable gmac
  • configs/default/linux-6.6/bsp_defconfig: enable AW_GMAC/AW_STMMAC_ETH for ethernet

ℹ️ 依赖顺序: 本 PR 是 radxa-pkg/linux-aw2607#1 的前置依赖,请先合并本 PR。

xzl01 and others added 2 commits August 5, 2026 14:28
- port configs/cubie_a5e/linux-6.6/board.dts from linux-5.15 (keep hardware
  config, add radxa,a527 compatible per 5.15->6.6 port convention)
- add configs/default/linux-6.6/bsp_defconfig from tina1.5.0
- add missing boot0_nandfastboot_sun55iw3p1.bin
- board.dts: add always-on wifi_power_en (PM2) and wifi_chip_en (PM1)
  fixed regulators per radxa a733 scheme, drop conflicting power_en/
  wlan_regon from rfkill node so sunxi-rf can probe (aic8800 dkms
  depends on sunxi_wlan_get_bus_index)
- bsp_defconfig: enable AW_GMAC/AW_GMAC_METADATA/AW_STMMAC_ETH and
  friends for ethernet
Bluetooth (hci0) was created but non-functional: HCI Reset timed out
(0x1003 tx timeout) because PG6-PG9 (UART1 TX/RX/CTS/RTS) were left
UNCLAIMED. Add the uart1 pin group and wire pinctrl-0/pinctrl-1 into
&uart1 so the pins are muxed to UART function.

PG bank stays at 1.8V; no uart-supply added pending schematic review.
- sdc2 (eMMC): disable by default (base SKU has no eMMC, avoids CMD1 timeout)
- twi0: disable (no board-level pinctrl/device, avoids pinctrl probe error)
- keep rfkill empty pinctrl props and 1.8V BLDO1 wlan_power: removing them
  makes mmc1 (wifi SDIO) stall with dma hold bit timeout and RCU hang
- bsp_defconfig: enable CONFIG_SND_SOC_SUNXI_CODEC_HDMI for HDMI audio
@xzl01
xzl01 force-pushed the pr-cubie-a5e-v15 branch from a4d7c02 to 4d163d1 Compare August 7, 2026 01:28
Comment on lines +1336 to +1337
pinctrl-0;
pinctrl-names;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这两个不是布尔值呀,应该还有具体的pinctrl引用和字符串名称

Use panfrost (mainline, supports Mali-G57 Valhall) instead of the vendor
ARM mali-valhall driver:
- gpu: override compatible to arm,mali-valhall-jm so panfrost binds
- gpu: name the bus clock "bus" so panfrost enables bus-gpu (fixes the
  soft reset timeout)
- gpu: use lowercase interrupt-names (job/mmu/gpu) as panfrost matches
  them case-sensitively (fixes IRQ not found)

Userspace note: the sunxi display engine cannot scan out panfrost's AFBC
framebuffers, so export PAN_MESA_DEBUG=noafbc (e.g. in /etc/environment)
until the de_afbd decoder supports the format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants