BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000273 [buildroot] New Features feature always 05-25-05 03:19 02-12-07 05:49
Reporter marc View Status public  
Assigned To buildroot
Priority normal Resolution fixed  
Status closed   Product Version 0.9.27
Summary 0000273: 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
Additional Information The patch is done against a SVN snapshot from the beginning of may, but since the bulk of the patch consists of patch files for NIOS2, patching later version should not be a problem
Attached Files  buildroot_quilt_patches.tar.bz2 [^] (297,803 bytes) 06-01-05 21:46
 elf2flt.diff [^] (40,747 bytes) 06-02-05 07:16

- Relationships

- Notes
(0000222)
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.
 
(0000223)
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.
 
(0000224)
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).
 
(0000225)
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.
 
(0000226)
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...
 
(0000227)
marc
06-02-05 07:19
edited on: 06-02-05 07:19

jocke, tnx for the pointers, I don't have the deep insight in uclibc to fix this without your pointers :)

 
(0000847)
vapier
01-03-06 20:53

please sync up and check out current buildroot ... i cleaned up the binutils/gcc patches and incorporated most of what you have here into current svn
 
(0000901)
vapier
01-09-06 21:57

and elf2flt is in, thanks
 

- 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
06-02-05 07:19 marc Note Added: 0000227
06-02-05 07:19 marc Note Edited: 0000227
01-03-06 16:43 thomas_chou Note Added: 0000845
01-03-06 16:57 thomas_chou Note Deleted: 0000845
01-03-06 20:53 vapier Note Added: 0000847
01-09-06 21:57 vapier Note Added: 0000901
01-09-06 21:57 vapier Status assigned => closed
01-09-06 21:57 vapier Resolution open => fixed
02-12-07 05:49 vapier Status closed => assigned
02-12-07 05:49 vapier Assigned To uClibc => buildroot


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker