{Embedded} tq2440 (days embedded) Note

Source: Internet
Author: User

2013-03-24

Today, my friend came to me for a tq2440 (S3C2440) day embedded. By the way, I learned about this development board,

For more information about board resources, see tq2440 development user manual. I used to develop ok6410 development board. I don't fully understand nor/NAND false. 6410 supports SD card startup.

First install U-boot for nor false. Use the JTAG interface to start from nor, go to the serial port tool interface and download the operating system;

On the serial port interface, follow the steps below (my friend's board is MB, and I got 64 MB, which makes it fail to start..., and then changed to MB)

--- [9] format the NAND Flash

--- [1] Download U-boot or stepldr. nb1 or other bootloader to NAND Flash

--- [3] Download Linux kernel to NAND Flash

--- [6] Download yaffs image to NAND Flash

--- [B] Download logo picture (. Bin) to NAND Flash

Clear NAND Flash-> download uboot to NAND Flash-> download Linux kernel-> download yaffs File System-> download the logo, and press 8 to start.

Required tools: dnw.exew.usb download driver .rar, putty, securecrt

Nandflash after S3C2440 ResetFirst 4 K storage spaceIt overlaps with the first 4 K of the memory address (starting from 0x00000000) (For details, refer to 2440 sheet). If the bootloader code is smaller than 4 K, it can be run directly without loading it To the memory; if the startup code is greater than 4 kb, bootloader is in the nandflash 4 kb Code (the address overlaps with the memory 4 kb ).Load the bootloader code in nandflash into the memoryAnd then run it from the memory.

Let's take a look at this. I'm a little lazy and don't want to write it by myself. There is a lot of information on the Internet, so Google.:

S3C2440 storage controller and address and startup http://www.cnblogs.com/geneil/archive/2011/12/20/2295220.html

S3C2440
NAND Flash Controller http://blog.chinaunix.net/uid-20769502-id-136020.html

S3C2440 nandflash start http://blog.csdn.net/zhaocj/article/details/5803699

Research on http://yinyuzw.blog.163.com/blog/static/205490194201242165622554/ of S3C2440 Startup Mode

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.