Zynq SDR Support from Communications System Toolbox - Ethernet problem

조회 수: 5 (최근 30일)
ZendX . 2017년 2월 27일
답변: Ousman Sadiq . 2017년 3월 1일
My HW: Zedboard rev D and FMCOMMS1-EBZ rev C boards.
I have installed Communications System Toolbox Support Package for Xilinx Zynq-Based Radio version
Following "Support Package Installer", i got a bootable SD card with FW :)
Zendboard boots from this SD, but network is not working.
Link is up, activity LED is blinking, but i don't see any mac-addresses on my ethernet switch.
Here is boot log:
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
2784832 bytes read
reading devicetree.dtb
9727 bytes read
reading uramdisk.image.gz
5289350 bytes read
## Booting kernel from Legacy Image at 03000000 ...
Image Name: Linux-3.6.0-xilinx-00001-gfa1c1b
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2784768 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5289286 Bytes = 5 MiB
Load Address: 00800000
Entry Point: 00800000
Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
Booting using the fdt blob at 0x02a00000
Loading Kernel Image ... OK
Loading Ramdisk to 1f649000, end 1fb54546 ... OK
Loading Device Tree to 1f643000, end 1f6485fe ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.6.0-xilinx-00001-gfa1c1ba-dirty (osadiq@gla-osadiq-deb7-64) (gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-40) ) #5 SMP PREEMPT Thu Jul 31 09:14:27 EDT 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 Zynq
bootconsole [earlycon0] enabled
cma: CMA: reserved 256 MiB at 0f400000
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 7 pages/cpu @c0992000 s7488 r8192 d12992 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: console=ttyPS0,115200 root=/dev/ram rw cma=256M coherent_pool=16M ip= earlyprintk
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 246152k/246152k available, 278136k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc04f17a4 (5030 kB)
.init : 0xc04f2000 - 0xc0518d40 ( 156 kB)
.data : 0xc051a000 - 0xc05609d0 ( 283 kB)
.bss : 0xc05609f4 - 0xc058ac70 ( 169 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.
Zynq clock init
Xilinx, no compatible timer found, using default
xlnx,ps7-ttc-1.00.a #0 at 0xe0800000, irq=43
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
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
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
Setting up static identity map for 0x398338 - 0x39836c
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72360000, Cache size: 524288 B
Map SLCR registers
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).
devtmpfs: initialized
NET: Registered protocol family 16
DMA: preallocated 16384 KiB pool for atomic coherent allocations
xgpiops e000a000.ps7-gpio: gpio at 0xe000a000 mapped to 0xe0808000
registering platform device 'pl330' id 0
registering platform device 'arm-pmu' id 0
registering platform device 'zynq-dvfs' id 0
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
xslcr xslcr.0: at 0xF8000000 mapped to 0xF8000000
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
Switching to clocksource xttcpss_timer1
NET: Registered protocol family 2
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 5164K
pl330 dev 0 probe success
jffs2: version 2.2. (NAND) (SUMMARY) &copy; 2001-2006 Red Hat, Inc.
msgmni has been set to 1002
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
e0001▒▒▒׋▒Led, bootconsole disabled
console [ttyPS0] enabled, bootconsole disabled
xdevcfg f8007000.ps7-dev-cfg: ioremap f8007000 to e085c000 with size 1000
brd: module loaded
loop: module loaded
xqspips e000d000.ps7-qspi: master is unqueued, this is deprecated
xqspips e000d000.ps7-qspi: at 0xE000D000 mapped to 0xE085E000, irq=51
e1000e: Intel(R) PRO/1000 Network Driver - 2.0.0-k
e1000e: Copyright(c) 1999 - 2012 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
ULPI transceiver vendor/product ID 0x0451/0x1507
Found TI TUSB1210 ULPI transceiver.
ULPI integrity check: passed.
xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1
xusbps-ehci xusbps-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
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
xi2cps e0004000.ps7-i2c: 400 kHz mmio e0004000 irq 57
xwdtps f8005000.ps7-wdt: Xilinx Watchdog Timer at 0xe0866000 with timeout 10s
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
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 30 variant 9 rev 4
Registering SWP/SWPB emulation handler
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
mmc0: new high speed SDHC card at address e624
mmcblk0: mmc0:e624 SU08G 7.40 GiB
IP-Config: Complete:
device=eth0, addr=, mask=, gw=
mmcblk0: p1
host=ZC706, domain=, nis-domain=(none)
bootserver=, rootserver=, rootpath=
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing init memory: 152K
Starting rcS...
++ Mounting filesystem
++ Setting up mdev
++ Starting telnet daemon
++ Starting http daemon
++ Starting ftp daemon
++ Starting ssh daemon
++ Running user script init.sh from SD Card
Configure network
setting recv socket buffer limit to 1048576
net.core.rmem_max = 1048576
setting send socket buffer limit to 1048576
net.core.wmem_max = 1048576
Detected target.sh ...
programming ZedBoardADIFMCOMMS1RevB.bit.bin bitstream
Done programming bitstream
Load Kernel modules
======= The Mathworks 2014 (c) Zynq SDR ARM Software =======
Built Date: Jun 15 2016
Built Time: 14:42:22
======= Reading PIC Firmware from RF Card
======= Version: AD-FMCOMMS1-EBZ RevB FW003 =======
But, as i said, i don't see any mac-addresses on my switch port.
Even if i connect zenboard directly to my laptop with ip, ip is not responding (i don't see any ingoing ethernet frames (with wireshark)).

답변 (1개)

Ousman Sadiq
Ousman Sadiq 2017년 3월 1일
Thanks for your question, I'd like to confirm a few things in order to help you best.
  1. You are using MATLAB R2016b and got the latest version of the support package.
  2. You have a ZedBoard and an AD-FMCOMMS1 RF card
  3. You ran through the Add-On Manager and set up your hardware as described on this page
  4. This process failed at step 8
  5. You were connecting via an Ethernet switch but have also tried to connect directly to your laptop Ethernet port and repeated the setup procedure
  6. You are using Wireshark to detect packets being received from the ZedBoard and have been unsuccessful. I assume you are doing this during the setup procedure


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by