Embedded Programming for Raspberry Pi with Fast boot

Matheus Ervilha picture Matheus Ervilha · Jan 6, 2015 · Viewed 8k times · Source

I'm a computer engineer student and I'am having problems with my new project:

  • A small screen that show car information and such. A reeeeeally simple version of a carputer.

It's been 1 month with my Raspberry pi and I can't find a solution for my main problem: A simple linux distro with really fast boot and the possibility to develop applications with graphical interfaces

My main evolutions on my project were:

  • I tried Arch Linux for a while. But 20 seconds boot is not fast enough. And I can't get any graphical interface running properly
  • I tried RPi-Buildroot from Gamaral. Which is a really nice version of buildroot designed for raspberry pi. 3 seconds of boot is really amazing to see. But I couldn't manage to get anything other than a "Hello, World" using it's Cross Compiling. (RPi-BuildRoot link on Github)

I just need a direction to what I need to do to get this working. If I get a simple user interface starting with less than 10 seconds I can consider my project done.

I think that the RPi-BuildRoot is a Great tool that I am not finding a way through it...

Thank you! And sorry for poor english ;)

Answer

Arnout picture Arnout · Jan 9, 2015

rpi-buildroot gives you a really basic default configuration. It already gives you the OpenGL library, but you have to configure it to add anything more.

So after building the first time, do

make xconfig

and navigate through it to find the graphical libraries that you want to use. For instance, you can enable qt5 and qt5declarative in the Graphic libraries and applications menu, and then you get QML. See the buildroot documentation and QML documentation