Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757701AbZAMBP1 (ORCPT ); Mon, 12 Jan 2009 20:15:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756989AbZAMBPQ (ORCPT ); Mon, 12 Jan 2009 20:15:16 -0500 Received: from rv-out-0506.google.com ([209.85.198.234]:30753 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756981AbZAMBPO (ORCPT ); Mon, 12 Jan 2009 20:15:14 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=I3vTB4HD1rLFN78yqTlBF5hOPmMavaHXUUkCabaeaCe/LS6/pZFcGt/zsgVUUD3vIT c3C80hIwUJkQdHOwTLuR0mCICLbTtGLo3oLwWv7HQwjmERo60O9PXnABkzSBVJL21Qa6 2U/3A8RCp4S398ZkyRiqMe7+Fl7PW7zLRBcLY= Message-ID: <47ae62e20901121715l60a14201m8fa701b55035e0c9@mail.gmail.com> Date: Tue, 13 Jan 2009 09:15:14 +0800 From: bigboy To: "Mikael Pettersson" Subject: Re: How to active/validate the NPE-B NIC of intel_ixdp465? Cc: linux-kernel@vger.kernel.org In-Reply-To: <18795.5822.969121.564217@harpo.it.uu.se> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47ae62e20901120137k13e9987eyb8fb5d5691d0b3cc@mail.gmail.com> <18795.5822.969121.564217@harpo.it.uu.se> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3079 Lines: 73 Thanks for your kindly remind. :-) Thanks Xiao On Mon, Jan 12, 2009 at 6:09 PM, Mikael Pettersson wrote: > > bigboy writes: > > Hi, > > > > I have an Intel IXDP465 target with a NPE-B mezzanine card and that > > was supported & validated with linux-2.6.21 + "Intel IXP400 Software > > Access Library". And now the NPE ether net driver moved into the linux > > baseline (drivers/net/arm/ixp4xx_eth.c) so I want to try it without > > Intel's lib but failed. Here is my operations: > > > > Build the zImage with linux-2.6.28, I configure the kernel with > > ixp4xx_defconfig and just change the IXP4XX_ETH to Y. > > > > Build the firmware for NPE-B: > > > > -) download the "Intel(R) IXP400 software - Access Library > > (non-crypto)" to get the head file IxNpeMicrocode.h; > > > > -) download the "Intel IXP400 software - NPE microcode (non-crypto)", > > both 2.4 and 3.0/3.0.1 version, unpack it and copy the head file > > IxNpeMicrocode.h to its source code subdirectory; > > > > -) Edit the head file and comment out those macros for NPE-A and NPE-C > > and just leave the one for NPE-B; > > > > -) Edit the IxNpeMicrocode.c and comment out line 25664, the 8 bytes > > of "END OF IMAGE LIBRARY MARKER". > > > > -) "gcc ixNpeDlImageConverter.c" and get a a.out; run it and get the > > firmware called IxNpeMicrocode.dat. > > > > -) Rename the IxNpeMicrocode.dat to NPE-B and copy it to the NFS > > rootfs of the target in /lib/firmware. > > > > > > There is a PCI E100 NIC and the linux kernel mount NFS rootfs through > > it. The kernel can find two NICs related to NPE, eth1 for NPE-B and > > eth2 for NPE-C. Then, I tried to active the NIC of NPE-B(eth1): > > > > -) "ifconfig eth1 hw ether 1234567890ab 192.168.1.1 netmask > > 255.255.255.0 broadcast 192.168.1.255". With this I can see the driver > > output "eht1: link up, speed 100 Mb/s, full duplex". > > > > -) Then "ping -I eth1 192.168.1.2". Then all I can get is "Destination > > Host Unreachable" :-( > > > > With the firmware built with Microcode-V2.4, it can send up to 6 > > packages(get tx irq) and at last the "Link is down"; with the firmware > > of V3.0, no package TX and at last the TX queue full and was > > deactivated. With both of these firmware, no packages received. > > > > I wonder if there are anything wrong with my operations or if I need > > some other special configurations/operations? Or any advises on > > debugging that. > > You'd have better luck reaching the people in charge of this > on the arm kernel mailing list, or possibly the netdev list. > > As I recall, the procedure for converting Intel's microcode .h > file to something ixp4xx_eth wanted to load involved using a > .h or .c file off the ixp4xx_eth driver's old web site. > (I don't have the details handy.) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/