Page 1 of 1

kernel patch for the old QQ2440 board for new kernels

Posted: Sat Apr 24, 2010 7:56 am
by Sak1s
Those days i am playing with my QQ2440 board.
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
#define MACH_TYPE_QQ2440 1999
Recompile as usual and load the new u-boot

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.

Re: kernel patch for the old QQ2440 board for new kernels

Posted: Sun Apr 25, 2010 5:10 am
by esky-sh
thanks for sharing this usful information.