Jump to navigation Jump to search

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

Obtaining miniroot

   git clone


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