Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embedded Programming for Raspberry Pi with Fast boot

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 ;)

like image 986
Matheus Ervilha Avatar asked Jan 06 '15 20:01

Matheus Ervilha


People also ask

Is Raspberry Pi good for embedded system?

While not originally designed as a platform for commercial products, the low cost and wide availability of the Raspberry Pi makes it suitable for many embedded applications if you're aware of its limitations and avoid some potential pitfalls.

Is Raspberry Pi good for embedded Linux?

The Pi is definitely a suitable device for learning Linux on, although a lot of the work of booting it from the bare metal is done for you. One can choose to run a distro which is more desktop in flavor or a configuration more embedded in flavor.

How do I put code into Raspberry Pi?

Open IDLE by selecting the Raspberry Pi logo in the top-left, and click Programming > Python 3 (IDLE). You should be presented with the Python interactive interpreter. To write a program, go to File > New File. Enter in your code.


1 Answers

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

like image 134
Arnout Avatar answered Sep 18 '22 19:09

Arnout