cross compiling Uboot

vibnwis
Posts: 20
Joined: Sun Dec 21, 2008 12:20 am

cross compiling Uboot

Post by vibnwis » Tue Jan 13, 2009 2:30 am

Hi there,
This is driving me crazy. I just don't what files and how to edit the required to point to the tools-chain. I could set the gcc of the tools chain but not their libs as well as the header files. Has anyone compiled Uboot in using cross-compiler? Any advice is welcome.

Thanks

esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

Re: cross compiling Uboot

Post by esky-sh » Tue Jan 13, 2009 8:01 pm

Hi,

Here is a reference link for how to build uboot source code on CD-ROMs.
viewtopic.php?f=6&t=11&p=15#p15

FYI

eldruin
Posts: 5
Joined: Fri Dec 26, 2008 9:31 am

Re: cross compiling Uboot

Post by eldruin » Sun Jan 18, 2009 11:03 am

I've been able to compile it well. The uboot from denx doesn't support the S3C2440 processor but the openmoko.org uboot implementation does. It compiles well but I haven't tested if it really works.
good luck

vibnwis
Posts: 20
Joined: Sun Dec 21, 2008 12:20 am

Re: cross compiling Uboot

Post by vibnwis » Thu Jan 22, 2009 2:45 am

Great! May I know what version of OpenMoko u-boot is it? also did you compile using MacOSX GCC4.3.2 tools chain? I recently managed to hack into some files of U-boot 1.1.6, and it finally worked out. However, I don't to give it a try on the OpenMoko you just mentioned.
Thanks

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

Re: cross compiling Uboot

Post by buserror » Tue Jan 27, 2009 8:03 am

I can only find QQ2440 config in the .tar file in the ftp here, no trace of the MINI2440. That QQ config file is also not present in the u-boot git tree

So, is the QQ compatible with the mini ?

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

Re: cross compiling Uboot

Post by buserror » Tue Jan 27, 2009 8:34 am

trying to sort out the huge mess that is software for that board.

+ the u-boot 1.1.6 present here at esky-dh does'nt have support for the 2440, only 2410
+ the u-boot 1.1.6 present at develpmentboard.net has support for 2440
+ however, that months old patch is not in u-boot git tree
+ the develpmentboard.net u-boot doesn't know about mini2440, only the QQ

In other words, despite the board description everywhere, the mini2440 doesn't have u-boot support. Including the source code doesn't count :-)

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

Re: cross compiling Uboot

Post by buserror » Wed Jan 28, 2009 3:58 pm

I managed to get a patched u-boot 1.3.4 version on the board. It's still 'ancient' and the patch doesn't apply to the u-boot git tree, but it's progress... Haven't tested it all tho.

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

Re: cross compiling Uboot

Post by buserror » Sun Feb 01, 2009 9:02 am

I now got a full u-boot working, instead of trying to work on the official u-boot tree, I started from the openmoko one, since they already have basic 2440 working.
I had trouble with starting from nand but now it all work, including MMC, network, etc etc. Nice to have a proper bootloader !

Now for the kernel. Thats toughter, right now the kernels I make don't even display anything and hang silently :/

abubarislam
Posts: 4
Joined: Mon Feb 02, 2009 6:43 am

Re: cross compiling Uboot

Post by abubarislam » Fri Feb 13, 2009 8:24 am

Hi,

can anyone shared their working uboot code for the S3C2440?

thanks in advance

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

Re: cross compiling Uboot

Post by LeshaK » Fri Feb 13, 2009 9:47 am

here u-boot 1.1.6 sources for qq2440
http://blog.leshak.ru/files/u-boot-1.1. ... 09.tar.bz2

for use:

Code: Select all

make open24x0_config
make
My qq2440 page
Sorry, it's russian, but you can use http://translate.google.com/ (ru > en/...)

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests