One click Burn Write Linux,usb burn write Linux, bare metal debugging preparation

Source: Internet
Author: User

One-click Burn Write Linux Steps

A: Formatted SD card, format FAT32 (try to use SD card, other cards need to transfer board may have a problem)

B: Using the PC Burn-write tool sd_writer.exe the SD card boot file Mmc.bin burned into the SD card

A: Start Sd_writer.exe (Win7 need to run as Administrator)

B:board Model Selection 6410

C:SD Volume (SD drive letter), first click Scan Auto Search, wrong words manually adjust

D:SD type is auto (Win7 also needs to click Format Formatted SD card)

E:os Type Select Linux|android

F: Click on select Boot, choose the appropriate mmc.bin (SD card boot file), according to the memory selection

g:program--Determine--quite

C: Copy uboot, kernel image, file system to SD card (note uboot According to memory selection, file system according to NAND selection, and both need to rename, respectively, into U-BOOT.BIN,ROOTFS.YAFFS2, kernel image file is zimage)

D: Burning Linux into the nandflash of the Development Board

A: Connect the hardware (including inserting SD card, connect power, serial cable, boot mode to SD card boot, i.e. 123=0;45678=1).

B: Open the DNW software, and set up a good serial port, and then power on, and then the serial port display burning write status, burn write success

C: Power off, change to NAND start (123=0;67=0;458=1;) re-power on, Linux is working properly.

USB Burn Write Linux Steps

A: Formatted SD card, format FAT32 (try to use SD card, other cards need to transfer board may have a problem)

B: Using the PC Burn-write tool sd_writer.exe the SD card boot file Mmc.bin burned into the SD card

A: Start Sd_writer.exe (Win7 need to run as Administrator)

B:board Model Selection 6410

C:SD Volume (SD drive letter), first click Scan Auto Search, wrong words manually adjust

D:SD type is auto (Win7 also needs to click Format Formatted SD card)

E:os Type Select Linux|android

F: Click on select Boot, choose the appropriate mmc.bin (SD card boot file), according to the memory selection

g:program--Determine--quite

(A and B steps the same key to write Linux)

C: from uboot into the USB download mode

A: Connect the hardware (including inserting SD card, connect the power, serial line boot mode to SD card boot, i.e. 123=0;45678=1)

B: Open DNW software, set up a good serial port, and then power up, such as uboot1s delay when the start of the system, press the space bar, stay in the Uboot state

E: Input 3, download uboot, kernel image and file system from USB

D: Download burn-write uboot to NAND

A: Click DNW configuration--options--to set the address of the USB port to 0x57e0 0000 (this should be before the C step)

B: Start uboot, press SPACEBAR, the menu appears, select 3 (this should be C step)

C: Enter 1, download Uboot--flash uboot (if the computer does not have USB DNW driver installed, you will be prompted at this time, install it now)

D: Insert one end of the USB cable into the OTG port and click the DNW menu USB port--transmit--transmit--Select the corresponding uboot (repeat this step multiple times if the can ' t open USB device appears)

E: Download the burn-write kernel image kernel

A: Enter 2, download Kernel--flash kernel

B: Click the DNW menu USB port--transmit--transmit--Select the corresponding zimage

F: Download the burn-write file system (yaffs the first embedded file system specifically designed for NAND, suitable for mass storage devices and released under the GPL, available on the website for source code)

A: Input 3, download filesystem--flash System

B: Click the DNW menu USB port--transmit--transmit--Select the corresponding YAFFS2 (time is longer)

F: Power off, set to start from NAND

Other Notes

A: For the wince system to replace the Linux system, because of wince's internal conventions, the bootloader partition (the first four blocks) are marked as bad block, now to recover, and then restart, then can burn Linux and Android have two methods:

A: Remove Nandflash with wince eboot (if the eboot of wince has not been started, you can only use Method 2, or write eboot first)

    1. Connect the hardware (serial, power, NAND start), open the DNW software, set up a good serial port
    2. Power on, delay 5s when the system appears, press the SPACEBAR to stop in the Eboot state
    3. Press the A key to delete nand--erase all blocks

B: Remove NAND with Linux Mmc.bin (SD card boot file)

    1. Follow the steps of burning Linux by one key, until the d-b step above, will make good SD insert board, connect good hardware, SD boot, boot also appear to start the system, press SPACEBAR, enter mmc.bin menu select state.
    2. Key 1 Delete Nand--format the NAND flash, enter Y, success

B:nand What to do if a bad block occurs (this means that the bad block causes the Linux not to start) method:

A: Clean the bad block with Linux Uboot

    1. Connect the hardware (serial, power, NAND start), open the DNW software, set up a good serial port
    2. Power on, delay 1s when the system appears, press the SPACEBAR to stop in the uboot state (only 1s, need attention, soon)
    3. Key 1 Delete Nand--format the NAND flash, enter Y, success

B: Use one click to burn Linux to burn Linux again

C: Install DNW dedicated USB download driver (only in the Development Board run Uboot command line status, download install Uboot command when installed, other circumstances not) the computer automatically prompts to find new hardware, do not connect to the network, specify the location of the installation, Search utility folder under the USB drive \DNW drive (provided by the Infineon) , select Oem??.inf, install complete, DNW the title bar will display Usb:ok, window printing information

D: From the above, we can see why learn a button or USB burn Linux?

A: Switching from a wince system to a Linux system

B: Replace uboot, kernel image zimage, one or more of the file system YAFFS2

C: There is a bad zone, the Development Board will not start

The difference between E:USB and one-click Burning Linux

A: The same point:

    1. The same purpose is to burn Linux into NAND.
    2. Start with SD card
    3. All through the serial port view

B: Different points

    1. One-click speed, but must burn all files
    2. USB is slow but can be updated with a single file
    3. One button only requires an SD card
    4. USB also requires USB cable

Transferred from: Http://bbs.ednchina.com/BLOG_ARTICLE_3019734.HTM

One click Burn Write Linux,usb burn write Linux, bare metal debugging preparation

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.