Download the debugging version of uboot to the sdram of the Development Board.

Source: Internet
Author: User

Development Environment: Development Board: FriendlyARM Tiny6410 HOST: CentOS release 6.4 release when debugging uboot, there is no need to write the temporary version to nand flash, which is time-consuming and damages the nand flash. You can download the debugging version of uboot to sdram for running. In advance in the nand flash burn written u-boot.bin file, the Development Board from the nand flash start, enter the uboot command line mode. Type "? "You can view available uboot commands and find three commands that can be used to download uboot to ramloadb-load binary file over serial line (kermit mode) loady-load binary file over serial line (ymodem mode) tftpboot-boot image via network using TFTP protocol help [command] can be used to view command usage. The usage of loadb, loady, and tftpboot is as follows: loadb [off] [baud] loady [off] [baud] tftpboot [loadAddress] [bootfilename] loadb. loady transfers files through the serial port. If the serial port debugging tool uses minicom, we recommend using loady because minicom does not support file transfer through the kermit protocol. In the uboot command line, enter loady 0x50000000 115200ctrl-A Z to switch to the minicom option. Select S to select the file to be transferred after downloading according to the prompt. In the uboot command line, type: go 0x50000000 can run a new uboot. If the serial port debugging tool uses kermit, loadb is recommended. On the uboot command line, type loadb 0x50000000 115200ctrl-\ C to switch to kermit and type send [u-boot.bin path] to send the file. After the download is complete, enter go 0x50000000 in the uboot command line to run the new uboot. The ready-made uboot provided by the CD does not seem to have loaded the NIC driver, so you cannot try to use tftp to download uboot. We will study it later. Note: by the board/samsung/mini6410/config. mk learned that the uboot in nand flash is loaded in the memory area above 0x57e00000 of sdram. Therefore, when downloading the debugging version of uboot, avoid overwriting the memory area of the original uboot.

Related Article

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.