It will be very convenient for us to make the file system which we build well the environment we need on pcDuino to our own exclusive pcDuino firmware. Then we will no longer worry about if there will meet some problem with the pcDuino to re brush the pcDuino system.
In this post I will demo for you.
Then open the serial tool on computer ( here we use Xshell ) according to your own condition to modify it, the serial port normal setting as the figure
Then power for pcDuino, keep pressing any keys on the keyboard when booting the system to avoid the system enter into U-BOOT
> setenv loglevel 8 ramfs > run bootcmd
Then it will prompt “login”， input root to enter
Instal TF card ( not less than 4GB), input following commands to check the pcDuino partition
> mount /dev/mmcblk0 /mnt
At last, enter into the mount TF card path, use DD commands brush the file in nandd to img file, then our own exclusive pcDuino firmware is done
> cd /mnt > dd if=/dev/nandd of=/mnt/pcduino3_ubuntu_20140912.img bs=4M
The final brush ways of img file is same with official brush way of img file, but the imag file is about 4GB size.