Writing to /dev/fb0
Sergey Manucharian
sm at ara-ler.com
Fri Jun 21 17:09:33 UTC 2019
Excerpts from Vijay Kumar Banerjee's message from Fri 21-Jun-19 22:25:
> Hello everyone,
>
> I'm working on porting the Framebuffer driver from FreeBSD to RTEMS
> for BeagleboneBlack. I am in search of a sample/test application that
> I can use to directly access the fb0 device and write something to it.
>
> The purpose is to test the created fb0 device and work with it without
> any heavy application like X. Something as minimalistic as:
> `cat /dev/urandom > /dev/fb0`
> But this doesn't work on the FreeBSD. Any suggestions on how to
> test the fb0 device and how to write random pixels, or maybe draw a line?
>
The easiest thing you can do is using Qt5 – it supports BSD framebuffer
out of the box:
<qt5_program> -platform: bsdfb:fb=/dev/fb0
Perfectly works here.
-S.
More information about the freebsd-arm
mailing list