Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2019 00:14:40 +0530
From:      Vijay Kumar Banerjee <vijaykumar9597@gmail.com>
To:        Sergey Manucharian <sm@ara-ler.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Writing to /dev/fb0
Message-ID:  <CAFgkNAmw3cyhacK2RT2bHn=pNjRTE39o=bAR7aeuJPRb6W1dyQ@mail.gmail.com>
In-Reply-To: <20190621171343.GE2903@eldorado>
References:  <CAFgkNAkVHccLg15aq9RY5CaT1qV=Bku2KpqOZiLjaNhJJF%2B8=A@mail.gmail.com> <20190621170845.GD2903@eldorado> <20190621171343.GE2903@eldorado>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 21, 2019 at 10:43 PM Sergey Manucharian <sm@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 =E2=80=93 it supports BSD fra=
mebuffer
> > out of the box:
> >
> > <qt5_program> -platform: bsdfb:fb=3D/dev/fb0
>
> Sorry for the typo, there is no colon after "platform":
>
> <qt5_program> -platform bsdfb:fb=3D/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

>
> =CF=9E=CF=BB
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFgkNAmw3cyhacK2RT2bHn=pNjRTE39o=bAR7aeuJPRb6W1dyQ>