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

The manual of my starterkit says i should do this with the vmlinux:

arm-elf-objcopy -O binary -S vmImage vmlinux.bin
gzip -f9 vmlinux.bin
mkimage -A arm -O linux -T kernel -C gzip -a 0x20008000 -e 0x20008000 -n "Linux Kernel Image" -d vmlinux.bin.gz vmImage

When im take the ./arch/arm/boot/compressed/vmlinux it won't work. If i take the ./vmlinux it is to big.

-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <[email protected]>
Gesendet: 16.05.08 14:18:30
An: [email protected]
CC: [email protected]
Betreff: Re: [Xenomai-help] at91sam9263 and user-space support compile fails

Review

Quoted 5 lines · On Fri, May 16, 2008 at 1:07 PM, <[email protected]> wrote:

I have found some debug flags.
Now the vmlinux is smaller but still to big

(quoted diff) +0 -2
-rwxr-xr-x 1 paradoxxa paradoxxa 4,8M 16. Mai 12:36 vmlinux
-rwxr-xr-x 1 paradoxxa paradoxxa 1,7M 16. Mai 12:36 arch/arm/boot/compressed/vmlinux

A 1.7M vmlinux is Ok. I do not understand what you mean.

Signature · 7 lines
 Gilles



_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
#1 lore raw
Quoted 3 lines · On Fri, May 16, 2008 at 2:40 PM, <[email protected]> wrote:

The manual of my starterkit says i should do this with the vmlinux:

arm-elf-objcopy -O binary -S vmImage vmlinux.bin

This step is the same as the one made by the Linux kernel Makefile. So, of course, if you do not use the Linux kernel Makefiles, you should use the same flags as the ones it uses.

Signature · 1 line
 Gilles