All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Marek Vasut <marex@denx.de>
Cc: Detlev Zundel <dzu@denx.de>, xenomai@xenomai.org
Subject: Re: [Xenomai] Xenomai on i.MX28 failure
Date: Fri, 05 Jul 2013 19:55:49 +0200	[thread overview]
Message-ID: <51D708A5.7030800@xenomai.org> (raw)
In-Reply-To: <201307051934.17975.marex@denx.de>

On 07/05/2013 07:34 PM, Marek Vasut wrote:

> Dear Gilles Chanteperdrix,
> 
>> On 07/05/2013 03:38 PM, Marek Vasut wrote:
>>> Hello,
>>>
>>> I attempted to use xenomai on i.MX28-based board, but unfortunatelly
>>> failed so far. I use mainline Linux 3.8.2 on the board with no
>>> additional patches,
>>>
>>> therefore I did:
>>>     git clone git://git.xenomai.org/xenomai-2.6.git
>>>
>>> To retrieve xenomai-2.6/master . Then I went on to patch the Linux kernel
>>> source:
>>>
>>> ./scripts/prepare-kernel.sh --linux=../linux-stable --
>>> ipipe=ksrc/arch/arm/patches/ipipe-core-3.8-arm-1.patch --arch=arm
>>>
>>> Next I ran "make oldconfig" in the kernel tree. I enabled XENOMAI and
>>> left the newly added configuration options at their default values.
>>>
>>> After compiling the kernel, the kernel does not boot on the board
>>> anymore, while the kernel did boot before patching without problems.
>>>
>>> Can you please give me any pointers or ideas on how to progress ?
>>
>> Try:
>> http://xenomai.org/index.php/I-pipe-core:ArmPorting
> 
> Thanks! The earlyprintk really helped, now I see this output [1] . I suspect
> it's something going on with the ipipe since I see icoll crashing. Can you
> please help me some more on where to look from now on or how to fix this?


Sorry, the bug is obvious, icoll_handle_irq should not call handle_IRQ, 
but handle_multi_irq, as explained here:

http://xenomai.org/index.php/I-pipe-core:ArmPorting#CONFIG_MULTI_IRQ_HANDLER

-- 
                                                                Gilles.


  parent reply	other threads:[~2013-07-05 17:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201307051538.58306.marex@denx.de>
2013-07-05 17:03 ` [Xenomai] Xenomai on i.MX28 failure Gilles Chanteperdrix
     [not found]   ` <201307051934.17975.marex@denx.de>
2013-07-05 17:47     ` Gilles Chanteperdrix
2013-07-05 17:55     ` Gilles Chanteperdrix [this message]
2013-07-05 18:11     ` Gilles Chanteperdrix
     [not found]       ` <201307291422.32820.marex@denx.de>
2013-07-29 18:21         ` 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=51D708A5.7030800@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=dzu@denx.de \
    --cc=marex@denx.de \
    --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.