Method of offline burning and writing system for SD card

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.