Page 1 of 2
cross compiling Uboot
Posted: Tue Jan 13, 2009 2:30 am
by vibnwis
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
Re: cross compiling Uboot
Posted: Tue Jan 13, 2009 8:01 pm
by esky-sh
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
Re: cross compiling Uboot
Posted: Sun Jan 18, 2009 11:03 am
by eldruin
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
Re: cross compiling Uboot
Posted: Thu Jan 22, 2009 2:45 am
by vibnwis
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
Re: cross compiling Uboot
Posted: Tue Jan 27, 2009 8:03 am
by buserror
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 ?
Re: cross compiling Uboot
Posted: Tue Jan 27, 2009 8:34 am
by buserror
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

Re: cross compiling Uboot
Posted: Wed Jan 28, 2009 3:58 pm
by buserror
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.
Re: cross compiling Uboot
Posted: Sun Feb 01, 2009 9:02 am
by buserror
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 :/
Re: cross compiling Uboot
Posted: Fri Feb 13, 2009 8:24 am
by abubarislam
Hi,
can anyone shared their working uboot code for the S3C2440?
thanks in advance
Re: cross compiling Uboot
Posted: Fri Feb 13, 2009 9:47 am
by LeshaK