<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 10, 2019 at 12:40 PM Christian Mauderer <<a href="mailto:christian.mauderer@embedded-brains.de">christian.mauderer@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 09/07/2019 21:13, Vijay Kumar Banerjee wrote:<br>
> Hello all, <br>
> <br>
> First the status :<br>
> * The fbd has been ported and it's attaching with the fb0 devie. There's<br>
>    an fb0 device entry created. <br>
> * In the following commit I have added mmap to libbsd. This works like a<br>
> wrapper to the mmap in cpukit<br>
> : <a href="https://github.com/thelunatic/rtems-libbsd/commit/a8fc3b2b6840465029a000cc4169e9efbd551097" rel="noreferrer" target="_blank">https://github.com/thelunatic/rtems-libbsd/commit/a8fc3b2b6840465029a000cc4169e9efbd551097</a><br>
> <br>
> Blocker : <br>
> * After the fb0 is created and mmap is added, I don't see anything on<br>
>   the screen. From the FreeBSD, it seemed like the VT driver is needed<br>
> and that is responsible for turning on the screen. So I have ported a<br>
> minimal version of the VT with only the initialization and allocate parts:<br>
> <a href="https://github.com/thelunatic/rtems-libbsd/commit/95279e116717973525b581ae2e9550d1d3b8e1ba" rel="noreferrer" target="_blank">https://github.com/thelunatic/rtems-libbsd/commit/95279e116717973525b581ae2e9550d1d3b8e1ba</a><br>
> <br>
> But even after porting the VT driver which initializes well ( As the<br>
> message during booting says). I don't see anything on the screen.<br>
> I need some ideas on what is missing or how to debug this. <br>
> <br>
> The app I'm using to test framebuffer is pushed here :<br>
> <a href="https://github.com/thelunatic/rtems-bbb/tree/master/apps/fb-sample" rel="noreferrer" target="_blank">https://github.com/thelunatic/rtems-bbb/tree/master/apps/fb-sample</a><br>
> <br>
> Any idea regarding this is greatly appreciated.<br>
> <br>
> Thanks,<br>
> Vijay<br>
> <br>
<br>
Hello Vijay,<br>
<br>
did you have a look at the SPI of the HDMI framer? What is it used for<br>
according to the data sheet? Is it necessary for the driver?<br>
<br></blockquote><div>Hi,</div><div>From the datasheet, it seems that the SPI1_CS0 and SPI1_D0 pins are </div><div>configured as I2S interface for the audio. I think this is not necessary </div><div>and it is enabled only for a few selected resolutions that support audio. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
>From our chat discussions and my own tests I know that the screen is<br>
still not receiving a signal. So I would assume some quite basic<br>
problem. If your new mmap wouldn't work, you should still get at least a<br>
black screen.<br>
<br></blockquote><div>I was also hoping that VT will do the initialization and turn the screen On.<br>There might be something useful that I omitted during the porting. If you </div><div>can please review the commit, I can send it in the devel.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Best regards<br>
<br>
Christian<br>
-- <br>
--------------------------------------------<br>
embedded brains GmbH<br>
Herr Christian Mauderer<br>
Dornierstr. 4<br>
D-82178 Puchheim<br>
Germany<br>
email: <a href="mailto:christian.mauderer@embedded-brains.de" target="_blank">christian.mauderer@embedded-brains.de</a><br>
Phone: +49-89-18 94 741 - 18<br>
Fax:   +49-89-18 94 741 - 08<br>
PGP: Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
</blockquote></div></div>