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.