From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Mathieu <mathieu_rondonneau@hotmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Raspberry Pi 2 patch - BCM2709
Date: Tue, 4 Aug 2015 15:48:00 +0200 [thread overview]
Message-ID: <20150804134759.GA22015@hermes.click-hack.org> (raw)
In-Reply-To: <BLU437-SMTP62CAA597299A3591E31BB9F0760@phx.gbl>
On Tue, Aug 04, 2015 at 06:30:57AM -0700, Mathieu wrote:
> Some status on RPI2: kernel is now booting with CONFIG_IPIPE (only) (at
> least passing the interrupt issue).
>
> The part I was missing is the interrupt binding in
> arch_irq_handler_default().
>
> I also used the system timer instead of the arm timer.
The arm architected timer is used on cortex A15 Processors. So, it
can definitely work.
> I am not sure the reason but I have the feeling it is because ipipe needs a
> oneshot timer.
I-pipe does not need a timer. Xenomai does. The ARM architected
timer is a oneshot timer, so can be used by Xenomai (and once again,
is used on cortex A15). And a periodic timer is not an issue either,
provided that you reprogram it at every shot.
For details about timers and clocks, once again, see the porting guide.
>
> I also got the rpi2 connected to a jtag and debugging using eclipse but it
> did not help much for this particular issue (and it is rather slow and not
> really stable).
Yes, in theory JTAG is great, in practice, debug tools are always
buggy. Note however that you may have better chances using gdb
directly than using eclipse.
>
> There is a (major) issue: the mmc can not get the clock.
> [ 4.108224] mmc-bcm2835 3f300000.mmc: could not get clk
>
> I am guessing this is due to the switch from ARM timer to system timer.
> I will have to fix this eventually (any suggestion welcome).
Probable wrong guess. The clock referred to here is a hardware clock
(in the sense, an electronic wire which gives a periodic signal),
and has nothing to do with the system timer.
--
Gilles.
https://click-hack.org
next prev parent reply other threads:[~2015-08-04 13:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-04 13:30 [Xenomai] Raspberry Pi 2 patch - BCM2709 Mathieu
2015-08-04 13:48 ` Gilles Chanteperdrix [this message]
2015-08-08 5:25 ` Mathieu Rondonneau
[not found] ` <BLU436-SMTP11876665B97EA0A9B12E707F0600@phx.gbl>
2015-08-26 3:13 ` [Xenomai] Raspberry Pi 2 - ipipe " Mathieu Rondonneau
-- strict thread matches above, loose matches on Subject: below --
2015-07-30 3:37 [Xenomai] Raspberry Pi 2 " Mathieu
2015-07-30 11:21 ` Miguel Rubio-Roy
2015-07-31 2:09 ` 张立鑫
2015-06-08 6:11 mobin Motallebizadeh
2015-06-08 11:11 ` Paul
2015-06-08 12:53 ` mobin Motallebizadeh
2015-06-09 0:19 ` Paul
2015-06-09 16:31 ` mobin Motallebizadeh
2015-06-09 16:40 ` Gilles Chanteperdrix
2015-06-09 17:41 ` Lennart Sorensen
2015-06-09 17:54 ` Adam Vaughan
2015-06-09 18:14 ` Lennart Sorensen
2015-06-10 3:24 ` mobin Motallebizadeh
2015-06-10 10:06 ` Gilles Chanteperdrix
2015-06-10 14:24 ` Lennart Sorensen
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=20150804134759.GA22015@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=mathieu_rondonneau@hotmail.com \
--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.