uClibc patches for AVR32
Note that AVR32 support is included in the subversion repository of the uClibc project. As the 0.9.29 release is more than a year old, grabbing the latest version from the subversion repository might actually work better than 0.9.29 with the patches on this page. If you use a recent subversion snapshot, no AVR32-specific patches should be necessary; if it doesn't work out of the box, that's a bug.
Kernel headers
- linux-headers-2.6.25.6.atmel.1.tar.bz2: Linux kernel headers generated from 2.6.25.6.atmel.1
Default configuration for uClibc-0.9.29
Grab the file below and save it as .config before building uClibc. This default configuration file will work for all 0.9.29 releases, and probably older releases as well.
- uClibc.config.avr32: uClibc .config file for 0.9.29
uClibc-0.9.29.atmel.1
The following patch is base upon the official uClibc 0.9.29 from http://uclibc.org/ It is highly recommended to use this version instead of the others.
- uClibc-0.9.29.atmel.1.patch.bz2: uClibc-0.9.29.atmel.1 patch
- uClibc-0.9.29.atmel.1.tar.bz2: uClibc-0.9.29.atmel.1 complete source code
uClibc-0.9.28-avr1
- uClibc-0.9.28-avr1-broken-out.tar.bz2: uClibc-0.9.28-avr1 quilt patchset
- uClibc-0.9.28-avr1.patch.bz2: uClibc-0.9.28-avr1 as a single patch
This patchset includes all the fixes below as well as some additional bugfixes.
Older patches
- uClibc-0.9.28-avr32-20060621.patch: AVR32 patch against uClibc 0.9.28
- kill-insert-extract-instructions-from-string-operations.patch: Fix build problem when enabling arch-optimised string ops
- avr32-string-fixes.patch: Small AVR32-specific string fixes
- let-optimized-stringops-override-default-ones.patch: Link stuff in the correct order
- fix-bug-in-avr32-optimized-memmove.patch: Fix broken memmove alignment code
Temporary quick fixes
This quick fix is only needed for the 0.9.28 releases, and is also completely wrong. Use uClibc 0.9.29 instead
- memcmp.S: Updated memcmp arch file