2011-01-05 16:18:29     suggestions for installing the toolchain?

Document created by Aaronwu Employee on Oct 16, 2013
Version 1Show Document
  • View in full screen mode

2011-01-05 16:18:29     suggestions for installing the toolchain?

Matt Prewett (UNITED STATES)

Message: 97194   

 

Since I'm hearing that the Live CD environment for building u-boot has not been updated for 2010R1, does anyone have a step-by-step documentation for installing the 2010R1 toolchain on ANY particular distribution of Linux.

 

I think compiling u-boot for my board (bf526-ezbrd) won't be that difficult but the toolchain installation procedure looks fairly tricky since so many distributions are discussed in the toolchain installation wiki.

 

Also, does anyone have any recommendation for using RHEL/CentOS vs. Ubuntu?  Are there any issues that I need to look out for?

 

Sorry for my basic questions. I've typically had software engineers to assist with this sort of work but I'm having to do this myself this time.

 

Thanks,

 

Matt

QuoteReplyEditDelete

 

 

2011-01-05 16:47:20     Re: suggestions for installing the toolchain?

Akash Agarwal (UNITED STATES)

Message: 97195   

 

Hi Matt,

 

I have  installed the 2010-RC4  tool chain version on CentOS, and that works fine for me.

 

1 ) You can  do an svn checkout the entire  tool chain source

 

http://blackfin.uclinux.org/gf/project/toolchain/scmsvn/?action=browse&path=%2Ftags%2F

 

by the following command

 

svn checkout svn://sources.blackfin.uclinux.org/toolchain/tags/2010R1-RC4  toolchain

 

2) Run the BuildToolChain  script in the buildscript directory in the toolchain.

 

It will install the tool chain in the default directory, if u want to customize the installation

 

you can check the help option by  > ./BuildToolChain -h

 

 

 

Thanks

 

Akash

QuoteReplyEditDelete

 

 

2011-01-05 17:21:04     Re: suggestions for installing the toolchain?

Matt Prewett (UNITED STATES)

Message: 97196   

 

Hi Akash,

 

Thanks! I'm experimenting with CentOS 5.4 now since I've used this for past builds. I was trying to follow the instructions here:

 

http://docs.blackfin.uclinux.org/doku.php?id=installing_linux

 

but CentOS doesn't use zypper or apt-get.  I believe it uses yum instead. What did you use to install the various packages needed to build the toolchain?

 

-Matt

QuoteReplyEditDelete

 

 

2011-01-05 17:52:27     Re: suggestions for installing the toolchain?

Akash Agarwal (UNITED STATES)

Message: 97201   

 

I used yum to install the packages.

QuoteReplyEditDelete

 

 

2011-01-05 17:54:17     Re: suggestions for installing the toolchain?

Mike Frysinger (UNITED STATES)

Message: 97202   

 

please read the documentation:

http://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

QuoteReplyEditDelete

 

 

2011-01-05 17:55:25     Re: suggestions for installing the toolchain?

Mike Frysinger (UNITED STATES)

Message: 97203   

 

also, Ubuntu is highly recommended for Linux newbies over any other distro

QuoteReplyEditDelete

 

 

2011-01-05 18:23:16     Re: suggestions for installing the toolchain?

Matt Prewett (UNITED STATES)

Message: 97206   

 

Mike,

 

I've read that page a few times. I don't see where it addresses installing packages for CentOS.

 

It would be helpful if the "Installing Linux" page was updated to reflect more recent distributions of Linux and especially  RHEL/CentOS.  The current page looks like it hasn't been updated since 2007.

 

I realize it is very difficult to support so many varieties of Linux.  But I think it would make life easier for everyone if you would provide step-by-step documentation for using 1-2 distributions of Linux (maybe RHEL and Ubuntu LTS).

 

-Matt

QuoteReplyEditDelete

 

 

2011-01-05 18:28:39     Re: suggestions for installing the toolchain?

Matt Prewett (UNITED STATES)

Message: 97207   

 

Thanks Mike.  I'm downloading Ubuntu now.

 

 

 

I saw that one user said he ran into issues building the toolchain for 10.10 but that version 9.1 worked for him.  Do you know if anyone has tested this with 10.04 (since it is LTS version)?  Yes, I know that you all recommend using the precompiled binaries but I thought building the source code might be useful if I run into issues with the precompiled binaries.

 

 

 

-Matt

QuoteReplyEditDelete

 

 

2011-01-05 18:49:32     Re: suggestions for installing the toolchain?

Mike Frysinger (UNITED STATES)

Message: 97208   

 

CentOS is RPM based which means you use the RPM based documentation.  we specifically avoid distro-specific information because it is a hassle to keep up to date.  however, it certainly already says "RedHat" which you already quoted when you said "RHEL".

QuoteReplyEditDelete

 

 

2011-01-05 18:50:43     Re: suggestions for installing the toolchain?

Mike Frysinger (UNITED STATES)

Message: 97209   

 

use the precompiled binaries.  unless you actually hit a problem with them, dont worry about the source building.

Attachments

    Outcomes