All of lore.kernel.org
 help / color / mirror / Atom feed
From: Forconi <forconi@wavecomm.it>
To: xenomai@xenomai.org
Subject: [Xenomai] Xenomai 2.6.1 - Linux 2.6.38.8 on AT91SAM9260 - Kernel compilation fails
Date: Thu, 27 Sep 2012 10:05:16 +0000 (UTC)	[thread overview]
Message-ID: <25260467.3976688.1348740316127.JavaMail.root@zmail.sgconsulting.it> (raw)
In-Reply-To: <1942547306.3976213.1348739521182.JavaMail.root@zmail.sgconsulting.it>

Hi, 
this is my first approach to Xenomai, I'm trying to compile a Xenomai patched Linux kernel to run on a AT91SAM9260 embedded board.

This is my environment:
CROSS-GCC: gcc-4.2.3-glibc-2.3.3
KERNEL: Linux 2.6.38.8
XENOMAI: Xenomai-2.6.1

I'm following the "Installation instructions" on web site (section 3.4. Building for ARM).

The prepare-kernel.sh script runs ok, all files are patched with no errors, this is the command I've used:
$xenomai_root/scripts/prepare-kernel.sh --arch=arm --adeos=$xenomai_root/ksrc/arch/arm/patches/adeos-ipipe-2.6.38.8-arm-1.18-08.patch --linux=$linux_tree

Then I configure/build the kernel:
make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnu- at91sam9260ek_defconfig
make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnu- uImage

But compilation fails:
...
AS      arch/arm/nwfpe/entry.o
LD      arch/arm/nwfpe/nwfpe.o
LD      arch/arm/nwfpe/built-in.o
CC      arch/arm/kernel/elf.o
AS      arch/arm/kernel/entry-armv.o
AS      arch/arm/kernel/entry-common.o
arch/arm/kernel/entry-common.S: Assembler messages:
arch/arm/kernel/entry-common.S:449: Error: bad instruction `ldm sp,{r0-r3}'
make[1]: *** [arch/arm/kernel/entry-common.o] Error 1
make: *** [arch/arm/kernel] Error 2


Maybe I have to try with other versions of xenomai and kernel?


       reply	other threads:[~2012-09-27 10:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1942547306.3976213.1348739521182.JavaMail.root@zmail.sgconsulting.it>
2012-09-27 10:05 ` Forconi [this message]
2012-09-27 12:06   ` [Xenomai] Xenomai 2.6.1 - Linux 2.6.38.8 on AT91SAM9260 - Kernel compilation fails Gilles Chanteperdrix
2012-09-27 13:23     ` Forconi
2012-09-27 13:32       ` Gilles Chanteperdrix
2012-09-27 13:46         ` Gilles Chanteperdrix
2012-09-27 14:07           ` Forconi
2012-09-27 14:06             ` Gilles Chanteperdrix
2012-09-27 19:08             ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25260467.3976688.1348740316127.JavaMail.root@zmail.sgconsulting.it \
    --to=forconi@wavecomm.it \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.