From: Steve M. <mo...@sm...> - 2011-04-03 20:55:19
|
sounds like IRQ problem. eth0 using the same one maybe? On Apr 3, 2011, at 3:08 PM, Devin Hughes wrote: > Hi everyone, > > I ported the armadeus fpgaloader driver recommended by Linus to program > an altera fpga on a custom baseboard and it works, but I seem to be > having a lot of trouble with the lan9221. The fpgaloader will load the > fpga no problem as long as the ethernet(eth0 in my case) is not > associated. I've even tried loading the processor down with data > transfers(/dev/zero ->/dev/null), simple programs, etc., while running > the fpgaloader and it works every time. However, as soon as the eth0 > interface associates with an ip address, the fpga driver will deadlock > while writing - no kernel oops, no error, just hard reset the board. > Also, linux seems to be ignoring the MAC address that's programmed into > the EEPROM connected to the lan9221(the contents are valid, I can check > them with ethtool). So, all this makes me wonder if the lan9221 drivers > are buggy, or if I'm doing something incredibly wrong here. Is anyone > else having trouble with something like this? The same problems are > reproducible on kernel versions 2.6.35,36 with and without Xenomai; I've > even tried it on the precompiled factory image. I wrote a little script > that brings eth0 down, programs the fpga, then brings eth0 back up, but > this feels like a real hack. Any ideas what could cause such a hard > crash? I can attach the modified driver files if anyone is interested. > > Thanks, > Devin > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > -- Steve Modica CTO - Small Tree Communications www.small-tree.com phone: 651-209-6509 ext 301 mobile: 651-261-3201 |