BinaryToolchain

Table of contents
No headers

 

Attached are binary of the tools to run on Linux PC and root fs from buildroot. You can use it to compile kernel and apps.

Login as a user account on Linux PC, eg, hippo. The user home dir will be /home/hippo, short form as ~/ .

Use wget to download the cross tools (69MB). Best thanks to Altera's kindly hosting these files. (but don't use Windows ftp, it corrupt the files)

wget http://www.niosftp.com/pub/gnutools/...080203.tar.bz2

sha1sum nios2gcc-20080203.tar.bz2

6873249d8eae7c2981aac6791f044ddaab507566  nios2gcc-20080203.tar.bz2


Open a terminal. Run as root or use sudo,
sudo tar jxf nios2gcc-20080203.tar.bz2 -C /

The cross gcc tools was expected to be installed in /opt/nios2 dir. But you may install in any other dirs. Then setup the PATH for the cross gcc, you can add a line at the end of file ~/.bash_profile (or ~/.profile on Debian/Ubuntu) ( the file is hidden, you have to use "ls -a" to find it . For "gedit" use open Location, and enter the file name)

PATH=$PATH:/opt/nios2/bin

After you change the .bash_profile or .profile, you need to logout and login again. So that it will be in the PATH when you login.

Check with,
echo $PATH
It should display like this, with nios2 path at the end,
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/nios2/bin

To verify the cross gcc, try out,
nios2-linux-uclibc-gcc -v

It should display the info,
Reading specs from /opt/nios2/lib/gcc/nios2-linux-uclibc/3.4.6/specs
Configured with: /root/buildroot/toolchain_build_nios2/gcc-3.4.6/configure --prefix=/opt/nios2 --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=nios2-linux-uclibc --enable-languages=c --enable-shared --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls --enable-threads --disable-multilib --enable-cxx-flags=-static
Thread model: posix
gcc version 3.4.6

Then try build kernel and apps as in the uClinuxDist.

(EDIT: remove ccache links usage, because it doesn't work with blackfin uclinux-dist)
Tag page
Viewing 2 of 2 comments: view all
There are two links with problem. I need to do download of nios2gcc and nios2-linux. Thanks
Posted 15:20, 26 Feb 2009
Neighboring employees and merchants instantly associated the stores with their fake louis vuitton bagsChef Dana Flores of Bread & Wine, one of Los Angeles' premier catering louis vuitton mens wallet, has designed the menu for Trousdale. Bread & Wine is known for its approach to catering and has worked with companies such as louis vuitton outlet california, Hermes, Vanity Fair and louis vuitton backpack men, among others.Ms. Rocha can answer that question. ā€œI’m not in demand for the shows anymore,ā€ said the cheap lv bags, who has worked for Marc Jacobs, Prada, Chanel, Dior, Jean Paul Gaultier and louis vuitton, among many others.
Posted 01:24, 9 Mar 2010
Viewing 2 of 2 comments: view all
You must login to post a comment.
SourceForge.net