Forum Discussion
Altera_Forum
Honored Contributor
20 years agoupdate to buildroot guide
Dear all,
I have updated the buildroot guide with gcc3.4.6, kernel 2.6.15.6 and new elf2flt.ld, please check out, http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)27 Replies
- Altera_Forum
Honored Contributor
TO_BE_DONE
- Altera_Forum
Honored Contributor
did you install gcc32?
check your gcc version, "gcc -v" - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Apr 9 2006, 11:20 AM did you install gcc32?check your gcc version, "gcc -v"
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14155)
--- quote end ---
--- Quote End --- Hi, yes I did that.
$ gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++,f77 --disable-libgcj --host=i386-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-55.fc5) - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by mfm+apr 9 2006, 06:54 pm--><div class='quotetop'>quote (mfm @ apr 9 2006, 06:54 pm)</div>--- quote start ---
<!--quotebegin-hippo@Apr 9 2006, 11:20 AM did you install gcc32?
check your gcc version, "gcc -v"
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14155)
--- quote end ---
--- Quote End --- Hi, yes I did that.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14161)</div> [/b] --- Quote End --- Strange problem, please try again, reboot your Linux PC,$ gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++,f77 --disable-libgcj --host=i386-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-55.fc5)cd ~/buildroot rm -rf toolchain_build_nios2 build_nios2 make - Altera_Forum
Honored Contributor
<div class='quotetop'>QUOTE </div>
--- Quote Start --- please try again, reboot your Linux PC,
[/b] --- Quote End --- Hi, sorry but...cd ~/buildroot rm -rf toolchain_build_nios2 build_nios2 makePlease submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make: *** Error 1 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build/bfd' make: *** Error 1 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build/bfd' make: *** Error 2 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build/bfd' make: *** Error 2 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build' make: *** Error 2 - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by mfm@Apr 9 2006, 07:37 PM <div class='quotetop'>quote--- quote end ---
--- quote start ---
please try again, reboot your linux pc,
--- Quote End --- Hi, sorry but...cd ~/buildroot rm -rf toolchain_build_nios2 build_nios2 make
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14164)</div> [/b] --- Quote End --- MFM, I updated my FC5 to the latest, remove old ~/buildroot, and run from line47 of build script. It finished without problem. I wonder if this is FC5 installation problem. Please reinstall FC5 or try another PC.Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make: *** Error 1 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build/bfd' make: *** Error 1 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build/bfd' make: *** Error 2 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build/bfd' make: *** Error 2 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build' make: *** Error 2 - Altera_Forum
Honored Contributor
As Jdhar had found the new kernel unstable. so we will back port to 2.6.11-uc0 (in ~/linux-2.6.x) . as this post is a guide for newbie mostly, we will not add more patches , (other than zImage,epcs,watchdog), to the 2.6.11-uc0 kernel here, to keep it simple and stable .
Jdhar helped to setup a svn for the kernel and ported many new drivers, (eg, epcs,mmc,i2c) . Best thanks to Jdhar. You can find more updates to 2.6.11-uc0 from his site. http://via.dynalias.org/svn/uclinux/linux-2.6.11/trunk/ (http://via.dynalias.org/svn/uclinux/linux-2.6.11/trunk/) I am checking the new kernel, now 2.6.16.2 , and hope we can resolve the issue.