This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

No fb0 on beaglebone

I don't have a /dev/fb0 on the beaglebone.  I tried using the pre-built root file system in the TI bb SDK, and also rebuilding the TI  SDK without any modification.  Is there some trick here?

  • Hi,

    A bare BeagleBone does not have a display connected. So there is no /dev/fb0.

    Thanks,

    Sekhar

  • But the SDK still builds and launches the matrix app, right?  And the beaglebone does have connectivity for video output (such as might be used for a DVI cape), right?  Or what about connection through something like VNC?  

  • The kernel detects which TI hardware platform it is on, EVM, beaglebone. Since there is not native display hardware on the beaglebone fb0 is not set up. Matrix is running though and can be accessed through a browser using the ip address of the beaglebone. However, please note that graphic related demos will not run in the browser.

    The user will have to get the DVI sources from the cape provider and build them into the kernel to enable DVI.

     

  • Hello,

    The framebuffer would be registered once a DVI cape is detected (right now the SDK does not support any cape hardware). Registering a framebuffer device without the right cape being detected would not be correct since a different cape could use the same pins for a non-display purpose. In such a case you will end-up with a non-functional device node.

    I have to admit I have not tried VNC to a beaglebone, but it seems VNC to a system without graphical display should be possible. I found some links like this which describe the process: http://stevenharman.net/blog/archive/2008/12/13/vnc-to-a-headless-ubuntu-box.aspx. Did you face any errors when trying VNC to BeagleBone?

    Thanks,

    Sekhar

  • I actually haven't tried the VNC either - I was just trying to think of scenarios where one would want to compose a picture using a beaglebone.  I have a DVI cape, and have been using buildroot to build an RFS with gstreamer, gst-ffmpeg, etc., with the Angstrom u-boot and uImage.  This lets me see H.264-doceded video on a DVI output, but the gstreamer ffmpegcolorspace (for YUV-to-RGB) and transfer to fbdevsink takes almost as long as the NEON-enabled H.264 decoding, so I wanted to look into using the SGX to do some of that.  That led me to compiling the kernel with the TI SDK so that I could get the EGL stuff, which led me to discovering that there wasn't even a frame buffer when I used the TI SDK.

  • Hello,

    Thanks for the clarification. As Schuyler suggested, the best way forward would be to port the DVI cape patches from the angstorm kernel to the SDK kernel.

    Thanks,

    Sekhar

  • Bringing over the angstrom beagleboard did in fact allow my DVI cape to be recognized, create a /dev/fb0, and view the matrix app on a display device.  The Qt demos appear to be working, and the video decode demos.  The OpenGL demos didn't work, until I manually copied the .ko files from the linux-devkit.  I guess the Graphics_SDK_setuplinux_4_06_00_01.bin installation is a separate step from the SDK compile.

    Thanks for the help!