LE1:
Managed to get the kernel output on the display.
Apparently dtoverlays are installed using an armbian tool
Got an overlay for opizero which I modified to run on SPI0 instead of SPI1 and changed some pins.
Also installed xserver-xorg-video-fbturbo.
Now fb1 appears under /dev but X is still crashing
Failed to load module "fbturbo" (module does not exist, 0)
and
[ 2465.451] (II) LoadModule: "fbdevhw" [ 2465.452] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 2465.452] (II) Module fbdevhw: vendor="X.Org Foundation" [ 2465.453] compiled for 1.20.4, module version = 0.0.2 [ 2465.453] ABI class: X.Org Video Driver, version 24.0 [ 2465.453] (II) FBDEV(0): using /dev/fb1 [ 2465.453] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 2465.453] (EE) Screen 0 deleted because of no matching config section. [ 2465.453] (II) UnloadModule: "fbdev" [ 2465.453] (II) UnloadSubModule: "fbdevhw" [ 2465.453] (EE) Device(s) detected, but none match those in the config file. [ 2465.453] (EE) Fatal server error: [ 2465.453] (EE) no screens found(EE) [ 2465.453] (EE)
Original post:
Right, since the UI works now and all the bells and whistles, I played a bit with zynthian over HDMI. I am really amazed by the performance and flexibility of it.
No xruns, but sporadic UI crashes from time to time, nothing major. Thanks a lot to everyone who made and contributed to this project!
The next big challenge now is though, adding a screen to this contraption.
Bought an ili9341 screen and tested it on a stm32 to make sure it works, at least, and it does indeed.
However, it doesn’t on the orange pi…
Issues:
- fbtft wasn’t built-in to the kernel (I’m running 5.10) so loaded it as a kernel module.
- fbtft_devices was removed since 5.40 and I see that also zynthian is using dtoverlays. Rpi_screen should work for me since I see that it’s meant for an ili9341. Since I am not running a standard raspberry pi configuration, I will have to override some pin configuration (cs, dc, reset), which should be done in UI in the advanced display settings.
- Even though I configured everything correctly, I can’t see fb1 under /dev, and I’m clueless at this point. Any help I found online relates to fbtft_devices not starting, but since this is now removed, I don’t really know what’s the cause…
- Is fbtft listing the framebuffer device only after it has found a device on the spi interface?
Is there a specific HAL that fbtft is using to control the hardware pins?
Because that would be different from the raspi.