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