miniroot

this is minimal shell environment which can be used to install and boot another root file system such as Ubuntu, Gentoo, Arch Linux on any (sub)directory on any supported storage such as on-board NAND flash, external SD card, and USB storage.

it can also

download

Radxa Rock

packed
update.img Radxa Rock full Radxa Rock lite
unpacked
bootloader RK3188Loader(L)_V2.10.bin
parameter serial console framebuffer console
kernel Radxa Rock full Radxa Rock lite
boot (ramdisk only) boot.img
recovery (kernel+ramdisk) Radxa Rock full Radxa Rock lite

install

install update.img to on-board NAND flash.

you may install miniroot to SD card.

if you want to keep current bootloader, parameter, and kernel, you can install only ramdisk image.

if you cannot use serial console, you must flash "parameter" for framebuffer console too. (this will be solved soon)

special commands

boot

miniroot# boot /path/to/device:[/] [/sbin/init]

reboot

miniroot# reboot -f

configuration

show

miniroot# showenv
#root=/dev/mmcblk0p1:/linuxroot
#init=/sbin/init
#ethaddr=00:11:22:33:44:55
#fbset_args="-a -nonstd 1 -g 1920 1080 1920 1080 32 -rgba 8/0,8/8,8/16,8/24"
#fbset_args="-a -nonstd 4 -g 1280 720 1280 720 16 -rgba 5/11,6/5,5/0,0/0"
#autoboot=1

lines starting with "#" are comments.

root=
path of root device and root directory on root device
init=
path of init program under root directory
ethaddr=
eth0 MAC address (default: wlan0 MAC address is used if it's available)
fbset_args=
if it's set, "fbset" command is executed automatically
autoboot=
if it's set to "1", init program under root directory specified by root= and init= is booted automatically
you can disable autoboot by creating "/.noautoboot" file under root directory

edit

miniroot# editenv

"vi" command is started.

save

miniroot# saveenv