Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

linux-shield/kernel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.21, 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.

About

Linux kernel for SHIELD

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors