I include the Leshak patches for the cs89x0 driver
You must have a u-boot version with machine ID 1999 , actually is the mini2440 ID.So Download the u-boot 1.3.2 from the Leskak blog http://blog.leshak.ru/file/u-boot-1.3.2 ... 25.tar.bz2 ,or you can try the git version
git://repo.or.cz/u-boot-openmoko/mini2440.git
Change the line 175 of the board/qq2440/qq2440.c
to
Recompile as usual and load the new u-boot#define MACH_TYPE_QQ2440 1999
set the mtdparts
setenv mtdparts mtdparts=qq2440-nand:0x00040000(u-boot),0x00020000(u-boot_env),0x00500000(kernel),0x03aa0000(rootfs)
saveenv
Download the latest stable kernel from the kernel.org and apply the patch.