Post Go back to editing

Unable to create iiobuffer : No such device or address

Hi Support Team,

using latest Linux kernel and compiled Linux kernel error free. Was able boot along with hdl bit file.

While trying to capture ( KCU105 + FMCDAQ2 )  Analog using  IIO Oscilloscope following is the error I am getting.

Kindly help me fixing the same.

"Unable to create iiobuffer : No such device or address"



  • Attached booting log FYI

    Ramdisk addr 0x00000000,
    Compiled-in FDT at 8040ccd4
    Linux version 4.14.0-g6bf0dbc8a7cb-dirty (rtes@rtes-VirtualBox) (gcc version 7.3                                                                                        .1 20180425 (crosstool-NG 1.20.0)) #6 Wed Mar 20 09:52:01 IST 2019
    setup_cpuinfo: initialising
    setup_cpuinfo: Using full CPU PVR support
    setup_memory: max_mapnr: 0x30000
    setup_memory: min_low_pfn: 0x80000
    setup_memory: max_low_pfn: 0xb0000
    setup_memory: max_pfn: 0xb0000
    Zone ranges:
      DMA      [mem 0x0000000080000000-0x00000000afffffff]
      Normal   empty
    Movable zone start for each node
    Early memory node ranges
      node   0: [mem 0x0000000080000000-0x00000000ffffefff]
    Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffefff]
    On node 0 totalpages: 196608
    free_area_init_node: node 0, pgdat 805b560c, node_mem_map 81000000
      DMA zone: 1536 pages used for memmap
      DMA zone: 0 pages reserved
      DMA zone: 196608 pages, LIFO batch:31
    pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    pcpu-alloc: [0] 0
    Built 1 zonelists, mobility grouping on.  Total pages: 195072
    Kernel command line: console=ttyUL0,115200
    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: 766476K/786432K available (4147K kernel code, 140K rwdata, 1488K rodata,                                                                                         6216K init, 98K bss, 19956K reserved, 0K cma-reserved)
    Kernel virtual memory layout:
      * 0xffffe000..0xfffff000  : fixmap
      * 0xffffe000..0xffffe000  : early ioremap
      * 0xb0000000..0xffffe000  : vmalloc & ioremap
    NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    irq-xilinx: /amba_pl/interrupt-controller@41200000: num_irq=16, edge=0x410
    /amba_pl/timer@41c00000: irq=1
    clocksource: xilinx_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_id                                                                                        le_ns: 19112604467 ns
    sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
    Calibrating delay loop... 49.35 BogoMIPS (lpj=246784)
    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)
    devtmpfs: initialized
    random: get_random_u32 called from bucket_table_alloc+0x248/0x29c with crng_init                                                                                        =0
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911                                                                                        2604462750000 ns
    futex hash table entries: 256 (order: -1, 3072 bytes)
    NET: Registered protocol family 16
    clocksource: Switched to clocksource xilinx_clocksource
    NET: Registered protocol family 2
    TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    UDP hash table entries: 512 (order: 1, 8192 bytes)
    UDP-Lite hash table entries: 512 (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.
    random: fast init done
    Skipping unavailable RESET gpio -2 (reset)
    workingset: timestamp_bits=30 max_order=18 bucket_order=0
    jffs2: version 2.2. (NAND) (SUMMARY)  � 2001-2006 Red Hat, Inc.
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    io scheduler mq-deadline registered
    io scheduler kyber registered
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    40600000.serial: ttyUL0 at MMIO 0x40600000 (irq = 5, base_baud = 0) is a uartlit                                                                                        e
    console [ttyUL0] enabled
    brd: module loaded
    Xilinx SystemACE device driver, major=254
    libphy: Fixed MDIO Bus: probed
    xilinx_axienet 40e00000.ethernet: TX_CSUM 2
    xilinx_axienet 40e00000.ethernet: RX_CSUM 2
    libphy: Xilinx Axi Ethernet MDIO: probed
    i2c /dev entries driver
    i2c i2c-0: Added multiplexed i2c bus 1
    at24 2-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
    i2c i2c-0: Added multiplexed i2c bus 2
    i2c i2c-0: Added multiplexed i2c bus 3
    i2c i2c-0: Added multiplexed i2c bus 4
    pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544
    ad9523 spi0.0: spi0.0 supply vcc not found, using dummy regulator
    ad9523 spi0.0: probed ad9523-1
    axi_adxcvr 44a50000.axi-ad9680-adxcvr: AXI-ADXCVR-RX (16.01.a) using GTH3 at 0x4                                                                                        4A50000 mapped to 0xb0190000. Number of lanes: 4.
    axi_adxcvr 44a60000.axi-ad9144-adxcvr: AXI-ADXCVR-TX (16.01.a) using GTH3 at 0x4                                                                                        4A60000 mapped to 0xb03b0000. Number of lanes: 4.
    NET: Registered protocol family 17
    ad9680 spi0.2: AD9680 PLL LOCKED
    cf_axi_adc 44a10000.axi-ad9680-hpc: ADI AIM (10.00.b) at 0x44A10000 mapped to 0x                                                                                        b03f0000, probed ADC AD9680 as MASTER
    cf_axi_dds 44a04000.axi-ad9144-hpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.00.b                                                                                        ) at 0x44A04000 mapped to 0xb0410000, probed DDS AD9144
    Freeing unused kernel memory: 6216K
    This architecture does not have kernel memory protection.
    Starting logging: OK
    Starting network...
    Starting network...
    udhcpc (v1.23.1) started
    net eth0: Promiscuous mode disabled.
    net eth0: Promiscuous mode disabled.
    Sending discover...
    xilinx_axienet 40e00000.ethernet eth0: Link is Down
    xilinx_axienet 40e00000.ethernet eth0: Link is Up - 100Mbps/Full - flow control                                                                                         rx/tx
    Sending discover...
    Sending select for
    Lease of obtained, lease time 86400
    deleting routers
    adding dns
    adding dns
    Starting sshd: OK
    Starting IIO Server Daemon OK
    Welcome to Buildroot
    buildroot login: root
    # ad9680 spi0.2: PLL LOCKED
    ad9680 spi0.2: PLL LOCKED
    random: crng init done
    # halt
    The system is going down NOW!
    Sent SIGTERM to all processes
    Sent SIGKILL to all processes
    Requesting system halt
    reboot: System halted
    Machine halt...

  • Are you running this IIO Oscilloscope on the target or on the host ?

    The boot log is a bit confusing.

    It shows the system halting.

  • Hi,

    We'll do a test on our side too.


  • Can you try the attached files? They were built from the 2018_R2 branches.


  • Hi aardelean,

    Can you kindly suggest your input on the same. I tried modifiying sample rate of ADC and DAC . No Output on the screen . If I download the pre-comiled linux along with my system-top bit file . Loopback works fine.

    Awaiting for your reply


    C P U

  • How did you try to modify the sampling rates?


  • Hi Dragos,

    Using IIO Oscilloscope via SPI communication.


    C P U

  • It's still not clear - did you update the out_altvoltage*_frequency attribute? The configuration of all the components, including the JESD transceivers should be also updated accordingly, so only directly writing to a couple of registers won't work.

    What exactly sampling rate do you need?


  • Hi Dragon,

    My  input RF signal  is 400MHz continuious pulse (  CW ) of tone frequently of 100KHz and sample rate is 100MSPS.

    Can you kindly provide details of registers to be modified from IIIO Oscilloscope.

    With Regards

    C P U

  • Does that mean that your carrier frequency is 400 MHz? If this is the case, your sampling rate should be at least twice of this frequency.


  • Hi DragosB,

    Yes my carrier frequecy is 400 MHz.

    Using below kernel which is downloaded from binary of KCU105 + FMCDAQ2 

    Linux version 4.9.0-g87beab60b2b9 (dragos@debian) (gcc version 5.2.0 (crosstool-                                                                                        NG 1.20.0) ) #163 Tue May 8 12:41:17 EEST 2018

    and I have compiled file using vivado 18.2 hdl . find the attached kenel and system.bit file

    I am unable to receive carrier frequency above 80MHz , even ADC is sampled @ 1000MSPS.

    Usingin IIO Oscilloscope to capture the RF input.

    With Regards,

    C P

  • Hi DragonB,

    Can you provide me the github link for Linux version 4.9.0-g87beab60b2b9 source.

    This version is stable and no issues . I want source for modifing ad9860 settings at driver level.

    With Regards,

    C P Umashankar

Reply Children