All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: vibnwis <vibnwis@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Error code -19
Date: Sun, 20 Sep 2015 21:00:09 +0200	[thread overview]
Message-ID: <20150920190009.GE3486@hermes.click-hack.org> (raw)
In-Reply-To: <20150920175717.GB3486@hermes.click-hack.org>

On Sun, Sep 20, 2015 at 07:57:17PM +0200, Gilles Chanteperdrix wrote:
> On Sat, Sep 19, 2015 at 01:16:17AM +1200, vibnwis wrote:
> > Hi Gilles,
> > Thank you so much. Finally, I got a working xenomai. Many thanks for the
> > help. Would this change be checked in?
> 
> I think the right change for omap4460 is to provide the global timer
> irq in the device tree. I have to read some documentation to find
> what that irq number is.

Following other device tree files, it seems the global timer irq is
the PPI 11. So, could you try the following patch instead of the
previous patch?

diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index 2cb8144..e51b5e8 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -71,6 +71,7 @@
 		compatible = "arm,cortex-a9-global-timer";
 		reg = <0x48240200 0x20>;
 		clocks = <&mpu_periphclk>;
+		interrupts = <GIC_PPI 11 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_HIGH)>;
 	};
 
 	/*


Regards.

-- 
					    Gilles.
https://click-hack.org


  reply	other threads:[~2015-09-20 19:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-16 13:31 [Xenomai] Error code -19 vibnwis
2015-09-16 17:24 ` Lowell Gilbert
2015-09-17 13:02   ` vibnwis
2015-09-17 13:32     ` Gilles Chanteperdrix
2015-09-18  1:39       ` vibnwis
2015-09-18  7:46         ` Gilles Chanteperdrix
2015-09-18 12:24           ` vibnwis
2015-09-18 12:29             ` Gilles Chanteperdrix
2015-09-18 12:42               ` vibnwis
2015-09-18 12:44                 ` Gilles Chanteperdrix
2015-09-18 12:49                   ` vibnwis
2015-09-18 13:00                     ` Gilles Chanteperdrix
2015-09-18 13:04                       ` vibnwis
2015-09-18 13:16                         ` vibnwis
2015-09-20 17:57                           ` Gilles Chanteperdrix
2015-09-20 19:00                             ` Gilles Chanteperdrix [this message]
2015-09-18 12:50                 ` Gilles Chanteperdrix
2015-09-18 12:58                   ` vibnwis

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=20150920190009.GE3486@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=vibnwis@gmail.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.