Writing to /dev/fb0
Vijay Kumar Banerjee
vijaykumar9597 at gmail.com
Fri Jun 21 18:44:53 UTC 2019
On Fri, Jun 21, 2019 at 10:43 PM Sergey Manucharian <sm at ara-ler.com> wrote:
> Excerpts from Sergey Manucharian's message from Fri 21-Jun-19 11:08:
> > Excerpts from Vijay Kumar Banerjee's message from Fri 21-Jun-19 22:25:
> > > `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
>
> Sorry for the typo, there is no colon after "platform":
>
> <qt5_program> -platform bsdfb:fb=/dev/fb0
>
> Hi Sergey,
Thanks for the quick reply. I'm searching for something even basic
and simpler. I understand that Qt is very simple to create GUI apps
but I need something very basic so that it's easy to _debug_ it while
testing the newly ported drivers. I basically need something where
I can see all steps from "draw a pixel in the top left corner" to the
registers in the hardware.
Also, after the successful run in the FreeBSD, the ultimate goal would
be to run the test app on RTEMS and I'm not sure about Qt on RTEMS.
There is definitely some port somewhere but that would give way for
more bugs and it would be a tough time debugging.
Is there anything which can be more basic and a simple application instead
of a graphics library?
Best regards,
Vijay
>
> Ϟϻ
>
>
More information about the freebsd-arm
mailing list