Skip to contentSkip to conversation

at91sam9263 and user-space support compile fails

Xenomai-help [email protected] 2 participants 2 messages May 16, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

actual i working with the CodeSourcery 2008q1 toolchain. When im building the user-space support it seem to work fine. Then im also compiled the kernel with this toolchain. The Image file which i get is about 4,7MB big. My System provide just less then 4MB space for the Kernel Image. With my first compiler i got kernel images with the size of 1,6MB. I also checked the Optimization Level, but that isn't the cause. What do you think about that?

Thomas

-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <[email protected]>
Gesendet: 15.05.08 11:48:43
An: [email protected]
CC: [email protected]
Betreff: Re: [Xenomai-help] at91sam9263 and user-space support compile fails

Quoted 8 lines · Gilles Chanteperdrix
Quoted 3 lines · On Thu, May 15, 2008 at 10:36 AM, <[email protected]> wrote:

It says me that the files memory.h and asm/param.h couldn't be found.
Im wondering why? I also tried it like the example in the README.INSTALL 2.6 Building for ARM but with the same result. Do anyone know how to fix this?

It looks like a toolchain issue. Are you sure your toolchain is properly installed ? Is there a memory.h or sys/mman.h in the toolchain include dir ?

I routinely compile Xenomai with the two following toolchains for ARM:
- Snapgear 2005 toolchain:
http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/arm-linux-tools-20051123.tar.gz
- CodeSourcery 2007q3 toolchain (no longer available, the current toolchain is 2008q1):
http://www.codesourcery.com/gnu_toolchains/arm/download.html

Signature · 12 lines
 Gilles

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help



_______________________________________________________________________
EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine
Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/[email protected]
#1 lore raw
Quoted 8 lines · On Fri, May 16, 2008 at 10:15 AM, <[email protected]> wrote:

Hi,

actual i working with the CodeSourcery 2008q1 toolchain. When im building the user-space support it seem to work fine. Then im also compiled the kernel with this toolchain. The Image file which i get is about 4,7MB big. My System provide just less then 4MB space for the Kernel Image. With my first compiler i got kernel images with the size of 1,6MB. I also checked the Optimization Level, but that isn't the cause. What do you think about that?

This is a known issue. Use a more recent kernel, or patch the arch Makefile as indicated here:
http://lists.arm.linux.org.uk/lurker/message/20080508.101225.d54f8f71.en.html

Signature · 1 line
 Gilles