ramdisk shell - ihipop/winsun_mininas_v1 GitHub Wiki
Ramdisk init script will wait for a few seconds before automatically booting up mmc system. Hit any key will prevent it from booting and leave you in the shell.
The ramdisk system is very basic. Only some busybox commands and libraries shipped with toolchain are installed. Usually, you stop here for reflash emmc image, here are a few clues:
First, bring up eth0
ifconfig eth0 192.168.5.65 netmask 255.255.255.0 up
Check the interface with ifconfig again.
Making sure the nfs server is up.
ping -c 3 192.168.5.25
Mount the nfs
mkdir -p tmp
mount -o port=2049,nolock,proto=tcp 192.168.199.150:/path/to/nfs/folder tmp
Now you can dd
disk image to flash
dd if=tmp/emmc.img of=/dev/mmcblk0 bs=1M
Or you have the gzipped image
gunzip -c tmp/emmc.img.gz | dd of=/dev/mmcblk0 bs=1M