Post Go back to editing

Can't using FMCOMMS11 with iio-osc


Recently we got a FMCOMMS11 from arrow and we quickly setup the zc706 FPGA environment with related image file (the latest one).

but we just can't received RX file on the osc plot (iio_version: 0.21).

here's our osc screenshot:

As you can see the terminal keep showing "timeout" while fetching data from ADC.

Also the dmesg shows the linux can't get DAC clock while loading the driver




  • The message is attached. Thanks!

    U-Boot 2014.07-dirty (Nov 20 2014 - 17:07:55)
    Board:  Xilinx Zynq
    I2C:   ready
    DRAM:  ECC disabled 1 GiB
    MMC:   zynq_sdhci: 0
    SF: Detected S25FL128S_64K with page size 512 Bytes, erase size 128 KiB, total 32 MiB
    *** Warning - bad CRC, using default environment
    In:    serial
    Out:   serial
    Err:   serial
    Net:   Gem.e000b000
    Hit any key to stop autoboot:  0
    Device: zynq_sdhci
    Manufacturer ID: 3
    OEM: 5344
    Name: SR64G
    Tran Speed: 50000000
    Rd Block Len: 512
    SD version 3.0
    High Capacity: Yes
    Capacity: 59.5 GiB
    Bus Width: 4-bit
    reading uEnv.txt
    392 bytes read in 8 ms (47.9 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from SD ...
    Running uenvcmd ...
    Copying Linux from SD to RAM...
    reading uImage
    4543232 bytes read in 413 ms (10.5 MiB/s)
    reading devicetree.dtb
    18033 bytes read in 32 ms (549.8 KiB/s)
    reading uramdisk.image.gz
    ** Unable to read file uramdisk.image.gz **
    ## Booting kernel from Legacy Image at 03000000 ...
       Image Name:   Linux-4.14.0-g8a57ede
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4543168 Bytes = 4.3 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 02a00000
       Booting using the fdt blob at 0x2a00000
       Loading Kernel Image ... OK
       Loading Device Tree to 1fff8000, end 1ffff670 ... OK
    Starting kernel ...
    Uncompressing Linux... done, booting the kernel.
    Booting Linux on physical CPU 0x0
    Linux version 4.14.0-g8a57ede ( (gcc version 7.3.1 20180314 (Linaro GCC 7.3-2018.04-rc3)) #652 SMP PREEMPT Mon Feb 3 16:34:57 GMT 2020
    CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    OF: fdt: Machine model: Xilinx Zynq ZC706
    OF: fdt: earlycon: stdout-path /amba@0/uart@E0001000 not found
    Memory policy: Data cache writealloc
    cma: Reserved 128 MiB at 0x38000000
    random: fast init done
    percpu: Embedded 16 pages/cpu @ef7c7000 s32972 r8192 d24372 u65536
    Built 1 zonelists, mobility grouping on.  Total pages: 260608
    Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlycon rootfstype=ext4 rootwait
    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: 897024K/1048576K available (6144K kernel code, 334K rwdata, 2572K rodata, 1024K init, 153K bss, 20480K reserved, 131072K cma-reserved, 131072K highmem)
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
        vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
        lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .text : 0xc0008000 - 0xc0700000   (7136 kB)
          .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
          .data : 0xc0b00000 - 0xc0b538c0   ( 335 kB)
           .bss : 0xc0b58e34 - 0xc0b7f614   ( 154 kB)
    Preemptible hierarchical RCU implementation.
            RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
            Tasks RCU enabled.
    RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    efuse mapped to f0802000
    slcr mapped to f0804000
    L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
    L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
    L2C-310 erratum 769419 enabled
    L2C-310 enabling early BRESP for Cortex-A9
    L2C-310 full line of zeros enabled for Cortex-A9
    L2C-310 ID prefetch enabled, offset 1 lines
    L2C-310 dynamic clock gating enabled, standby mode enabled
    L2C-310 cache controller enabled, 8 ways, 512 kB
    L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
    zynq_clock_init: clkc starts at f0804100
    Zynq clock init
    sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
    clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns: 440795209040 ns
    Switching to timer-based delay loop, resolution 3ns
    clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
    timer #0 at f080c000, irq=17
    Console: colour dummy device 80x30
    Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333333)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    CPU: Testing write buffer coherency: ok
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0x100000 - 0x100060
    Hierarchical SRCU implementation.
    smp: Bringing up secondary CPUs ...
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    smp: Brought up 1 node, 2 CPUs
    SMP: Total of 2 processors activated (1333.33 BogoMIPS).
    CPU: All CPU(s) started in SVC mode.
    devtmpfs: initialized
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    futex hash table entries: 512 (order: 3, 32768 bytes)
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    hw-breakpoint: maximum watchpoint size is 4 bytes.
    zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xf0880000
    zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
    e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 3125000) is a xuartps
    console [ttyPS0] enabled
    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: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <>
    PTP clock support registered
    FPGA manager framework
    Advanced Linux Sound Architecture Driver Initialized.
    clocksource: Switched to clocksource arm_global_timer
    NET: Registered protocol family 2
    TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    UDP hash table entries: 512 (order: 2, 16384 bytes)
    UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    NET: Registered protocol family 1
    hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
    hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
    workingset: timestamp_bits=30 max_order=18 bucket_order=0
    bounce: pool size: 64 pages
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    io scheduler mq-deadline registered
    io scheduler kyber registered
    dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
    dma-pl330 f8003000.dmac:        DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
    brd: module loaded
    loop: module loaded
    m25p80 spi1.0: found s25fl128s, expected n25q128a11
    m25p80 spi1.0: s25fl128s (32768 Kbytes)
    5 ofpart partitions found on MTD device spi1.0
    Creating 5 MTD partitions on "spi1.0":
    0x000000000000-0x000000500000 : "boot"
    0x000000500000-0x000000520000 : "bootenv"
    0x000000520000-0x000000540000 : "config"
    0x000000540000-0x000000fc0000 : "image"
    0x000000fc0000-0x000002000000 : "spare"
    MACsec IEEE 802.1AE
    libphy: Fixed MDIO Bus: probed
    tun: Universal TUN/TAP device driver, 1.6
    libphy: MACB_mii_bus: probed
    macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 28 (00:0a:35:00:01:22)
    Marvell 88E1116R e000b000.ethernet-ffffffff:07: attached PHY driver [Marvell 88E1116R] (mii_bus:phy_addr=e000b000.ethernet-ffffffff:07, irq=POLL)
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    usbcore: registered new interface driver usb-storage
    usbcore: registered new interface driver usbserial
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial support registered for generic
    usbcore: registered new interface driver ftdi_sio
    usbserial: USB Serial support registered for FTDI USB Serial Device
    chipidea-usb2 e0002000.usb: e0002000.usb supply vbus not found, using dummy regulator
    ULPI transceiver vendor/product ID 0x0424/0x0007
    Found SMSC USB3320 ULPI transceiver.
    ULPI integrity check: passed.
    ci_hdrc ci_hdrc.0: EHCI Host Controller
    ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
    ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    i2c /dev entries driver
    si570: probe of 1-005d failed with error -5
    i2c i2c-0: Added multiplexed i2c bus 1
    adv7511 2-0039: 2-0039 supply avdd not found, using dummy regulator
    adv7511 2-0039: 2-0039 supply dvdd not found, using dummy regulator
    adv7511 2-0039: 2-0039 supply pvdd not found, using dummy regulator
    adv7511 2-0039: 2-0039 supply bgvdd not found, using dummy regulator
    adv7511 2-0039: 2-0039 supply dvdd-3v not found, using dummy regulator
    i2c i2c-0: Added multiplexed i2c bus 2
    at24 3-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
    i2c i2c-0: Added multiplexed i2c bus 3
    pca953x 4-0021: 4-0021 supply vcc not found, using dummy regulator
    pca953x 4-0021: interrupt support not compiled in
    i2c i2c-0: Added multiplexed i2c bus 4
    rtc-pcf8563 5-0051: rtc core: registered rtc-pcf8563 as rtc0
    i2c i2c-0: Added multiplexed i2c bus 5
    at24 6-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
    i2c i2c-0: Added multiplexed i2c bus 6
    i2c i2c-0: Added multiplexed i2c bus 7
    i2c i2c-0: Added multiplexed i2c bus 8
    pca954x 0-0074: registered 8 multiplexed busses for I2C switch pca9548
    IR NEC protocol handler initialized
    IR RC5(x/sz) protocol handler initialized
    IR RC6 protocol handler initialized
    IR JVC protocol handler initialized
    IR Sony protocol handler initialized
    IR SANYO protocol handler initialized
    IR Sharp protocol handler initialized
    IR MCE Keyboard/mouse protocol handler initialized
    IR XMP protocol handler initialized
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (1.1.1)
    gspca_main: v2.14.0 registered
    cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at f08ee000 with timeout 10s
    Xilinx Zynq CpuIdle Driver started
    failed to register cpuidle driver
    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.mmc [e0100000.mmc] using ADMA
    ledtrig-cpu: registered to indicate activity on CPUs
    hidraw: raw HID events driver (C) Jiri Kosina
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    ad8366 spi0.4: spi0.4 supply vcc not found, using dummy regulator
    ad8366 spi0.6: spi0.6 supply vcc not found, using dummy regulator
    adf5355 spi0.5: spi0.5 supply vcc not found, using dummy regulator
    ad9162 spi0.2: Failed to get clocks, -517
    mmc0: new high speed SDXC card at address e624
    mmcblk0: mmc0:e624 SR64G 59.5 GiB
    usb 1-1: new high-speed USB device number 2 using ci_hdrc
     mmcblk0: p1 p2 p3
    axi_adxcvr 44a50000.axi-adxcvr-rx: AXI-ADXCVR-RX (17.01.a) using GTX2 at 0x44A50000 mapped to 0xf092a000. Number of lanes: 8.
    axi_adxcvr 44a60000.axi-adxcvr-tx: AXI-ADXCVR-TX (17.01.a) using GTX2 at 0x44A60000 mapped to 0xf092c000. Number of lanes: 8.
    axi_sysid 45000000.axi-sysid-0: [fmcomms11] on [zc706] git <2e4ac278eb09c13471e381459b0da790ebad8373> clean [2019-12-05 01:22:46] UTC
    fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
    NET: Registered protocol family 17
    Registering SWP/SWPB emulation handler
    hub 1-1:1.0: USB hub found
    hub 1-1:1.0: 4 ports detected
    Console: switching to colour frame buffer device 240x67
    axi-hdmi 70e00000.axi_hdmi: fb0:  frame buffer device
    [drm] Initialized axi_hdmi_drm 1.0.0 20120930 for 70e00000.axi_hdmi on minor 0
    ad9467 spi0.1: AD9625 PLL LOCKED
    ad9162 spi0.2: AD916x DAC Chip ID: 4
    ad9162 spi0.2: AD916x DAC Product ID: 9162
    ad9162 spi0.2: AD916x DAC Product Grade: 0
    ad9162 spi0.2: AD916x DAC Product Revision: 3
    ad9162 spi0.2: AD916x Revision: 1.0.0
    ad9162 spi0.2: Serdes PLL Locked (stat: b)
    ad9162 spi0.2: code_grp_sync: ff
    ad9162 spi0.2: frame_sync_stat: ff
    ad9162 spi0.2: good_checksum_stat: ff
    ad9162 spi0.2: init_lane_sync_stat: ff
    ad9162 spi0.2: 8 lanes @ 9830 GBps
    usb 1-1.2: new low-speed USB device number 3 using ci_hdrc
    ad9162 spi0.2: Probed.
    asoc-simple-card adv7511_hdmi_snd: spdif-hifi <-> 75c00000.axi-spdif-tx mapping ok
    cf_axi_adc 44a10000.axi-ad9625-hpc: ADI AIM (10.01.b) at 0x44A10000 mapped to 0xf1470000, probed ADC AD9625 as MASTER
    cf_axi_dds 44a00000.axi-ad9162-hpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0x44A00000 mapped to 0xf1484000, probed DDS AD9162
    input: gpio_keys as /devices/soc0/gpio_keys/input/input0
    rtc-pcf8563 5-0051: setting system clock to 2020-12-10 08:23:39 UTC (1607588619)
    ALSA device list:
      #0: HDMI monitor
    input: NOVATEK USB Keyboard as /devices/soc0/amba/e0002000.usb/ci_hdrc.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:0461:0010.0001/input/input1
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    VFS: Mounted root (ext4 filesystem) on device 179:2.
    devtmpfs: mounted
    Freeing unused kernel memory: 1024K
    hid-generic 0003:0461:0010.0001: input,hidraw0: USB HID v1.10 Keyboard [NOVATEK USB Keyboard] on usb-ci_hdrc.0-1.2/input0
    input: NOVATEK USB Keyboard as /devices/soc0/amba/e0002000.usb/ci_hdrc.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:0461:0010.0002/input/input2
    hid-generic 0003:0461:0010.0002: input,hidraw1: USB HID v1.10 Device [NOVATEK USB Keyboard] on usb-ci_hdrc.0-1.2/input1
    Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory
     * Setting up X socket directories...                                    [ OK ]
     * STARTDISTCC is set to false in /etc/default/distcc
     * /usr/bin/distccd not starting
     * Starting IIO Daemon iiod                                              [ OK ]
    Last login: Thu Jan  1 00:00:07 UTC 1970 on tty1
    Welcome to Linaro 14.04 (GNU/Linux 4.14.0-g8a57ede armv7l)
     * Documentation:

  • This looks good.

    Can you run:

    root@analog:~# TERM=vt100 jesd_status -s

    And post the output again?


  • Thanks for checking!





  • This looks all good. No idea why you don't see RX samples.

    Can you try attached build. I just tested it on my side and it works for sure.


  • Hi Michael,

    It still can't work properly. I also tried "Production testing of the AD-FMCOMMS11", it shows "ERROR: Refilling buffers failed."  Again the error is caused by RX.



  • I assume you're using a Rev.C version of the board?

Reply Children