[meta-xilinx] Problems with Ethernet on ZC706

Elvis Dowson elvis.dowson at gmail.com
Wed Apr 16 09:49:10 PDT 2014


Hi,

On Apr 16, 2014, at 13:37, Stephen Mossom <stephen.mossom at calnexsol.com> wrote:

> Hi Nathan,
> 
> The problem turned out to be caused by a missing jumper on J9 leaving PHYAD[4] floating. 
> 
> Interestingly with the jumper removed the Ethernet works OK on both u-boot and kernel 3.8. This made me assume we had a software issue. Also we haven't removed any jumpers from the board since it was delivered.
> 
> I guess it's a timing thing with PHYAD[4]  drifting up and getting sampled low in 3.8 but high in 3.10 onwards? 
> 
> The revision of ZC706 we have 1.2.

I just tried a build for ZC706 with linux-xlnx-3.10, using the latest poky and meta-xilinx master branch, and it boots fine for me.

My board is also a 1.2 revision, will all the defaults.

My board has jumper J9 connected.


Regards,

Elvis Dowson


U-Boot 2012.10 (Mar 22 2013 - 14:07:04)                                                                                 
                                                                                                                        
DRAM:  1 GiB                                                                                                            
WARNING: Caches not enabled                                                                                             
MMC:   SDHCI: 0                                                                                                         
SF: Detected S25FL129P_64K with page size 64 KiB, total 32 MiB                                                          
*** Warning - bad CRC, using default environment                                                                        
                                                                                                                        
In:    serial                                                                                                           
Out:   serial                                                                                                           
Err:   serial                                                                                                           
Net:   zynq_gem                                                                                                         
Hit any key to stop autoboot:  0                                                                                        
Copying Linux from SD to RAM...                                                                                         
Device: SDHCI                                                                                                           
Manufacturer ID: 3                                                                                                      
OEM: 5344                                                                                                               
Name: SU08G                                                                                                             
Tran Speed: 50000000                                                                                                    
Rd Block Len: 512                                                                                                       
SD version 2.0                                                                                                          
High Capacity: Yes                                                                                                      
Capacity: 7.4 GiB                                                                                                       
Bus Width: 4-bit                                                                                                        
reading uImage                                                                                                          
                                                                                                                        
3017632 bytes read                                                                                                      
reading devicetree.dtb                                                                                                  
                                                                                                                        
24413 bytes read                                                                                                        
reading uramdisk.image.gz                                                                                               
                                                                                                                        
2505659 bytes read                                                                                                      
## Booting kernel from Legacy Image at 03000000 ...                                                                     
   Image Name:   Linux-3.10.0-xilinx-trd                                                                                
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                                  
   Data Size:    3017568 Bytes = 2.9 MiB                                                                                
   Load Address: 00008000                                                                                               
   Entry Point:  00008000                                                                                               
   Verifying Checksum ... OK                                                                                            
## Loading init Ramdisk from Legacy Image at 02000000 ...                                                               
   Image Name:   core-image-minimal-zc706-zynq7-2                                                                       
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)                                                              
   Data Size:    2505595 Bytes = 2.4 MiB                                                                                
   Load Address: 00000000                                                                                               
   Entry Point:  00000000                                                                                               
   Verifying Checksum ... OK                                                                                            
## Flattened Device Tree blob at 02a00000                                                                               
   Booting using the fdt blob at 0x02a00000                                                                             
   Loading Kernel Image ... OK                                                                                          
OK                                                                                                                      
   Loading Ramdisk to 1fd9c000, end 1ffffb7b ... OK                                                                     
   Loading Device Tree to 1fd93000, end 1fd9bf5c ... OK                                                                 
                                                                                                                        
Starting kernel ...                                                                                                     
                                                                                                                        
Uncompressing Linux... done, booting the kernel.                                                                        
Booting Linux on physical CPU 0x0                                                                                       
Linux version 3.10.0-xilinx-trd (elvis at titan) (gcc version 4.8.2 (GCC) ) #1 SMP PREEMPT Wed Apr 16 19:59:07 GST 2014    
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d                                                         
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache                                                
Machine: Xilinx Zynq Platform, model: Xilinx ZC706                                                                      
bootconsole [earlycon0] enabled                                                                                         
cma: CMA: reserved 16 MiB at 2e800000                                                                                   
Memory policy: ECC disabled, Data cache writealloc                                                                      
PERCPU: Embedded 8 pages/cpu @c0e03000 s8256 r8192 d16320 u32768                                                        
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624                                             
Kernel command line: console=ttyPS0,115200 earlyprintk root=/dev/ram rw                                                 
PID hash table entries: 4096 (order: 2, 16384 bytes)                                                                    
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)                                                        
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)                                                          
Memory: 1024MB = 1024MB total                                                                                           
Memory: 1014448k/1014448k available, 34128k reserved, 270336K highmem                                                   
Virtual kernel memory layout:                                                                                           
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)                                                                       
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                                                                       
    vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)                                                                       
    lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)                                                                       
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                                                                       
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)                                                                       
      .text : 0xc0008000 - 0xc0561a38   (5479 kB)                                                                       
      .init : 0xc0562000 - 0xc058d040   ( 173 kB)                                                                       
      .data : 0xc058e000 - 0xc05caab8   ( 243 kB)                                                                       
       .bss : 0xc05caab8 - 0xc05f7e34   ( 181 kB)                                                                       
Preemptible hierarchical RCU implementation.                                                                            
        Dump stacks of tasks blocking RCU-preempt GP.                                                                   
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.                                                            
NR_IRQS:16 nr_irqs:16 16                                                                                                
ps7-slcr mapped to f0002000                                                                                             
Zynq clock init                                                                                                         
sched_clock: 16 bits at 54kHz, resolution 18432ns, wraps every 1207ms                                                   
ps7-ttc #0 at f0004000, irq=43                                                                                          
Console: colour dummy device 80x30                                                                                      
Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)                                                                
pid_max: default: 32768 minimum: 301                                                                                    
Mount-cache hash table entries: 512                                                                                     
CPU: Testing write buffer coherency: ok                                                                                 
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000                                                                        
Setting up static identity map for 0xc03df0f0 - 0xc03df124                                                              
L310 cache controller enabled                                                                                           
l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72360000, Cache size: 524288 B                                            
CPU1: Booted secondary processor                                                                                        
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001                                                                        
Brought up 2 CPUs                                                                                                       
SMP: Total of 2 processors activated (2664.03 BogoMIPS).                                                                
CPU: All CPU(s) started in SVC mode.                                                                                    
devtmpfs: initialized                                                                                                   
NET: Registered protocol family 16                                                                                      
DMA: preallocated 256 KiB pool for atomic coherent allocations                                                          
xgpiops e000a000.ps7-gpio: gpio at 0xe000a000 mapped to 0xf000c000                                                      
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.                                             
hw-breakpoint: maximum watchpoint size is 4 bytes.                                                                      
bio: create slab <bio-0> at 0                                                                                           
vgaarb: loaded                                                                                                          
SCSI subsystem initialized                                                                                              
usbcore: registered new interface driver usbfs                                                                          
usbcore: registered new interface driver hub                                                                            
usbcore: registered new device driver usb                                                                               
media: Linux media interface: v0.10                                                                                     
Linux video capture interface: v2.00                                                                                    
pps_core: LinuxPs configured (established 8192 bind 8192)                                                               
TCP: reno registered                                                                                                    
UDP hash table entries: 512 (order: 2, 16384 bytes)                                                                     
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)                                                                
NET: Registered protocol family 1                                                                                       
RPC: Registered named UNIX socket transport module.                                                                     
RPC: Registered udp transport module.                                                                                   
RPC: Regis:     DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16                                                   
e0001ÔøΩÔøΩÔøΩkÀΩÔøΩÔøΩÔøΩ[ttyPS0] enabled, bootconsole disabled                                                                     
console [ttyPS0] enabled, bootconsole disabled                                                                          
xdevcfg f8007000.ps7-dev-cfg: ioremap 0xf8007000 to f0064000                                                            
brd: module loaded                                                                                                      
loop: module loaded                                                                                                     
xspips e0006000.ps7-spi: master is unqueued, this is deprecated                                                         
xspips e0006000.ps7-spi: at 0xE0006000 mapped to 0xF0066000, irq=58                                                     
xspips e0007000.ps7-spi: master is unqueued, this is deprecated                                                         
xspips e0007000.ps7-spi: at 0xE0007000 mapped to 0000-0x000000620000 : "qspi-device-tree"                               
0x000000620000-0x000000c00000 : "qspi-rootfs"                                                                           
0x000000c00000-0x000001000000 : "qspi-bitstream"                                                                        
xqspips e000d000.ps7-qspi: at 0xE000D000 mapped to 0xF006A000, irq=51                                                   
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k                                                                      
e1000e: Copyright(c) 1999 - 2013 Intel Corporation.                                                                     
libphy: XEMACPS mii bus: probed                                                                                         
xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54                                                 
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                                                              
ehci-pci: EHCI PCI platform dribps-ehci.0: irq 53, io mem 0x00000000                                                    
xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00                                                                   
hub 1-0:1.0: USB hub found                                                                                              
hub 1-0:1.0: 1 port detected                                                                                            
usbcore: registered new interface driver usb-storage                                                                    
mousedev: PS/2 mouse device common for all mice                                                                         
i2c /dev entries driver                                                                                                 
xi2cps e0004000.ps7-i2c: 400 kHz mmio e0004000 irq 57                                                                   
usb 1-1: new high-speed USB device number 2 using xusbps-ehci                                                           
hub 1-1:1.0: USB hub found                                                                                              
hub 1-1:1.0: 4 ports detected                                                                                           
usb 1-1.3: new low-speed USB device number 3 using xusbps-ehci                                                          
xi2cps e0004000.ps7-i2c: timeout waiting on completion                                                                  
pca954x 0-0074: probe failed                                                                                            
xadcps f8007100.ps7-xadc: enabled:      yes     reference:      external                                                
xwdtps f8005000.ps7-wdt: Xilinx Watchdog Timer at f0074000 with timeout 10s                                             
zynq-edac f8006000.ps7-ddrc: ecc not enabled                                                                            
sdhci: Secure Digital Host Controller Interface driver                                                                  
sdhci: Copyright(c) Pierre Ossman                                                                                       
sdhci-pltfm: SDHCI platform and OF driver helper                                                                        
mmc0: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA                                              
input: Logitech USB Optical Mouse as /devices/amba.0/e0002000.ps7-usb/xusbps-ehci.0/usb1/1-1/1-1.3/1-1.3:1.0/input/inpu0
hid-generic 0003:046D:C05A.0001: input: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-xusbps-ehci.0-1.3/input0
usbcore: registered new interface driver usbhid                                                                         
usbhid: USB HID core driver                                                                                             
TCP: cubic registered                                                                                                   
NET: Registered protocol family 17                                                                                      
VFP support v0.3: implementor 41 architecture 3 part RAMDISK: gzip image found at block 0                               
RAMDISK: incomplete write (25546 != 32768)                                                                              
write error                                                                                                             
VFS: Mounted root (ext2 filesystem) on device 1:0.                                                                      
devtmpfs: mounted                                                                                                       
Freeing unused kernel memory: 172K (c0562000 - c058d000)                                                                
INIT: version 2.88 booting                                                                                              
Starting udev                                                                                                           
udevd[571]: starting version 182                                                                                        
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory                                
bootlogd.                                                                                                               
Populating dev cache                                                                                                    
hwclock: can't open '/dev/misc/rtc': No such file or directory                                                          
Wed Apr 16 16:29:00 UTC 2014                                                                                            
hwclock: can't open '/dev/misc/rtc': No such file or directory                                                          
INIT: Entering runlevel: 5                                                                                              
Configuring network interfaces... udhcpc (v1.22.1) started                                                              
Sending discover...                                                                                                     
xemacps e000b000.ps7-ethernet: Set clk to 124999998 Hz                                                                  
xemacps e000b000.ps7-ethernet: link up (1000/FULL)                                                                      
Sending discover...                                                                                                     
Sending select for 192.168.1.110...                                                                                     
Lease of 192.168.1.110 obtained, lease time 86400                                                                       
/etc/udhcpc.d/50default: Adding DNS 192.168.1.1                                                                         
/etc/udhcpc.d/50default: Adding DNS 91.74.74.74                                                                         
/etc/udhcpc.d/50default: Adding DNS 94.200.200.200                                                                      
done.                                                                                                                   
hwclock: can't open '/dev/misc/rtc': No such file or directory                                                          
Starting syslogd/klogd: done                                                                                            
Stopping Bootlog daemon: bootlogd.                                                                                      
                                                                                                                        
Poky (Yocto Project Reference Distro) 1.6+snapshot-20140416 zc706-zynq7 /dev/ttyPS0                                     
                                                                                                                        
zc706-zynq7 login: root                                                                                                 
root at zc706-zynq7:~# 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1536 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20140416/701e75e4/attachment.pgp>


More information about the meta-xilinx mailing list