[uClibc-cvs] [buildroot 0000273]: add support for nios2 to buildroot

bugs at busybox.net bugs at busybox.net
Thu Jun 2 14:18:21 UTC 2005


A NOTE has been added to this issue.
======================================================================
<http://busybox.net/bugs/view.php?id=273> 
======================================================================
Reported By:                marc
Assigned To:                uClibc
======================================================================
Project:                    buildroot
Issue ID:                   273
Category:                   New Features
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             05-25-2005 03:19 PDT
Last Modified:              06-02-2005 07:18 PDT
======================================================================
Summary:                    add support for nios2 to buildroot
Description: 
uclibc had support for nios2, but buildroot has not. This patch adds the
possibility to create a 
   * nios2 toolchain from scratch
in very much the same way as it is done for other architectures.

The patches include
   * patch against binutils 2.15
   * patch against gcc-3.4.3 (other 3.4.x patches can be added)
   * patch against linux-headers 2.6.9

======================================================================

----------------------------------------------------------------------
 marc - 06-01-05 21:49 
----------------------------------------------------------------------
The elf2flt functionality in the patch is currently not yet functional, the
rest is (did a testbuild yesterday).

support for gcc 3.4.1, 3.4.2 are added.

However, uclibc-dev is broken (undefined references to __start_main_uclibc
or something). Older snapshots (20050517) of uclibc work fine.

----------------------------------------------------------------------
 jocke - 06-02-05 06:34 
----------------------------------------------------------------------
You need to update your crt* file(s) to match the new ABI.
See i386 or powerpc and ml for details on that.

----------------------------------------------------------------------
 marc - 06-02-05 06:47 
----------------------------------------------------------------------
tnx, I'll do that from the moment I get elf2flt hacked in the toolchain for
uclinux archs (nios2 here).

----------------------------------------------------------------------
 jocke - 06-02-05 06:52 
----------------------------------------------------------------------
You also have to pass a fini function ptr(_dl_fini) from ldso. See
the startup asm. See i386 or powerpc startup code in ldso.

----------------------------------------------------------------------
 marc - 06-02-05 07:18 
----------------------------------------------------------------------
elf2flt.diff should replace the version in the tarball. It includes and
modifies the toolchain to create BFLT binaries instead of ELF with the
flag -Wl,-elf2flt

The one in the tarball was not yet fully finished...

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-05 03:19 marc           New Issue                                    
05-25-05 03:24 marc           Issue Monitored: marc                        
05-29-05 01:37 marc           Note Added: 0000218                          
06-01-05 07:56 marc           Note Edited: 0000218                         
06-01-05 07:57 marc           Note Edited: 0000218                         
06-01-05 21:46 marc           File Added: buildroot_quilt_patches.tar.bz2       
            
06-01-05 21:47 marc           Note Deleted: 0000218                        
06-01-05 21:49 marc           Note Added: 0000222                          
06-02-05 06:34 jocke          Note Added: 0000223                          
06-02-05 06:47 marc           Note Added: 0000224                          
06-02-05 06:52 jocke          Note Added: 0000225                          
06-02-05 07:16 marc           File Added: elf2flt.diff                     
06-02-05 07:18 marc           Note Added: 0000226                          
======================================================================




More information about the uClibc-cvs mailing list