.. some CRIS OSS bits and pieces ..
Axis ETRAX LX100 (cris) patches for uClibc buildroot from http://repo.or.cz/w/buildroot.git. At the moment following versions of packages were tested (for toolchain):
- gcc 4.3.1
- binutils 2.18
- uClibc 0.9.29
- linux headers 184.108.40.206
I was able to produce working uClibc toolchain based on package versions above. Other packages (applications, libraries) included in the uClibc buildroot were not thoroughly tested and might still need some missing cris architecture bits.
The patches below should also apply to openWRT SVN tree at https://dev.openwrt.org, although this was not tested by me (if anyone has time to try let me know).
For convenience uClibc buildroot, busybox, uClibc and kernel config files are provided here too. These are the working and tested config files that produce suitable uClibc based toolchain.
You can save the files in your favorite folder and run make menuconfig (in the top uClibc buildroot folder) to tell the SDK where to look for these configuration files.
These patches should be applied to the uClibc buildroot GIT source on 21 Aug 2008 (version 0.10.1-git). Gcc patches are against 4.3.1 but should be fine with 4.3.0 too. Same goes for kernel patches - should apply to newer versions of kernel too (>= 2.6.25). These patches should be included in in upcoming uClibc buildroot GIT tree. The patches should be copied to appropriate folders (possibly overwriting older versions of patches) once the uClibc buildroot GIT tree has been checked out.
Fix internal compiler errors that pop up even when compiling linux-2.6.25.xx kernel. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35492.
Fix usage of correct GNU tools when building final kernel image. Axis provided tools include ELF based toolchain that is utilized in building kernel, which uClibc buildroot does not produce.
Fix netpoll() callback arguments.
Fix inclusion of missing arch-vxx headers when installing kernel headers.
Fix uClibc threads compilation.
Add 'linux-cris' target for building openssl.
This patch fixes some minor problems with uClibc buildroot that need broader consensus in order to be included in upcoming GIT tree. The patch should be applied after the uClibc buildroot GIT tree has been checked out.
Install some missing kernel headers and tell uClibc to search in 'include-fixed' gcc include path too.
No reason not to use large file support on cris.
Fix uClibc ARCH setting for cris-v10 and cris-v32.
Please report broken links to Hinko Kočevar.