bobjohncat wrote: ↑
Thu Jul 27, 2017 12:37 pm
I've been trying to find information on creating a very small OS for the Pi and came across info-beamer.com who suggest their entire system is 35mb in size.
I'm the programmer behind info-beamer. The OS that drives all the digital signs is indeed only 35MB in total at the moment. The main reason that makes this possible is that the software driving the screens (info-beamer pi
) doesn't have a lot of dependencies, so the OS gets away without (for example) having a complete web browser, X or any kind of widget library (e.g. gtk/qt). The biggest dependency is libav (mostly used for video demuxing and audio decoding) and all its dependencies. In total the uncompressed image is ~75MB at the moment. During the build process, everything is packaged into either an initrd file (for the very early boot process) or a squashfs that holds the main root file system that is mounted a few seconds into the boot process. Let me know if you have any further questions. I'm happy to answer them.
Another interesting project to watch if you're looking for an even more minimal system is gokrazy
. It get's rid of all those nasty C based programs (
) and replaces everything with a single Go program that is started directly after loading the kernel.