From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: 陈晓 <chenzl92@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] How to Adapt ARM I-pipe patch to S3C6410
Date: Thu, 22 Dec 2011 11:00:10 +0100 [thread overview]
Message-ID: <4EF2FFAA.7030904@domain.hid> (raw)
In-Reply-To: <CADwQ9Q5U8Eftm4ok_x_YHSAHY36ah=WsYwDcvuVzpKMdXvAjKw@domain.hid>
On 12/22/2011 03:37 AM, 陈晓 wrote:
> The kernel version is 2.6.37.6 I-pipe patch is 2.6.0-rc4,
2.6.0-rc4 is a xenomai version, not an I-pipe version. And xenomai
2.6.0-rc4 is obsolete and superseeded by xenomai 2.6.0.
I tried the
> howto ,but I couldn't find the variables and functions in irq.c ,but
> some of the functions and variables in time.c were here because of
> the patch. I want to know whether all the function need to be add by
> myself ? because some of it exist when I patch the ipipe-patch.
> And the tip "Implementing a high-resolution counter.",I modified the
> CONFIG file and use the second way "Decrementer See s3c24xx
> implementation."
> The complie work was finished with no error. Is there any patch t
> adpat to the board?
> Thank you !
As indicated by the howto: "In the rest of this document we will call
these files time.c and irq.c, even though they may have another name for
your board. "
Anyway, irq demuxing is done differently with current versions of the
I-pipe, the howto is out of date. For each irq demux (the callbacks
registered with set_irq_chained_handler), the demux function should call
ipipe_handle_chained_irq instead of generic_handle_irq.
However, if the bug happens before start_kernel, the bug has probably
nothing to do with the modifications you made for the I-pipe. But are
you sure that the bug happens before start_kernel? Have you noted that
printk does not work as early as in start_kernel, you have to enable
early printk or use the printascii trick mentioned in the "tips and
tricks" section of the howto.
Please no private mails.
--
Gilles.
next prev parent reply other threads:[~2011-12-22 10:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-19 1:38 [Xenomai-help] How to Adapt ARM I-pipe patch to S3C6410 陈晓
2011-12-19 11:38 ` Gilles Chanteperdrix
[not found] ` <CADwQ9Q5U8Eftm4ok_x_YHSAHY36ah=WsYwDcvuVzpKMdXvAjKw@domain.hid>
2011-12-22 10:00 ` Gilles Chanteperdrix [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-12-24 2:10 陈晓
2011-12-24 13:36 ` 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=4EF2FFAA.7030904@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=chenzl92@domain.hid \
--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.