Problems recognising the device [ZC706+ADRV9009]

Hello,

We have a ZC706 and an ADRV9009. We tried booting the SD card with the “zynq-zc706-adv7511-adrv9371 image” and it boots correctly. It let us ran the updates following the instructions in the User Guide (https://wiki.analog.com/resources/tools-software/linux-software/zynq_images#staying_up_to_date) without problems. It also let us install the gr-iio blocks (wiki.analog.com/.../gnuradio). However, the ZC707 seems to have problems recognizing the ADRV9009.

We created a SSH connection with the ZC706 and our PC. With it, we can access the files in the ZC706 and launch applications, including GNU Radio and iioOsciloscope.

When we execute the command iio_info it recognizes 3 devices (probably devices inside the ADRV9009?) but not the ADRV9009 itself.

When we try to use the GNU Radio blocks it also seems to have problems recognizing the ADRV9009, when using the blocks IIO Device Source and FMComms. We have tried multiple combinations as the ID parameters of the blocks, including the ones in the User Guide (https://wiki.analog.com/resources/tools-software/linux-software/gnuradio), but no one seems to be working as ID, not “local:” nor “ip:XXX.XXX.XXX.XXX”. Every single try gives us the RuntimeError: “Device not found”.

Do you have any idea of what we are doing wrong, or what is missing? 

 

We also tried booting the SD with the ADRV9009-SDCARD image (available in https://www.analog.com/en/design-center/landing-pages/001/transceiver-evaluation-software.html), using the ZC706, and it gives us an error (“Kernel panic”). Is this image, and not the “zynq-zc706-adv7511-adrv9371 image” previously used, necessary?

 

Thank you in advance.

 

PS.: I have attached some logs like iio_info, dmesg and boot.

0815.iio_info.txt
root@analog:~# iio_info                                                         
Library version: 0.15 (git tag: 6ecff5d)                                        
Compiled with backends: local xml ip                                            
IIO context created with local backend.                                         
Backend version: 0.15 (git tag: 6ecff5d)                                        
Backend description string: Linux analog 4.9.0-g2398d50 #189 SMP PREEMPT Tue Jun
 26 09:52:32 IST 2018 armv7l                                                    
IIO context has 1 attributes:                                                   
        local,kernel: 4.9.0-g2398d50                                            
IIO context has 3 devices:                                                      
        iio:device1: xadc                                                       
                9 channels found:                                               
                        voltage5: vccoddr (input)                               
                        2 channel-specific attributes found:                    
                                attr  0: scale value: 0.732421875               
                                attr  1: raw value: 2049                        
                        voltage0: vccint (input)                                
                        2 channel-specific attributes found:                    
                                attr  0: raw value: 1362                        
                                attr  1: scale value: 0.732421875               
                        voltage4: vccpaux (input)                               
                        2 channel-specific attributes found:                    
                                attr  0: scale value: 0.732421875               
                                attr  1: raw value: 2450                        
                        temp0:  (input)                                         
                        3 channel-specific attributes found:                    
                                attr  0: scale value: 123.040771484             
                                attr  1: offset value: -2219                    
                                attr  2: raw value: 2531                        
                        voltage7: vrefn (input)                                 
                        2 channel-specific attributes found:                    
                                attr  0: scale value: 0.732421875               
                                attr  1: raw value: -1                          
                        voltage1: vccaux (input)                                
                        2 channel-specific attributes found:                    
                                attr  0: scale value: 0.732421875               
                                attr  1: raw value: 2444                        
                        voltage2: vccbram (input)                               
                        2 channel-specific attributes found:                    
                                attr  0: scale value: 0.732421875               
                                attr  1: raw value: 1362                        
                        voltage3: vccpint (input)                               
                        2 channel-specific attributes found:                    
                                attr  0: scale value: 0.732421875               
                                attr  1: raw value: 1363                        
                        voltage6: vrefp (input)                                 
                        2 channel-specific attributes found:                    
                                attr  0: raw value: 1703                        
                                attr  1: scale value: 0.732421875               
                1 device-specific attributes found:                             
                                attr  0: sampling_frequency value: 961538       
        iio:device2: ad9528-1                                                   
                4 channels found:                                               
                        altvoltage12: DEV_SYSREF (output)                       
                        3 channel-specific attributes found:                    
                                attr  0: phase value: 0.000000                  
                                attr  1: frequency value: 120000                
                                attr  2: raw value: 1                           
                        altvoltage1: FMC_CLK (output)                           
                        3 channel-specific attributes found:                    
                                attr  0: phase value: 0.000000                  
                                attr  1: frequency value: 122880000             
                                attr  2: raw value: 1                           
                        altvoltage13: DEV_CLK (output)                          
                        3 channel-specific attributes found:                    
                                attr  0: raw value: 1                           
                                attr  1: frequency value: 122880000             
                                attr  2: phase value: 0.000000                  
                        altvoltage3: FMC_SYSREF (output)                        
                        3 channel-specific attributes found:                    
                                attr  0: raw value: 1                           
                                attr  1: frequency value: 120000                
                                attr  2: phase value: 0.000000                  
                9 device-specific attributes found:                             
                                attr  0: sync_dividers ERROR: Input/output error
 (-5)                                                                           
                                attr  1: pll2_locked value: 1                   
                                attr  2: pll2_feedback_clk_present value: 1     
                                attr  3: pll1_locked value: 0                   
                                attr  4: pll1_reference_clk_ab_missing value: 1 
                                attr  5: pll1_reference_clk_a_present value: 0  
                                attr  6: vcxo_clk_present value: 1              
                                attr  7: pll1_feedback_clk_present value: 1     
                                attr  8: pll1_reference_clk_b_present value: 0  
                1 debug attributes found:                                       
                                debug attr  0: direct_reg_access value: 0x18    
        iio:device0: ad7291                                                     
                9 channels found:                                               
                        voltage6:  (input)                                      
                        2 channel-specific attributes found:                    
                                attr  0: raw value: 917                         
                                attr  1: scale value: 0.610351562               
                        temp0:  (input)                                         
                        3 channel-specific attributes found:                    
                                attr  0: scale value: 250                       
                                attr  1: raw value: 97                          
                                attr  2: mean_raw value: 96                     
                        voltage3:  (input)                                      
                        2 channel-specific attributes found:                    
                                attr  0: raw value: 2730                        
                                attr  1: scale value: 0.610351562               
                        voltage7:  (input)                                      
                        2 channel-specific attributes found:                    
                                attr  0: raw value: 2150                        
                                attr  1: scale value: 0.610351562               
                        voltage0:  (input)                                      
                        2 channel-specific attributes found:                    
                                attr  0: raw value: 2797                        
                                attr  1: scale value: 0.610351562               
                        voltage4:  (input)                                      
                        2 channel-specific attributes found:                    
                                attr  0: raw value: 2989                        
                                attr  1: scale value: 0.610351562               
                        voltage1:  (input)                                      
                        2 channel-specific attributes found:                    
                                attr  0: raw value: 2151                        
                                attr  1: scale value: 0.610351562               
                        voltage5:  (input)                                      
                        2 channel-specific attributes found:                    
                                attr  0: raw value: 2988                        
                                attr  1: scale value: 0.610351562               
                        voltage2:  (input)                                      
                        2 channel-specific attributes found:                    
                                attr  0: raw value: 2039                        
                                attr  1: scale value: 0.610351562               
root@analog:~# iio_attr -c                                                      
IIO context has 3 devices:                                                      
        iio:device1: xadc, found 9 channels                                     
        iio:device2: ad9528-1, found 4 channels                                 
        iio:device0: ad7291, found 9 channels   
dmesg.log
root@analog:~# dmesg                                                            
Booting Linux on physical CPU 0x0                                               
Linux version 4.9.0-g2398d50 (jenkins@romlx1) (gcc version 6.2.1 20161114 (Linar
o GCC Snapshot 6.2-2016.11) ) #189 SMP PREEMPT Tue Jun 26 09:52:32 IST 2018     
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                                        
bootconsole [earlycon0] enabled                                                 
cma: Reserved 128 MiB at 0x38000000                                             
Memory policy: Data cache writealloc                                            
On node 0 totalpages: 262144                                                    
free_area_init_node: node 0, pgdat c084de80, node_mem_map ef7f7000              
  Normal zone: 1536 pages used for memmap                                       
  Normal zone: 0 pages reserved                                                 
  Normal zone: 196608 pages, LIFO batch:31                                      
  HighMem zone: 65536 pages, LIFO batch:15                                      
percpu: Embedded 13 pages/cpu @ef7cc000 s23564 r8192 d21492 u53248              
pcpu-alloc: s23564 r8192 d21492 u53248 alloc=13*4096                            
pcpu-alloc: [0] 0 [0] 1                                                         
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608     
Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk ro
otfstype=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: 899640K/1048576K available (5603K kernel code, 242K rwdata, 2208K rodata
, 256K init, 154K bss, 17864K 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 - 0xc0580f0c   (5604 kB)                               
      .init : 0xc07d2000 - 0xc0812000   ( 256 kB)                               
      .data : 0xc0812000 - 0xc084ea80   ( 243 kB)                               
       .bss : 0xc084ea80 - 0xc08753b4   ( 155 kB)                               
Preemptible hierarchical RCU implementation.                                    
        Build-time adjustment of leaf fanout to 32.                             
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.                    
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2                    
NR_IRQS:16 nr_irqs:16 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: 5375
38477 ns                                                                        
timer #0 at f080c000, irq=17                                                    
Console: colour dummy device 80x30                                              
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.6
6 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 0x82c0 - 0x8318                              
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001                                
Brought up 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: 1911
2604462750000 ns                                                                
pinctrl core: initialized pinctrl subsystem                                     
NET: Registered protocol family 16                                              
DMA: preallocated 256 KiB pool for atomic coherent allocations                  
cpuidle: using governor ladder                                                  
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                              
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 <giometti@l
inux.it>                                                                        
PTP clock support registered                                                    
EDAC MC: Ver: 3.0.0                                                             
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: enabled with armv7_cortex_a9 PMU driver, 7 counters available    
futex hash table entries: 512 (order: 3, 32768 bytes)                           
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)                                           
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330                    
dma-pl330 f8003000.dmac:        DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Even
ts-16                                                                           
xilinx-vdma 43000000.axivdma: missing xlnx,flush-fsync property                 
xilinx-vdma 43000000.axivdma: missing xlnx,addrwidth property                   
xilinx-vdma 43000000.axivdma: Xilinx AXI VDMA Engine Driver Probed!!            
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 3125000) is a 
xuartps                                                                         
console [ttyPS0] enabled                                                        
bootconsole [earlycon0] disabled                                                
xdevcfg f8007000.devcfg: ioremap 0xf8007000 to f0875000                         
[drm] Initialized                                                               
brd: module loaded                                                              
loop: module loaded                                                             
m25p80 spi32765.0: found s25fl128s, expected n25q128a11                         
m25p80 spi32765.0: s25fl128s (32768 Kbytes)                                     
5 ofpart partitions found on MTD device spi32765.0                              
Creating 5 MTD partitions on "spi32765.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                                                  
libphy: mdio_driver_register: xgmiitorgmii                                      
tun: Universal TUN/TAP device driver, 1.6                                       
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>                          
libphy: MACB_mii_bus: probed                                                    
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 28 (00
:0a:35:02:d4:c4)                                                                
Marvell 88E1116R e000b000.etherne:07: attached PHY driver [Marvell 88E1116R] (mi
i_bus:phy_addr=e000b000.etherne:07, irq=-1)                                     
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             
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                                                    
mousedev: PS/2 mouse device common for all mice                                 
i2c /dev entries driver                                                         
si570: probe of 1-005d failed with error -5                                     
i2c i2c-0: Added multiplexed i2c bus 1                                          
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                                          
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          
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 f090c000 with timeout 10s  
Xilinx Zynq CpuIdle Driver started                                              
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.sdhci [e0100000.sdhci] using DMA             
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                                                     
ad9371 spi32766.1: ad9371_probe : enter                                         
spi32766.0 supply vcc not found, using dummy regulator                          
mmc0: new high speed SDHC card at address aaaa                                  
mmcblk0: mmc0:aaaa SL16G 14.8 GiB                                               
 mmcblk0: p1 p2 p3                                                              
random: fast init done                                                          
axi_adxcvr 44a60000.axi-adxcvr-rx: AXI-ADXCVR-RX (16.01.a) using GTX2 at 0x44A60
000 mapped to 0xf092c000. Number of lanes: 2.                                   
axi_adxcvr 44a50000.axi-adxcvr-rx-os: AXI-ADXCVR-RX (16.01.a) using GTX2 at 0x44
A50000 mapped to 0xf092e000. Number of lanes: 2.                                
axi_adxcvr 44a80000.axi-adxcvr-tx: AXI-ADXCVR-TX (16.01.a) using GTX2 at 0x44A80
000 mapped to 0xf094a000. Number of lanes: 4.                                   
NET: Registered protocol family 17                                              
Registering SWP/SWPB emulation handler                                          
axi-hdmi 70e00000.axi_hdmi: No connectors reported connected with modes         
[drm] Cannot find any crtc or sizes - going 1024x768                            
Console: switching to colour frame buffer device 128x48                         
axi-hdmi 70e00000.axi_hdmi: fb0:  frame buffer device                           
[drm] Initialized axi_hdmi_drm 1.0.0 20120930 on minor 0                        
ad9371 spi32766.1: ad9371_probe : enter                                         
random: crng init done                                                          
WARNING: 238: Clock PLL Charge Pump Cal event timed out in MYKONOS_waitForEvent(
)                                                                               
ad9371 spi32766.1: Clock PLL Charge Pump Cal event timed out in MYKONOS_waitForE
vent()                                                                          
 (238)                                                                          
WARNING: 238: Clock PLL Charge Pump Cal event timed out in MYKONOS_waitForEvent(
)                                                                               
ad9371 spi32766.1: Clock PLL Charge Pump Cal event timed out in MYKONOS_waitForE
vent()                                                                          
 (238)                                                                          
ad9371: probe of spi32766.1 failed with error -14                               
asoc-simple-card adv7511_hdmi_snd: hdmi-hifi.0 <-> 75c00000.axi-spdif-tx mapping
 ok                                                                             
input: gpio_keys as /devices/soc0/gpio_keys/input/input0                        
rtc-pcf8563 5-0051: setting system clock to 2019-02-28 11:04:29 UTC (1551351869)
ALSA device list:                                                               
  #0: HDMI monitor                                                              
EXT4-fs (mmcblk0p2): recovery complete                                          
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: 256K (c07d2000 - c0812000)                        
This architecture does not have kernel memory protection.                       
systemd-udevd[1012]: starting version 204                                       
systemd-udevd[1136]: could not open moddep file '/lib/modules/4.9.0-g2398d50/mod
ules.dep.bin'                                                                   
init: udev-fallback-graphics main process (1464) terminated with status 1       
init: failsafe main process (1534) killed by TERM signal                        
init: samba-ad-dc main process (1652) terminated with status 1                  
init: tty1 main process (1826) killed by TERM signal                            
macb e000b000.ethernet eth0: link up (1000/Full)                                
root@analog:~#                                                                  
boot_kernel_panic.txt
U-Boot 2014.01-dirty (Jul 21 2014 - 14:45:35)                                   
                                                                                
I2C:   ready                                                                    
Memory: ECC disabled                                                            
DRAM:  1 GiB                                                                    
MMC:   zynq_sdhci: 0                                                            
SF: Detected S25FL128S_64K with page size 512 Bytes, erase size 128 KiB, total 3
2 MiB                                                                           
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: SL16G                                                                     
Tran Speed: 50000000                                                            
Rd Block Len: 512                                                               
SD version 3.0                                                                  
High Capacity: Yes                                                              
Capacity: 14.8 GiB                                                              
Bus Width: 4-bit                                                                
reading uEnv.txt                                                                
381 bytes read in 8 ms (45.9 KiB/s)                                             
Loaded environment from uEnv.txt                                                
Importing environment from SD ...                                               
Running uenvcmd ...                                                             
Copying Linux from SD to RAM...                                                 
reading uImage                                                                  
4109416 bytes read in 374 ms (10.5 MiB/s)                                       
reading devicetree.dtb                                                          
11848 bytes read in 35 ms (330.1 KiB/s)                                         
reading uramdisk.image.gz                                                       
** Unable to read file uramdisk.image.gz **                                     
## Booting kernel from Legacy Image at 03000000 ...                             
   Image Name:   Linux-4.9.0-g2398d50                                           
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    4109352 Bytes = 3.9 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 1fffa000, end 1ffffe47 ... OK                         
                                                                                
Starting kernel ...                                                             
                                                                                
Uncompressing Linux... done, booting the kernel.                                
Booting Linux on physical CPU 0x0                                               
Linux version 4.9.0-g2398d50 (jenkins@romlx1) (gcc version 6.2.1 20161114 (Linar
o GCC Snapshot 6.2-2016.11) ) #189 SMP PREEMPT Tue Jun 26 09:52:32 IST 2018     
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                                        
bootconsole [earlycon0] enabled                                                 
cma: Reserved 128 MiB at 0x38000000                                             
Memory policy: Data cache writealloc                                            
percpu: Embedded 13 pages/cpu @ef7d2000 s23564 r8192 d21492 u53248              
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608     
Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk ro
otfstype=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: 899676K/1048576K available (5603K kernel code, 242K rwdata, 2208K rodata
, 256K init, 154K bss, 17828K 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 - 0xc0580f0c   (5604 kB)                               
      .init : 0xc07d2000 - 0xc0812000   ( 256 kB)                               
      .data : 0xc0812000 - 0xc084ea80   ( 243 kB)                               
       .bss : 0xc084ea80 - 0xc08753b4   ( 155 kB)                               
Preemptible hierarchical RCU implementation.                                    
        Build-time adjustment of leaf fanout to 32.                             
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.                    
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2                    
NR_IRQS:16 nr_irqs:16 16                                                        
zynq_early_efuse_init: no efuse node found                                      
------------[ cut here ]------------                                            
kernel BUG at arch/arm/mach-zynq/efuse.c:59!                                    
Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM                              
Modules linked in:                                                              
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.0-g2398d50 #189                   
Hardware name: Xilinx Zynq Platform                                             
task: c0817b00 task.stack: c0812000                                             
PC is at zynq_early_efuse_init+0x34/0x8c                                        
LR is at zynq_early_efuse_init+0x34/0x8c                                        
pc : [<c07db0a4>]    lr : [<c07db0a4>]    psr: 200000d3                         
sp : c0813fa8  ip : 00000000  fp : 00000000                                     
r10: efffcd40  r9 : c0800a30  r8 : c084ea80                                     
r7 : ffffffff  r6 : c0815000  r5 : c084ea80  r4 : 00000000                      
r3 : c0812000  r2 : 00000001  r1 : 600000d3  r0 : 0000002a                      
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32  ISA ARM  Segment none             
Control: 18c5387d  Table: 0000404a  DAC: 00000051                               
Process swapper/0 (pid: 0, stack limit = 0xc0812210)                            
Stack: (0xc0813fa8 to 0xc0814000)                                               
3fa0:                   c0800a20 c07db008 c0800a20 c07d532c 00000000 c07d2b20   
3fc0: ffffffff ffffffff 00000000 c07d2678 00000000 c0800a30 c084ed14 c0815018   
3fe0: c0800a2c c0818ce8 0000406a 413fc090 00000000 0000807c 00000000 00000000   
[<c07db0a4>] (zynq_early_efuse_init) from [<c07db008>] (zynq_irq_init+0x8/0x14) 
[<c07db008>] (zynq_irq_init) from [<c07d532c>] (init_IRQ+0x2c/0x88)             
[<c07d532c>] (init_IRQ) from [<c07d2b20>] (start_kernel+0x24c/0x394)            
[<c07d2b20>] (start_kernel) from [<0000807c>] (0x807c)                          
Code: e3020ae4 e34c1058 e34c006f ebe3390e (e7f001f2)                            
---[ end trace 0000000000000000 ]---                                            
Kernel panic - not syncing: Attempted to kill the idle task!                    
---[ end Kernel panic - not syncing: Attempted to kill the idle task!           
U                                                                               
                                                                                
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 3
2 MiB                                                                           
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: SL16G                                                                     
Tran Speed: 50000000                                                            
Rd Block Len: 512                                                               
SD version 3.0                                                                  
High Capacity: Yes                                                              
Capacity: 14.8 GiB                                                              
Bus Width: 4-bit                                                                
reading uEnv.txt                                                                
381 bytes read in 8 ms (45.9 KiB/s)                                             
Loaded environment from uEnv.txt                                                
Importing environment from SD ...                                               
Running uenvcmd ...                                                             
Copying Linux from SD to RAM...                                                 
reading uImage                                                                  
4109416 bytes read in 374 ms (10.5 MiB/s)                                       
reading devicetree.dtb                                                          
21868 bytes read in 36 ms (592.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.9.0-g2398d50                                           
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    4109352 Bytes = 3.9 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 1fff7000, end 1ffff56b ... OK                         
                                                                                
Starting kernel ...                                                             
                                                                                
Uncompressing Linux... done, booting the kernel.                                
Booting Linux on physical CPU 0x0                                               
Linux version 4.9.0-g2398d50 (jenkins@romlx1) (gcc version 6.2.1 20161114 (Linar
o GCC Snapshot 6.2-2016.11) ) #189 SMP PREEMPT Tue Jun 26 09:52:32 IST 2018     
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                                        
bootconsole [earlycon0] enabled                                                 
cma: Reserved 128 MiB at 0x38000000                                             
Memory policy: Data cache writealloc                                            
percpu: Embedded 13 pages/cpu @ef7cc000 s23564 r8192 d21492 u53248              
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608     
Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk ro
otfstype=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: 899640K/1048576K available (5603K kernel code, 242K rwdata, 2208K rodata
, 256K init, 154K bss, 17864K 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 - 0xc0580f0c   (5604 kB)                               
      .init : 0xc07d2000 - 0xc0812000   ( 256 kB)                               
      .data : 0xc0812000 - 0xc084ea80   ( 243 kB)                               
       .bss : 0xc084ea80 - 0xc08753b4   ( 155 kB)                               
Preemptible hierarchical RCU implementation.                                    
        Build-time adjustment of leaf fanout to 32.                             
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.                    
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2                    
NR_IRQS:16 nr_irqs:16 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: 5375
38477 ns                                                                        
timer #0 at f080c000, irq=17                                                    
Console: colour dummy device 80x30                                              
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.6
6 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 0x82c0 - 0x8318                              
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001                                
Brought up 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: 1911
2604462750000 ns                                                                
pinctrl core: initialized pinctrl subsystem                                     
NET: Registered protocol family 16                                              
DMA: preallocated 256 KiB pool for atomic coherent allocations                  
cpuidle: using governor ladder                                                  
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                              
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 <giometti@l
inux.it>                                                                        
PTP clock support registered                                                    
EDAC MC: Ver: 3.0.0                                                             
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: enabled with armv7_cortex_a9 PMU driver, 7 counters available    
futex hash table entries: 512 (order: 3, 32768 bytes)                           
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)                                           
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330                    
dma-pl330 f8003000.dmac:        DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Even
ts-16                                                                           
xilinx-vdma 43000000.axivdma: missing xlnx,flush-fsync property                 
xilinx-vdma 43000000.axivdma: missing xlnx,addrwidth property                   
xilinx-vdma 43000000.axivdma: Xilinx AXI VDMA Engine Driver Probed!!            
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 3125000) is a 
xuartps                                                                         
àconsole [ttyPS0] enabled                                                       
console [ttyPS0] enabled                                                        
bootconsole [earlycon0] disabled                                                
bootconsole [earlycon0] disabled                                                
xdevcfg f8007000.devcfg: ioremap 0xf8007000 to f0875000                         
[drm] Initialized                                                               
brd: module loaded                                                              
loop: module loaded                                                             
m25p80 spi32765.0: found s25fl128s, expected n25q128a11                         
m25p80 spi32765.0: s25fl128s (32768 Kbytes)                                     
5 ofpart partitions found on MTD device spi32765.0                              
Creating 5 MTD partitions on "spi32765.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                                                  
libphy: mdio_driver_register: xgmiitorgmii                                      
tun: Universal TUN/TAP device driver, 1.6                                       
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>                          
libphy: MACB_mii_bus: probed                                                    
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 28 (00
:0a:35:02:d4:c4)                                                                
Marvell 88E1116R e000b000.etherne:07: attached PHY driver [Marvell 88E1116R] (mi
i_bus:phy_addr=e000b000.etherne:07, irq=-1)                                     
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             
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                                                    
mousedev: PS/2 mouse device common for all mice                                 
i2c /dev entries driver                                                         
si570: probe of 1-005d failed with error -5                                     
i2c i2c-0: Added multiplexed i2c bus 1                                          
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                                          
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          
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 f090c000 with timeout 10s  
Xilinx Zynq CpuIdle Driver started                                              
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.sdhci [e0100000.sdhci] using DMA             
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                                                     
ad9371 spi32766.1: ad9371_probe : enter                                         
spi32766.0 supply vcc not found, using dummy regulator                          
mmc0: new high speed SDHC card at address aaaa                                  
mmcblk0: mmc0:aaaa SL16G 14.8 GiB                                               
 mmcblk0: p1 p2 p3                                                              
random: fast init done                                                          
axi_adxcvr 44a60000.axi-adxcvr-rx: AXI-ADXCVR-RX (16.01.a) using GTX2 at 0x44A60
000 mapped to 0xf092c000. Number of lanes: 2.                                   
axi_adxcvr 44a50000.axi-adxcvr-rx-os: AXI-ADXCVR-RX (16.01.a) using GTX2 at 0x44
A50000 mapped to 0xf092e000. Number of lanes: 2.                                
axi_adxcvr 44a80000.axi-adxcvr-tx: AXI-ADXCVR-TX (16.01.a) using GTX2 at 0x44A80
000 mapped to 0xf094a000. Number of lanes: 4.                                   
NET: Registered protocol family 17                                              
Registering SWP/SWPB emulation handler                                          
axi-hdmi 70e00000.axi_hdmi: No connectors reported connected with modes         
[drm] Cannot find any crtc or sizes - going 1024x768                            
Console: switching to colour frame buffer device 128x48                         
axi-hdmi 70e00000.axi_hdmi: fb0:  frame buffer device                           
[drm] Initialized axi_hdmi_drm 1.0.0 20120930 on minor 0                        
ad9371 spi32766.1: ad9371_probe : enter                                         
random: crng init done                                                          
WARNING: 238: Clock PLL Charge Pump Cal event timed out in MYKONOS_waitForEvent(
)                                                                               
ad9371 spi32766.1: Clock PLL Charge Pump Cal event timed out in MYKONOS_waitForE
vent()                                                                          
 (238)                                                                          
WARNING: 238: Clock PLL Charge Pump Cal event timed out in MYKONOS_waitForEvent(
)                                                                               
ad9371 spi32766.1: Clock PLL Charge Pump Cal event timed out in MYKONOS_waitForE
vent()                                                                          
 (238)                                                                          
ad9371: probe of spi32766.1 failed with error -14                               
asoc-simple-card adv7511_hdmi_snd: hdmi-hifi.0 <-> 75c00000.axi-spdif-tx mapping
 ok                                                                             
input: gpio_keys as /devices/soc0/gpio_keys/input/input0                        
rtc-pcf8563 5-0051: setting system clock to 2019-02-28 10:02:44 UTC (1551348164)
ALSA device list:                                                               
  #0: HDMI monitor                                                              
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: 256K (c07d2000 - c0812000)                        
This architecture does not have kernel memory protection.                       
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 Feb 28 09:41:43 UTC 2019 on tty1                                
Welcome to Linaro 14.04 (GNU/Linux 4.9.0-g2398d50 armv7l)                       
                                                                                
 * Documentation:  https://wiki.analog.com/ https://ez.analog.com/              
                                                                                
0 packages can be updated.                                                      
0 updates are security updates.                                                 
                                                                                
root@analog:~# iio_attr                                                         
Usage:                                                                          
        iio_attr [OPTION]...    -d [device] [attr] [value]                      
                                -c [device] [channel] [attr] [value]            
                                -B [device] [attr] [value]                      
                                -D [device] [attr] [value]                      
                                -C [attr]                                       
Options:                                                                        
        -h, --help           : Show this help and quit.                         
        -I, --ignore-case    : Ignore case distinctions.                        
        -q, --quiet          : Return result only.                              
        -a, --auto           : Use the first context found.                     
Optional qualifiers:                                                            
        -u, --uri            : Use the context at the provided URI.             
        -i, --input-channel  : Filter Input Channels only.                      
        -o, --output-channel : Filter Output Channels only.                     
Attribute types:                                                                
        -s, --scan-channel   : Filter Scan Channels only.                       
        -d, --device-attr    : Read/Write device attributes                     
        -c, --channel-attr   : Read/Write channel attributes.                   
        -C, --context-attr   : Read IIO context attributes.                     
        -B, --buffer-attr    : Read/Write buffer attributes.                    
        -D, --debug-attr     : Read/Write debug attributes.                     
root@analog:~# iio_attr -c                                                      
IIO context has 3 devices:                                                      
        iio:device1: xadc, found 9 channels                                     
        iio:device2: ad9528-1, found 4 channels                                 
        iio:device0: ad7291, found 9 channels                                   
root@analog:~#  * Setting up X socket directories...                     [ OK ] 
 * STARTDISTCC is set to false in /etc/default/distcc                           
 * /usr/bin/distccd not starting                                                
 * Starting IIO Daemon iiod                                              [fail] 
                                                                                
root@analog:~# iiod                                                             
Starting IIO Daemon version 0.15                                                
ERROR: Bind failed: Address already in use                                      
root@analog:~# iiod -h                                                          
Usage:                                                                          
        iiod [OPTIONS ...]                                                      
                                                                                
Options:                                                                        
        -h, --help                                                              
                        Show this help and quit.                                
        -V, --version                                                           
                        Display the version of this program.                    
        -d, --debug                                                             
                        Use alternative (incompatible) debug interface.         
        -D, --demux                                                             
                        Demux channels directly on the server.                  
        -i, --interactive                                                       
                        Run iiod in the controlling terminal.                   
        -a, --aio                                                               
                        Use asynchronous I/O.                                   
        -F, --ffs                                                               
                        Use the given FunctionFS mountpoint to serve over USB   
        -n, --nb-pipes                                                          
                        Specify the number of USB pipes (ep couples) to use     
root@analog:~# iiod                                                             
Starting IIO Daemon version 0.15                                                
ERROR: Bind failed: Address already in use                                      
root@analog:~# shutdown -h now                                                  
                                                                                
Broadcast message from root@analog                                              
        (/dev/ttyPS0) at 10:10 ...                                              
                                                                                
The system is going down for halt NOW!                                          
root@analog:~# wait-for-state stop/waiting                                      
 * Stopping IIO Daemon iiod                                              [ OK ] 
 * Stopping Distributed Compiler Daemon: distccd                         [ OK ] 
 * Stopping rsync daemon rsync                                           [ OK ] 
 * Asking all remaining processes to terminate...                        [ OK ] 
 * All processes ended within 1 seconds...                               [ OK ] 
nm-dispatcher.action: Could not acquire the org.freedesktop.nm_dispatcher servic
e.                                                                              
  Message: 'Connection was disconnected before a reply was received'            
nm-dispatcher.action: Disconnected from the system bus, exiting.                
 * Deactivating swap...                                                  [ OK ] 
 * Will now halt                                                                
reboot: System halted                                                           
                                                                                
                                                                                
U-Boot 2014.01-dirty (Jul 21 2014 - 14:45:35)                                   
                                                                                
I2C:   ready                                                                    
Memory: ECC disabled                                                            
DRAM:  1 GiB                                                                    
MMC:   zynq_sdhci: 0                                                            
SF: Detected S25FL128S_64K with page size 512 Bytes, erase size 128 KiB, total 3
2 MiB                                                                           
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: SL16G                                                                     
Tran Speed: 50000000                                                            
Rd Block Len: 512                                                               
SD version 3.0                                                                  
High Capacity: Yes                                                              
Capacity: 14.8 GiB                                                              
Bus Width: 4-bit                                                                
reading uEnv.txt                                                                
381 bytes read in 8 ms (45.9 KiB/s)                                             
Loaded environment from uEnv.txt                                                
Importing environment from SD ...                                               
Running uenvcmd ...                                                             
Copying Linux from SD to RAM...                                                 
reading uImage                                                                  
4109416 bytes read in 374 ms (10.5 MiB/s)                                       
reading devicetree.dtb                                                          
11848 bytes read in 35 ms (330.1 KiB/s)                                         
reading uramdisk.image.gz                                                       
** Unable to read file uramdisk.image.gz **                                     
## Booting kernel from Legacy Image at 03000000 ...                             
   Image Name:   Linux-4.9.0-g2398d50                                           
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    4109352 Bytes = 3.9 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 1fffa000, end 1ffffe47 ... OK                         
                                                                                
Starting kernel ...                                                             
                                                                                
Uncompressing Linux... done, booting the kernel.                                
Booting Linux on physical CPU 0x0                                               
Linux version 4.9.0-g2398d50 (jenkins@romlx1) (gcc version 6.2.1 20161114 (Linar
o GCC Snapshot 6.2-2016.11) ) #189 SMP PREEMPT Tue Jun 26 09:52:32 IST 2018     
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                                        
bootconsole [earlycon0] enabled                                                 
cma: Reserved 128 MiB at 0x38000000                                             
Memory policy: Data cache writealloc                                            
percpu: Embedded 13 pages/cpu @ef7d2000 s23564 r8192 d21492 u53248              
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608     
Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk ro
otfstype=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: 899676K/1048576K available (5603K kernel code, 242K rwdata, 2208K rodata
, 256K init, 154K bss, 17828K 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 - 0xc0580f0c   (5604 kB)                               
      .init : 0xc07d2000 - 0xc0812000   ( 256 kB)                               
      .data : 0xc0812000 - 0xc084ea80   ( 243 kB)                               
       .bss : 0xc084ea80 - 0xc08753b4   ( 155 kB)                               
Preemptible hierarchical RCU implementation.                                    
        Build-time adjustment of leaf fanout to 32.                             
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.                    
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2                    
NR_IRQS:16 nr_irqs:16 16                                                        
zynq_early_efuse_init: no efuse node found                                      
------------[ cut here ]------------                                            
kernel BUG at arch/arm/mach-zynq/efuse.c:59!                                    
Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM                              
Modules linked in:                                                              
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.0-g2398d50 #189                   
Hardware name: Xilinx Zynq Platform                                             
task: c0817b00 task.stack: c0812000                                             
PC is at zynq_early_efuse_init+0x34/0x8c                                        
LR is at zynq_early_efuse_init+0x34/0x8c                                        
pc : [<c07db0a4>]    lr : [<c07db0a4>]    psr: 200000d3                         
sp : c0813fa8  ip : 00000000  fp : 00000000                                     
r10: efffcd40  r9 : c0800a30  r8 : c084ea80                                     
r7 : ffffffff  r6 : c0815000  r5 : c084ea80  r4 : 00000000                      
r3 : c0812000  r2 : 00000001  r1 : 600000d3  r0 : 0000002a                      
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32  ISA ARM  Segment none             
Control: 18c5387d  Table: 0000404a  DAC: 00000051                               
Process swapper/0 (pid: 0, stack limit = 0xc0812210)                            
Stack: (0xc0813fa8 to 0xc0814000)                                               
3fa0:                   c0800a20 c07db008 c0800a20 c07d532c 00000000 c07d2b20   
3fc0: ffffffff ffffffff 00000000 c07d2678 00000000 c0800a30 c084ed14 c0815018   
3fe0: c0800a2c c0818ce8 0000406a 413fc090 00000000 0000807c 00000000 00000000   
[<c07db0a4>] (zynq_early_efuse_init) from [<c07db008>] (zynq_irq_init+0x8/0x14) 
[<c07db008>] (zynq_irq_init) from [<c07d532c>] (init_IRQ+0x2c/0x88)             
[<c07d532c>] (init_IRQ) from [<c07d2b20>] (start_kernel+0x24c/0x394)            
[<c07d2b20>] (start_kernel) from [<0000807c>] (0x807c)                          
Code: e3020ae4 e34c1058 e34c006f ebe3390e (e7f001f2)                            
---[ end trace 0000000000000000 ]---                                            
Kernel panic - not syncing: Attempted to kill the idle task!                    
---[ end Kernel panic - not syncing: Attempted to kill the idle task!           

  • You can't use the ADRV9009 with the AD9371 image files!

    You also can't use files form the ADRV9009-SDCARD image used with TES!

    You need to build HDL from here: https://github.com/analogdevicesinc/hdl/tree/master/projects/adrv9009/zc706

    Then use the this device tree: https://github.com/analogdevicesinc/linux/blob/master/arch/arm/boot/dts/zynq-zc706-adv7511-adrv9009.dts

    -Michael

  • The files on this card are for the EVAL-TPG-ZYNQ3 board.

    https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-tpg-zynq3.html

    They can only be used with the TES software GUI. They are not compatible with Linux/IIO and the public HDL design.

    If you want to use Linux/IIO or No-OS and the public HDL design, you need to build things from source.

    -Michael 

  • Hi, mhennerich

    I have built the HDL (ok)

    Also, I have followed the steps in here https://wiki.analog.com/resources/tools-software/linux-build/generic/zynq and get the dtb and the uImage but u-boot.elf is missing.

    However, I have tried to follow this https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841973/Build+U-Boot and I have got errors. I have used the u-boot-xlnx repository from Xilinx and from ADI.

    I attached the logs.

    Thanks!

    2678.log_uboot_adi.txt
    mint@mint-VirtualBox:~/Descargas/u-boot-adi$ sudo make distclean
      CLEAN   spl/u-boot.cfg
      CLEAN   u-boot.cfg
      CLEAN   scripts/basic
      CLEAN   scripts/dtc
      CLEAN   scripts/kconfig
      CLEAN   include/config include/generated spl
      CLEAN   .config include/autoconf.mk.dep include/autoconf.mk include/config.h
    mint@mint-VirtualBox:~/Descargas/u-boot-adi$ export CROSS_COMPILE=arm-linux-gnueabihf-
    mint@mint-VirtualBox:~/Descargas/u-boot-adi$ export ARCH=arm
    mint@mint-VirtualBox:~/Descargas/u-boot-adi$ source /tools/Xilinx/SDK/2018.3/settings64.sh 
    mint@mint-VirtualBox:~/Descargas/u-boot-adi$ sudo make zynq_zc706_defconfig
      HOSTCC  scripts/basic/fixdep
      HOSTCC  scripts/kconfig/conf.o
      SHIPPED scripts/kconfig/zconf.tab.c
      SHIPPED scripts/kconfig/zconf.lex.c
      SHIPPED scripts/kconfig/zconf.hash.c
      HOSTCC  scripts/kconfig/zconf.tab.o
      HOSTLD  scripts/kconfig/conf
    #
    # configuration written to .config
    #
    mint@mint-VirtualBox:~/Descargas/u-boot-adi$ sudo make -j5
    scripts/kconfig/conf  --silentoldconfig Kconfig
      CHK     include/config.h
      UPD     include/config.h
      GEN     include/autoconf.mk.dep
      CFG     u-boot.cfg
      CFG     spl/u-boot.cfg
      GEN     spl/include/autoconf.mk
      GEN     include/autoconf.mk
      CHK     include/config/uboot.release
      CHK     include/generated/timestamp_autogenerated.h
      UPD     include/generated/timestamp_autogenerated.h
      HOSTCC  scripts/dtc/dtc.o
      HOSTCC  scripts/dtc/fstree.o
      HOSTCC  scripts/dtc/flattree.o
      HOSTCC  scripts/dtc/data.o
      HOSTCC  scripts/dtc/livetree.o
      CHK     include/config.h
      CFG     u-boot.cfg
      HOSTCC  scripts/dtc/treesource.o
      HOSTCC  scripts/dtc/srcpos.o
      HOSTCC  scripts/dtc/checks.o
      HOSTCC  scripts/dtc/util.o
      SHIPPED scripts/dtc/dtc-lexer.lex.c
      SHIPPED scripts/dtc/dtc-parser.tab.h
      SHIPPED scripts/dtc/dtc-parser.tab.c
      HOSTCC  scripts/dtc/dtc-lexer.lex.o
      UPD     include/config/uboot.release
      HOSTCC  scripts/dtc/dtc-parser.tab.o
      CHK     include/generated/version_autogenerated.h
      UPD     include/generated/version_autogenerated.h
      CC      lib/asm-offsets.s
      CC      arch/arm/lib/asm-offsets.s
    cc1: error: bad value (‘armv5’) for ‘-march=’ switch
    cc1: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 bonnell atom silvermont slm knl x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 btver1 btver2
    Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
    make[1]: *** [arch/arm/lib/asm-offsets.s] Error 1
    make[1]: *** Waiting for unfinished jobs....
    cc1: error: bad value (‘armv5’) for ‘-march=’ switch
    cc1: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 bonnell atom silvermont slm knl x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 btver1 btver2
    Kbuild:43: recipe for target 'lib/asm-offsets.s' failed
    make[1]: *** [lib/asm-offsets.s] Error 1
    Makefile:1337: recipe for target 'prepare0' failed
    make: *** [prepare0] Error 2
    make: *** Waiting for unfinished jobs....
      HOSTLD  scripts/dtc/dtc
    mint@mint-VirtualBox:~/Descargas/u-boot-adi$
    
    
    4370.log_uboot_xlx.txt
    mint@mint-VirtualBox:~/Descargas/u-boot-xlnx$ export CROSS_COMPILE=arm-linux-gnueabihf-      
    mint@mint-VirtualBox:~/Descargas/u-boot-xlnx$ source /tools/Xilinx/SDK/2018.3/settings64.sh 
    mint@mint-VirtualBox:~/Descargas/u-boot-xlnx$ sudo make distclean
      CLEAN   spl/u-boot.cfg
      CLEAN   u-boot.cfg
      CLEAN   scripts/basic
      CLEAN   scripts/kconfig
      CLEAN   include/config include/generated spl
      CLEAN   .config include/autoconf.mk.dep include/autoconf.mk include/config.h
    mint@mint-VirtualBox:~/Descargas/u-boot-xlnx$ sudo make zynq_zc706_defconfig
      HOSTCC  scripts/basic/fixdep
      HOSTCC  scripts/kconfig/conf.o
      YACC    scripts/kconfig/zconf.tab.c
      LEX     scripts/kconfig/zconf.lex.c
      HOSTCC  scripts/kconfig/zconf.tab.o
      HOSTLD  scripts/kconfig/conf
    #
    # configuration written to .config
    #
    mint@mint-VirtualBox:~/Descargas/u-boot-xlnx$ sudo make
    scripts/kconfig/conf  --syncconfig Kconfig
      CHK     include/config.h
      UPD     include/config.h
      CFG     u-boot.cfg
      GEN     include/autoconf.mk
      GEN     include/autoconf.mk.dep
      CFG     spl/u-boot.cfg
      GEN     spl/include/autoconf.mk
      CHK     include/config/uboot.release
      UPD     include/config/uboot.release
      CHK     include/generated/version_autogenerated.h
      UPD     include/generated/version_autogenerated.h
      CHK     include/generated/timestamp_autogenerated.h
      UPD     include/generated/timestamp_autogenerated.h
      CC      lib/asm-offsets.s
    cc1: error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch
    cc1: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 bonnell atom silvermont slm knl intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 btver1 btver2 generic
    Kbuild:43: recipe for target 'lib/asm-offsets.s' failed
    make[1]: *** [lib/asm-offsets.s] Error 1
    Makefile:1574: recipe for target 'prepare0' failed
    make: *** [prepare0] Error 2
    mint@mint-VirtualBox:~/Descargas/u-boot-xlnx$