[okl4-developer] FW: MSM6800_L4 build error with NICTA S/W

Hal Ashburner hala at ok-labs.com
Fri Aug 3 17:23:55 EST 2007


On Fri, 2007-08-03 at 15:02 +0800, Cho Myongik-W21498 wrote:
> HI, Hal
> 
> I have replied with my answer below inline
> Thanks for your quick response.
> 
> You are in Austrailia , right ?
> And OK-Labs company.
Yes, indeed . For my sins... ;-)


> I am working for Motorola Korea Institute in Seoul.
> 
> Nice to meet you.
Likewise :-)


Ok let's start somewhere near the beginning.

You are going to need a linux installation to build on. You'll need
python2.4 installed.
Check this with 
$python -V

On my distribution (debian unstable) it looks like:
mybox 17:11 ~% python -V
Python 2.4.4

Note that it really has to be 2.4 with the release you are going to use.
To repeat, you do NOT need scons installed on your build machine. You
can safely remove it entirely. If you have no other need of scons, I
recommend removing it as it's one less thing to create confusion. (I do
have scons installed on my machine,  it is happily ignored by the OKL4
build system which provides it's own scons).


The release is found here:
https://portal.ok-labs.com/downloads/okl4
At present we are not supporting anything else.




> > You mean I need to install Cross-compiler ?
> Yes you will need cross compilers installed to build for the arm
> architecture. 
> 
> [MICHO] It means before running scons or build.py , cross-compiler
> should be installed. 
>               If yes , I have downloaded in my local directly
> (crosstool-0.43) , but I do not know how to install it.
>              Please help me how to do this. 

Here's a tarball that we prepared earlier using crosstool. Unpack it
into /opt 
http://www.ertos.nicta.com.au/downloads/tools/arm-linux-3.4.4.tar.gz

Add /opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/arm-linux/bin/ to your path.

Putting something like
PATH=$PATH:/opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/arm-linux/bin/
in your .bashrc will do the trick.


Get the simulator while you are there
http://www.ertos.nicta.com.au/downloads/tools/skyeye-kenge-1.2.1n.tar.gz

unpack it and add it to your path the same as for the above
cross-compilers.


Now unpack the release tarball
$ tar -zxvf okl4_release_1.4.1.1.tar.gz


So you can cd into your unpacked tarball directory
$ cd okl4_release_1.4.1.1


You are now ready to try the build line:

./tools/build.py machine=gumstix project=iguana wombat=True
verbose_str=True simulate


Please be as verbose as you can in reporting your problems to give us
the maximum chance to fix them fast.
Thanks

--
Hal




More information about the Developer mailing list