[Avila] Too many ethernet interrupts on Gateworks board
Jay Lee
jaylee at worldnet.co.nz
Wed Feb 28 15:07:09 EST 2007
I have GW2348-4 boards and using gateworks development kit to compile
kernel. I'm experiencing exactly same problem of 2000-4000 interrupts
per second. I've used kernel 2.4 and kernel 2.6 but the result was same.
I've also updated madwifi driver to latest and tried on both 2.4 and 2.6
kernels but still had the same problem.
I gave up the development software from gateworks and used snapgear
3.4.0 with Intel CSR 2.0. With this, I still noticed high interrupts
however cpu utilisation was 0. I'm not sure if it has resolved the
problem or cpu utilisation is being measured correctly. Moreover the
default snapgear did not detect the onboard flash properly.
Can anyone suggest me easy ways to solve this high cpu util / high
interrupts problem. Is there any snapgear patch to detect the onboard flash?
I noticed a kernel patch posted here, how can I apply this?
Regards
Jay
David Acker wrote:
> starman986 wrote:
>> Thanks David,
>>
>> I think I'll start with the ethernet driver, then try
>> the kernel and end with updating the Madwifi stuff.
>>
>
> I attached my patchset here. It is based on diffing the gateworks
> 2.6.x to 2.6.18 and some cleanup. It is setup so that the board type
> should be CONFIG_ARCH_IXDP425 and not AVILA as the gateworks
> documentation mentions: "Do NOT choose Avila as a supported platform.
> You MUST select IXDP425 as the platform. Currently RedBoot does not
> pass the Gateworks Avila Machine Id (526) to Linux but rather passes
> the IXDP425 Machine Id (245). At some point within the next BSP
> release or two we will change RedBoot to pass 526 to Linux at which
> time Linux will need to be configured as Avila." See RedBoot's
> packages/hal/arm/xscale/ixdp425/current/cdl/hal_arm_xscale_ixdp425.cdl
> for the file. I have not tried a patch to this but it looks pretty
> simple.
>
> This patchset can be applied to 2.6.18.4 and perhaps other versions.
> It does not include the ethernet driver. It is big endian mode. Some
> sites, like the nslu2 folks have little endian versions as well.
>
> By the way, you will need to manually set the firmware and MAC
> addresses of the ethernet ports with my patchset. See
> Documentation/networking/ixp4xx/README . I handle it using option 2 in
> the README and then using the following code:
>
> modprobe ixp4xx_npe
> cat /etc/IxNpeMicrocode.dat > /dev/ixp4xx_ucode
> modprobe ixp4xx_qmgr
> modprobe ixp4xx_mac
>
> # The addresses live in the first 12 bytes of eeprom.
> # We use hexdump to format them in hex with colons separating the bytes.
> macs=`hexdump -v -n 12 -e "1/1 \"%.2X:\""
> /sys/class/i2c-dev/i2c-0/device/0-0051/eeprom`
> mac0=${macs:0:17}
> mac1=${macs:18:17}
> ifconfig eth0 hw ether ${mac0}
> ifconfig eth1 hw ether ${mac1}
>
> Also, see
> http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2006-December/037662.html
>
> on the arm kernel mailing list. It looks like 2.6.20 will support
> avila nicely, even with the new libata driver.
>
> Does anyone know when the GPL ethernet driver is going to be submitted
> to the netdev list? I have not seen it go through there. It did
> appear on the debian kernel list but it really needs to go through
> netdev to get into the main line.
> -Ack
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
> For additional commands, e-mail: avila-help at lists.unixstudios.net
More information about the Avila
mailing list