First, the SD card burning writing system basic idea:
(1) Write uboot.bin to sd card
(2) Copy image entire folder to SD card
(3) The Development Board starts from the SD card and starts to burn into the nandflash automatically.
Second, burn write uboot.bin to sd card
(1) SD card partition and format (first step of burning)
<1> Insert card into pc,windows format
<2> point VM Right bottom link SD card to Linux, then enter in Terminal:
#dmesg |tail//View mount points
#df-H//view SD card file mount location
#umount/media///media to fill your hanging position. This step is to perform the Unload mount point
#sudo fdisk-l//view SD card character device name. The general approach is to approach the capacity of your card.
#sudo fdisk/dev/sdb//view SD card partition
#m//View menu
#p//Print SD partition
#d//delete partition, which number to hit when deleting that area
#n//Add a partition, this is the addition of a sector, adding the value behind default, usually starting at 2048.
#t//write partition format, usually B or C.
#a//Then enter a number, this step is to activate the partition.
#w//Save exit
#mkfs. MSDOS/DEV/SDB1//This step is done under the Linux terminal. Implements a formatted partition.
Thus, the SD card format and partition is complete. The above only divides one district.
(2) Burn write uboot.bin to sd card
Prepare 4g or above capacity SD card, use card reader.
<1> put Uboot.bin in a shared folder
#cd/mnt/hgfs/share
#ls
#cd
#sudo cp/mnt/hgfs/share/uboot.bin.///Copy the Uboot.bin in the shared folder to the home
#sudo fdisk-l
# sudo dd iflag=dsync oflag=dsync if=./uboot.bin of=/dev/sdb seek=1//So the image is burned to the SD card.
(3) Copy image entire folder to SD card, insert card into Development Board, SD card to start, power up. If the configuration file is correct, you can burn the system to the Development Board.
Next I introduce the offline burning configuration file, this file is more complex, before burning the bin file should be able to directly execute the configuration file. The configuration file is Friendarm.ini. This configuration file, I'll give it to you.
Method of offline burning and writing system for SD card