Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2019 11:08:45 -0600
From:      Sergey Manucharian <sm@ara-ler.com>
To:        Vijay Kumar Banerjee <vijaykumar9597@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Writing to /dev/fb0
Message-ID:  <20190621170845.GD2903@eldorado>
In-Reply-To: <CAFgkNAkVHccLg15aq9RY5CaT1qV=Bku2KpqOZiLjaNhJJF%2B8=A@mail.gmail.com>
References:  <CAFgkNAkVHccLg15aq9RY5CaT1qV=Bku2KpqOZiLjaNhJJF%2B8=A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190621170845.GD2903>