Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

update to buildroot guide

Altera_Forum
Honored Contributor II
1,730 Views

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)
0 Kudos
27 Replies
Altera_Forum
Honored Contributor II
176 Views

TO_BE_DONE

0 Kudos
Altera_Forum
Honored Contributor II
176 Views

did you install gcc32? 

check your gcc version, "gcc -v"
0 Kudos
Altera_Forum
Honored Contributor II
176 Views

 

--- 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)
0 Kudos
Altera_Forum
Honored Contributor II
176 Views

 

--- 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. 

$ 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) 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14161)</div> 

[/b] 

--- Quote End ---  

 

Strange problem, 

please try again, reboot your Linux PC, 

cd ~/buildroot rm -rf toolchain_build_nios2 build_nios2 make
0 Kudos
Altera_Forum
Honored Contributor II
176 Views

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

please try again, reboot your Linux PC, 

cd ~/buildroot rm -rf toolchain_build_nios2 build_nios2 make[/b] 

--- Quote End ---  

 

Hi, 

sorry but... 

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&#39; make: *** Error 1 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build/bfd&#39; make: *** Error 2 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build/bfd&#39; make: *** Error 2 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build&#39; make: *** Error 2
0 Kudos
Altera_Forum
Honored Contributor II
176 Views

 

--- 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, 

cd ~/buildroot rm -rf toolchain_build_nios2 build_nios2 make 

--- Quote End ---  

 

Hi, 

sorry but... 

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&#39; make: *** Error 1 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build/bfd&#39; make: *** Error 2 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build/bfd&#39; make: *** Error 2 make: Leaving directory `/home/MFM/buildroot/toolchain_build_nios2/binutils-2.15-build&#39; make: *** Error 2 

<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.
0 Kudos
Altera_Forum
Honored Contributor II
176 Views

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.
0 Kudos
Reply