<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">This is a standard board designed by
GDA technologies Inc. (www.gdatech.com) and eth on 2.4.20 works very much.</font>
<br>
<br><font size=2 face="sans-serif">U-Boot messages :</font>
<br>
<br><font size=2 face="sans-serif">U-Boot 1.1.0(pq3-20040423-r1) (May &nbsp;5
2006 - 08:56:54)</font>
<br>
<br><font size=2 face="sans-serif">Freescale PowerPC</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; Core: E500, Version: 2.0,
(0x80200020)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; System: 8540, Version:
2.0, (0x80300020)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; Clocks: CPU: 660 MHz,
CCB: 264 MHz, DDR: 132 MHz, LBC: &nbsp;66 MHz</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; L1 D-cache 32KB, L1 I-cache
32KB enabled.</font>
<br><font size=2 face="sans-serif">Board: Freescale EVAL8540 Board</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; CPU: 660
MHz</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; CCB: 264
MHz</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; DDR: 132
MHz</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; LBC: 66
MHz</font>
<br><font size=2 face="sans-serif">L1 D-cache 32KB, L1 I-cache 32KB enabled.</font>
<br><font size=2 face="sans-serif">I2C: &nbsp; ready</font>
<br><font size=2 face="sans-serif">DRAM: &nbsp;256 MB</font>
<br><font size=2 face="sans-serif">FLASH: &nbsp;8 MB</font>
<br><font size=2 face="sans-serif">L2 cache enabled: 256KB</font>
<br><font size=2 face="sans-serif">In: &nbsp; &nbsp;serial</font>
<br><font size=2 face="sans-serif">Out: &nbsp; serial</font>
<br><font size=2 face="sans-serif">Err: &nbsp; serial</font>
<br><font size=2 face="sans-serif">Net: &nbsp; Freescale ENET0: PHY is
Marvell 88E1011S (1410c62)</font>
<br><font size=2 face="sans-serif">Freescale ENET1: PHY is Marvell 88E1011S
(1410c62)</font>
<br><font size=2 face="sans-serif">Freescale ENET2: PHY is Intel LXT971A
(1378e2)</font>
<br><font size=2 face="sans-serif">Freescale ENET0, Freescale ENET1, Freescale
ENET2</font>
<br><font size=2 face="sans-serif">Hit any key to stop autoboot: &nbsp;0</font>
<br><font size=2 face="sans-serif">MPC8540EVAL=&gt;</font>
<br>
<br>
<br><font size=2 face="sans-serif">-prashant </font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Kumar Gala &lt;galak@kernel.crashing.org&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: linuxppc-embedded-bounces+prashant.yendigeri=lntinfotech.com@ozlabs.org</font>
<p><font size=1 face="sans-serif">08/11/2006 06:07 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Prashant Yendigeri &lt;Prashant.Yendigeri@lntinfotech.com&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">linuxppc-embedded@ozlabs.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: Gianfar eth driver on 8540 ppc -
for 2.4 and 2.6 : different &nbsp; &nbsp; &nbsp; &nbsp;outputs</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2><br>
On Aug 11, 2006, at 6:21 AM, Prashant Yendigeri wrote:<br>
<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Downloaded 2.6.16.26 and booted up and got this :<br>
&gt;<br>
&gt; / # ifconfig eth0 172.28.8.254 up<br>
&gt; [ &nbsp; 34.034596] 0:00 not found<br>
&gt; [ &nbsp; 34.037330] eth0: Could not attach to PHY<br>
&gt; [ &nbsp; 34.041809] 0:00 not found<br>
&gt; SIOCSIFFLAGS: No[ &nbsp; 34.044526] eth0: Could not attach to PHY<br>
&gt; &nbsp;such device<br>
&gt; SIOCSIFFLAGS: No such device<br>
&gt;<br>
&gt; I had enabled all the PHY devices in .config and also tried only &nbsp;<br>
&gt; with Marvell phy enabled.<br>
<br>
<br>
Are you doing this on a custom board? &nbsp;If so what is the PHY address
&nbsp;<br>
for the Marvell phy you are using?<br>
<br>
- k<br>
<br>
&gt;<br>
&gt; Kernel boot messages :<br>
&gt; [ &nbsp; &nbsp;2.296555] Gianfar MII Bus: probed<br>
&gt; [ &nbsp; &nbsp;2.301789] eth0: Gianfar Ethernet Controller Version
1.2, &nbsp;<br>
&gt; 00:01:af:07:9b:8a<br>
&gt;<br>
&gt; [ &nbsp; &nbsp;2.309039] eth0: Running with NAPI disabled<br>
&gt; [ &nbsp; &nbsp;2.313307] eth0: 64/64 RX/TX BD ring size<br>
&gt; [ &nbsp; &nbsp;2.318498] eth1: Gianfar Ethernet Controller Version
1.2, &nbsp;<br>
&gt; 00:00:00:00:72:6f<br>
&gt;<br>
&gt; [ &nbsp; &nbsp;2.325738] eth1: Running with NAPI disabled<br>
&gt; [ &nbsp; &nbsp;2.330006] eth1: 64/64 RX/TX BD ring size<br>
&gt; [ &nbsp; &nbsp;2.335198] eth2: Gianfar Ethernet Controller Version
1.2, 6f: <br>
&gt; 74:3d:2f:64:65<br>
&gt;<br>
&gt; [ &nbsp; &nbsp;2.342377] eth2: Running with NAPI disabled<br>
&gt; [ &nbsp; &nbsp;2.346662] eth2: 64/64 RX/TX BD ring size<br>
&gt; [ &nbsp; &nbsp;2.351586] Marvell 88E1101: Registered new driver<br>
&gt; [ &nbsp; &nbsp;2.357010] Davicom DM9161E: Registered new driver<br>
&gt; [ &nbsp; &nbsp;2.362443] Davicom DM9131: Registered new driver<br>
&gt; [ &nbsp; &nbsp;2.367775] Cicada Cis8204: Registered new driver<br>
&gt; [ &nbsp; &nbsp;2.373136] LXT970: Registered new driver<br>
&gt; [ &nbsp; &nbsp;2.377794] LXT971: Registered new driver<br>
&gt; [ &nbsp; &nbsp;2.382461] QS6612: Registered new driver<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt; Prashant<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Kumar Gala &lt;galak@kernel.crashing.org&gt;<br>
&gt; 08/11/2006 09:40 AM<br>
&gt;<br>
&gt; To<br>
&gt; Prashant Yendigeri &lt;Prashant.Yendigeri@lntinfotech.com&gt;<br>
&gt; cc<br>
&gt; linuxppc-embedded@ozlabs.org<br>
&gt; Subject<br>
&gt; Re: Gianfar eth driver on 8540 ppc - for 2.4 and 2.6 : different &nbsp;<br>
&gt; outputs<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Aug 10, 2006, at 6:18 AM, Prashant Yendigeri wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; The gianfar driver of 2.6.12 and 2.4.20 give different outputs
on<br>
&gt; &gt; the same PPC 8540 board.<br>
&gt; &gt;<br>
&gt; &gt; What could be the reason ?<br>
&gt; &gt;<br>
&gt; &gt; Output on 2.4.20 :<br>
&gt; &gt; /root # ifconfig eth0 172.28.8.254 up<br>
&gt; &gt; eth0: PHY is Marvell 88E1011S (1410c62)<br>
&gt; &gt; eth0: Auto-negotiation done<br>
&gt; &gt; eth0: Half Duplex<br>
&gt; &gt; eth0: Speed 10BT<br>
&gt; &gt; eth0: Link is up<br>
&gt; &gt;<br>
&gt; &gt; Output on 2.6.12<br>
&gt; &gt; / # ifconfig eth0 172.28.8.254 up<br>
&gt; &gt; &nbsp;eth0: PHY is Generic MII (ffffffff)<br>
&gt;<br>
&gt; It looks like your 2.6.12 kernel isn't handling the PHY correctly.<br>
&gt; I'd recommend upgrading to something newer which has the phylib<br>
&gt; (can't remember which 2.6 that went into).<br>
&gt;<br>
&gt; - kumar<br>
&gt;<br>
&gt; ______________________________________________________________________<br>
&gt;<br>
&gt;<br>
&gt; ______________________________________________________________________<br>
<br>
_______________________________________________<br>
Linuxppc-embedded mailing list<br>
Linuxppc-embedded@ozlabs.org<br>
https://ozlabs.org/mailman/listinfo/linuxppc-embedded<br>
<br>
______________________________________________________________________<br>
</font></tt>
<br>

<BR>
______________________________________________________________________<BR>