Miniroot

From linux-sunxi.org
Jump to: navigation, search

miniroot is a small busybox based system, meant to be used as an initramfs.

Obtaining miniroot

   git clone https://github.com/hno/miniroot.git

Building

First build your kernel and install kernel modules at a suitable place.

   cd linux-sunxi
   make ... LOADADDR=0x40008000 INSTALL_MOD_PATH=/some/suitable/path uImage modules modules_install

Then build miniroot by

   cd miniroot
   make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KERNEL_MODULES=/path/to/kernel/INSTALL_MOD_PATH

This produces an initramfs u-boot image suitable for use in for example USB booting

Personal tools
Namespaces

Variants
Actions
Navigation
Tools