BBB Framebuffer driver : Project status

Gedare Bloom gedare at rtems.org
Tue Jun 25 17:42:10 UTC 2019


On Tue, Jun 25, 2019 at 10:36 AM Vijay Kumar Banerjee
<vijaykumar9597 at gmail.com> wrote:
>
>
>
> On Tue, Jun 25, 2019 at 9:32 PM Gedare Bloom <gedare at rtems.org> wrote:
>>
>> On Tue, Jun 25, 2019 at 5:34 AM Vijay Kumar Banerjee
>> <vijaykumar9597 at gmail.com> wrote:
>> >
>> > Hello,
>> >
>> > The First Evaluation is going on and I here I would summarize all the progress
>> > that the project has made in the first Phase.
>> >
>> > 1. The major progress is the completion of the I2C adaptation layer in the libbsd
>> >      along with the iicbus driver imports. The v4 of the driver [1] has been tested to be
>> >      working with the bbb-i2c driver patch [2]. After the RTEMS driver is updated in the
>> >      master, the adaptation layer will be mergeable.
>> >
>> > 2. I am getting EDID reading from the imported tda drivers. I have checked this using
>> >     the ti_i2c driver but now as we have an updated version  of the driver, I'll pull this all
>> >     with the adaptation layer and will continue from there.
>> >
>> > 3. I found a sample app from the freebsd mailing list, that draws a basic shape on the
>> >     screen. I have made it a standalone app with only single source and have tested it
>> >      to be working with the FreeBSD. The only issue with the code is that it uses mmap
>> >      and RTEMS doesn't use mmap so I'm rewriting the app with pread and pwrtie on
>> >      to write to the /dev/fb0 directly. This app work is ongoing.
>> >
>> We have a rudimentary mmap() support available. I would expect this
>> might be important to investigate for graphics applications in general
>> might be trying to mmap() device memory.
>>
> At this moment, my objective is to just test that the fb device is working.
> For that, as I said, I'm trying to rewrite the mmap with pread instead. So
> far I couldn't get anything on screen with it though but if the writes work
> then I'm expecting to see something on the screen.
> As you have pointed out that most graphics applications will be using
> mmap(). Do you suggest trying to improve mmap() support as a part
> of this project? Is that expected to take a lot of time?
>

I leave this decision up to you and your mentors whether (and why) to
re-prioritize any of your work.


>> > Next Up:
>> > 1. merge the ported TDA driver and using it with the adaptation layer.
>> > 2. Import and port the fbd dirver to create an fb0 device.
>> > 3. complete the sample app and convert it into a libbsd sample app to test the device.
>> >
>> > Thanks,
>> > Vijay
>> >
>> > _______________________________________________
>> > devel mailing list
>> > devel at rtems.org
>> > http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list