Awesome, thanks Craig!

Yes, I had changed from gpio1 to gpio2 to get it to load without errors
with 3.8 .

Where in the kernel does the DTS get parsed ?
I'd like to look at it to understand it better.

Thanks again for your help, this is gold.

-Randy


On Sat, Dec 21, 2013 at 4:29 AM, Craig Peacock <
craig.peacock.2...@beyondlogic.org> wrote:

>
> Randy,
>
> Yes, I have seen the issue. In your device tree file
> (cape-bone-mrf24j40-00A0.dts) try changing :
>
>                 interrupt-parent = <&gpio2>;
>                 interrupts = <29>;
>
> to:
>                 #interrupt-cells = <2>;
>                 interrupt-parent = <&gpio1>;
>                 interrupts = <29 0x2>;
>
> and recompiling. I'm running 3.12.3 on the Beaglebone Black and it appears
> to be working - I can physically connect and disconnect the interrupt to
> see it working.
>
> This was my Christmas holiday job to work on this issue - I've only
> started a couple of hours ago, so I've yet to work out if its a bug or an
> intentional change, and when it occured. I'll do a little bit more digging
> and investigation in the next couple of days.
>
> The second interrupt parameter is flags specifying trigger and int levels
> (0x02 is -ve edge triggered) and is documented in:
> Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
>
> Regards,
>
> Craig
>
>
>
> On 18/12/2013 3:25 AM, Randy Graham wrote:
>
>  Hello,
>
>  I am curious to know what hardware folks here are using for 6lowpan,
> would you mind sharing ?
>
> I am trying to get a beaglebone with a mrf24j40 radio up and running with
> 6Lowpan and am having some difficulties.
>
>  Has anyone got this hardware combination to work with a recent kernel ?
>
> I have created a DT fragment for my radio 'cape' as per
> http://elinux.org/Capemgr and it loads and initializes fine with a 3.8
> kernel, but when I try to use a more recent kernel, the DT fragment loads,
> but the IRQ reported by the mrf24j40 driver is always zero. If I use the
> 3.8 kernel, the driver reports a correct IRQ.
>
>  Has anyone seen this issue ?
>
>  Thanks for any insights.
>
>  -Randy
>
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics 
> Pro!http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Linux-zigbee-devel mailing 
> listLinux-zigbee-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
>
>
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to