From: Grahame J. <gb...@th...> - 2010-07-29 23:55:02
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hi Dave,<br> <br> This one is really perplexing me.<br> I have taken a standard build from the verdex oe tree <a class="moz-txt-link-freetext" href="http://www.gumstix.net/wiki/index.php?title=Verdex_Git_Repository">http://www.gumstix.net/wiki/index.php?title=Verdex_Git_Repository</a><br> Still the same issue.<br> I have dumped the pxaregs and diffed them with the pxaregs from the 2.6.21 build and ran a script to align them as much as possible.<br> Still the same.<br> I have tried patching the kernel in arch/arm/mach-pxa/gumstix-verdex.c.<br> I thought that it may be related to the MMC so I stripped the kernel down and installed on compact flash.<br> Still the same.<br> I tried on another GPIO but seems to be a general issue. (On at lease 2 GPIO'S)<br> <br> The reason I need to go from 2.6.21 to 2.6.31 is the USBnet driver works better on 2.6.31 otherwise I would stay on 2.6.31.<br> <br> Thanks<br> <br> Grahame Jordan<br> <br> <br> On 23/07/10 02:33, Dave Hylands wrote: <blockquote cite="mid:AAN...@ma..." type="cite"> <pre wrap="">HI Grahame, On Wed, Jul 21, 2010 at 11:09 PM, Grahame Jordan <a class="moz-txt-link-rfc2396E" href="mailto:gb...@th..."><gb...@th...></a> wrote: </pre> <blockquote type="cite"> <pre wrap="">HI, I have a problem with GPIO on Verdex OE for the Kernel 2.6.31 version. I do not have this problem with the older gumstix OE repository for kernel 2.6.21 I have a switch on GPIO_66 When I press this switch the gumstix halts I run pxaregs to set the pin as Falling edge detect. # Set the pin to GPIO pxaregs GAFR2L_66 0 # Set the ping to input pxaregs GPDR2_66 0 # Set the ping to detect falling edge pxaregs GFER2_66 1 When button is pressed ie. level is set low the gumstix freezes If I do not use either falling or rising level detection it works OK What is going on here? </pre> </blockquote> <pre wrap=""> My guess is that it's causing an interrupt which isn't being handled because the gpio ISR had no idea that somebody was enabling an new interrupt. Did you install an ISR handler? </pre> </blockquote> <br> <br> <div class="moz-signature">-- <br> <title></title> <font color="#00559f"><font face="Helvetica, sans-serif"><font style="font-size: 11pt;" size="2"><b>Glass Expansion</b></font></font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">15 Batman Street</font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">West Melbourne</font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">Victoria 3003</font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">AUSTRALIA</font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">T: +61 3 9320 1111</font></font><br> <font color="#000000" face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">F: +61 3 9320 1112</font></font><br> <font color="#00559f"><u><a href="http://www.geicp.com/"><font color="#00559f"><font face="Helvetica, sans-serif"><font style="font-size: 10pt;" size="2">www.geicp.com</font></font></font></a></u></font> <p> <a href="http://www.geicp.com/cgi-bin/site/wrapper.pl?c1=Updates_newproducts_truflo_sample_monitor"><img src="cid:par...@th..." border="0" width="140"></a> <br> <a href="http://www.geicp.com/cgi-bin/site/wrapper.pl?c1=Updates_newproducts_truflo_sample_monitor"><font style="font-size: 11pt;" color="#ff6633" face="Helvetica, sans-serif" size="2"><b>Click here to check out our new TruFlo Sample Monitor</b></font></a> </p> </div> </body> </html> |