This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ethernet pinging issue

Other Parts Discussed in Thread: AM3359, DA8XX, TPS65910

We made our own linux board based on the critical link MityARM AM3359 baseboard. we used RGMII1 for ethernet instead of what they did RGMII2, we also changed the
PHY to Micrel ksz9021 instead of Vissette on MityARM. after pinmux, config and rebuild image, we ran into ethernet problem: dhcp is not working, so I have to manually edit /etc/network/interface file, at first for some reason, I can only config eth1, eth1 link up ok, but I can't ping other machine on the network. later on, I change the interface name back to eth0, and manually edit /etc/network/interfaces eth0, eth0 link up ok, but still I can't ping other machine on the network though can ping itself.

I probe the RGMII signal, TxCLK always stuck at 25Mhz, RxCLK will change to 125Mhz after reset, or eth cable plug in. 

Could anyone can help me what it going wrong?

very appreciate your help.

Wayne

  • Wayne,

    How are you clocking RGMII on your board?

    Did you ensure that the required support code for the Micrel part was included in your OS image and that this PHY is being configured correctly?

  • Thnaks DK for your quick reply.

    we have 25Mhz clock goes into pin XI and XO of Micrel ksz9021. from PHY to MAC use RGMII.

    I think the MIcrel ksz9201 driver code is configured in the kernel image. I attached the all boot up message below, could you take a look at it and see if anything is wrong? very appreciate your help.

    since dhcp is not working, so I edit the interfaces file set it to static.

    Best regards,

    Wayne

    -------------bootup message---------------

                                                                                                                   
    U-Boot 2011.09-00000-g4fba33d-dirty (Nov 27 2012 - 16:30:31)                                                   
                                                                                                                   
    I2C:   ready                                                                                                   
    DRAM:  256 MiB                                                                                                 
    WARNING: Caches not enabled                                                                                    
    NAND:  HW ECC Hamming Code selected                                                                            
    256 MiB                                                                                                        
    MMC:   OMAP SD/MMC: 0                                                                                          
    Net:   cpsw                                                                                                    
    Hit any key to stop autoboot:  0                                                                               
    SD/MMC found on device 0                                                                                       
    reading uenv.txt                                                                                               
                                                                                                                   
    1711 bytes read                                                                                                
    Loaded environment from uenv.txt                                                                               
    Importing environment from mmc ...                                                                             
    reading uImage                                                                                                 
                                                                                                                   
    2760472 bytes read                                                                                             
    ## Booting kernel from Legacy Image at 80007fc0 ...                                                            
       Image Name:   Linux-3.1.0-mityarm-335x-devkit-                                                              
       Image Type:   ARM Linux Kernel Image (uncompressed)                                                         
       Data Size:    2760408 Bytes = 2.6 MiB                                                                       
       Load Address: 80008000                                                                                      
       Entry Point:  80008000                                                                                      
       Verifying Checksum ... OK                                                                                   
       XIP Kernel Image ... OK                                                                                     
    OK                                                                                                             
                                                                                                                   
    Starting kernel ...                                                                                            
                                                                                                                   
    Uncompressing Linux... done, booting the kernel.                                                               
    [    0.000000] Linux version 3.1.0-mityarm-335x-devkit-gc154b38-dirty (wayne@wayne-u) (gcc version 4.5.3 2011032
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f                                 
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache                               
    [    0.000000] Machine: mityarm335x                                                                            
    [    0.000000] Memory policy: ECC disabled, Data cache writeback                                               
    [    0.000000] AM335X ES1.0 (neon )                                                                            
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024                      
    [    0.000000] Kernel command line: console=ttyO0,115200n8 video=da8xx:bpp=16 root=/dev/mmcblk0p2 rw rootfstypee
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)                                             
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)                                 
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)                                   
    [    0.000000] Memory: 256MB = 256MB total                                                                     
    [    0.000000] Memory: 254044k/254044k available, 8100k reserved, 0K highmem                                   
    [    0.000000] Virtual kernel memory layout:                                                                   
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                                               
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                                               
    [    0.000000]     DMA     : 0xff800000 - 0xffe00000   (   6 MB)                                               
    [    0.000000]     vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)                                               
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)                                               
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)                                               
    [    0.00000ol family 16                                                                                       
    [    0.068171] GPMC revision 6.0                                                                               
    [    0.070325] OMAP GPIO hardware version 0.1                                                                  
    [    0.072444] omap_l3_smx omap_l3_smx.0: couldn't find resource                                               
    [    0.072947] omap_mux_init: Add partition: #1: core, flags: 0                                                
    [    0.076287]  omap_i2c.3: alias fck already exists                                                           
    [    0.076573]  omap_i2c.2: alias fck already exists                                                           
    [    0.077251] Registering mcspi 1 [2]                                                                         
    [    0.077290]  omap2_mcspi.1: alias fck already exists                                                        
    [    0.077498] Registering mcspi 2 [2]                                                                         
    [    0.077539]  omap2_mcspi.2: alias fck already exists                                                        
    [    0.081144] baseboard_init [MityARM-335x DevKit]...                                                         
    [    0.081441]  omap_hsmmc.0: alias fck already exists                                                         
    [    0.099016] bio: create slab <bio-0> at 0                                                                   
    [    0.101845] SCSI subsystem initialized                                                                      
    [    0.103715] usbcore: registered new interface driver usbfs                                                  
    [    0.104041] usbcore: registered new interface driver hub                                                    
    [    0.104253] usbcore: registered new device driver usb                                                       
    [    0.119169] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz                                                    
    [    0.120148] tps65910 3-002d: JTAGREVNUM 0x1                                                                 
    [    0.121793] print_constraints: VRTC:                                                                        
    [    0.122485] print_constraints: VIO: at 1800 mV                                                              
    [    0.124763] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal                                     
    [    0.126287] print_constraints: VDD2: at 1137 mV                                                             
    [    0.126514] print_constraints: VDD3: 5000 mV                                                                
    [    0.127157] print_constraints: VDIG1: at 1800 mV                                                            
    [    0.127818] print_constraints: VDIG2: at 1800 mV                                                            
    [    0.128484] print_constraints: VPLL: at 1800 mV                                                             
    [    0.129170] print_constraints: VDAC: at 1800 mV                                                             
    [    0.129854] print_constraints: VAUX1: at 1800 mV                                                            
    [    0.130524] print_constraints: VAUX2: at 3300 mV                                                            
    [    0.131195] print_constraints: VAUX33: at 3300 mV                                                           
    [    0.131855] print_constraints: VMMC: at 3300 mV                                                             
    [    0.132328] tps65910 3-002d: No interrupt support, no core IRQ                                              
    [    0.149110] omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz                                                    
    [    0.151407] Switching to clocksource gp timer                                                               
    [    0.159105] Switched to NOHz mode on CPU #0                                                                 
    [    0.166726] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)                                            
    [    0.167137] NET: Registered protocol family 2                                                               
    [    0.167339] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)                                  
    [    0.167635] TCP established hash table entries: 8192 (order: 4, 65536 bytes)                                
    [    0.167793] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)                                       
    [    0.167888] TCP: Hash tables configured (established 8192 bind 8192)                                        
    [    0.167901] TCP reno registered                                                                             
    [    0.167914] UDP hash table entries: 256 (order: 0, 4096 bytes)                                              
    [    0.167937] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                                         
    [    0.168113] NET: Registered protocol family 1                                                               
    [    0.168411] RPC: Registered named UNIX socket transport module.                                             
    [    0.168427] RPC: Registered udp transport module.                                                           
    [    0.168436] RPC: Registered tcp transport module.                                                           
    [    0.168446] RPC: Registered tcp NFSv4.1 backchannel transport module.                                       
    [    0.168667] NetWinder Floating Point Emulator V0.97 (double precision)                                      
    [    0.181404] VFS: Disk quotas dquot_6.5.2                                                                    
    [    0.181554] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                                      
    [    0.182253] msgmni has been set to 496                                                                      
    [    0.183015] io scheduler noop registered                                                                    
    [    0.183030] io scheduler deadline registered                                                                
    [    0.183094] io scheduler cfq registered (default)                                                           
    [    0.184447] DA8XX FB - options = bpp=16                                                                     
    [    0.184558] da8xx_lcdc da8xx_lcdc.0: GLCD: Found Sharp_LK043T1DG01 panel                                    
    [    0.184587] DA8XX FB: 480 x 272 32 bpp                                                                      
    [    0.189645] Console: switching to colour frame buffer device 60x34                                          
    [    0.192439] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled                                         
    [    0.194138] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0                                
    [    0.759040] console [ttyO0] enabled                                                                         
    [    0.763247] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1                                
    [    0.770936] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2                                
    [    0.778683] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3                                
    [    0.786379] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4                                
    [    0.794088] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5                                
    [    0.810276] brd: module loaded                                                                              
    [    0.818392] loop: module loaded                                                                             
    [    0.822116] i2c-core: driver [tsl2550] using legacy suspend method                                          
    [    0.828563] i2c-core: driver [tsl2550] using legacy resume method                                           
    [    0.835018] at24 2-0050: 256 byte 24c02 EEPROM, read-only, 0 bytes/write                                    
    [    0.847874] MityARM-335x: Part Number = 3359-GX-226-RC                                                      
    [    0.854937] m25p80 spi2.0: m25p64-nonjedec (8192 Kbytes)                                                    
    [    0.860490] Creating 1 MTD partitions on "spi_flash":                                                       
    [    0.865817] 0x000000000000-0x000000800000 : "NOR User Defined"                                              
    [    0.873516] omap2-nand driver initializing                                                                  
    [    0.878140] ONFI flash detected                                                                             
    [    0.881589] ONFI param page 0 valid                                                                         
    [    0.885234] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)                     
    [    0.893614] Creating 8 MTD partitions on "omap2-nand.0":                                                    
    [    0.899157] 0x000000000000-0x000000020000 : "SPL"                                                           
    [    0.905522] 0x000000020000-0x000000040000 : "SPL.backup1"                                                   
    [    0.912533] 0x000000040000-0x000000060000 : "SPL.backup2"                                                   
    [    0.919375] 0x000000060000-0x000000080000 : "SPL.backup3"                                                   
    [    0.926421] 0x000000080000-0x000000260000 : "U-Boot"                                                        
    [    0.933688] 0x000000260000-0x000000280000 : "U-Boot Env"                                                    
    [    0.940411] 0x000000280000-0x000000780000 : "Kernel"                                                        
    [    0.948931] 0x000000780000-0x000010000000 : "File System"                                                   
    [    1.058397] OneNAND driver initializing                                                                     
    [    1.111463] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6                                          
    [    1.117920] davinci_mdio davinci_mdio.0: detected phy mask fffffffd                                         
    [    1.124932] am335x_ksz9021_phy_fixup 221611 here addr = 1                                                   
    [    1.130824] Current skew value is 9797                                                                      
    [    1.135245] Current pad skew value is 0000                                                                  
    [    1.139956] davinci_mdio.0: probed                                                                          
    [    1.143528] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver Micrel KSZ9021 Gigabit PHY             
    [    1.153057] Initializing USB Mass Storage driver...                                                         
    [    1.158352] usbcore: registered new interface driver usb-storage                                            
    [    1.164644] USB Mass Storage support registered.                                                            
    [    1.169977] mousedev: PS/2 mouse device common for all mice                                                 
    [    1.176805] input: ti-tsc-adcc as /devices/platform/tsc/input/input0                                        
    [    1.184549] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0                                        
    [    1.191196] omap_rtc: already running                                                                       
    [    1.196934] tps65910-rtc tps65910-rtc: Wake up is not possible as irq = 0                                   
    [    1.213110] tps65910-rtc tps65910-rtc: rtc core: registered tps65910-rtc as rtc1                            
    [    1.220977] i2c /dev entries driver                                                                         
    [    1.263930] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec                                            
    [    1.270960] cpuidle: using governor ladder                                                                  
    [    1.275790] cpuidle: using governor menu                                                                    
    [    1.281374] leds_lt3593: registered LT3593 LED 'backlight' at GPIO 65                                       
    [    1.290559] usbcore: registered new interface driver usbhid                                                 
    [    1.296425] usbhid: USB HID core driver                                                                     
    [    1.300422] oprofile: hardware counters not available                                                       
    [    1.305695] oprofile: using timer interrupt.                                                                
    [    1.310171] nf_conntrack version 0.5.0 (3969 buckets, 15876 max)                                            
    [    1.316927] ip_tables: (C) 2000-2006 Netfilter Core Team                                                    
    [    1.322604] TCP cubic registered                                                                            
    [    1.325970] NET: Registered protocol family 17                                                              
    [    1.330642] Registering the dns_resolver key type                                                           
    [    1.335638] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3                         
    [    1.343654] ThumbEE CPU extension supported.                                                                
    [    1.352558] regulator_init_complete: VMMC: incomplete constraints, leaving on                               
    [    1.360472] regulator_init_complete: VAUX33: incomplete constraints, leaving on                             
    [    1.368586] regulator_init_complete: VAUX2: incomplete constraints, leaving on                              
    [    1.379408] regulator_init_complete: VAUX1: incomplete constraints, leaving on                              
    [    1.387420] regulator_init_complete: VDAC: incomplete constraints, leaving on                               
    [    1.395362] regulator_init_complete: VPLL: incomplete constraints, leaving on                               
    [    1.403303] regulator_init_complete: VDIG2: incomplete constraints, leaving on                              
    [    1.414076] regulator_init_complete: VDIG1: incomplete constraints, leaving on                              
    [    1.422536] regulator_init_complete: VDD2: incomplete constraints, leaving on                               
    [    1.430437] regulator_init_complete: VIO: incomplete constraints, leaving on                                
    [    1.438251] regulator_init_complete: VRTC: incomplete constraints, leaving on                               
    [    1.445925] Detected MACID=78:c5:e5:74:ff:7d                                                                
    [    1.451987] omap_rtc omap_rtc: setting system clock to 2011-12-23 13:19:50 UTC (1324646390)                 
    [    1.461270] Waiting for root device /dev/mmcblk0p2...                                                       
    [    1.476317] mmc0: host does not support reading read-only switch. assuming write-enable.                    
    [    1.486763] mmc0: new high speed SDHC card at address 0007                                                  
    [    1.493124] mmcblk0: mmc0:0007 SD04G 3.67 GiB                                                               
    [    1.499712]  mmcblk0: p1 p2 p3                                                                              
    [    8.427129] kjournald starting.  Commit interval 5 seconds                                                  
    [    8.432959] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended        
    [    8.448299] EXT3-fs (mmcblk0p2): using internal journal                                                     
    [    8.453767] EXT3-fs (mmcblk0p2): recovery complete                                                          
    [    8.462004] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode                                  
    [    8.469241] VFS: Mounted root (ext3 filesystem) on device 179:2.                                            
    [    8.475867] Freeing init memory: 232K                                                                       
    INIT: version 2.86 booting                                                                                     
    Please wait: booting...                                                                                        
    Starting udev                                                                                                  
    [    9.056267] udevd (602): /proc/602/oom_adj is deprecated, please use /proc/602/oom_score_adj instead.       
    [   13.536118] kjournald starting.  Commit interval 5 seconds                                                  
    [   13.541966] EXT3-fs (mmcblk0p3): warning: maximal mount count reached, running e2fsck is recommended        
    [   14.421259] EXT3-fs (mmcblk0p3): using internal journal                                                     
    [   14.426754] EXT3-fs (mmcblk0p3): recovery complete                                                          
    [   14.431770] EXT3-fs (mmcblk0p3): mounted filesystem with ordered data mode                                  
    [   14.506518] alignment: ignoring faults is unsafe on this CPU.  Defaulting to fixup mode.                    
    Remounting root file system...                                                                                 
    Caching udev devnodes                                                                                          
    ALSA: Restoring mixer settings...                                                                              
    /usr/sbin/alsactl: load_state:1625: No soundcards found...                                                     
    Configuring network interfaces... [   22.716836] PHY 0:00 not found                                            
    [   22.720053] am335x_ksz9021_phy_fixup 221611 here addr = 1                                                   
    [   22.725971] Current skew value is 9797                                                                      
    [   22.730390] Current pad skew value is 0000                                                                  
    [   22.734880]                                                                                                 
    [   22.734883] CPSW phy found : id is : 0x221611                                                               
    done.                                                                                                          
    Setting up IP spoofing protection: rp_filter.                                                                  
    INIT: Entering runlevel: 5                                                                                     
    Starting system message bus: dbus.                                                                             
    Starting Hardware abstraction layer hald                                                                       
    Starting Dropbear SSH server: dropbear.                                                                        
    Starting telnet daemon.                                                                                        
    Starting network benchmark server: netserver.                                                                  
    Starting syslogd/klogd: done                                                                                   
    Starting thttpd.                                                                                               
    Starting PVR                                                                                                   
    Usage: insmod filename [args]                                                                                  
    FATAL: Module omaplfb not found.                                                                               
    FATAL: Module bufferclass_ti not found.                                                                        
    BusyBox v1.13.2 (2011-12-15 15:46:39 CST) multi-call binary                                                    
                                                                                                                   
    Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR                                                                   
                                                                                                                   
    Create a special file (block, character, or pipe)                                                              
                                                                                                                   
    Options:                                                                                                       
            -m      Create the special file using the specified mode (default a=rw)                                
    TYPEs include:                                                                                                 
            b:      Make a block device                                                                            
            c or u: Make a character device                                                                        
            p:      Make a named pipe (MAJOR and MINOR are ignored)                                                
                                                                                                                   
    chmod: /dev/pvrsrvkm: No such file or directory                                                                
    Starting Lighttpd Web Server: lighttpd.                                                                        
    2011-12-23 13:20:11: (log.c.166) server started                                                                
    /                                                                                                              
    /                                                                                                              
    Starting Matrix GUI application.                                                                               
    [   24.732479] PHY: 0:01 - Link is Up - 1000/Full                                                               
                                                                                                                   
    FATAL: Module g_mass_storage not found.                                                                        
    ***************************************************************                                                
    ***************************************************************                                                
    NOTICE: This file system contains the followin GPLv3 packages:                                                 
            binutils-dev                                                                                           
            binutils-symlinks                                                                                      
            binutils                                                                                               
            gdbserver                                                                                              
                                                                                                                   
    If you do not wish to distribute GPLv3 components please remove                                                
    the above packages prior to distribution.  This can be done using                                              
    the opkg remove command.  i.e.:                                                                                
        opkg remove <package>                                                                                      
    Where <package> is the name printed in the list above                                                          
                                                                                                                   
    NOTE: If the package is a dependency of another package you                                                    
          will be notified of the dependent packages.  You should                                                  
          use the --force-removal-of-dependent-packages option to                                                  
          also remove the dependent packages as well                                                               
    ***************************************************************                                                
    ***************************************************************                                                
                                                                                                                   
                                                                                                                   
    ,--.   ,--.,--.  ,--.            ,---.  ,------. ,--.   ,--.                                                   
    |   `.'   |`--',-'  '-.,--. ,--./  O  \ |  .--. '|   `.'   |                                                   
    |  |'.'|  |,--.'-.  .-' \  '  /|  .-.  ||  '--'.'|  |'.'|  |                                                   
    |  |   |  ||  |  |  |    \   ' |  | |  ||  |\  \ |  |   |                                                      
    `--'   `--'`--'  `--'  .-'  /  `--' `--'`--' '--'`--'   `--'                                                   
                           `---'                                                                                   
              ,----. ,----. ,-----.,--.   ,--.                                                                     
              '.-.  |'.-.  ||  .--' \  `.'  /                                                                      
                .' <   .' < '--. `\  .'    \                                                                       
              /'-'  |/'-'  |.--'  / /  .'.  \                                                                      
              `----' `----' `----' '--'   '--'                                                                     
                                                                                                                   
    Critical Link LLC http://support.criticallink.com am335x-evm ttyO0                                             
            Linux kernel verison Linux armv7l #2 Tue Dec 4 17:22:20 EST 2012                                       
                                                                                                                   
    am335x-evm login: root                                                                                         
    root@am335x-evm:~# ifconfig -a                                                                                 
    eth0      Link encap:Ethernet  HWaddr 78:C5:E5:74:FF:7D                                                        
              inet addr:10.1.1.210  Bcast:10.1.1.255  Mask:255.255.255.0                                           
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                                                   
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0                                                   
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                                                 
              collisions:0 txqueuelen:1000                                                                         
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                                               
              Interrupt:40                                                                                         
                                                                                                                   
    lo        Link encap:Local Loopback                                                                            
              inet addr:127.0.0.1  Mask:255.0.0.0                                                                  
              UP LOOPBACK RUNNING  MTU:16436  Metric:1                                                             
              RX packets:120 errors:0 dropped:0 overruns:0 frame:0                                                 
              TX packets:120 errors:0 dropped:0 overruns:0 carrier:0                                               
              collisions:0 txqueuelen:0                                                                            
              RX bytes:250267 (244.4 KiB)  TX bytes:250267 (244.4 KiB)                                             
                                                                                                                   
    root@am335x-evm:~# route                                                                                       
    Kernel IP routing table                                                                                        
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface                                  
    default         10.1.1.1        0.0.0.0         UG    0      0        0 eth0                                   
    10.1.1.0        *               255.255.255.0   U     0      0        0 eth0                                   
    root@am335x-evm:~# ping 10.1.1.210                                                                             
    PING 10.1.1.210 (10.1.1.210): 56 data bytes                                                                    
    64 bytes from 10.1.1.210: seq=0 ttl=64 time=0.435 ms                                                           
    64 bytes from 10.1.1.210: seq=1 ttl=64 time=0.183 ms                                                           
    64 bytes from 10.1.1.210: seq=2 ttl=64 time=0.253 ms                                                           
                                                                                                                  
    --- 10.1.1.210 ping statistics ---                                                                             
    3 packets transmitted, 3 packets received, 0% packet loss                                                      
    round-trip min/avg/max = 0.183/0.290/0.435 ms                                                                  
    root@am335x-evm:~# ping 10.1.1.43                                                                              
    PING 10.1.1.43 (10.1.1.43): 56 data bytes                                                                      
                                                                                                                  
    --- 10.1.1.43 ping statistics ---                                                                              
    9 packets transmitted, 0 packets received, 100% packet loss 

    ---------pull off eth cable --------------                                                  
    root@am335x-evm:~# [  104.732458] PHY: 0:01 - Link is Down    

    ---------plug back eth cable------------                                                 
    [  117.732266] PHY: 0:01 - Link is Up - 1000/Full                                                              

     

  • From the boot log it seems as if everything is working from a HW perspective. I would expect to see the link toggling between up/down if there was a physical interface issue.

    You say you cannot ping external addresses from your board...have you tried pinging your board from an external address? At this point it would be best to instrument the interface with Wireshark to see what exactly is happening on the physical interface.

  • Could any TI expert or FAE help? I have posted it for several weeks.

    Best regards,

     

  • Did you design your PCB with RGMII signals etch lengths optimized for critical RGMII setup and hold time requirements?  The timing of RGMII signals are very critical and it is important you design your PCB to meet these requirements for the specific PHY mode of operation.  For example, does the Micrel KSZ9021 support internal delay on the transmit data path.  If so, did you enable this feature and design your board for this mode of operation?  If not, did you add the necessary delay to meet the setup and hold when internal delay is turned off or not supported by the PHY.  The same questions apply to the receive data path.

    The link up indicator just tells you the PHY is linked across the Ethernet cable to the attached device, it does not tell you the TX and RX data paths between the MAC and PHY are good.  Have you connected a logic analyzer to the RGMII signals to verify the timing relationships and data patterns are what you expect?

    Have you connected a Ethernet traffic analyzer to monitor the data packets sent and received on the Ethernet cable?

    Regards,
    Paul