From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7788 invoked by alias); 19 Jun 2008 02:26:34 -0000 Received: (qmail 7780 invoked by uid 22791); 19 Jun 2008 02:26:34 -0000 X-Spam-Check-By: sourceware.org Received: from fk-out-0910.google.com (HELO fk-out-0910.google.com) (209.85.128.191) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Jun 2008 02:26:17 +0000 Received: by fk-out-0910.google.com with SMTP id f33so673795fkf.14 for ; Wed, 18 Jun 2008 19:26:14 -0700 (PDT) Received: by 10.78.177.12 with SMTP id z12mr749057hue.112.1213842373942; Wed, 18 Jun 2008 19:26:13 -0700 (PDT) Received: by 10.78.158.3 with HTTP; Wed, 18 Jun 2008 19:26:13 -0700 (PDT) Message-ID: <513ab1aa0806181926v6894d715ya04e1030d0b36025@mail.gmail.com> Date: Thu, 19 Jun 2008 13:05:00 -0000 From: "Ravi R" To: ecos-discuss@ecos.sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] NPE ethernet not working with Redboot v2.04 X-SW-Source: 2008-06/txt/msg00119.txt.bz2 We are developing a product based on a board very similar to the Intel IXDP425. We have taken the Redboot v2.04 source from the Intel IXP400 software web site and built the source per instructions (with a few small modifications to GPIO etc) and have installed Redboot on the board. Redboot seems to be working fine including Serial, PCI configuration and Flash services. However, the Ethernet connection is not working. A default ESA is set correctly, the NPE successfully detects and sets up the PHY ("success using NPE-B with PHY 0"), the PHY link is established (Link LED on PHY), the NPE subsystem seems to get initialized correctly (no errors reported) and the NPE subsystem seems to accept packets for transmission. However the NPE/Ethernet subsystem does not appear to send out more than 1 packet (detected on the MII TX_EN line to the Phy). All subsequent packets are blocked waiting on the second packet to get transmitted (npe_can_send() returns 0). The call sequence is as follows: .. npe_init() npe_csr_load() ... npe_start() 1st packet: npe_can_send(): true npe_send() packet passed to NPE subsystem - MII sees packet 2nd packet npe_can_send() : true npe_send() packet passed to NPE subsystem - MII does not see packet 3rd Packet npe_can_send() : 0 npe_can_send() : 0 npe_can_send() : 0 .. A polling function npe_poll() seems to get called after the npe_send - which I assume should service the Ethernet MAC in someway - for tx done callback (?) .. Am digging into the NPE code to understand it, but any help on what to look for would be appreciated. Ravi -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss