From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lpp01m010-f49.google.com ([209.85.215.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SAslQ-0001r2-Pg for barebox@lists.infradead.org; Fri, 23 Mar 2012 00:53:57 +0000 Received: by lagy4 with SMTP id y4so2518139lag.36 for ; Thu, 22 Mar 2012 17:53:53 -0700 (PDT) MIME-Version: 1.0 From: Kamel BOUHARA Date: Fri, 23 Mar 2012 01:53:33 +0100 Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7132365731396726155==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Network Issue with Mini2440 To: barebox@lists.infradead.org --===============7132365731396726155== Content-Type: multipart/alternative; boundary=90e6ba25db95689d5404bbde75dc --90e6ba25db95689d5404bbde75dc Content-Type: text/plain; charset=ISO-8859-1 Hello, I'm trying to port the last release of barebox to my sbc2440-III board with the base config. of a mini2440 but unfortunately I'm facing a network issue when trying to boot from nfs or to load files with tftp. After checking all the parameters (pll, ram init etc.) I figured out that the chip select and interrupt pinout were not good and I changed them to fit with my board schematic. So I have a well boot on barebox everything seems to work as you can see here : barebox 2012.03.0-00113-g881d9e9-dirty (Mar 23 2012 - 00:45:52) > Board: Mini 2440 registered netconsole as cs1 NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V > 8-bit) Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 dm9000@dm90000: Found DM9000A at i/o: 0x18000300 refclk: 12000 kHz mpll: 405000 kHz upll: 48000 kHz fclk: 405000 kHz hclk: 101250 kHz pclk: 50625 kHz SDRAM1: CL2@101MHz Malloc space: 0x33a00000 -> 0x33dfffff (size 4 MB) Stack space : 0x339f8000 -> 0x33a00000 (size 32 kB) running /env/bin/init... But, when I try to ping or boot from nfs/tftp, the phy isn't receiving any packet from host : Hit any key to stop autoboot: 0 warning: No MAC address set. Using random address F6:48:4B:C2:51:44 phy0: Link is up - 100/Full T T T T T T T T T T T T T T T T T T T T T T I'm sure the host is well configured because I usually have to work with other boards using nfs and tftp. Here is more complete log of the packets transaction I hope it could help : barebox 2012.03.0-00113-g881d9e9-dirty (Mar 23 2012 - 00:45:52) > Board: Mini 2440 registered netconsole as cs1 NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V > 8-bit) Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 dm9000@dm90000: dm9k_reset dm9000@dm90000: dm9000 revision 0x19 dm9000@dm90000: Found DM9000A at i/o: 0x18000300 dm9000@dm90000: 16 bit data bus dm9000@dm90000: phy_write(reg:0, value:32768) dm9000@dm90000: phy_read(4): 481 dm9000@dm90000: phy_write(reg:4, value:481) dm9000@dm90000: phy_write(reg:0, value:4608) refclk: 12000 kHz mpll: 405000 kHz upll: 48000 kHz fclk: 405000 kHz hclk: 101250 kHz pclk: 50625 kHz SDRAM1: CL2@101MHz Malloc space: 0x33a00000 -> 0x33dfffff (size 4 MB) Stack space : 0x339f8000 -> 0x33a00000 (size 32 kB) running /env/bin/init... > Hit any key to stop autoboot: 1 warning: No MAC address set. Using random address 36:CF:EC:0D:18:BC dm9000@dm90000: phy_read(1): 30825 dm9000@dm90000: phy_read(1): 30829 dm9000@dm90000: phy_read(1): 30829 dm9000@dm90000: phy_read(0): 12544 dm9000@dm90000: phy_read(5): 50657 phy0: Link is up - 100/Full dm9000@dm90000: dm9k_eth_send: 42 bytes dm9000@dm90000: transmit done dm9000@dm90000: Packet present dm9000@dm90000: dm9k_validate_entry packet status 01 dm9000@dm90000: rx Late Collision Seen error dm9000@dm90000: rx length too big dm9000@dm90000: dm9k_reset T dm9000@dm90000: dm9k_eth_send: 42 bytes dm9000@dm90000: transmit done dm9000@dm90000: Packet present dm9000@dm90000: dm9k_validate_entry packet status 01 dm9000@dm90000: rx fifo overflow error dm9000@dm90000: rx crc error dm9000@dm90000: Discarding packet dm9000@dm90000: dm9k_validate_entry packet status 00 T dm9000@dm90000: dm9k_eth_send: 42 bytes dm9000@dm90000: transmit done dm9000@dm90000: Packet present dm9000@dm90000: dm9k_validate_entry packet status 00 T dm9000@dm90000: dm9k_eth_send: 42 bytes dm9000@dm90000: transmit done dm9000@dm90000: Packet present dm9000@dm90000: dm9k_validate_entry packet status 00 NFS failed: Interrupted system call Any help is welcome for sure. Regards. -- _______________________________ *Kamel BOUHARA* 62 Bis Rue Carnot 60610 Lacroix Saint-Ouen Tel : +33617832904 --90e6ba25db95689d5404bbde75dc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I'm trying to port the last release of barebo= x to my sbc2440-III board with the base config. of a mini2440 but unfortuna= tely I'm facing a network issue when trying to boot from nfs or to load= files with tftp.

After checking all the parameters (pll, ram init etc.) = I figured out that the chip select and interrupt pinout were not good and I= changed them to fit with my board schematic.
So I have a well bo= ot on barebox everything seems to work as you can see here :

barebox 2012.03.0-00113-g881d9e9-dirty (Mar 23 2012 - 00:45:52)

Board: Mini 2440
registered netconsole as cs1
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V= 8-bit)
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
dm9000@dm90000: Found DM9000A at i/o: 0x18000300
refclk: =A0 =A012000 kHz
mpll: =A0 =A0 405000 kHz
upll: =A0 =A0 =A048000 kHz
fclk: =A0 =A0 405000 kHz
hclk: =A0 =A0 101250 kHz
pclk: =A0 =A0 =A050625 kHz
SDRAM1: =A0 CL2@101MHz
Malloc space: 0x33a00000 -> 0x33dfffff (size =A04 MB)
Stack space : 0x339f8000 -> 0x33a00000 (size 32 kB)
running /env/bin/init...


But, =A0when I try to ping or boot from nfs/tftp, the phy isn'= t receiving any packet from host :

Hit any key to stop autoboot: =A00
warning: No MAC address set. Using random address F6:48:4B:C2:51:44
phy0: Link is up - 100/Full
T T T T T T T T T T T T T T T T T T T T T T

I'm sure the host is well configured because I usually have to w= ork with other boards using nfs and tftp.

Here is = more complete log of the packets transaction I hope it could help :

barebox 2012.03.0-00113-g881d9e9-dirty (Mar 23 2012 - 00:45:52)

Board: Mini 2440
registered netconsole as cs1
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V= 8-bit)
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
dm9000@dm90000: dm9k_reset
dm9000@dm90000: dm9000 revision 0x19
dm9000@dm90000: Found DM9000A at i/o: 0x18000300
dm9000@dm90000: 16 bit data bus
dm9000@dm90000: phy_write(reg:0, value:32768)
dm9000@dm90000: phy_read(4): 481
dm9000@dm90000: phy_write(reg:4, value:481)
dm9000@dm90000: phy_write(reg:0, value:4608)
refclk: =A0 =A012000 kHz
mpll: =A0 =A0 405000 kHz
upll: =A0 =A0 =A048000 kHz
fclk: =A0 =A0 405000 kHz
hclk: =A0 =A0 101250 kHz
pclk: =A0 =A0 =A050625 kHz
SDRAM1: =A0 CL2@101MHz
Malloc space: 0x33a00000 -> 0x33dfffff (size =A04 MB)
Stack space : 0x339f8000 -> 0x33a00000 (size 32 kB)
running /env/bin/init...

Hit any key to stop autoboot: =A01
warning: No MAC address set. Using random address 36:CF:EC:0D:18:BC
dm9000@dm90000: phy_read(1): 30825
dm9000@dm90000: phy_read(1): 30829
dm9000@dm90000: phy_read(1): 30829
dm9000@dm90000: phy_read(0): 12544
dm9000@dm90000: phy_read(5): 50657
phy0: Link is up - 100/Full
dm9000@dm90000: dm9k_eth_send: 42 bytes
dm9000@dm90000: transmit done
dm9000@dm90000: Packet present
dm9000@dm90000: dm9k_validate_entry packet status 01
dm9000@dm90000: rx Late Collision Seen error
dm9000@dm90000: rx length too big
dm9000@dm90000: dm9k_reset
T dm9000@dm90000: dm9k_eth_send: 42 bytes
dm9000@dm90000: transmit done
dm9000@dm90000: Packet present
dm9000@dm90000: dm9k_validate_entry packet status 01
dm9000@dm90000: rx fifo overflow error
dm9000@dm90000: rx crc error
dm9000@dm90000: Discarding packet
dm9000@dm90000: dm9k_validate_entry packet status 00
T dm9000@dm90000: dm9k_eth_send: 42 bytes
dm9000@dm90000: transmit done
dm9000@dm90000: Packet present
dm9000@dm90000: dm9k_validate_entry packet status 00
T dm9000@dm90000: dm9k_eth_send: 42 bytes
dm9000@dm90000: transmit done
dm9000@dm90000: Packet present
dm9000@dm90000: dm9k_validate_entry packet status 00
NFS failed: Interrupted system call

Any hel= p is welcome for sure.

Regards.
--

_______________________________
Kamel BOUHARA
62 Bis Rue C= arnot
60610 Lacroix Saint-Ouen

Tel :=A0=A0+33617832904


--90e6ba25db95689d5404bbde75dc-- --===============7132365731396726155== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============7132365731396726155==--