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

LeshaK
Posts: 35
Joined: Wed Jan 14, 2009 1:01 am

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

Post by LeshaK » Wed Feb 25, 2009 10:51 pm

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/
Last edited by LeshaK on Fri Feb 27, 2009 12:04 pm, edited 1 time in total.
My qq2440 page
Sorry, it's russian, but you can use http://translate.google.com/ (ru > en/...)

buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

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

Post by buserror » Thu Feb 26, 2009 12:24 am

Great stuff ! Glad to see we are 'converging' :-)

LeshaK
Posts: 35
Joined: Wed Jan 14, 2009 1:01 am

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

Post by LeshaK » Thu Feb 26, 2009 12:31 am

:)
I hope, in the future it will be one branch...
My qq2440 page
Sorry, it's russian, but you can use http://translate.google.com/ (ru > en/...)

buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

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

Post by buserror » Thu Feb 26, 2009 12:40 am

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

LeshaK
Posts: 35
Joined: Wed Jan 14, 2009 1:01 am

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

Post by LeshaK » Thu Feb 26, 2009 12:46 am

I don't have account on repo.or.cz
and I didn't use git before :( only svn.
I am studying it now...
My qq2440 page
Sorry, it's russian, but you can use http://translate.google.com/ (ru > en/...)

buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

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

Post by buserror » Thu Feb 26, 2009 12:51 am

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 :-)

LeshaK
Posts: 35
Joined: Wed Jan 14, 2009 1:01 am

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

Post by LeshaK » Thu Mar 26, 2009 1:53 am

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
My qq2440 page
Sorry, it's russian, but you can use http://translate.google.com/ (ru > en/...)

Sak1s
Posts: 12
Joined: Thu Mar 26, 2009 3:06 am
Location: Greece

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

Post by Sak1s » Thu Apr 02, 2009 3:02 am

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 ?

LeshaK
Posts: 35
Joined: Wed Jan 14, 2009 1:01 am

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

Post by LeshaK » Thu Apr 02, 2009 3:13 am

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
My qq2440 page
Sorry, it's russian, but you can use http://translate.google.com/ (ru > en/...)

ndavey
Posts: 4
Joined: Sun Dec 21, 2008 1:15 am

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

Post by ndavey » Mon Jun 22, 2009 11:20 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests