From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: "Michael Opdenacker" <michael@free-electrons.com>,
"Thomas Petazzoni" <thomas@free-electrons.com>,
"Boris Brezillon" <boris@free-electrons.com>,
"Alexandre Belloni" <alexandre.belloni@free-electrons.com>,
xenomai@xenomai.org,
"Antoine Ténart" <antoine@free-electrons.com>
Subject: Re: [Xenomai] Xenomai on Atmel SAMA5D3 with a 3.14 kernel
Date: Tue, 10 Jun 2014 10:48:36 +0200 [thread overview]
Message-ID: <5396C664.4080202@xenomai.org> (raw)
In-Reply-To: <20140610081940.GG9791@lukather>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/10/2014 10:19 AM, Maxime Ripard wrote:
> On Fri, Jun 06, 2014 at 07:52:13PM +0200, Gilles Chanteperdrix
> wrote:
>> On 06/06/2014 03:59 PM, Maxime Ripard wrote:
>>> Hi Gilles,
>>>
>>> I've been experimenting these days with the i-pipe 3.14
>>> kernel, and current xenomai master branch on the Atmel SAMA5D3
>>> SoC.
>>>
>>> There's a few issues there, the first one being that
>>> at91_ipipe_early_init crashes because of a NULL pointer
>>> dereference. This is due to the clk_get_rate call on the clock
>>> returned by clk_get(NULL, "mck").
>>>
>>> This clk_get call cannot since 3.14 because the clock code has
>>> been rewritten, and you can't use clkdev anymore.
>>
>> Well, it works on AT91. (RM9200 and SMA9263). What you are doing
>> with SAMA5D3 here is actually a port to a new platform.
>
> Not really. The SAMA5D3 is the latest evolution of the AT91, and
> the only major difference is that it's now using a Cortex-A5, but
> it's mostly the same.
>
> The only major difference I can find is that like all the recent
> AT91 SoCs, it's using the common clock framework in Linux, while
> the 9200 and the 9263 are still using the old API.
What I mean is that from the I-pipe patch point of view, this is a new
processor, and you should not presume too much. Also note that since
3.14, the I-pipe patch uses the atmel tclib
(drivers/misc/atmel_tclib.c), which uses clk_get and friends, so, if
clk_get does not work for this new processor, the tclib will not work
either.
- --
Gilles.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/
iD8DBQFTlsZkGpcgE6m/fboRAuTkAJ4/nRXsSenQLiY1Itg0Zi9P4kzjBACfX6vl
WP6TyMkZUC7ZG2W31q/EG6k=
=WXmJ
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2014-06-10 8:48 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 13:59 [Xenomai] Xenomai on Atmel SAMA5D3 with a 3.14 kernel Maxime Ripard
2014-06-06 14:00 ` Maxime Ripard
2014-06-07 14:34 ` Gilles Chanteperdrix
2014-06-10 9:10 ` Maxime Ripard
2014-06-10 9:40 ` Maxime Ripard
2014-06-10 9:48 ` Gilles Chanteperdrix
2014-06-10 9:54 ` Maxime Ripard
2014-06-10 10:01 ` Gilles Chanteperdrix
2014-06-10 10:35 ` Gilles Chanteperdrix
2014-06-11 9:25 ` Maxime Ripard
2014-06-11 18:16 ` Gilles Chanteperdrix
2014-06-11 18:55 ` Gilles Chanteperdrix
2014-06-12 7:54 ` Maxime Ripard
2014-06-12 8:37 ` Gilles Chanteperdrix
2014-06-12 15:03 ` Maxime Ripard
2014-06-12 17:57 ` Gilles Chanteperdrix
2014-06-12 22:58 ` Gilles Chanteperdrix
2014-06-13 19:01 ` Gilles Chanteperdrix
2014-06-17 17:11 ` Maxime Ripard
2014-06-23 14:05 ` Maxime Ripard
2014-06-23 23:44 ` Gilles Chanteperdrix
2014-06-24 6:13 ` Gilles Chanteperdrix
2014-06-25 17:14 ` Maxime Ripard
2014-06-25 17:13 ` Maxime Ripard
2014-06-25 18:03 ` Gilles Chanteperdrix
2014-06-06 17:52 ` Gilles Chanteperdrix
[not found] ` <20140606180357.GE5594@piout.net>
2014-06-06 18:13 ` Gilles Chanteperdrix
2014-06-10 8:19 ` Maxime Ripard
2014-06-10 8:48 ` Gilles Chanteperdrix [this message]
2014-06-08 13:29 ` 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=5396C664.4080202@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=alexandre.belloni@free-electrons.com \
--cc=antoine@free-electrons.com \
--cc=boris@free-electrons.com \
--cc=maxime.ripard@free-electrons.com \
--cc=michael@free-electrons.com \
--cc=thomas@free-electrons.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.