Create a bootloader of mini2440

Source: Internet
Author: User

The bootloader problem of mini2440 is solved today. For bootloader, I advocate the use of a Universal multi-platform bootloader, because it is possible to become familiar with a bootloader, And to transplant it again after the hardware platform is changed. So I chose U-boot.

The latest version of U-boot is 2009.03, and 2009.06 is under development. I use version 2009.03 for release. For the porting of this version on mini2440, tekkaman Ninja has been done, so I will not waste time here. The patch release page is: u-boot-2009.03 for mini2440 patch release. The tekkaman ninja blog also provides u-boot-2009.01-compiled binfile downloads that can be used directly.

 

Patch usage: place the patch and source code in the same directory, then enter the uboot directory, and run the following command:

Patch-P1 <../u-boot-2009.03_tekkaman.patch

Modify the cross_compile value of makefile based on your cross compiler, and then execute the following command:

Make mini2440_config

Make

 

In this way, the uboot of mini2440 can be compiled. By default, the tekkamanninja patch is started from NAND.

Here is recommended: First Modify/include/configs/mini2440.h, change it to nor start, then in windows with a H-JATG to burn in nor, from the nor boot using the network to pass into the nandboot binfile, run the uboot command to install NAND.

In this way, the mini2440 can be guided by uboot, And the LCD can also be used as the output of the terminal. The effect is as follows:

 

Tomorrow begin to analyze the latest Android kernel Linux-2.6.29 with the main kernel of the different, and make the patch for easy analysis.

 

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.