All of lore.kernel.org
 help / color / mirror / Atom feed
* Re:Help: System freeze when edge interrupt trigger,  Xenomain3.0.8, ipipe-arm main line, am335x
       [not found] <mailman.3.1547809201.5156.xenomai@xenomai.org>
@ 2019-01-22 10:33 ` 张建昆
  2019-01-22 12:29   ` Giulio Moro
  2019-01-22 15:18   ` Help: " Greg Gallagher
  0 siblings, 2 replies; 11+ messages in thread
From: 张建昆 @ 2019-01-22 10:33 UTC (permalink / raw)
  To: xenomai

Hello everyone, here is some new clues:
1. I tried xenomai 3.0.8, kernel 3.14.17 and ipipe-core-4.14.71-arm-4.patch. Still the same question.

2. It seems the system is locked up once a gpio interrupt is triggered.

3. Some debug information show that, once a gpio interrupt is triggered, the function

    'omap_gpio_irq_handler' is triggered all the time.

There may be a little bug exists, but i don't know how to amend it. Thank you very much, if anyone can help.

>------------------------------
>
>Message: 3
>Date: Fri, 18 Jan 2019 11:48:12 +0800 (CST)
>From: 张建昆 <kunzj@126.com>
>To: xenomai@xenomai.org
>Subject: Help: System freeze when edge interrupt trigger,
>	Xenomain3.0.8, ipipe-arm main line, am335x
>Message-ID: <55c89c76.3420.1685f12c488.Coremail.kunzj@126.com>
>Content-Type: text/plain; charset="gbk"
>
>Hello!
>    The system freeze when interrupt is triggered. I clone ipipe-arm master, and use xenomai 3.0.8 following xenomai startup tutorial.
>The hardware cpu is am3358. System works fine after start up, but the system immediately locks up when a edge interrupt. For example,
>the mmc card in pluged in. Is it something worng ? Thank you very much!
>
>    The kernel config file and dts attached.
>
>
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: .config
>Type: application/octet-stream
>Size: 129591 bytes
>Desc: not available
>URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment.obj>
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: am335x-dnk-v1_LCD800x480_TM070RDH13.dts
>Type: application/octet-stream
>Size: 29436 bytes
>Desc: not available
>URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment-0001.obj>
>
>------------------------------
>
>Subject: Digest Footer
>
>
>
>
>------------------------------
>
>End of Xenomai Digest, Vol 81, Issue 17
>***************************************

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re:Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x
  2019-01-22 10:33 ` Re:Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x 张建昆
@ 2019-01-22 12:29   ` Giulio Moro
  2019-01-22 15:18   ` Help: " Greg Gallagher
  1 sibling, 0 replies; 11+ messages in thread
From: Giulio Moro @ 2019-01-22 12:29 UTC (permalink / raw)
  To: Xenomai, 张建昆

>Date: Fri, 18 Jan 2019 11:48:12 +0800 (CST)
>From: 张建昆 <kunzj@126.com>
>    The system freeze when interrupt is triggered. I clone ipipe-arm master, and use xenomai 3.0.8 following xenomai startup tutorial.
>The hardware cpu is am3358. System works fine after start up, but the system immediately locks up when a edge interrupt. For example,
> Hello everyone, here is some new clues:
> 1. I tried xenomai 3.0.8, kernel 3.14.17 and ipipe-core-4.14.71-arm-4.patch. Still the same question.

This MAY originate from the same issue as [1], already discussed on this list on [2] and [3], already. In fact,  [4] achieves a similar freeze on 4.14 and [5] suggests a way to fix it. I tried it myself but with no success (but I am not kernel expert!). However, I must say that in my case, I get no freeze, nor a stream of messages in the kernel log, rather what happens is that every time the interrupt is triggered, we get a stacktrace in the kernel log.

[1] https://github.com/RobertCNelson/ti-linux-kernel-dev/issues/16
[2] https://www.xenomai.org/pipermail/xenomai/2017-June/037427.html
[3] https://www.xenomai.org/pipermail/xenomai/2018-February/038380.html
[4] https://www.xenomai.org/pipermail/xenomai/2018-February/038397.html
[5] https://www.xenomai.org/pipermail/xenomai/2018-February/038389.html
________________________________________
From: Xenomai <xenomai-bounces@xenomai.org> on behalf of 张建昆 via Xenomai <xenomai@xenomai.org>
Sent: 22 January 2019 10:33
To: xenomai@xenomai.org
Subject: Re:Help: System freeze when edge interrupt trigger,  Xenomain3.0.8, ipipe-arm main line, am335x

Hello everyone, here is some new clues:
1. I tried xenomai 3.0.8, kernel 3.14.17 and ipipe-core-4.14.71-arm-4.patch. Still the same question.

2. It seems the system is locked up once a gpio interrupt is triggered.

3. Some debug information show that, once a gpio interrupt is triggered, the function

    'omap_gpio_irq_handler' is triggered all the time.

There may be a little bug exists, but i don't know how to amend it. Thank you very much, if anyone can help.

>------------------------------
>
>Message: 3
>Date: Fri, 18 Jan 2019 11:48:12 +0800 (CST)
>From: 张建昆 <kunzj@126.com>
>To: xenomai@xenomai.org
>Subject: Help: System freeze when edge interrupt trigger,
>       Xenomain3.0.8, ipipe-arm main line, am335x
>Message-ID: <55c89c76.3420.1685f12c488.Coremail.kunzj@126.com>
>Content-Type: text/plain; charset="gbk"
>
>Hello!
>    The system freeze when interrupt is triggered. I clone ipipe-arm master, and use xenomai 3.0.8 following xenomai startup tutorial.
>The hardware cpu is am3358. System works fine after start up, but the system immediately locks up when a edge interrupt. For example,
>the mmc card in pluged in. Is it something worng ? Thank you very much!
>
>    The kernel config file and dts attached.
>
>
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: .config
>Type: application/octet-stream
>Size: 129591 bytes
>Desc: not available
>URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment.obj>
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: am335x-dnk-v1_LCD800x480_TM070RDH13.dts
>Type: application/octet-stream
>Size: 29436 bytes
>Desc: not available
>URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment-0001.obj>
>
>------------------------------
>
>Subject: Digest Footer
>
>
>
>
>------------------------------
>
>End of Xenomai Digest, Vol 81, Issue 17
>***************************************

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x
  2019-01-22 10:33 ` Re:Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x 张建昆
  2019-01-22 12:29   ` Giulio Moro
@ 2019-01-22 15:18   ` Greg Gallagher
  2019-01-26  9:20     ` 回复:Re: " JackZhang
  1 sibling, 1 reply; 11+ messages in thread
From: Greg Gallagher @ 2019-01-22 15:18 UTC (permalink / raw)
  To: 张建昆; +Cc: Xenomai@xenomai.org

On Tue, Jan 22, 2019 at 5:34 AM 张建昆 via Xenomai <xenomai@xenomai.org> wrote:
>
> Hello everyone, here is some new clues:
> 1. I tried xenomai 3.0.8, kernel 3.14.17 and ipipe-core-4.14.71-arm-4.patch. Still the same question.

Have you tried this with the 4.9 or 4.4 kernel and ipipe patch?  I
think 4.4 (which is based on a SLTS) has been tested on beaglebone
(similar processor). Did you mean kernel 4.14 not 3.14?

> 2. It seems the system is locked up once a gpio interrupt is triggered.
>
> 3. Some debug information show that, once a gpio interrupt is triggered, the function
>
>     'omap_gpio_irq_handler' is triggered all the time.
I think I've reproduced this on a Beaglebone which is based on a
similar processor, I'll look into it this week.

> There may be a little bug exists, but i don't know how to amend it. Thank you very much, if anyone can help.
>

-Greg
> >------------------------------
> >
> >Message: 3
> >Date: Fri, 18 Jan 2019 11:48:12 +0800 (CST)
> >From: 张建昆 <kunzj@126.com>
> >To: xenomai@xenomai.org
> >Subject: Help: System freeze when edge interrupt trigger,
> >       Xenomain3.0.8, ipipe-arm main line, am335x
> >Message-ID: <55c89c76.3420.1685f12c488.Coremail.kunzj@126.com>
> >Content-Type: text/plain; charset="gbk"
> >
> >Hello!
> >    The system freeze when interrupt is triggered. I clone ipipe-arm master, and use xenomai 3.0.8 following xenomai startup tutorial.
> >The hardware cpu is am3358. System works fine after start up, but the system immediately locks up when a edge interrupt. For example,
> >the mmc card in pluged in. Is it something worng ? Thank you very much!
> >
> >    The kernel config file and dts attached.
> >
> >
> >-------------- next part --------------
> >A non-text attachment was scrubbed...
> >Name: .config
> >Type: application/octet-stream
> >Size: 129591 bytes
> >Desc: not available
> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment.obj>
> >-------------- next part --------------
> >A non-text attachment was scrubbed...
> >Name: am335x-dnk-v1_LCD800x480_TM070RDH13.dts
> >Type: application/octet-stream
> >Size: 29436 bytes
> >Desc: not available
> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment-0001.obj>
> >
> >------------------------------
> >
> >Subject: Digest Footer
> >
> >
> >
> >
> >------------------------------
> >
> >End of Xenomai Digest, Vol 81, Issue 17
> >***************************************


^ permalink raw reply	[flat|nested] 11+ messages in thread

* 回复:Re: Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x
  2019-01-22 15:18   ` Help: " Greg Gallagher
@ 2019-01-26  9:20     ` JackZhang
  2019-01-26  9:36       ` Michael Nazzareno Trimarchi
  0 siblings, 1 reply; 11+ messages in thread
From: JackZhang @ 2019-01-26  9:20 UTC (permalink / raw)
  To: Greg Gallagher; +Cc: Xenomai@xenomai.org

Hi, Grep, thanks.



>Have you tried this with the 4.9 or 4.4 kernel and ipipe patch? I
>think 4.4 (which is based on a SLTS) has been tested on beaglebone
>(similar processor). Did you mean kernel 4.14 not 3.14?

  I mean kernel 4.14. Sorry for mistake.
>I think I've reproduced this on a Beaglebone which is based on a
>similar processor, I'll look into it this week.
  Thank you very much!


在 2019-01-22 23:18:03,"Greg Gallagher" <greg@embeddedgreg.com> 写道:
>On Tue, Jan 22, 2019 at 5:34 AM 张建昆 via Xenomai <xenomai@xenomai.org> wrote:
>>
>> Hello everyone, here is some new clues:
>> 1. I tried xenomai 3.0.8, kernel 3.14.17 and ipipe-core-4.14.71-arm-4.patch. Still the same question.
>
>Have you tried this with the 4.9 or 4.4 kernel and ipipe patch?  I
>think 4.4 (which is based on a SLTS) has been tested on beaglebone
>(similar processor). Did you mean kernel 4.14 not 3.14?
>
>> 2. It seems the system is locked up once a gpio interrupt is triggered.
>>
>> 3. Some debug information show that, once a gpio interrupt is triggered, the function
>>
>>     'omap_gpio_irq_handler' is triggered all the time.
>I think I've reproduced this on a Beaglebone which is based on a
>similar processor, I'll look into it this week.
>
>> There may be a little bug exists, but i don't know how to amend it. Thank you very much, if anyone can help.
>>
>
>-Greg
>> >------------------------------
>> >
>> >Message: 3
>> >Date: Fri, 18 Jan 2019 11:48:12 +0800 (CST)
>> >From: 张建昆 <kunzj@126.com>
>> >To: xenomai@xenomai.org
>> >Subject: Help: System freeze when edge interrupt trigger,
>> >       Xenomain3.0.8, ipipe-arm main line, am335x
>> >Message-ID: <55c89c76.3420.1685f12c488.Coremail.kunzj@126.com>
>> >Content-Type: text/plain; charset="gbk"
>> >
>> >Hello!
>> >    The system freeze when interrupt is triggered. I clone ipipe-arm master, and use xenomai 3.0.8 following xenomai startup tutorial.
>> >The hardware cpu is am3358. System works fine after start up, but the system immediately locks up when a edge interrupt. For example,
>> >the mmc card in pluged in. Is it something worng ? Thank you very much!
>> >
>> >    The kernel config file and dts attached.
>> >
>> >
>> >-------------- next part --------------
>> >A non-text attachment was scrubbed...
>> >Name: .config
>> >Type: application/octet-stream
>> >Size: 129591 bytes
>> >Desc: not available
>> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment.obj>
>> >-------------- next part --------------
>> >A non-text attachment was scrubbed...
>> >Name: am335x-dnk-v1_LCD800x480_TM070RDH13.dts
>> >Type: application/octet-stream
>> >Size: 29436 bytes
>> >Desc: not available
>> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment-0001.obj>
>> >
>> >------------------------------
>> >
>> >Subject: Digest Footer
>> >
>> >
>> >
>> >
>> >------------------------------
>> >
>> >End of Xenomai Digest, Vol 81, Issue 17
>> >***************************************

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x
  2019-01-26  9:20     ` 回复:Re: " JackZhang
@ 2019-01-26  9:36       ` Michael Nazzareno Trimarchi
  2019-01-26 10:01         ` JackZhang
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Nazzareno Trimarchi @ 2019-01-26  9:36 UTC (permalink / raw)
  To: JackZhang; +Cc: Greg Gallagher, Xenomai@xenomai.org

Hi Jack


On Sat, Jan 26, 2019 at 10:20 AM JackZhang via Xenomai
<xenomai@xenomai.org> wrote:
>
> Hi, Grep, thanks.
>
>
>
> >Have you tried this with the 4.9 or 4.4 kernel and ipipe patch? I
> >think 4.4 (which is based on a SLTS) has been tested on beaglebone
> >(similar processor). Did you mean kernel 4.14 not 3.14?
>
>   I mean kernel 4.14. Sorry for mistake.
> >I think I've reproduced this on a Beaglebone which is based on a
> >similar processor, I'll look into it this week.
>   Thank you very much!

I have 4.1.6 + xenomai 3.0.7 and seems that it works

Michael

>
>
> 在 2019-01-22 23:18:03,"Greg Gallagher" <greg@embeddedgreg.com> 写道:
> >On Tue, Jan 22, 2019 at 5:34 AM 张建昆 via Xenomai <xenomai@xenomai.org> wrote:
> >>
> >> Hello everyone, here is some new clues:
> >> 1. I tried xenomai 3.0.8, kernel 3.14.17 and ipipe-core-4.14.71-arm-4.patch. Still the same question.
> >
> >Have you tried this with the 4.9 or 4.4 kernel and ipipe patch?  I
> >think 4.4 (which is based on a SLTS) has been tested on beaglebone
> >(similar processor). Did you mean kernel 4.14 not 3.14?
> >
> >> 2. It seems the system is locked up once a gpio interrupt is triggered.
> >>
> >> 3. Some debug information show that, once a gpio interrupt is triggered, the function
> >>
> >>     'omap_gpio_irq_handler' is triggered all the time.
> >I think I've reproduced this on a Beaglebone which is based on a
> >similar processor, I'll look into it this week.
> >
> >> There may be a little bug exists, but i don't know how to amend it. Thank you very much, if anyone can help.
> >>
> >
> >-Greg
> >> >------------------------------
> >> >
> >> >Message: 3
> >> >Date: Fri, 18 Jan 2019 11:48:12 +0800 (CST)
> >> >From: 张建昆 <kunzj@126.com>
> >> >To: xenomai@xenomai.org
> >> >Subject: Help: System freeze when edge interrupt trigger,
> >> >       Xenomain3.0.8, ipipe-arm main line, am335x
> >> >Message-ID: <55c89c76.3420.1685f12c488.Coremail.kunzj@126.com>
> >> >Content-Type: text/plain; charset="gbk"
> >> >
> >> >Hello!
> >> >    The system freeze when interrupt is triggered. I clone ipipe-arm master, and use xenomai 3.0.8 following xenomai startup tutorial.
> >> >The hardware cpu is am3358. System works fine after start up, but the system immediately locks up when a edge interrupt. For example,
> >> >the mmc card in pluged in. Is it something worng ? Thank you very much!
> >> >
> >> >    The kernel config file and dts attached.
> >> >
> >> >
> >> >-------------- next part --------------
> >> >A non-text attachment was scrubbed...
> >> >Name: .config
> >> >Type: application/octet-stream
> >> >Size: 129591 bytes
> >> >Desc: not available
> >> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment.obj>
> >> >-------------- next part --------------
> >> >A non-text attachment was scrubbed...
> >> >Name: am335x-dnk-v1_LCD800x480_TM070RDH13.dts
> >> >Type: application/octet-stream
> >> >Size: 29436 bytes
> >> >Desc: not available
> >> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment-0001.obj>
> >> >
> >> >------------------------------
> >> >
> >> >Subject: Digest Footer
> >> >
> >> >
> >> >
> >> >
> >> >------------------------------
> >> >
> >> >End of Xenomai Digest, Vol 81, Issue 17
> >> >***************************************



-- 
| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
| COO  -  Founder                                      Cruquiuskade 47 |
| +31(0)851119172                                 Amsterdam 1018 AM NL |
|                  [`as] http://www.amarulasolutions.com               |


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re:Re: Re: Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x
  2019-01-26  9:36       ` Michael Nazzareno Trimarchi
@ 2019-01-26 10:01         ` JackZhang
  2019-01-26 10:18           ` Michael Nazzareno Trimarchi
  0 siblings, 1 reply; 11+ messages in thread
From: JackZhang @ 2019-01-26 10:01 UTC (permalink / raw)
  To: Michael Nazzareno Trimarchi; +Cc: Greg Gallagher, Xenomai@xenomai.org

Thanks, Michael
I have kernel 4.1.18 + xenomai 3.0.6 works too, but can't work with ti's drm drivers.
Ti's sdk[1] with own kernel based on 4.1.18, can not work with ipipe patch, and i it's
hard to solve the conflict.


Now, Ti's drm driver code is in the new kernel 4.14, so the best way is that ipipe-arm
can work with the 4.14 kernel.


[1]. http://processors.wiki.ti.com/index.php?title=Processor_SDK_Linux_Release_Notes&oldid=214754



At 2019-01-26 17:36:34, "Michael Nazzareno Trimarchi" <michael@amarulasolutions.com> wrote:
>Hi Jack
>
>
>On Sat, Jan 26, 2019 at 10:20 AM JackZhang via Xenomai
><xenomai@xenomai.org> wrote:
>>
>> Hi, Grep, thanks.
>>
>>
>>
>> >Have you tried this with the 4.9 or 4.4 kernel and ipipe patch? I
>> >think 4.4 (which is based on a SLTS) has been tested on beaglebone
>> >(similar processor). Did you mean kernel 4.14 not 3.14?
>>
>>   I mean kernel 4.14. Sorry for mistake.
>> >I think I've reproduced this on a Beaglebone which is based on a
>> >similar processor, I'll look into it this week.
>>   Thank you very much!
>
>I have 4.1.6 + xenomai 3.0.7 and seems that it works
>
>Michael
>
>>
>>
>> 在 2019-01-22 23:18:03,"Greg Gallagher" <greg@embeddedgreg.com> 写道:
>> >On Tue, Jan 22, 2019 at 5:34 AM 张建昆 via Xenomai <xenomai@xenomai.org> wrote:
>> >>
>> >> Hello everyone, here is some new clues:
>> >> 1. I tried xenomai 3.0.8, kernel 3.14.17 and ipipe-core-4.14.71-arm-4.patch. Still the same question.
>> >
>> >Have you tried this with the 4.9 or 4.4 kernel and ipipe patch?  I
>> >think 4.4 (which is based on a SLTS) has been tested on beaglebone
>> >(similar processor). Did you mean kernel 4.14 not 3.14?
>> >
>> >> 2. It seems the system is locked up once a gpio interrupt is triggered.
>> >>
>> >> 3. Some debug information show that, once a gpio interrupt is triggered, the function
>> >>
>> >>     'omap_gpio_irq_handler' is triggered all the time.
>> >I think I've reproduced this on a Beaglebone which is based on a
>> >similar processor, I'll look into it this week.
>> >
>> >> There may be a little bug exists, but i don't know how to amend it. Thank you very much, if anyone can help.
>> >>
>> >
>> >-Greg
>> >> >------------------------------
>> >> >
>> >> >Message: 3
>> >> >Date: Fri, 18 Jan 2019 11:48:12 +0800 (CST)
>> >> >From: 张建昆 <kunzj@126.com>
>> >> >To: xenomai@xenomai.org
>> >> >Subject: Help: System freeze when edge interrupt trigger,
>> >> >       Xenomain3.0.8, ipipe-arm main line, am335x
>> >> >Message-ID: <55c89c76.3420.1685f12c488.Coremail.kunzj@126.com>
>> >> >Content-Type: text/plain; charset="gbk"
>> >> >
>> >> >Hello!
>> >> >    The system freeze when interrupt is triggered. I clone ipipe-arm master, and use xenomai 3.0.8 following xenomai startup tutorial.
>> >> >The hardware cpu is am3358. System works fine after start up, but the system immediately locks up when a edge interrupt. For example,
>> >> >the mmc card in pluged in. Is it something worng ? Thank you very much!
>> >> >
>> >> >    The kernel config file and dts attached.
>> >> >
>> >> >
>> >> >-------------- next part --------------
>> >> >A non-text attachment was scrubbed...
>> >> >Name: .config
>> >> >Type: application/octet-stream
>> >> >Size: 129591 bytes
>> >> >Desc: not available
>> >> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment.obj>
>> >> >-------------- next part --------------
>> >> >A non-text attachment was scrubbed...
>> >> >Name: am335x-dnk-v1_LCD800x480_TM070RDH13.dts
>> >> >Type: application/octet-stream
>> >> >Size: 29436 bytes
>> >> >Desc: not available
>> >> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment-0001.obj>
>> >> >
>> >> >------------------------------
>> >> >
>> >> >Subject: Digest Footer
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >------------------------------
>> >> >
>> >> >End of Xenomai Digest, Vol 81, Issue 17
>> >> >***************************************
>
>
>
>-- 
>| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
>| COO  -  Founder                                      Cruquiuskade 47 |
>| +31(0)851119172                                 Amsterdam 1018 AM NL |
>|                  [`as] http://www.amarulasolutions.com               |

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Re: Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x
  2019-01-26 10:01         ` JackZhang
@ 2019-01-26 10:18           ` Michael Nazzareno Trimarchi
  2019-01-26 10:26             ` Michael Nazzareno Trimarchi
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Nazzareno Trimarchi @ 2019-01-26 10:18 UTC (permalink / raw)
  To: JackZhang; +Cc: Greg Gallagher, Xenomai@xenomai.org

Hi JackZhang

On Sat, Jan 26, 2019 at 11:01 AM JackZhang <kunzj@126.com> wrote:
>
> Thanks, Michael
> I have kernel 4.1.18 + xenomai 3.0.6 works too, but can't work with ti's drm drivers.
> Ti's sdk[1] with own kernel based on 4.1.18, can not work with ipipe patch, and i it's
> hard to solve the conflict.
>
> Now, Ti's drm driver code is in the new kernel 4.14, so the best way is that ipipe-arm
> can work with the 4.14 kernel.

What is you requirement? Running opengl qt application + realtime?

Michael

>
> [1]. http://processors.wiki.ti.com/index.php?title=Processor_SDK_Linux_Release_Notes&oldid=214754
>
> At 2019-01-26 17:36:34, "Michael Nazzareno Trimarchi" <michael@amarulasolutions.com> wrote:
>
> >Hi Jack
> >
> >
> >On Sat, Jan 26, 2019 at 10:20 AM JackZhang via Xenomai
> ><xenomai@xenomai.org> wrote:
> >>
> >> Hi, Grep, thanks.
> >>
> >>
> >>
> >> >Have you tried this with the 4.9 or 4.4 kernel and ipipe patch? I
> >> >think 4.4 (which is based on a SLTS) has been tested on beaglebone
> >> >(similar processor). Did you mean kernel 4.14 not 3.14?
> >>
> >>   I mean kernel 4.14. Sorry for mistake.
> >> >I think I've reproduced this on a Beaglebone which is based on a
> >> >similar processor, I'll look into it this week.
> >>   Thank you very much!
> >
> >I have 4.1.6 + xenomai 3.0.7 and seems that it works
> >
> >Michael
> >
> >>
> >>
> >> 在 2019-01-22 23:18:03,"Greg Gallagher" <greg@embeddedgreg.com> 写道:
> >> >On Tue, Jan 22, 2019 at 5:34 AM 张建昆 via Xenomai <xenomai@xenomai.org> wrote:
> >> >>
> >> >> Hello everyone, here is some new clues:
> >> >> 1. I tried xenomai 3.0.8, kernel 3.14.17 and ipipe-core-4.14.71-arm-4.patch. Still the same question.
> >> >
> >> >Have you tried this with the 4.9 or 4.4 kernel and ipipe patch?  I
> >> >think 4.4 (which is based on a SLTS) has been tested on beaglebone
> >> >(similar processor). Did you mean kernel 4.14 not 3.14?
> >> >
> >> >> 2. It seems the system is locked up once a gpio interrupt is triggered.
> >> >>
> >> >> 3. Some debug information show that, once a gpio interrupt is triggered, the function
> >> >>
> >> >>     'omap_gpio_irq_handler' is triggered all the time.
> >> >I think I've reproduced this on a Beaglebone which is based on a
> >> >similar processor, I'll look into it this week.
> >> >
> >> >> There may be a little bug exists, but i don't know how to amend it. Thank you very much, if anyone can help.
> >> >>
> >> >
> >> >-Greg
> >> >> >------------------------------
> >> >> >
> >> >> >Message: 3
> >> >> >Date: Fri, 18 Jan 2019 11:48:12 +0800 (CST)
> >> >> >From: 张建昆 <kunzj@126.com>
> >> >> >To: xenomai@xenomai.org
> >> >> >Subject: Help: System freeze when edge interrupt trigger,
> >> >> >       Xenomain3.0.8, ipipe-arm main line, am335x
> >> >> >Message-ID: <55c89c76.3420.1685f12c488.Coremail.kunzj@126.com>
> >> >> >Content-Type: text/plain; charset="gbk"
> >> >> >
> >> >> >Hello!
> >> >> >    The system freeze when interrupt is triggered. I clone ipipe-arm master, and use xenomai 3.0.8 following xenomai startup tutorial.
> >> >> >The hardware cpu is am3358. System works fine after start up, but the system immediately locks up when a edge interrupt. For example,
> >> >> >the mmc card in pluged in. Is it something worng ? Thank you very much!
> >> >> >
> >> >> >    The kernel config file and dts attached.
> >> >> >
> >> >> >
> >> >> >-------------- next part --------------
> >> >> >A non-text attachment was scrubbed...
> >> >> >Name: .config
> >> >> >Type: application/octet-stream
> >> >> >Size: 129591 bytes
> >> >> >Desc: not available
> >> >> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment.obj>
> >> >> >-------------- next part --------------
> >> >> >A non-text attachment was scrubbed...
> >> >> >Name: am335x-dnk-v1_LCD800x480_TM070RDH13.dts
> >> >> >Type: application/octet-stream
> >> >> >Size: 29436 bytes
> >> >> >Desc: not available
> >> >> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment-0001.obj>
> >> >> >
> >> >> >------------------------------
> >> >> >
> >> >> >Subject: Digest Footer
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >------------------------------
> >> >> >
> >> >> >End of Xenomai Digest, Vol 81, Issue 17
> >> >> >***************************************
> >
> >
> >
> >--
> >| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
> >| COO  -  Founder                                      Cruquiuskade 47 |
> >| +31(0)851119172                                 Amsterdam 1018 AM NL |
> >|                  [`as] http://www.amarulasolutions.com               |



-- 
| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
| COO  -  Founder                                      Cruquiuskade 47 |
| +31(0)851119172                                 Amsterdam 1018 AM NL |
|                  [`as] http://www.amarulasolutions.com               |


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Re: Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x
  2019-01-26 10:18           ` Michael Nazzareno Trimarchi
@ 2019-01-26 10:26             ` Michael Nazzareno Trimarchi
  2019-01-28  1:09               ` Jack Zhang
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Nazzareno Trimarchi @ 2019-01-26 10:26 UTC (permalink / raw)
  To: JackZhang; +Cc: Greg Gallagher, Xenomai@xenomai.org

Hi JackZhang

On Sat, Jan 26, 2019 at 11:18 AM Michael Nazzareno Trimarchi
<michael@amarulasolutions.com> wrote:
>
> Hi JackZhang
>
> On Sat, Jan 26, 2019 at 11:01 AM JackZhang <kunzj@126.com> wrote:
> >
> > Thanks, Michael
> > I have kernel 4.1.18 + xenomai 3.0.6 works too, but can't work with ti's drm drivers.
> > Ti's sdk[1] with own kernel based on 4.1.18, can not work with ipipe patch, and i it's
> > hard to solve the conflict.
> >
> > Now, Ti's drm driver code is in the new kernel 4.14, so the best way is that ipipe-arm
> > can work with the 4.14 kernel.
>
> What is you requirement? Running opengl qt application + realtime?

Read now the link. Any log?

Michael
>
> Michael
>
> >
> > [1]. http://processors.wiki.ti.com/index.php?title=Processor_SDK_Linux_Release_Notes&oldid=214754
> >
> > At 2019-01-26 17:36:34, "Michael Nazzareno Trimarchi" <michael@amarulasolutions.com> wrote:
> >
> > >Hi Jack
> > >
> > >
> > >On Sat, Jan 26, 2019 at 10:20 AM JackZhang via Xenomai
> > ><xenomai@xenomai.org> wrote:
> > >>
> > >> Hi, Grep, thanks.
> > >>
> > >>
> > >>
> > >> >Have you tried this with the 4.9 or 4.4 kernel and ipipe patch? I
> > >> >think 4.4 (which is based on a SLTS) has been tested on beaglebone
> > >> >(similar processor). Did you mean kernel 4.14 not 3.14?
> > >>
> > >>   I mean kernel 4.14. Sorry for mistake.
> > >> >I think I've reproduced this on a Beaglebone which is based on a
> > >> >similar processor, I'll look into it this week.
> > >>   Thank you very much!
> > >
> > >I have 4.1.6 + xenomai 3.0.7 and seems that it works
> > >
> > >Michael
> > >
> > >>
> > >>
> > >> 在 2019-01-22 23:18:03,"Greg Gallagher" <greg@embeddedgreg.com> 写道:
> > >> >On Tue, Jan 22, 2019 at 5:34 AM 张建昆 via Xenomai <xenomai@xenomai.org> wrote:
> > >> >>
> > >> >> Hello everyone, here is some new clues:
> > >> >> 1. I tried xenomai 3.0.8, kernel 3.14.17 and ipipe-core-4.14.71-arm-4.patch. Still the same question.
> > >> >
> > >> >Have you tried this with the 4.9 or 4.4 kernel and ipipe patch?  I
> > >> >think 4.4 (which is based on a SLTS) has been tested on beaglebone
> > >> >(similar processor). Did you mean kernel 4.14 not 3.14?
> > >> >
> > >> >> 2. It seems the system is locked up once a gpio interrupt is triggered.
> > >> >>
> > >> >> 3. Some debug information show that, once a gpio interrupt is triggered, the function
> > >> >>
> > >> >>     'omap_gpio_irq_handler' is triggered all the time.
> > >> >I think I've reproduced this on a Beaglebone which is based on a
> > >> >similar processor, I'll look into it this week.
> > >> >
> > >> >> There may be a little bug exists, but i don't know how to amend it. Thank you very much, if anyone can help.
> > >> >>
> > >> >
> > >> >-Greg
> > >> >> >------------------------------
> > >> >> >
> > >> >> >Message: 3
> > >> >> >Date: Fri, 18 Jan 2019 11:48:12 +0800 (CST)
> > >> >> >From: 张建昆 <kunzj@126.com>
> > >> >> >To: xenomai@xenomai.org
> > >> >> >Subject: Help: System freeze when edge interrupt trigger,
> > >> >> >       Xenomain3.0.8, ipipe-arm main line, am335x
> > >> >> >Message-ID: <55c89c76.3420.1685f12c488.Coremail.kunzj@126.com>
> > >> >> >Content-Type: text/plain; charset="gbk"
> > >> >> >
> > >> >> >Hello!
> > >> >> >    The system freeze when interrupt is triggered. I clone ipipe-arm master, and use xenomai 3.0.8 following xenomai startup tutorial.
> > >> >> >The hardware cpu is am3358. System works fine after start up, but the system immediately locks up when a edge interrupt. For example,
> > >> >> >the mmc card in pluged in. Is it something worng ? Thank you very much!
> > >> >> >
> > >> >> >    The kernel config file and dts attached.
> > >> >> >
> > >> >> >
> > >> >> >-------------- next part --------------
> > >> >> >A non-text attachment was scrubbed...
> > >> >> >Name: .config
> > >> >> >Type: application/octet-stream
> > >> >> >Size: 129591 bytes
> > >> >> >Desc: not available
> > >> >> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment.obj>
> > >> >> >-------------- next part --------------
> > >> >> >A non-text attachment was scrubbed...
> > >> >> >Name: am335x-dnk-v1_LCD800x480_TM070RDH13.dts
> > >> >> >Type: application/octet-stream
> > >> >> >Size: 29436 bytes
> > >> >> >Desc: not available
> > >> >> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment-0001.obj>
> > >> >> >
> > >> >> >------------------------------
> > >> >> >
> > >> >> >Subject: Digest Footer
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> >------------------------------
> > >> >> >
> > >> >> >End of Xenomai Digest, Vol 81, Issue 17
> > >> >> >***************************************
> > >
> > >
> > >
> > >--
> > >| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
> > >| COO  -  Founder                                      Cruquiuskade 47 |
> > >| +31(0)851119172                                 Amsterdam 1018 AM NL |
> > >|                  [`as] http://www.amarulasolutions.com               |
>
>
>
> --
> | Michael Nazzareno Trimarchi                     Amarula Solutions BV |
> | COO  -  Founder                                      Cruquiuskade 47 |
> | +31(0)851119172                                 Amsterdam 1018 AM NL |
> |                  [`as] http://www.amarulasolutions.com               |



-- 
| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
| COO  -  Founder                                      Cruquiuskade 47 |
| +31(0)851119172                                 Amsterdam 1018 AM NL |
|                  [`as] http://www.amarulasolutions.com               |


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re:Re: Re: Re: Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x
  2019-01-26 10:26             ` Michael Nazzareno Trimarchi
@ 2019-01-28  1:09               ` Jack Zhang
  0 siblings, 0 replies; 11+ messages in thread
From: Jack Zhang @ 2019-01-28  1:09 UTC (permalink / raw)
  To: Michael Nazzareno Trimarchi; +Cc: Greg Gallagher, Xenomai@xenomai.org

Hi Michael,
>> What is you requirement? Running opengl qt application + realtime?
Yes, any problem?



At 2019-01-26 18:26:23, "Michael Nazzareno Trimarchi" <michael@amarulasolutions.com> wrote:
>Hi JackZhang
>
>On Sat, Jan 26, 2019 at 11:18 AM Michael Nazzareno Trimarchi
><michael@amarulasolutions.com> wrote:
>>
>> Hi JackZhang
>>
>> On Sat, Jan 26, 2019 at 11:01 AM JackZhang <kunzj@126.com> wrote:
>> >
>> > Thanks, Michael
>> > I have kernel 4.1.18 + xenomai 3.0.6 works too, but can't work with ti's drm drivers.
>> > Ti's sdk[1] with own kernel based on 4.1.18, can not work with ipipe patch, and i it's
>> > hard to solve the conflict.
>> >
>> > Now, Ti's drm driver code is in the new kernel 4.14, so the best way is that ipipe-arm
>> > can work with the 4.14 kernel.
>>
>> What is you requirement? Running opengl qt application + realtime?
>
>Read now the link. Any log?
>
>Michael
>>
>> Michael
>>
>> >
>> > [1]. http://processors.wiki.ti.com/index.php?title=Processor_SDK_Linux_Release_Notes&oldid=214754
>> >
>> > At 2019-01-26 17:36:34, "Michael Nazzareno Trimarchi" <michael@amarulasolutions.com> wrote:
>> >
>> > >Hi Jack
>> > >
>> > >
>> > >On Sat, Jan 26, 2019 at 10:20 AM JackZhang via Xenomai
>> > ><xenomai@xenomai.org> wrote:
>> > >>
>> > >> Hi, Grep, thanks.
>> > >>
>> > >>
>> > >>
>> > >> >Have you tried this with the 4.9 or 4.4 kernel and ipipe patch? I
>> > >> >think 4.4 (which is based on a SLTS) has been tested on beaglebone
>> > >> >(similar processor). Did you mean kernel 4.14 not 3.14?
>> > >>
>> > >>   I mean kernel 4.14. Sorry for mistake.
>> > >> >I think I've reproduced this on a Beaglebone which is based on a
>> > >> >similar processor, I'll look into it this week.
>> > >>   Thank you very much!
>> > >
>> > >I have 4.1.6 + xenomai 3.0.7 and seems that it works
>> > >
>> > >Michael
>> > >
>> > >>
>> > >>
>> > >> 在 2019-01-22 23:18:03,"Greg Gallagher" <greg@embeddedgreg.com> 写道:
>> > >> >On Tue, Jan 22, 2019 at 5:34 AM 张建昆 via Xenomai <xenomai@xenomai.org> wrote:
>> > >> >>
>> > >> >> Hello everyone, here is some new clues:
>> > >> >> 1. I tried xenomai 3.0.8, kernel 3.14.17 and ipipe-core-4.14.71-arm-4.patch. Still the same question.
>> > >> >
>> > >> >Have you tried this with the 4.9 or 4.4 kernel and ipipe patch?  I
>> > >> >think 4.4 (which is based on a SLTS) has been tested on beaglebone
>> > >> >(similar processor). Did you mean kernel 4.14 not 3.14?
>> > >> >
>> > >> >> 2. It seems the system is locked up once a gpio interrupt is triggered.
>> > >> >>
>> > >> >> 3. Some debug information show that, once a gpio interrupt is triggered, the function
>> > >> >>
>> > >> >>     'omap_gpio_irq_handler' is triggered all the time.
>> > >> >I think I've reproduced this on a Beaglebone which is based on a
>> > >> >similar processor, I'll look into it this week.
>> > >> >
>> > >> >> There may be a little bug exists, but i don't know how to amend it. Thank you very much, if anyone can help.
>> > >> >>
>> > >> >
>> > >> >-Greg
>> > >> >> >------------------------------
>> > >> >> >
>> > >> >> >Message: 3
>> > >> >> >Date: Fri, 18 Jan 2019 11:48:12 +0800 (CST)
>> > >> >> >From: 张建昆 <kunzj@126.com>
>> > >> >> >To: xenomai@xenomai.org
>> > >> >> >Subject: Help: System freeze when edge interrupt trigger,
>> > >> >> >       Xenomain3.0.8, ipipe-arm main line, am335x
>> > >> >> >Message-ID: <55c89c76.3420.1685f12c488.Coremail.kunzj@126.com>
>> > >> >> >Content-Type: text/plain; charset="gbk"
>> > >> >> >
>> > >> >> >Hello!
>> > >> >> >    The system freeze when interrupt is triggered. I clone ipipe-arm master, and use xenomai 3.0.8 following xenomai startup tutorial.
>> > >> >> >The hardware cpu is am3358. System works fine after start up, but the system immediately locks up when a edge interrupt. For example,
>> > >> >> >the mmc card in pluged in. Is it something worng ? Thank you very much!
>> > >> >> >
>> > >> >> >    The kernel config file and dts attached.
>> > >> >> >
>> > >> >> >
>> > >> >> >-------------- next part --------------
>> > >> >> >A non-text attachment was scrubbed...
>> > >> >> >Name: .config
>> > >> >> >Type: application/octet-stream
>> > >> >> >Size: 129591 bytes
>> > >> >> >Desc: not available
>> > >> >> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment.obj>
>> > >> >> >-------------- next part --------------
>> > >> >> >A non-text attachment was scrubbed...
>> > >> >> >Name: am335x-dnk-v1_LCD800x480_TM070RDH13.dts
>> > >> >> >Type: application/octet-stream
>> > >> >> >Size: 29436 bytes
>> > >> >> >Desc: not available
>> > >> >> >URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment-0001.obj>
>> > >> >> >
>> > >> >> >------------------------------
>> > >> >> >
>> > >> >> >Subject: Digest Footer
>> > >> >> >
>> > >> >> >
>> > >> >> >
>> > >> >> >
>> > >> >> >------------------------------
>> > >> >> >
>> > >> >> >End of Xenomai Digest, Vol 81, Issue 17
>> > >> >> >***************************************
>> > >
>> > >
>> > >
>> > >--
>> > >| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
>> > >| COO  -  Founder                                      Cruquiuskade 47 |
>> > >| +31(0)851119172                                 Amsterdam 1018 AM NL |
>> > >|                  [`as] http://www.amarulasolutions.com               |
>>
>>
>>
>> --
>> | Michael Nazzareno Trimarchi                     Amarula Solutions BV |
>> | COO  -  Founder                                      Cruquiuskade 47 |
>> | +31(0)851119172                                 Amsterdam 1018 AM NL |
>> |                  [`as] http://www.amarulasolutions.com               |
>
>
>
>-- 
>| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
>| COO  -  Founder                                      Cruquiuskade 47 |
>| +31(0)851119172                                 Amsterdam 1018 AM NL |
>|                  [`as] http://www.amarulasolutions.com               |

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x
@ 2019-01-23 16:18 kunzj
  0 siblings, 0 replies; 11+ messages in thread
From: kunzj @ 2019-01-23 16:18 UTC (permalink / raw)
  To: Greg Gallagher; +Cc: Xenomai@xenomai.org



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x
@ 2019-01-18  3:48 张建昆
  0 siblings, 0 replies; 11+ messages in thread
From: 张建昆 @ 2019-01-18  3:48 UTC (permalink / raw)
  To: xenomai

Hello!
    The system freeze when interrupt is triggered. I clone ipipe-arm master, and use xenomai 3.0.8 following xenomai startup tutorial.
The hardware cpu is am3358. System works fine after start up, but the system immediately locks up when a edge interrupt. For example,
the mmc card in pluged in. Is it something worng ? Thank you very much!

    The kernel config file and dts attached.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 129591 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: am335x-dnk-v1_LCD800x480_TM070RDH13.dts
Type: application/octet-stream
Size: 29436 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20190118/538175f9/attachment-0001.obj>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-01-28  1:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.3.1547809201.5156.xenomai@xenomai.org>
2019-01-22 10:33 ` Re:Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x 张建昆
2019-01-22 12:29   ` Giulio Moro
2019-01-22 15:18   ` Help: " Greg Gallagher
2019-01-26  9:20     ` 回复:Re: " JackZhang
2019-01-26  9:36       ` Michael Nazzareno Trimarchi
2019-01-26 10:01         ` JackZhang
2019-01-26 10:18           ` Michael Nazzareno Trimarchi
2019-01-26 10:26             ` Michael Nazzareno Trimarchi
2019-01-28  1:09               ` Jack Zhang
2019-01-23 16:18 kunzj
  -- strict thread matches above, loose matches on Subject: below --
2019-01-18  3:48 张建昆

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.