Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.23 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.23 KB

Simple Busybox Initrd Filesystem

This repository contains a simple Busybox root filesystem that is suitable for booting as a ramdisk under any ARM embedded system.

Features

  • Stock Busybox 1.22.1, compiled without modifications
  • Mounts /proc, /sys, /d
  • Uses mdev (tiny udev) to populate /dev
  • Easily customizable to perform specific tasks (just change /etc/profile)

Usage

First, built the ramdisk file by issuing make. This will create a ramdisk.img.gz file, which is image file you want to boot on. Pass it to your bootloader the set the initrd parameter of the kernel accordingly (if working on a fastboot-enabled bootloader, the fastboot boot command normally does it for you). Also make sure the root=/dev/ram rw rdinit=/sbin/init are present in your kernel command line, and you should have a working shell once you boot.

Feedback and contact

Alexandre Courbot [email protected]

Source release

This binary release uses an unmodified version of Busybox, which source code can be downloaded at https://github.com/Gnurou/busybox. User-space is built from the examples/bootfloppy directory with slight modifications to use mdev and mount filesystems.