I'm creating a project with raspberry pi and I need an "os" which boots in a few seconds when the power is turned on. The os has to have the following features:
- audio driver (3.5mm)
- c/c++ running ability with sdl library(no X server)
- ability to mount usb (or an other way to transfer files)
- ability to install few little packages when needed (apt)
I've tried to use buildroot but I've found it too hard for me.
-
Do tell us a little more: what task needs to come up in this time frame?Marco Poli– Marco Poli2014年07月11日 19:54:15 +00:00Commented Jul 11, 2014 at 19:54
-
What is a few seconds? Less than of the order of 30 seconds then it can't be done.joan– joan2014年07月11日 20:00:40 +00:00Commented Jul 11, 2014 at 20:00
-
You cannot have X up or even have a login or command prompt, but depending on what he needs he can have something coming up in a high priority init task way before 30 secs.Marco Poli– Marco Poli2014年07月11日 20:13:34 +00:00Commented Jul 11, 2014 at 20:13
-
Well that's good. If the OP's "few seconds" and "way before 30 secs" overlap the job is done!joan– joan2014年07月11日 20:33:02 +00:00Commented Jul 11, 2014 at 20:33
-
You haven't bothered your self with search, haven't you? This question has been discussed more then once. raspberrypi.stackexchange.com/questions/14763/… raspberrypi.stackexchange.com/questions/7101/… raspberrypi.stackexchange.com/questions/19495/… raspberrypi.stackexchange.com/questions/19358/…avra– avra2014年07月11日 20:34:41 +00:00Commented Jul 11, 2014 at 20:34
2 Answers 2
The official OS raspbian will do, and if you use the new version / boot manager systemd it will be even faster.
But as mentioned this question is a duplicate How to improve boot time for Raspberry Pi?
I have similar problem and found that Arch Linux (and it was a first time for me - usually use Debian) to help me with boot time.