回复:Re: Help: System freeze when edge interrupt trigger, Xenomain3.0.8, ipipe-arm main line, am335x (JackZhang)

liang_1911 at 163.com liang_1911 at 163.com
Sat Jan 26 14:12:52 CET 2019



Hi, jack. 
Try  the link with   rtdm_irq_quest。
On 01/26/2019 18:18, xenomai-request wrote:
Send Xenomai mailing list submissions to
   xenomai at xenomai.org

To subscribe or unsubscribe via the World Wide Web, visit
   https://xenomai.org/mailman/listinfo/xenomai
or, via email, send a message with subject or body 'help' to
   xenomai-request at xenomai.org

You can reach the person managing the list at
   xenomai-owner at xenomai.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Xenomai digest..."


Today's Topics:

  1. 回复:Re:Xenomai Digest, Vol 81, Issue 19 (张建昆)
  2. 回复:Re: Help: System freeze when edge interrupt trigger,
     Xenomain3.0.8, ipipe-arm main line, am335x (JackZhang)
  3. Re: Re: Help: System freeze when edge interrupt trigger,
     Xenomain3.0.8, ipipe-arm main line, am335x
     (Michael Nazzareno Trimarchi)
  4. Re:Re: Re: Help: System freeze when edge interrupt trigger,
     Xenomain3.0.8, ipipe-arm main line, am335x (JackZhang)
  5. Re: Re: Re: Help: System freeze when edge interrupt trigger,
     Xenomain3.0.8, ipipe-arm main line, am335x
     (Michael Nazzareno Trimarchi)


----------------------------------------------------------------------

Message: 1
Date: Sat, 26 Jan 2019 16:04:17 +0800 (CST)
From: 张建昆 <kunzj at 126.com>
To: liang_1911 <liang_1911 at 163.com>, xenomai at xenomai.org
Subject: 回复:Re:Xenomai Digest, Vol 81, Issue 19
Message-ID: <24db6455.1cf3.1688930190c.Coremail.kunzj at 126.com>
Content-Type: text/plain; charset=UTF-8

Hi liang, Thanks!

I've read your link, will try later.

This is the way i register the irq handler:
   error = request_threaded_irq(client->irq, NULL, edt_ft5x06_ts_isr,
                                IRQF_TRIGGER_FALLING | IRQF_ONESHOT | IRQF_NO_SUSPEND,
                                client->name, tsdata);
The code is in my driver function edt_ft5x06_ts_probe;


The call trace at start up with ipipe are:

1.
edt_ft5x06_ts_probe
gpiod_to_irq
 gpiochip_to_irq
  irq_create_mapping
   irq_domain_associate
    gpiochip_irq_map
     irq_set_chip_and_handler_name
      __irq_set_handler
       __irq_do_set_handler
        __fixup_irq_handler
2.
omap_gpio_probe
omap_gpio_chip_init
 gpiochip_irqchip_add(&bank->chip, irqc, irq_base, handle_bad_irq, IRQ_TYPE_NONE);
  gpiochip_irqchip_add_key     struct gpio_chip->irq_handler
 irq_set_chained_handler_and_data  struct gpio_chip->irq_handler omap_gpio_irq_handler







在 2019-01-26 13:01:04,"liang_1911 via Xenomai" <xenomai at xenomai.org> 写道:
>Hi, JianKun
>How do you register the  irq handler?
>You can refer to this link:
>bbb板子xenomai GPIO irq驱动出现异常 - Sitara™ Cortex-A8 和 ARM9 微处理器 - Sitara™ Cortex-A8 和 ARM9 微处理器 - TI E2E™ 中文社区
>
>
>--
>
>----------------------------------------------
>         Quan
>THANKS & BR!
>
>
>
>
>
>At 2019-01-22 19:00:01, xenomai-request at xenomai.org wrote:
>>Send Xenomai mailing list submissions to
>>    xenomai at xenomai.org
>>
>>To subscribe or unsubscribe via the World Wide Web, visit
>>    https://xenomai.org/mailman/listinfo/xenomai
>>or, via email, send a message with subject or body 'help' to
>>    xenomai-request at xenomai.org
>>
>>You can reach the person managing the list at
>>    xenomai-owner at xenomai.org
>>
>>When replying, please edit your Subject line so it is more specific
>>than "Re: Contents of Xenomai digest..."
>>
>>
>>Today's Topics:
>>
>>   1. Re:Help: System freeze when edge interrupt trigger,
>>      Xenomain3.0.8, ipipe-arm main line, am335x (张建昆)
>>
>>
>>----------------------------------------------------------------------
>>
>>Message: 1
>>Date: Tue, 22 Jan 2019 18:33:50 +0800 (CST)
>>From: 张建昆 <kunzj at 126.com>
>>To: xenomai at xenomai.org
>>Subject: Re:Help: System freeze when edge interrupt trigger,
>>    Xenomain3.0.8, ipipe-arm main line, am335x
>>Message-ID: <4ddd614.76d7.168751f9385.Coremail.kunzj at 126.com>
>>Content-Type: text/plain; charset=GBK
>>
>>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 at 126.com>
>>>To: xenomai at 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 at 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
>>>***************************************
>>
>>------------------------------
>>
>>Subject: Digest Footer
>>
>>
>>
>>
>>------------------------------
>>
>>End of Xenomai Digest, Vol 81, Issue 19
>>***************************************

------------------------------

Message: 2
Date: Sat, 26 Jan 2019 17:20:13 +0800 (CST)
From: JackZhang  <kunzj at 126.com>
To: "Greg Gallagher" <greg at embeddedgreg.com>
Cc: "Xenomai at xenomai.org" <xenomai at xenomai.org>
Subject: 回复:Re: Help: System freeze when edge interrupt trigger,
   Xenomain3.0.8, ipipe-arm main line, am335x
Message-ID: <2a791fcc.20e9.16889759d7f.Coremail.kunzj at 126.com>
Content-Type: text/plain; charset=GBK

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 at embeddedgreg.com> 写道:
>On Tue, Jan 22, 2019 at 5:34 AM 张建昆 via Xenomai <xenomai at 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 at 126.com>
>> >To: xenomai at 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 at 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
>> >***************************************

------------------------------

Message: 3
Date: Sat, 26 Jan 2019 10:36:34 +0100
From: Michael Nazzareno Trimarchi <michael at amarulasolutions.com>
To: JackZhang <kunzj at 126.com>
Cc: Greg Gallagher <greg at embeddedgreg.com>, "Xenomai at xenomai.org"
   <xenomai at xenomai.org>
Subject: Re: Re: Help: System freeze when edge interrupt trigger,
   Xenomain3.0.8, ipipe-arm main line, am335x
Message-ID:
   <CAOf5uwki6gaSPg=6zCOxHEvWh8X0mOORazXmNczazzmVD4U54g at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi Jack


On Sat, Jan 26, 2019 at 10:20 AM JackZhang via Xenomai
<xenomai at 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 at embeddedgreg.com> 写道:
> >On Tue, Jan 22, 2019 at 5:34 AM 张建昆 via Xenomai <xenomai at 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 at 126.com>
> >> >To: xenomai at 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 at 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               |



------------------------------

Message: 4
Date: Sat, 26 Jan 2019 18:01:45 +0800 (CST)
From: JackZhang  <kunzj at 126.com>
To: "Michael Nazzareno Trimarchi" <michael at amarulasolutions.com>
Cc: "Greg Gallagher" <greg at embeddedgreg.com>,  "Xenomai at xenomai.org"
   <xenomai at xenomai.org>
Subject: Re:Re: Re: Help: System freeze when edge interrupt trigger,
   Xenomain3.0.8, ipipe-arm main line, am335x
Message-ID: <41880ccc.22f4.168899ba6f6.Coremail.kunzj at 126.com>
Content-Type: text/plain; charset=GBK

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 at amarulasolutions.com> wrote:
>Hi Jack
>
>
>On Sat, Jan 26, 2019 at 10:20 AM JackZhang via Xenomai
><xenomai at 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 at embeddedgreg.com> 写道:
>> >On Tue, Jan 22, 2019 at 5:34 AM 张建昆 via Xenomai <xenomai at 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 at 126.com>
>> >> >To: xenomai at 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 at 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               |

------------------------------

Message: 5
Date: Sat, 26 Jan 2019 11:18:28 +0100
From: Michael Nazzareno Trimarchi <michael at amarulasolutions.com>
To: JackZhang <kunzj at 126.com>
Cc: Greg Gallagher <greg at embeddedgreg.com>, "Xenomai at xenomai.org"
   <xenomai at xenomai.org>
Subject: Re: Re: Re: Help: System freeze when edge interrupt trigger,
   Xenomain3.0.8, ipipe-arm main line, am335x
Message-ID:
   <CAOf5uwn6GMtmDUj0O_zs5092ToX52APnKqqzax+jeJ19mhOFtQ at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi JackZhang

On Sat, Jan 26, 2019 at 11:01 AM JackZhang <kunzj at 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 at amarulasolutions.com> wrote:
>
> >Hi Jack
> >
> >
> >On Sat, Jan 26, 2019 at 10:20 AM JackZhang via Xenomai
> ><xenomai at 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 at embeddedgreg.com> 写道:
> >> >On Tue, Jan 22, 2019 at 5:34 AM 张建昆 via Xenomai <xenomai at 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 at 126.com>
> >> >> >To: xenomai at 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 at 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               |



------------------------------

Subject: Digest Footer




------------------------------

End of Xenomai Digest, Vol 81, Issue 28
***************************************


More information about the Xenomai mailing list