<div>Dear All,</div>
<div>&nbsp;</div>
<div>Now I am working on CIS8201 PHY for RGMII mode, I have modified Reg 23(0x17h) from 0000 to 1300,&nbsp;but&nbsp;CIS8201&nbsp;doesn't work under RGMII mode,&nbsp;are there other registers I need to set?&nbsp;Please give me&nbsp;your comment. Thanks a lot!&nbsp;
<br><br>&nbsp;</div>
<div><span class="gmail_quote">2006/2/8, Tattone Tattone &lt;<a href="mailto:tattone@gmail.com">tattone@gmail.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Thanks Stefan,<br><br>I will check it out as soon as I get to work.<br>These are terrific news.<br><br>Thanks again.
<br>Bizzu<br><br>On 2/7/06, Stefan Roese &lt;<a href="mailto:sr@denx.de">sr@denx.de</a>&gt; wrote:<br>&gt; On Tuesday 07 February 2006 22:56, Stefan Roese wrote:<br>&gt; &gt; Hmmm, I am pretty sure Ocotea linuxppc_2_4_devel worked a few month's ago
<br>&gt; &gt; (with U-Boot of course). I will give it a try tomorrow and let you know.<br>&gt;<br>&gt; As it seems the current version doesn't compile for ocotea:<br>&gt;<br>&gt; make[4]: Entering directory<br>&gt; `/chroot/server/home/stefan/git/linuxppc_2_4_devel/drivers/net/ibm_emac'
<br>&gt; ppc_4xx-gcc -D__KERNEL__<br>&gt; -I/chroot/server/home/stefan/git/linuxppc_2_4_devel/include -Wall<br>&gt; -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common<br>&gt; -fomit-frame-pointer<br>&gt; -I/chroot/server/home/stefan/git/linuxppc_2_4_devel/arch/ppc -fsigned-char
<br>&gt; -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring<br>&gt; -Wa,-m405&nbsp;&nbsp; -nostdinc<br>&gt; -I /opt/eldk-3.1.1/usr/lib/gcc-lib/ppc-linux/3.3.3/include<br>&gt; -DKBUILD_BASENAME=ibm_ocp_enet&nbsp;&nbsp;-c -o ibm_ocp_enet.o ibm_ocp_enet.c
<br>&gt; ibm_ocp_enet.c:158: error: parse error before &quot;__res&quot;<br>&gt; ibm_ocp_enet.c:158: warning: type defaults to `int' in declaration of `__res'<br>&gt; ibm_ocp_enet.c:158: warning: data definition has no type or storage class
<br>&gt; ibm_ocp_enet.c: In function `emac_init':<br>&gt; ibm_ocp_enet.c:1981: error: `bd_t' undeclared (first use in this function)<br>&gt; ibm_ocp_enet.c:1981: error: (Each undeclared identifier is reported only once<br>
&gt; ibm_ocp_enet.c:1981: error: for each function it appears in.)<br>&gt; ibm_ocp_enet.c:1981: error: `bd' undeclared (first use in this function)<br>&gt; make[4]: *** [ibm_ocp_enet.o] Error 1<br>&gt;<br>&gt; If you don't get this error, your linuxppc_2_4_devel version is outdated. With
<br>&gt; this small patch below this is fixed and the ocotea boots again:<br>&gt;<br>&gt; 71a72<br>&gt; &gt; #include &quot;asm/ppcboot.h&quot; /* test-only: ocotea build */<br>&gt;<br>&gt; ## Booting image at 00200000 ...
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Image Name:&nbsp;&nbsp; Linux-2.4.25<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Created:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2006-02-08&nbsp;&nbsp; 5:44:06 UTC<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Image Type:&nbsp;&nbsp; PowerPC Linux Kernel Image (gzip compressed)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Data Size:&nbsp;&nbsp;&nbsp;&nbsp;649445 Bytes = 634.2 kB<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Load Address: 00000000
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Entry Point:&nbsp;&nbsp;00000000<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Verifying Checksum ... OK<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Uncompressing Kernel Image ... OK<br>&gt; Linux version 2.4.25 (stefan@ubuntu) (gcc version 3.3.3 (DENX ELDK 3.1.1<br>&gt; 3.3.3-9)) #1 Wed Feb 8 06:41:37 CET 2006
<br>&gt; IBM Ocotea port (MontaVista Software, Inc. &lt;<a href="mailto:source@mvista.com">source@mvista.com</a>&gt;)<br>&gt; On node 0 totalpages: 65536<br>&gt; zone(0): 65536 pages.<br>&gt; zone(1): 0 pages.<br>&gt; zone(2): 0 pages.
<br>&gt; Kernel command line: root=/dev/nfs rw nfsroot=192.168.1.1:/opt/eldk/ppc_4xx<br>&gt; ip=<a href="http://192.168.80.2:192">192.168.80.2:192</a>.168.1.1::255.255.0.0:ocotea:eth0:off panic=1<br>&gt; console=ttyS0,115200
<br>&gt; Calibrating delay loop... 799.53 BogoMIPS<br>&gt; Memory: 257000k available (976k kernel code, 320k data, 232k init, 0k highmem)<br>&gt; Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)<br>&gt; Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
<br>&gt; Mount cache hash table entries: 512 (order: 0, 4096 bytes)<br>&gt; Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)<br>&gt; Page-cache hash table entries: 65536 (order: 6, 262144 bytes)<br>&gt; POSIX conformance testing by UNIFIX
<br>&gt; PCI: Probing PCI hardware<br>&gt; Linux NET4.0 for Linux 2.4<br>&gt; Based upon Swansea University Computer Society NET3.039<br>&gt; Initializing RT netlink socket<br>&gt; Starting kswapd<br>&gt; pty: 256 Unix98 ptys configured
<br>&gt; Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI<br>&gt; enabled<br>&gt; ttyS00 at 0xfdfea200 (irq = 0) is a 16550A<br>&gt; ttyS01 at 0xfdfe9300 (irq = 1) is a 16550A<br>&gt; Generic RTC Driver 
v1.07<br>&gt; emac: IBM OCP EMAC Ethernet driver, version 2.1<br>&gt; Maintained by Benjamin Herrenschmidt &lt;<a href="mailto:benh@kernel.crashing.org">benh@kernel.crashing.org</a>&gt;<br>&gt; mal0: Initialized, 8 tx channels, 4 rx channels
<br>&gt; zmii0: input 0 in SMII mode<br>&gt; eth0: IBM emac, MAC 00:01:73:01:dd:ac<br>&gt; eth0: Found Generic MII PHY (0x01)<br>&gt; zmii0: input 1 in SMII mode<br>&gt; eth1: IBM emac, MAC 00:01:73:01:dd:ad<br>&gt; eth1: Found Generic MII PHY (0x02)
<br>&gt; zmii0: input 2 in SMII mode<br>&gt; rgmii0: input 0 in RGMII mode<br>&gt; eth2: IBM emac, MAC 00:01:73:01:dd:ae<br>&gt; eth2: Found CIS8201 Gigabit Ethernet PHY (0x10)<br>&gt; zmii0: input 3 in SMII mode<br>&gt; rgmii0: input 1 in RGMII mode
<br>&gt; eth3: IBM emac, MAC 00:01:73:01:dd:af<br>&gt; eth3: Found CIS8201 Gigabit Ethernet PHY (0x18)<br>&gt; NET4: Linux TCP/IP 1.0 for NET4.0<br>&gt; IP Protocols: ICMP, UDP, TCP<br>&gt; IP: routing cache hash table of 2048 buckets, 16Kbytes
<br>&gt; TCP: Hash tables configured (established 16384 bind 32768)<br>&gt; IP-Config: Complete:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; device=eth0, addr=<a href="http://192.168.80.2">192.168.80.2</a>, mask=<a href="http://255.255.0.0">255.255.0.0
</a>, gw=<a href="http://255.255.255.255">255.255.255.255</a>,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;host=ocotea, domain=, nis-domain=(none),<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bootserver=<a href="http://192.168.1.1">192.168.1.1</a>, rootserver=<a href="http://192.168.1.1">
192.168.1.1</a>, rootpath=<br>&gt; NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.<br>&gt; Looking up port of RPC 100003/2 on <a href="http://192.168.1.1">192.168.1.1</a><br>&gt; eth0: Link is Up<br>&gt; eth0: Speed: 100, Full duplex.
<br>&gt; Looking up port of RPC 100005/1 on <a href="http://192.168.1.1">192.168.1.1</a><br>&gt; VFS: Mounted root (nfs filesystem).<br>&gt; Freeing unused kernel memory: 232k init<br>&gt; modprobe: modprobe: Can't open dependencies
<br>&gt; file /lib/modules/2.4.25/modules.dep (No such file or directory)<br>&gt; INIT: version 2.84 booting<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Welcome to DENX Embedded Linux Environment<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Press 'I' to enter interactive startup.
<br>&gt; Building the cache [&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Mounting proc filesystem:&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Configuring kernel parameters:&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Setting clock : Wed Feb&nbsp;&nbsp;8 08:38:58 MET 2006 [&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Setting hostname ocotea:&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]
<br>&gt; modprobe: Can't open dependencies file /lib/modules/2.4.25/modules.dep (No<br>&gt; such file or directory)<br>&gt; Activating swap partitions:&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Finding module dependencies:&nbsp;&nbsp;depmod: Can't<br>&gt; open /lib/modules/2.4.25/modules.dep for writing
<br>&gt; [FAILED]<br>&gt; Checking filesystems<br>&gt; [&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Mounting local filesystems:&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Enabling swap space:&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; modprobe: Can't open dependencies file /lib/modules/2.4.25/modules.dep (No
<br>&gt; such file or directory)<br>&gt; INIT: Entering runlevel: 3<br>&gt; Entering non-interactive startup<br>&gt; Setting network parameters:&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Bringing up loopback interface:&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Starting system logger: [&nbsp;&nbsp;OK&nbsp;&nbsp;]
<br>&gt; Starting kernel logger: [&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Initializing random number generator:&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Starting portmapper: [&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Mounting NFS filesystems:&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt; Mounting other filesystems:&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]
<br>&gt; Starting xinetd: [&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt;<br>&gt; ocotea login:<br>&gt;<br>&gt;<br>&gt; Best regards,<br>&gt; Stefan<br>&gt;<br><br><br>-------------------------------------------------------<br>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
<br>for problems?&nbsp;&nbsp;Stop!&nbsp;&nbsp;Download the new AJAX search engine that makes<br>searching your log files as easy as surfing the&nbsp;&nbsp;web.&nbsp;&nbsp;DOWNLOAD SPLUNK!<br><a href="http://sel.as-us.falkag.net/sel?cmdlnk&amp;kid3432&amp;bid#0486&amp;dat1642">
http://sel.as-us.falkag.net/sel?cmdlnk&amp;kid3432&amp;bid#0486&amp;dat1642</a><br>_______________________________________________<br>U-Boot-Users mailing list<br><a href="mailto:U-Boot-Users@lists.sourceforge.net">U-Boot-Users@lists.sourceforge.net
</a><br><a href="https://lists.sourceforge.net/lists/listinfo/u-boot-users">https://lists.sourceforge.net/lists/listinfo/u-boot-users</a><br></blockquote></div><br>