Page 2 of 3

Re: 2in1: qq2440 / mini2440 + linux 2.6.29-rc5 - success

Posted: Wed Feb 25, 2009 10:51 pm
by LeshaK
new:
u-boot 1.3.2 for qq2440 & mini2440 (based on u-boot 1.3.2 mini2440 from Michel Pollet [buserror])

build for qq2440

Code: Select all

make qq2440_config
make
mini2440

Code: Select all

make mini2440_config
make
New universal patch for Linux 2.6.29-rc6 for qq2440 & mini2440.
add:
- audio support (get from Michel Pollet mini2440 kernel patch)

build for qq2440

Code: Select all

make qq2440_defconfig
make
mini2440

Code: Select all

make mini2440_defconfig
make
Attention!
new kernel patch will be work only with new u-boot 1.3.2


If you want to run with previous u-boot 1.1.6
open mach-qq2440.c
at the end of file, change:

Code: Select all

#ifdef CONFIG_MACH_MINI2440
MACHINE_START(MINI2440, “MINI2440″)
#else
MACHINE_START(QQ2440, “QQ2440V3″)
#endif
on

Code: Select all

#ifdef CONFIG_MACH_MINI2440
MACHINE_START(S3C2440, “MINI2440″)
#else
MACHINE_START(S3C2440, “QQ2440V3″)
#endif
but all new patches will be for new u-boot!

for change old u-boot on new
put new u-boot on tftp and in command line u-boot enter
load new u-boot in ram

Code: Select all

tftp 0x32000000 u-boot.bin
erase NAND

Code: Select all

nand erase 0 0x30000
write new u-boot in NAND

Code: Select all

nand write 0x32000000 0 0x30000
http://blog.leshak.ru/2009/02/25/obnovl ... rc6-patch/

Re: 2in1: qq2440 / mini2440 + linux 2.6.29-rc6 ! (upd: 26 Feb)

Posted: Thu Feb 26, 2009 12:24 am
by buserror
Great stuff ! Glad to see we are 'converging' :-)

Re: 2in1: qq2440 / mini2440 + linux 2.6.29-rc6 ! (upd: 26 Feb)

Posted: Thu Feb 26, 2009 12:31 am
by LeshaK
:)
I hope, in the future it will be one branch...

Re: 2in1: qq2440 / mini2440 + linux 2.6.29-rc6 ! (upd: 26 Feb)

Posted: Thu Feb 26, 2009 12:40 am
by buserror
Do you have an account on repo.or.cz ? If so, email me and I'll give you write access to all the trees...

-----
What I do in all the tree before I 'push' anything is :

+ I run on my own branch "dev-mini2440-buserror"

When I am ready to push, I make a temporary branch where the last 'stable' was

+ git checkout -b dev-mini2440-staging dev-mini2440-stable

I apply my stuff to that branch:

+ git diff dev-mini2440-buserror | patch -p1

I then selectively make 'clean' commits, using "git-cola". When I have checked back in all the clean patches, I do :

+ git checkout dev-mini2440-stable

Bring my stable beanch forward:
+ git rebase dev-mini2440-staging

Then push !
+ git push repo dev-mini2440-stable dev-mini2440-stable:master

---
Once that is done, I can force-reset my -buserror branch to where 'stable' is ... and start again hacking :D

Re: 2in1: qq2440 / mini2440 + linux 2.6.29-rc6 ! (upd: 26 Feb)

Posted: Thu Feb 26, 2009 12:46 am
by LeshaK
I don't have account on repo.or.cz
and I didn't use git before :( only svn.
I am studying it now...

Re: 2in1: qq2440 / mini2440 + linux 2.6.29-rc6 ! (upd: 26 Feb)

Posted: Thu Feb 26, 2009 12:51 am
by buserror
git is a fantastic tool, well worth learning !

Just tell me when you are ready, we'll do it the old-fashioned way until then :-)

Re: 2in1: qq2440 / mini2440 + linux 2.6.29-rc6 ! (upd: 26 Feb)

Posted: Thu Mar 26, 2009 1:53 am
by LeshaK
New Linux 2.6.29 kernel patch
for qq2440 & mini2440
http://blog.leshak.ru/2009/03/26/obnovl ... ya-xx2440/

new default:
Both boards: swap - ON
qq2440: lcd - 640x480
mini2440: lcd - 240x320

use:

Code: Select all

make qq2440_defconfig
make

Code: Select all

make mini2440_defconfig
make

Re: 2in1: qq2440 / mini2440 + linux 2.6.29 ! (upd: 26 March)

Posted: Thu Apr 02, 2009 3:02 am
by Sak1s
i compile the kernel 2.6.29 and i apply the rc6 patch and the xx2440-2.6.29-20090326.diff.gz

my system boot from the mmc card but i cant boot from nand with jffs2 ,i got a message "VFS unable to sount"

i use a qq2440V3 board.

Any tips for the jffs2 ?

Re: 2in1: qq2440 / mini2440 + linux 2.6.29 ! (upd: 26 March)

Posted: Thu Apr 02, 2009 3:13 am
by LeshaK
Try this howto
http://blog.leshak.ru/english/pages/how ... nd-qq2440/

you can download there my root.jffs2
but use u-boot 1.3.2
http://blog.leshak.ru/2009/02/25/obnovl ... rc6-patch/

Code: Select all

make qq2440_config
make
&
linux 2.6.29 patch
http://blog.leshak.ru/2009/03/26/obnovl ... ya-xx2440/

Code: Select all

make qq2440_defconfig
make

Re: 2in1: qq2440 / mini2440 + linux 2.6.29 ! (upd: 26 March)

Posted: Mon Jun 22, 2009 11:20 pm
by ndavey
LeshaK, nice work on the xx2440 boards... I've recently started to play with this board and found your blog articles useful (even the translated Russian ones.. :) )..

Regards
Neil Davey