Compile, connect good U-boot-nand.bin first think of how to download to OK6410, there are 3 ways:
(1) Dnw method
(2) TFTP method
(3) SD card method
Each of the 3 methods has advantages and disadvantages, which are described below:
First, DNW method
The process of burning writes:
①USB line and serial communication line connect PC and target board;
② at this time the target board is empty, you need to set the SD card boot, the SD card to start the uboot, so that the target board uboot up;
③ on the PC side through the DNW software operation target Board uboot, input command # DNW 50008000;
This means to start the target board USB connection and set the target board to receive USB data from the memory start address of 0x50008000
④PC End DNW Software: Install the driver, and then send the U-boot.bin file to the target board;
The sending file here refers to the memory that is sent to the target board, the starting address is 0x50008000, note that this time is written to the SDRAM, and there is no NAND flash written to the target board
⑤ writes the U-boot.bin file in the target board SDRAM to RAND Flash;
⑥ here the target board NAND Flash has been burned to write the U-boot.bin, switch off the target board, and then set Rand to start it.
The code process is as follows:
SD card Boot
SMDK6410 # DNW 50008000
OTG Cable connected!
Now, wating-DNW to transmit data
Select the u-boot-nand.bin to send
Down done!! Down address:0x50008000, Download filesize:0x30000
Checksum is being calculated.
Checksum O.K.
SMDK6410 # NAND Erase 0 100000
SMDK6410 # NAND write.uboot 50008000 0 100000//write (. Uboot is parameter cannot be changed and only implemented in Sd-boot)
NAND boot
Second, TFTP method
Need to download Tftp32 app, download link for http://tftpd32.jounin.net/tftpd32_download.html
Put the file in the current directory directory, plug in the network cable, and make sure that a network segment
The command is as follows:
TFTP 50008000 U-boot-nand.bin
NAND erase.chip
NAND write.uboot 50008000 0 0
Reset, NAND start.
Three, the SD card method
Not to mention.
(i) Download of U-boot-nand.bin