Re: [PATCH] Add framebuffer in BBB

2019-07-28 Thread Christian Mauderer
On 28/07/2019 13:07, Vijay Kumar Banerjee wrote:
> 
> 
> 
> On Sun, Jul 28, 2019 at 1:31 PM Christian Mauderer  > wrote:
> 
> On 27/07/2019 21:43, Vijay Kumar Banerjee wrote:
> >
> >
> >
> > On Sat, Jul 27, 2019 at 7:37 PM Christian Mauderer
> mailto:l...@c-mauderer.de>
> > >> wrote:
> >
> >     On 26/07/2019 13:41, Christian Mauderer wrote:
> >     > On 26/07/2019 13:22, Vijay Kumar Banerjee wrote:
> >     >> Hello everyone!
> >     >>
> >     >> I'm excited to post the following patchset. With this patchset
> >     >> I have the framebuffer working in BBB and have tested it with a
> >     >> BBB revC with HDMI connected Screen.
> >     >>
> >     >> This patchset uses mmap and hence it's necessary to apply the
> >     >> patche ON TOP OF mmap patch to avoid merge conflict.
> >     >>
> >     >> In reply to this mail, I'll be attaching a picture of the
> screen
> >     >> where my rectangle drawing application made a nice red
> rectangle
> >     >> on the screen just like in FreeBSD.
> >     >>
> >     >> Thanks and regards,
> >     >> Vijay
> >     >>
> >     >
> >     > Hello Vijay,
> >     >
> >     > it's great that you now have a working driver. Well done.
> >     >
> >     > I hadn't had a look at most patches yet and most likely that
> will
> >     need a
> >     > bit of time. It's a lot of stuff. Most likely the bigger
> patches won't
> >     > reach the mailing list so maybe adding a link to a branch on
> your
> >     github
> >     > repo would be good.
> >     >
> >     > Note: Please don't send a v2 right now. I'm sure there are more
> >     comments
> >     > (maybe not only from me). Collect comments for at least one
> or two
> >     days
> >     > and create an update afterwards.
> >     >
> >     > Some notes reading the patch overview:
> >     >
> >     >> [PATCH 01/10] TDA19988 : Import from FreeBSD
> >     >> [PATCH 02/10] TDA19988 : port to RTEMS
> >     >> [PATCH 03/10] am335x display drivers: Import from FreeBSD
> >     >> [PATCH 04/10] am335x display drivers : Port to RTEMS
> >     >> [PATCH 05/10] fbd : Import from FreeBSD
> >     >> [PATCH 06/10] fbd : Port to RTEMS
> >     >
> >     > Is fbd a prerequisite of am335x_lcd? In that case it would
> have been
> >     > better to reorder the patches. As long as every version
> compiles (to
> >     > allow git bisect) I would accept that order too. But as a
> general rule
> >     > prerequisites should be prior to the parts that use it.
> >     >
> >     >> [PATCH 07/10] VT : Import from FreeBSD
> >     >> [PATCH 08/10] VT : Port to RTEMS
> >     >
> >     > Is the vt still necessary? I think it was an intermediate
> step to try
> >     > whether it's initializing the display. Did you try without it?
> >     >
> >     >> [PATCH 09/10] TI Pinmux : Import from FreeBSD
> >     >> [PATCH 10/10] TI Pinmux : Port to RTEMS
> >     >
> >     > Again: prerequisite. So they should be one of the first.
> >     >
> >     > Best regards
> >     >
> >     > Christian
> >     >
> >
> >     One general question: When trying the patches, my monitor has
> been set
> >     up as 1440x900 instead of it's native resolution. Did you
> check whether
> >     the resolution on your screen is set correctly?
> >
> > It's not setting fb with the "preferred videomode", I can confirm that
> > the resolution
> > set by FreeBSD and RTEMS is same.
> 
> OK. Sooner or later it might would be good to find out how to set
> another resolution. Currently I have the following output:
> 
> 
> Preferred mode: 1920x1200 @ 60Hz
> Number of extension blocks: 1
> fb0: detected videomode: 1440x900 @ 60KHz
> fbd0 on fb0
> 
> 
> It's a bit odd that not the preferred mode is used. But if it is the
> same for FreeBSD it's OK for a start.
> 
> One other problem: I tried to create some solid regions and it seems
> that there are a few artefacts. Can you try that on your screen and tell
> me whether you get them too? For the code and an image how it looks like
> on my screen take a look at
>     https://gist.github.com/c-mauderer/051689bb1199caf20a08d9844c44c113
> 
> Some of the lines vanished after a few seconds. I think that could be a
> memory caching issue.
> 
> I see the same. Some lines come back after a few seconds:
> https://drive.google.com/file/d/1CA61bs0nipUygRpotmyL-Hd8khG_RIbD/view?usp=sharing
>  

OK. Like I said: My first guess would be a caching issue. Do you know
where or how the video memory is allocated? Is it a fixed area or
dynamically during 

Re: [PATCH] Add framebuffer in BBB

2019-07-28 Thread Vijay Kumar Banerjee
On Sun, Jul 28, 2019 at 1:31 PM Christian Mauderer 
wrote:

> On 27/07/2019 21:43, Vijay Kumar Banerjee wrote:
> >
> >
> >
> > On Sat, Jul 27, 2019 at 7:37 PM Christian Mauderer  > > wrote:
> >
> > On 26/07/2019 13:41, Christian Mauderer wrote:
> > > On 26/07/2019 13:22, Vijay Kumar Banerjee wrote:
> > >> Hello everyone!
> > >>
> > >> I'm excited to post the following patchset. With this patchset
> > >> I have the framebuffer working in BBB and have tested it with a
> > >> BBB revC with HDMI connected Screen.
> > >>
> > >> This patchset uses mmap and hence it's necessary to apply the
> > >> patche ON TOP OF mmap patch to avoid merge conflict.
> > >>
> > >> In reply to this mail, I'll be attaching a picture of the screen
> > >> where my rectangle drawing application made a nice red rectangle
> > >> on the screen just like in FreeBSD.
> > >>
> > >> Thanks and regards,
> > >> Vijay
> > >>
> > >
> > > Hello Vijay,
> > >
> > > it's great that you now have a working driver. Well done.
> > >
> > > I hadn't had a look at most patches yet and most likely that will
> > need a
> > > bit of time. It's a lot of stuff. Most likely the bigger patches
> won't
> > > reach the mailing list so maybe adding a link to a branch on your
> > github
> > > repo would be good.
> > >
> > > Note: Please don't send a v2 right now. I'm sure there are more
> > comments
> > > (maybe not only from me). Collect comments for at least one or two
> > days
> > > and create an update afterwards.
> > >
> > > Some notes reading the patch overview:
> > >
> > >> [PATCH 01/10] TDA19988 : Import from FreeBSD
> > >> [PATCH 02/10] TDA19988 : port to RTEMS
> > >> [PATCH 03/10] am335x display drivers: Import from FreeBSD
> > >> [PATCH 04/10] am335x display drivers : Port to RTEMS
> > >> [PATCH 05/10] fbd : Import from FreeBSD
> > >> [PATCH 06/10] fbd : Port to RTEMS
> > >
> > > Is fbd a prerequisite of am335x_lcd? In that case it would have
> been
> > > better to reorder the patches. As long as every version compiles
> (to
> > > allow git bisect) I would accept that order too. But as a general
> rule
> > > prerequisites should be prior to the parts that use it.
> > >
> > >> [PATCH 07/10] VT : Import from FreeBSD
> > >> [PATCH 08/10] VT : Port to RTEMS
> > >
> > > Is the vt still necessary? I think it was an intermediate step to
> try
> > > whether it's initializing the display. Did you try without it?
> > >
> > >> [PATCH 09/10] TI Pinmux : Import from FreeBSD
> > >> [PATCH 10/10] TI Pinmux : Port to RTEMS
> > >
> > > Again: prerequisite. So they should be one of the first.
> > >
> > > Best regards
> > >
> > > Christian
> > >
> >
> > One general question: When trying the patches, my monitor has been
> set
> > up as 1440x900 instead of it's native resolution. Did you check
> whether
> > the resolution on your screen is set correctly?
> >
> > It's not setting fb with the "preferred videomode", I can confirm that
> > the resolution
> > set by FreeBSD and RTEMS is same.
>
> OK. Sooner or later it might would be good to find out how to set
> another resolution. Currently I have the following output:
>
> 
> Preferred mode: 1920x1200 @ 60Hz
> Number of extension blocks: 1
> fb0: detected videomode: 1440x900 @ 60KHz
> fbd0 on fb0
> 
>
> It's a bit odd that not the preferred mode is used. But if it is the
> same for FreeBSD it's OK for a start.
>
> One other problem: I tried to create some solid regions and it seems
> that there are a few artefacts. Can you try that on your screen and tell
> me whether you get them too? For the code and an image how it looks like
> on my screen take a look at
> https://gist.github.com/c-mauderer/051689bb1199caf20a08d9844c44c113
>
> Some of the lines vanished after a few seconds. I think that could be a
> memory caching issue.
>
> I see the same. Some lines come back after a few seconds:
https://drive.google.com/file/d/1CA61bs0nipUygRpotmyL-Hd8khG_RIbD/view?usp=sharing


> >
> > Best regards
> >
> > Christian
> >
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] Add framebuffer in BBB

2019-07-28 Thread Christian Mauderer
On 27/07/2019 21:43, Vijay Kumar Banerjee wrote:
> 
> 
> 
> On Sat, Jul 27, 2019 at 7:37 PM Christian Mauderer  > wrote:
> 
> On 26/07/2019 13:41, Christian Mauderer wrote:
> > On 26/07/2019 13:22, Vijay Kumar Banerjee wrote:
> >> Hello everyone!
> >>
> >> I'm excited to post the following patchset. With this patchset
> >> I have the framebuffer working in BBB and have tested it with a
> >> BBB revC with HDMI connected Screen.
> >>
> >> This patchset uses mmap and hence it's necessary to apply the
> >> patche ON TOP OF mmap patch to avoid merge conflict.
> >>
> >> In reply to this mail, I'll be attaching a picture of the screen
> >> where my rectangle drawing application made a nice red rectangle
> >> on the screen just like in FreeBSD.
> >>
> >> Thanks and regards,
> >> Vijay
> >>
> >
> > Hello Vijay,
> >
> > it's great that you now have a working driver. Well done.
> >
> > I hadn't had a look at most patches yet and most likely that will
> need a
> > bit of time. It's a lot of stuff. Most likely the bigger patches won't
> > reach the mailing list so maybe adding a link to a branch on your
> github
> > repo would be good.
> >
> > Note: Please don't send a v2 right now. I'm sure there are more
> comments
> > (maybe not only from me). Collect comments for at least one or two
> days
> > and create an update afterwards.
> >
> > Some notes reading the patch overview:
> >
> >> [PATCH 01/10] TDA19988 : Import from FreeBSD
> >> [PATCH 02/10] TDA19988 : port to RTEMS
> >> [PATCH 03/10] am335x display drivers: Import from FreeBSD
> >> [PATCH 04/10] am335x display drivers : Port to RTEMS
> >> [PATCH 05/10] fbd : Import from FreeBSD
> >> [PATCH 06/10] fbd : Port to RTEMS
> >
> > Is fbd a prerequisite of am335x_lcd? In that case it would have been
> > better to reorder the patches. As long as every version compiles (to
> > allow git bisect) I would accept that order too. But as a general rule
> > prerequisites should be prior to the parts that use it.
> >
> >> [PATCH 07/10] VT : Import from FreeBSD
> >> [PATCH 08/10] VT : Port to RTEMS
> >
> > Is the vt still necessary? I think it was an intermediate step to try
> > whether it's initializing the display. Did you try without it?
> >
> >> [PATCH 09/10] TI Pinmux : Import from FreeBSD
> >> [PATCH 10/10] TI Pinmux : Port to RTEMS
> >
> > Again: prerequisite. So they should be one of the first.
> >
> > Best regards
> >
> > Christian
> >
> 
> One general question: When trying the patches, my monitor has been set
> up as 1440x900 instead of it's native resolution. Did you check whether
> the resolution on your screen is set correctly?
> 
> It's not setting fb with the "preferred videomode", I can confirm that
> the resolution
> set by FreeBSD and RTEMS is same. 

OK. Sooner or later it might would be good to find out how to set
another resolution. Currently I have the following output:


Preferred mode: 1920x1200 @ 60Hz
Number of extension blocks: 1
fb0: detected videomode: 1440x900 @ 60KHz
fbd0 on fb0


It's a bit odd that not the preferred mode is used. But if it is the
same for FreeBSD it's OK for a start.

One other problem: I tried to create some solid regions and it seems
that there are a few artefacts. Can you try that on your screen and tell
me whether you get them too? For the code and an image how it looks like
on my screen take a look at
https://gist.github.com/c-mauderer/051689bb1199caf20a08d9844c44c113

Some of the lines vanished after a few seconds. I think that could be a
memory caching issue.

> 
> Best regards
> 
> Christian
> 
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH] Add framebuffer in BBB

2019-07-27 Thread Vijay Kumar Banerjee
On Sat, Jul 27, 2019 at 7:37 PM Christian Mauderer 
wrote:

> On 26/07/2019 13:41, Christian Mauderer wrote:
> > On 26/07/2019 13:22, Vijay Kumar Banerjee wrote:
> >> Hello everyone!
> >>
> >> I'm excited to post the following patchset. With this patchset
> >> I have the framebuffer working in BBB and have tested it with a
> >> BBB revC with HDMI connected Screen.
> >>
> >> This patchset uses mmap and hence it's necessary to apply the
> >> patche ON TOP OF mmap patch to avoid merge conflict.
> >>
> >> In reply to this mail, I'll be attaching a picture of the screen
> >> where my rectangle drawing application made a nice red rectangle
> >> on the screen just like in FreeBSD.
> >>
> >> Thanks and regards,
> >> Vijay
> >>
> >
> > Hello Vijay,
> >
> > it's great that you now have a working driver. Well done.
> >
> > I hadn't had a look at most patches yet and most likely that will need a
> > bit of time. It's a lot of stuff. Most likely the bigger patches won't
> > reach the mailing list so maybe adding a link to a branch on your github
> > repo would be good.
> >
> > Note: Please don't send a v2 right now. I'm sure there are more comments
> > (maybe not only from me). Collect comments for at least one or two days
> > and create an update afterwards.
> >
> > Some notes reading the patch overview:
> >
> >> [PATCH 01/10] TDA19988 : Import from FreeBSD
> >> [PATCH 02/10] TDA19988 : port to RTEMS
> >> [PATCH 03/10] am335x display drivers: Import from FreeBSD
> >> [PATCH 04/10] am335x display drivers : Port to RTEMS
> >> [PATCH 05/10] fbd : Import from FreeBSD
> >> [PATCH 06/10] fbd : Port to RTEMS
> >
> > Is fbd a prerequisite of am335x_lcd? In that case it would have been
> > better to reorder the patches. As long as every version compiles (to
> > allow git bisect) I would accept that order too. But as a general rule
> > prerequisites should be prior to the parts that use it.
> >
> >> [PATCH 07/10] VT : Import from FreeBSD
> >> [PATCH 08/10] VT : Port to RTEMS
> >
> > Is the vt still necessary? I think it was an intermediate step to try
> > whether it's initializing the display. Did you try without it?
> >
> >> [PATCH 09/10] TI Pinmux : Import from FreeBSD
> >> [PATCH 10/10] TI Pinmux : Port to RTEMS
> >
> > Again: prerequisite. So they should be one of the first.
> >
> > Best regards
> >
> > Christian
> >
>
> One general question: When trying the patches, my monitor has been set
> up as 1440x900 instead of it's native resolution. Did you check whether
> the resolution on your screen is set correctly?
>
> It's not setting fb with the "preferred videomode", I can confirm that the
resolution
set by FreeBSD and RTEMS is same.

> Best regards
>
> Christian
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] Add framebuffer in BBB

2019-07-27 Thread Christian Mauderer
On 26/07/2019 13:41, Christian Mauderer wrote:
> On 26/07/2019 13:22, Vijay Kumar Banerjee wrote:
>> Hello everyone!
>>
>> I'm excited to post the following patchset. With this patchset
>> I have the framebuffer working in BBB and have tested it with a 
>> BBB revC with HDMI connected Screen. 
>>
>> This patchset uses mmap and hence it's necessary to apply the
>> patche ON TOP OF mmap patch to avoid merge conflict.
>>
>> In reply to this mail, I'll be attaching a picture of the screen
>> where my rectangle drawing application made a nice red rectangle
>> on the screen just like in FreeBSD.
>>
>> Thanks and regards,
>> Vijay
>>
> 
> Hello Vijay,
> 
> it's great that you now have a working driver. Well done.
> 
> I hadn't had a look at most patches yet and most likely that will need a
> bit of time. It's a lot of stuff. Most likely the bigger patches won't
> reach the mailing list so maybe adding a link to a branch on your github
> repo would be good.
> 
> Note: Please don't send a v2 right now. I'm sure there are more comments
> (maybe not only from me). Collect comments for at least one or two days
> and create an update afterwards.
> 
> Some notes reading the patch overview:
> 
>> [PATCH 01/10] TDA19988 : Import from FreeBSD
>> [PATCH 02/10] TDA19988 : port to RTEMS
>> [PATCH 03/10] am335x display drivers: Import from FreeBSD
>> [PATCH 04/10] am335x display drivers : Port to RTEMS
>> [PATCH 05/10] fbd : Import from FreeBSD
>> [PATCH 06/10] fbd : Port to RTEMS
> 
> Is fbd a prerequisite of am335x_lcd? In that case it would have been
> better to reorder the patches. As long as every version compiles (to
> allow git bisect) I would accept that order too. But as a general rule
> prerequisites should be prior to the parts that use it.
> 
>> [PATCH 07/10] VT : Import from FreeBSD
>> [PATCH 08/10] VT : Port to RTEMS
> 
> Is the vt still necessary? I think it was an intermediate step to try
> whether it's initializing the display. Did you try without it?
> 
>> [PATCH 09/10] TI Pinmux : Import from FreeBSD
>> [PATCH 10/10] TI Pinmux : Port to RTEMS
> 
> Again: prerequisite. So they should be one of the first.
> 
> Best regards
> 
> Christian
> 

One general question: When trying the patches, my monitor has been set
up as 1440x900 instead of it's native resolution. Did you check whether
the resolution on your screen is set correctly?

Best regards

Christian
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH] Add framebuffer in BBB

2019-07-27 Thread Christian Mauderer
On 27/07/2019 02:52, Chris Johns wrote:
> On 26/7/19 9:41 pm, Christian Mauderer wrote:
>> I hadn't had a look at most patches yet and most likely that will need a
>> bit of time. It's a lot of stuff. Most likely the bigger patches won't
>> reach the mailing list so maybe adding a link to a branch on your github
>> repo would be good.
> 
> There are no oversize posts in the thread.
> 
> Chris

Hello Chris,

thanks for checking that. In my experience a lot of FreeBSD import
commits tend to be over the limit. Vijay put me on CC so I didn't see
whether all patches have been sent to the mailing list. Therefore I
thought it would be worth noting it.

Best regards

Christian
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH] Add framebuffer in BBB

2019-07-26 Thread Chris Johns
On 26/7/19 9:41 pm, Christian Mauderer wrote:
> I hadn't had a look at most patches yet and most likely that will need a
> bit of time. It's a lot of stuff. Most likely the bigger patches won't
> reach the mailing list so maybe adding a link to a branch on your github
> repo would be good.

There are no oversize posts in the thread.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH] Add framebuffer in BBB

2019-07-26 Thread Vijay Kumar Banerjee
On Fri, Jul 26, 2019 at 6:42 PM Vijay Kumar Banerjee <
vijaykumar9...@gmail.com> wrote:

>
>
>
> On Fri, Jul 26, 2019 at 5:11 PM Christian Mauderer <
> christian.maude...@embedded-brains.de> wrote:
>
>> On 26/07/2019 13:22, Vijay Kumar Banerjee wrote:
>> > Hello everyone!
>> >
>> > I'm excited to post the following patchset. With this patchset
>> > I have the framebuffer working in BBB and have tested it with a
>> > BBB revC with HDMI connected Screen.
>> >
>> > This patchset uses mmap and hence it's necessary to apply the
>> > patche ON TOP OF mmap patch to avoid merge conflict.
>> >
>> > In reply to this mail, I'll be attaching a picture of the screen
>> > where my rectangle drawing application made a nice red rectangle
>> > on the screen just like in FreeBSD.
>> >
>> > Thanks and regards,
>> > Vijay
>> >
>>
>> Hello Vijay,
>>
>> it's great that you now have a working driver. Well done.
>>
>> I hadn't had a look at most patches yet and most likely that will need a
>> bit of time. It's a lot of stuff. Most likely the bigger patches won't
>> reach the mailing list so maybe adding a link to a branch on your github
>> repo would be good.
>>
>> I'll reorder them and push to remote today and add it in this thread.
>
Pushed it here:
https://github.com/thelunatic/rtems-libbsd/tree/framebuffer

> Note: Please don't send a v2 right now. I'm sure there are more comments
>> (maybe not only from me). Collect comments for at least one or two days
>> and create an update afterwards.
>>
>> Some notes reading the patch overview:
>>
>> > [PATCH 01/10] TDA19988 : Import from FreeBSD
>> > [PATCH 02/10] TDA19988 : port to RTEMS
>> > [PATCH 03/10] am335x display drivers: Import from FreeBSD
>> > [PATCH 04/10] am335x display drivers : Port to RTEMS
>> > [PATCH 05/10] fbd : Import from FreeBSD
>> > [PATCH 06/10] fbd : Port to RTEMS
>>
>> Is fbd a prerequisite of am335x_lcd? In that case it would have been
>> better to reorder the patches. As long as every version compiles (to
>> allow git bisect) I would accept that order too. But as a general rule
>> prerequisites should be prior to the parts that use it.
>>
>> am335x_lcd is the prerequisite for fbd.
>
>> > [PATCH 07/10] VT : Import from FreeBSD
>> > [PATCH 08/10] VT : Port to RTEMS
>>
>> Is the vt still necessary? I think it was an intermediate step to try
>> whether it's initializing the display. Did you try without it?
>>
>> I tried without it, it's giving some noise in the screen and the the open
> call to framebuffer is returning error without vt. I guess the vt
> initialization
> is necessary.
>
>> > [PATCH 09/10] TI Pinmux : Import from FreeBSD
>> > [PATCH 10/10] TI Pinmux : Port to RTEMS
>>
>> Again: prerequisite. So they should be one of the first.
>>
>> OK. I'll put it in the first.
>
>> Best regards
>>
>> Christian
>> --
>> 
>> embedded brains GmbH
>> Herr Christian Mauderer
>> Dornierstr. 4
>> D-82178 Puchheim
>> Germany
>> email: christian.maude...@embedded-brains.de
>> Phone: +49-89-18 94 741 - 18
>> Fax:   +49-89-18 94 741 - 08
>> PGP: Public key available on request.
>>
>> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>>
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] Add framebuffer in BBB

2019-07-26 Thread Vijay Kumar Banerjee
On Fri, Jul 26, 2019 at 5:11 PM Christian Mauderer <
christian.maude...@embedded-brains.de> wrote:

> On 26/07/2019 13:22, Vijay Kumar Banerjee wrote:
> > Hello everyone!
> >
> > I'm excited to post the following patchset. With this patchset
> > I have the framebuffer working in BBB and have tested it with a
> > BBB revC with HDMI connected Screen.
> >
> > This patchset uses mmap and hence it's necessary to apply the
> > patche ON TOP OF mmap patch to avoid merge conflict.
> >
> > In reply to this mail, I'll be attaching a picture of the screen
> > where my rectangle drawing application made a nice red rectangle
> > on the screen just like in FreeBSD.
> >
> > Thanks and regards,
> > Vijay
> >
>
> Hello Vijay,
>
> it's great that you now have a working driver. Well done.
>
> I hadn't had a look at most patches yet and most likely that will need a
> bit of time. It's a lot of stuff. Most likely the bigger patches won't
> reach the mailing list so maybe adding a link to a branch on your github
> repo would be good.
>
> I'll reorder them and push to remote today and add it in this thread.

> Note: Please don't send a v2 right now. I'm sure there are more comments
> (maybe not only from me). Collect comments for at least one or two days
> and create an update afterwards.
>
> Some notes reading the patch overview:
>
> > [PATCH 01/10] TDA19988 : Import from FreeBSD
> > [PATCH 02/10] TDA19988 : port to RTEMS
> > [PATCH 03/10] am335x display drivers: Import from FreeBSD
> > [PATCH 04/10] am335x display drivers : Port to RTEMS
> > [PATCH 05/10] fbd : Import from FreeBSD
> > [PATCH 06/10] fbd : Port to RTEMS
>
> Is fbd a prerequisite of am335x_lcd? In that case it would have been
> better to reorder the patches. As long as every version compiles (to
> allow git bisect) I would accept that order too. But as a general rule
> prerequisites should be prior to the parts that use it.
>
> am335x_lcd is the prerequisite for fbd.

> > [PATCH 07/10] VT : Import from FreeBSD
> > [PATCH 08/10] VT : Port to RTEMS
>
> Is the vt still necessary? I think it was an intermediate step to try
> whether it's initializing the display. Did you try without it?
>
> I tried without it, it's giving some noise in the screen and the the open
call to framebuffer is returning error without vt. I guess the vt
initialization
is necessary.

> > [PATCH 09/10] TI Pinmux : Import from FreeBSD
> > [PATCH 10/10] TI Pinmux : Port to RTEMS
>
> Again: prerequisite. So they should be one of the first.
>
> OK. I'll put it in the first.

> Best regards
>
> Christian
> --
> 
> embedded brains GmbH
> Herr Christian Mauderer
> Dornierstr. 4
> D-82178 Puchheim
> Germany
> email: christian.maude...@embedded-brains.de
> Phone: +49-89-18 94 741 - 18
> Fax:   +49-89-18 94 741 - 08
> PGP: Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] Add framebuffer in BBB

2019-07-26 Thread Christian Mauderer
On 26/07/2019 13:22, Vijay Kumar Banerjee wrote:
> Hello everyone!
> 
> I'm excited to post the following patchset. With this patchset
> I have the framebuffer working in BBB and have tested it with a 
> BBB revC with HDMI connected Screen. 
> 
> This patchset uses mmap and hence it's necessary to apply the
> patche ON TOP OF mmap patch to avoid merge conflict.
> 
> In reply to this mail, I'll be attaching a picture of the screen
> where my rectangle drawing application made a nice red rectangle
> on the screen just like in FreeBSD.
> 
> Thanks and regards,
> Vijay
> 

Hello Vijay,

it's great that you now have a working driver. Well done.

I hadn't had a look at most patches yet and most likely that will need a
bit of time. It's a lot of stuff. Most likely the bigger patches won't
reach the mailing list so maybe adding a link to a branch on your github
repo would be good.

Note: Please don't send a v2 right now. I'm sure there are more comments
(maybe not only from me). Collect comments for at least one or two days
and create an update afterwards.

Some notes reading the patch overview:

> [PATCH 01/10] TDA19988 : Import from FreeBSD
> [PATCH 02/10] TDA19988 : port to RTEMS
> [PATCH 03/10] am335x display drivers: Import from FreeBSD
> [PATCH 04/10] am335x display drivers : Port to RTEMS
> [PATCH 05/10] fbd : Import from FreeBSD
> [PATCH 06/10] fbd : Port to RTEMS

Is fbd a prerequisite of am335x_lcd? In that case it would have been
better to reorder the patches. As long as every version compiles (to
allow git bisect) I would accept that order too. But as a general rule
prerequisites should be prior to the parts that use it.

> [PATCH 07/10] VT : Import from FreeBSD
> [PATCH 08/10] VT : Port to RTEMS

Is the vt still necessary? I think it was an intermediate step to try
whether it's initializing the display. Did you try without it?

> [PATCH 09/10] TI Pinmux : Import from FreeBSD
> [PATCH 10/10] TI Pinmux : Port to RTEMS

Again: prerequisite. So they should be one of the first.

Best regards

Christian
-- 

embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.maude...@embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] Add framebuffer in BBB

2019-07-26 Thread Vijay Kumar Banerjee
On Fri, Jul 26, 2019 at 4:53 PM Vijay Kumar Banerjee <
vijaykumar9...@gmail.com> wrote:

> Hello everyone!
>
> I'm excited to post the following patchset. With this patchset
> I have the framebuffer working in BBB and have tested it with a
> BBB revC with HDMI connected Screen.
>
> This patchset uses mmap and hence it's necessary to apply the
> patche ON TOP OF mmap patch to avoid merge conflict.
>
> In reply to this mail, I'll be attaching a picture of the screen
> where my rectangle drawing application made a nice red rectangle
> on the screen just like in FreeBSD.
>
> I've uploaded the image to drive and it can be seen by anyone with the
following link :
https://drive.google.com/file/d/1yTsYs61JqZ0-QS2YvcQDdzAKEgcrdDW4/view?usp=sharing


> Thanks and regards,
> Vijay
>
>
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel