Well the build finished, but Panfrost is not being used. I checked 3dsupport and the final output was showing the flag 3dsupport as well. I’m getting llvm with no hardware acceleration and no panfrost. The build also seems to have defaulted to X11 instead of wayland for gnome, even though the wayland sesion is being chosen at login vs the x11 session.
glxinfo
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 11.0.1, 128 bits) (0xffffffff)
Version: 20.3.5
Accelerated: no
Video memory: 7690MB
Unified memory: no
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 11.0.1, 128 bits)
Also, PCIe does not seem to work correctly. I have an AR9462 (QCNA222) m.2 wifi card. I enabled all ath9k settings in the kernel configuration because this card didn’t work on the Debian minimal image either. It still doesn’t work and is failing with the exact same error in dmesg.
lspci
0000:00:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 3566 (rev 01)
0000:01:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)
0002:20:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 3566 (rev 01)
dmesg
ath9k 0000:01:00.0: enabling device (0000 -> 0002)
ath9k 0000:01:00.0: request_irq failed
ath9k: probe of 0000:01:00.0 failed with error -22
I also enabled the ath9k debug but I’m not sure where to even begin using it. What I can see is that IRQ events are not being properly handled by the kernel. This card works perfectly fine on 2 of my other machines.
The echo 1 > /sys/bus/pci/rescan
command does not change anything either. Nothing in dmesg, nothing gets loaded.
Last message on output.log
Displaying message: Repeat Build Options ./compile.sh BOARD=rock-3a BRANCH=edge RELEASE=bullseye BUILD_MINIMAL=no BUILD_DESKTOP=yes KERNEL_CONFIGURE=no DESKTOP_ENVIRONMENT=gnome DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base DESKTOP_APPGROUPS_SELECTED="3dsupport browsers chat desktop_tools editors internet multimedia office programming remote_desktop" COMPRESS_OUTPUTIMAGE=sha,gpg,img ext
I’m currently downloading
https://github.com/amazingfate/armbian-rock3a-images/releases/download/20221212-1600/Armbian_23.02.0-trunk_Rock-3a_sid_edge_6.0.12_gnome_desktop.img.xz
instead. It’s from the github in OP I believe.
After install, it works with wayland and panfrost, but the same error for wifi shows up. it’s not handling IRQ properly.
To sum up, building this image for this board has not at all been worth it and does not work correctly and PCIe still needs a lot of work.
Relevance to this thread
PCIe does not work in this build, custom build, or Armbian official build with an AR9462 QCNA222 M.2 WiFi card. This card is the best open source blob-free wifi adapter so should have the highest compatibility, but on this board it doesn’t.