O'Reilly logo

Linux: Embedded Development by Chris Simmonds, Alex González, Alexandru Vaduva

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introducing the init programs

The three init programs that you are most likely to encounter in embedded devices are BusyBox init, System V init, and systemd. Buildroot has options to build all three with BusyBox init as the default. The Yocto Project allows you to choose between System V init and systemd, with System V init the default.

The following table gives some metrics to compare the three:

 

BusyBox init

System V init

systemd

Complexity

Low

Medium

High

Boot-up speed

Fast

Slow

Medium

Required shell

ash

ash or bash

None

Number of executables

0

4

50(*)

libc

Any

Any

glibc

Size (MiB)

0

0.1

34(*)

(*) Based on the Buildroot configuration of system.

Broadly speaking, there is an increase in flexibility and complexity as you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required