juj / fbcp-ili9341

A blazing fast display driver for SPI-based LCD displays for Raspberry Pi A, B, 2, 3, 4 and Zero
MIT License
1.61k stars 267 forks source link

Radxa Zero Support? #232

Open mrkprdo opened 3 years ago

mrkprdo commented 3 years ago

is there any plans/motivation to support other boards like Radxa Zero?

juj commented 3 years ago

I am not personally working on porting the library on other platforms. There haven't been any mentions/forks that I am aware of from the community either.

Looks like quite powerful replacement to the Pi Zero. If that device has a direct way to access the framebuffer and SPI+DMA peripherals, then it would likely be possible to do a port.

mrkprdo commented 3 years ago

Hi, so i got my hands of this new board. Radxa team recently shared working Armbian focal with its own gpio header support. Which means i have the OS and hardware. Would you be able to help me visualize what is the architecture of this driver, i wanted to try and implement the port to this board. Although i have zero exp in kernel dev't, i just wanna learn it by doing.

mrkprdo commented 2 years ago

Hi @juj, i was able to recompile fbtft driver for ST7735s for this board in question. Just wanted to know if its possible to add just fbcp (framebuffer copy) only feature which directly writes to available framebuffer.

Since i have working display, all i need is try to push main display's screen to the framebuffer and hoping I would be able to achieve something like that.

Any thoughts?

juj commented 2 years ago

If you are using fbtft, then you can use the general framebuffer-based kernel path copy that https://github.com/tasanakorn/rpi-fbcp contains. The drawback of that though is that it is quite slow with all the kernel<->userland page mapping based mechanism, and fbtft kernel driver is not able to saturate the SPI bus well.