[Buildroot] initramfs, busybox init, switch_root and ARM

Luca Ceresoli list at lucaceresoli.net
Mon Apr 18 14:54:20 UTC 2011


Thomas Koster wrote:
> ...
> Question one: If the requisite drivers are included in the kernel
> (e.g. ext2, or nfs + kernel network auto-configuration if I want an
> NFS root), is an initramfs even necessary?

No.

> Can I get away with the
> 'real' root filesystem being mounted from the start?

Yes!
If your kernel has all the drivers needed to mount the root filesystem
compiled in statically (=not as modules), there is usually no need to
have an initramfs.
This is frequent on embedded systems that have no or little variations
of hardware configuration.

Luca





More information about the buildroot mailing list