Post Go back to editing

adrv9002-phy Device

Hello,

I am having issues building a custom kernel based on the zynqmp-zcu102-rev10-adrv9002 build.  I can successfully build from source for the ZCU102/ADRV9002 and connect to the IIO-Oscilloscope.  When I build on my custom hardware I can connect to the IIO-Oscilloscope and stream IQ data from the axi-adrv9002-rx2-lpc device.  However the axi-adrv9002-rx-lpc and adrv9002-phy devices don't show up.  I did have to select the B0 device HW revision for the ADRV9002 in the menu config.  Since it can stream valid IQ data for the axi-adrv9002rx2-lpc device I feel confident the FPGA can talk over SPI to the ADRV9002.  Attached are the bash logs and images of the IIO-Oscilloscope.  Any ideas on why the adrv9002-phy iio device won't register?

Thanks,

Elliott

Xilinx Zynq MP First Stage Boot Loader
Release 2019.1   Mar  9 2021  -  00:28:27
NOTICE:  ATF running on XCZU3CG/silicon v4/RTL5.1 at 0xfffea000
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v2.0(release):xilinx-v2018.3-720-g80d1c790
NOTICE:  BL31: Built : 00:21:55, Mar  9 2021
PMUFW:  v1.1


U-Boot 2019.01 (Mar 09 2021 - 00:27:49 +0000)

Model: BytePipe Rev2
Board: Xilinx ZynqMP
DRAM:  4 GiB
usb dr_mode not found
EL Level:       EL2
Chip ID:        zu3cg
MMC:   mmc@ff160000: 1, mmc@ff170000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial@ff000000
Out:   serial@ff000000
Err:   serial@ff000000
Model: BytePipe Rev2
Board: Xilinx ZynqMP
Bootmode: SD_MODE1
Reset reason:   SRST
Net:   ZYNQ GEM: ff0e0000, phyaddr 9, interface rgmii-id
eth0: ethernet@ff0e0000
U-BOOT for petalinux

ethernet@ff0e0000 Waiting for PHY auto negotiation to complete..... done
BOOTP broadcast 1
DHCP client bound to address 192.168.1.11 (7 ms)
Hit any key to stop autoboot:  0
392 bytes read in 9 ms (42 KiB/s)
Loaded environment from uEnv.txt
Importing environment from SD ...
Running uenvcmd ...
Copying Linux from SD to RAM...
** No boot file defined **
Device: mmc@ff170000
Manufacturer ID: 3
OEM: 5344
Name: SC32G
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
38959340 bytes read in 2859 ms (13 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x10000104
     Data Size:    30007808 Bytes = 28.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x00080000
     Entry Point:  0x00080000
     Hash algo:    sha1
     Hash value:   e4f20f0a3a075a6e9b7268186870e37cf5a2dda1
   Verifying Hash Integrity ... sha1+ OK
## Loading ramdisk from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'ramdisk@1' ramdisk subimage
     Description:  petalinux-user-image
     Type:         RAMDisk Image
     Compression:  gzip compressed
     Data Start:   0x11ca7e18
     Data Size:    8910147 Bytes = 8.5 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha1
     Hash value:   e72200a898c68cabaaf6fef2cc316f379a701e24
   Verifying Hash Integrity ... sha1+ OK
## Loading fdt from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'fdt@system-top.dtb' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x11c9e408
     Data Size:    39242 Bytes = 38.3 KiB
     Architecture: AArch64
     Hash algo:    sha1
     Hash value:   99dbf9244ae0b853f8874fcedc4fb4fb8e74de0d
   Verifying Hash Integrity ... sha1+ OK
   Booting using the fdt blob at 0x11c9e408
   Loading Kernel Image ... OK
   Loading Ramdisk to 07780000, end 07fff543 ... OK
   Loading Device Tree to 0000000007773000, end 000000000777f949 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.19.0-xilinx-v2019.1 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Mar 9 00:22:16 UTC 2021
[    0.000000] Machine model: BytePipe Rev2
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] bootconsole [cdns0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x0000000070000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] random: get_random_bytes called from start_kernel+0x94/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s53656 r8192 d32360 u94208
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1034240
[    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlycon rootfstype=ext4 rootwait cpuidle.off=1
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB: mapped [mem 0x6bfff000-0x6ffff000] (64MB)
[    0.000000] Memory: 3763496K/4194304K available (12924K kernel code, 1528K rwdata, 13880K rodata, 896K init, 335K bss, 168664K reserved, 262144K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 99.99MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171015c90f, max_idle_ns: 440795203080 ns
[    0.000004] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns
[    0.008324] Console: colour dummy device 80x25
[    0.012406] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.99 BogoMIPS (lpj=399996)
[    0.022754] pid_max: default: 32768 minimum: 301
[    0.027498] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.034025] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.042186] ASID allocator initialised with 32768 entries
[    0.046520] rcu: Hierarchical SRCU implementation.
[    0.051572] EFI services will not be available.
[    0.055871] smp: Bringing up secondary CPUs ...
[    0.060581] Detected VIPT I-cache on CPU1
[    0.060628] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    1.076888] CPU2: failed to come online
[    1.085549] CPU2: failed in unknown state : 0x0
[    2.106723] CPU3: failed to come online
[    2.106762] CPU3: failed in unknown state : 0x0
[    2.109460] smp: Brought up 1 node, 2 CPUs
[    2.113492] SMP: Total of 2 processors activated.
[    2.118162] CPU features: detected: 32-bit EL0 Support
[    2.126035] CPU: All CPU(s) started at EL2
[    2.127338] alternatives: patching kernel code
[    2.133407] devtmpfs: initialized
[    2.140074] Registered cp15_barrier emulation handler
[    2.140128] Registered setend emulation handler
[    2.144720] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    2.154243] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    2.168843] xor: measuring software checksum speed
[    2.208530]    8regs     :  2177.000 MB/sec
[    2.248555]    8regs_prefetch:  1881.000 MB/sec
[    2.288585]    32regs    :  2497.000 MB/sec
[    2.328617]    32regs_prefetch:  2116.000 MB/sec
[    2.328663] xor: using function: 32regs (2497.000 MB/sec)
[    2.332970] pinctrl core: initialized pinctrl subsystem
[    2.339295] NET: Registered protocol family 16
[    2.343002] audit: initializing netlink subsys (disabled)
[    2.348037] audit: type=2000 audit(2.300:1): state=initialized audit_enabled=0 res=1
[    2.355622] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    2.355630] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    2.370581] DMA: preallocated 256 KiB pool for atomic allocations
[    2.405066] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    2.474070] raid6: int64x1  gen()   406 MB/s
[    2.542041] raid6: int64x1  xor()   413 MB/s
[    2.610073] raid6: int64x2  gen()   624 MB/s
[    2.678160] raid6: int64x2  xor()   549 MB/s
[    2.746214] raid6: int64x4  gen()   899 MB/s
[    2.814255] raid6: int64x4  xor()   675 MB/s
[    2.882323] raid6: int64x8  gen()  1065 MB/s
[    2.950372] raid6: int64x8  xor()   696 MB/s
[    3.018452] raid6: neonx1   gen()   673 MB/s
[    3.086467] raid6: neonx1   xor()   807 MB/s
[    3.154555] raid6: neonx2   gen()  1034 MB/s
[    3.222601] raid6: neonx2   xor()  1070 MB/s
[    3.290651] raid6: neonx4   gen()  1353 MB/s
[    3.358704] raid6: neonx4   xor()  1294 MB/s
[    3.426776] raid6: neonx8   gen()  1411 MB/s
[    3.494820] raid6: neonx8   xor()  1331 MB/s
[    3.494863] raid6: using algorithm neonx8 gen() 1411 MB/s
[    3.498815] raid6: .... xor() 1331 MB/s, rmw enabled
[    3.503745] raid6: using neon recovery algorithm
[    3.509496] SCSI subsystem initialized
[    3.512319] usbcore: registered new interface driver usbfs
[    3.517539] usbcore: registered new interface driver hub
[    3.522823] usbcore: registered new device driver usb
[    3.528006] media: Linux media interface: v0.10
[    3.532323] videodev: Linux video capture interface: v2.00
[    3.537806] pps_core: LinuxPPS API ver. 1 registered
[    3.542671] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.551768] PTP clock support registered
[    3.555672] EDAC MC: Ver: 3.0.0
[    3.561239] zynqmp-ipi-mbox mailbox@ff990400: Probed ZynqMP IPI Mailbox driver.
[    3.566600] jesd204: found 0 devices and 0 topologies
[    3.571098] FPGA manager framework
[    3.574662] Advanced Linux Sound Architecture Driver Initialized.
[    3.580892] Bluetooth: Core ver 2.22
[    3.584039] NET: Registered protocol family 31
[    3.588432] Bluetooth: HCI device and connection manager initialized
[    3.594751] Bluetooth: HCI socket layer initialized
[    3.599591] Bluetooth: L2CAP socket layer initialized
[    3.604621] Bluetooth: SCO socket layer initialized
[    3.610041] clocksource: Switched to clocksource arch_sys_counter
[    3.615736] VFS: Disk quotas dquot_6.6.0
[    3.619459] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    3.631700] NET: Registered protocol family 2
[    3.632269] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)
[    3.638393] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    3.645745] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    3.653081] TCP: Hash tables configured (established 32768 bind 32768)
[    3.658721] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    3.664630] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    3.671150] NET: Registered protocol family 1
[    3.675596] RPC: Registered named UNIX socket transport module.
[    3.681164] RPC: Registered udp transport module.
[    3.685830] RPC: Registered tcp transport module.
[    3.690504] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.697374] Trying to unpack rootfs image as initramfs...
[    4.103455] Freeing initrd memory: 8700K
[    4.104329] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    4.109040] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    4.117770] Initialise system trusted keyrings
[    4.121100] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[    4.128347] NFS: Registering the id_resolver key type
[    4.132388] Key type id_resolver registered
[    4.136526] Key type id_legacy registered
[    4.140513] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.147182] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    5.343961] NET: Registered protocol family 38
[    5.412657] Key type asymmetric registered
[    5.412702] Asymmetric key parser 'x509' registered
[    5.416076] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    5.423319] io scheduler noop registered
[    5.427205] io scheduler deadline registered
[    5.431517] io scheduler cfq registered (default)
[    5.436116] io scheduler mq-deadline registered
[    5.440613] io scheduler kyber registered
[    5.498764] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    5.504526] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    5.513981] brd: module loaded
[    5.520764] loop: module loaded
[    5.521080] Registered mathworks_ip class
[    5.523293] mtdoops: mtd device (mtddev=name/number) must be supplied
[    5.530603] libphy: Fixed MDIO Bus: probed
[    5.534321] tun: Universal TUN/TAP device driver, 1.6
[    5.539325] CAN device driver interface
[    5.542969] usbcore: registered new interface driver asix
[    5.546954] usbcore: registered new interface driver ax88179_178a
[    5.552998] usbcore: registered new interface driver cdc_ether
[    5.558796] usbcore: registered new interface driver net1080
[    5.564417] usbcore: registered new interface driver cdc_subset
[    5.570298] usbcore: registered new interface driver zaurus
[    5.575846] usbcore: registered new interface driver cdc_ncm
[    5.582284] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.587917] ehci-pci: EHCI PCI platform driver
[    5.592661] usbcore: registered new interface driver uas
[    5.597647] usbcore: registered new interface driver usb-storage
[    5.603668] usbcore: registered new interface driver usbserial_generic
[    5.610084] usbserial: USB Serial support registered for generic
[    5.616053] usbcore: registered new interface driver ftdi_sio
[    5.621759] usbserial: USB Serial support registered for FTDI USB Serial Device
[    5.629028] usbcore: registered new interface driver upd78f0730
[    5.634907] usbserial: USB Serial support registered for upd78f0730
[    5.642539] i2c /dev entries driver
[    5.646936] usbcore: registered new interface driver uvcvideo
[    5.650285] USB Video Class driver (1.1.1)
[    5.657211] Bluetooth: HCI UART driver ver 2.3
[    5.658798] Bluetooth: HCI UART protocol H4 registered
[    5.663864] Bluetooth: HCI UART protocol BCSP registered
[    5.669176] Bluetooth: HCI UART protocol LL registered
[    5.674244] Bluetooth: HCI UART protocol ATH3K registered
[    5.679626] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    5.685904] Bluetooth: HCI UART protocol Intel registered
[    5.691219] Bluetooth: HCI UART protocol QCA registered
[    5.696443] usbcore: registered new interface driver bcm203x
[    5.702048] usbcore: registered new interface driver bpa10x
[    5.707580] usbcore: registered new interface driver bfusb
[    5.713030] usbcore: registered new interface driver btusb
[    5.718446] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    5.724127] usbcore: registered new interface driver ath3k
[    5.729705] EDAC MC: ECC not enabled
[    5.733271] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    5.745710] CPUidle arm: Failed to register cpuidle driver
[    5.750837] sdhci: Secure Digital Host Controller Interface driver
[    5.756766] sdhci: Copyright(c) Pierre Ossman
[    5.761089] sdhci-pltfm: SDHCI platform and OF driver helper
[    5.767228] ledtrig-cpu: registered to indicate activity on CPUs
[    5.772915] zynqmp_firmware_probe Platform Management API v1.1
[    5.778480] zynqmp_firmware_probe Trustzone version v1.0
[    5.787136] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl initialized
[    5.816406] zynqmp_clk_mux_get_parent() getparent failed for clock: lpd_wdt, ret = -22
[    5.819514] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    5.824248] zynqmp_aes zynqmp_aes: AES Successfully Registered
[    5.824248]
[    5.831824] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    5.837897] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    5.843546] usbcore: registered new interface driver usbhid
[    5.848779] usbhid: USB HID core driver
[    5.861790] axi_sysid 85000000.axi-sysid-0: [adrv9001] [CMOS_LVDS_N=0] on [bytepipe] git <061d024d596ef84c6a819854bf2472e6b43a2d5d> clean [2021-03-08 21:30:30] UTC
[    5.871370] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    5.877915] usbcore: registered new interface driver snd-usb-audio
[    5.885602] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    5.891360] Initializing XFRM netlink socket
[    5.895158] NET: Registered protocol family 10
[    5.899996] Segment Routing with IPv6
[    5.903211] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    5.909468] NET: Registered protocol family 17
[    5.913388] NET: Registered protocol family 15
[    5.917805] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    5.931056] can: controller area network core (rev 20170425 abi 9)
[    5.936871] NET: Registered protocol family 29
[    5.941232] can: raw protocol (rev 20170425)
[    5.945468] can: broadcast manager protocol (rev 20170425 t)
[    5.951095] can: netlink gateway (rev 20170425) max_hops=1
[    5.956726] Bluetooth: RFCOMM TTY layer initialized
[    5.961394] Bluetooth: RFCOMM socket layer initialized
[    5.966527] Bluetooth: RFCOMM ver 1.11
[    5.970213] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.975483] Bluetooth: BNEP filters: protocol multicast
[    5.980677] Bluetooth: BNEP socket layer initialized
[    5.985604] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.991488] Bluetooth: HIDP socket layer initialized
[    5.996564] 9pnet: Installing 9P2000 support
[    6.000666] NET: Registered protocol family 36
[    6.005092] Key type dns_resolver registered
[    6.009947] registered taskstats version 1
[    6.013376] Loading compiled-in X.509 certificates
[    6.018562] Btrfs loaded, crc32c=crc32c-generic
[    6.031462] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp_pinconf_cfg_set failed: pin 11 param 1 value 0
[    6.036622] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 30, base_baud = 6249999) is a xuartps
[    6.051068] console [ttyPS0] enabled
[    6.051068] console [ttyPS0] enabled
[    6.054678] bootconsole [cdns0] disabled
[    6.054678] bootconsole [cdns0] disabled
[    6.062820] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp_pinconf_cfg_set failed: pin 8 param 1 value 0
[    6.076448] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 31, base_baud = 6249999) is a xuartps
[    6.086444] of-fpga-region fpga-full: FPGA Region probed
[    6.094000] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[    6.100646] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[    6.107786] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[    6.114935] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[    6.122077] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[    6.129211] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[    6.136354] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[    6.143492] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[    6.150630] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[    6.157990] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:8 protocol:4 pll_locked:yes
[    6.170654] zynqmp_clk_divider_set_rate() set divider failed for spi1_ref_div1, ret = -13
[    6.179573] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Xilinx DisplayPort Sound Codec probed
[    6.190497] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[    6.198640] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[    6.207962] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[    6.220455] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[    6.233281] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xilinx DisplayPort Sound Card probed
[    6.243514] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[    6.250803] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    6.257410] [drm] No driver support for vblank timestamp query.
[    6.263419] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff8008de4370)
[    6.400194] random: fast init done
[   13.139552] random: crng init done
[   14.460425] [drm] Cannot find any crtc or sizes
[   14.465284] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[   14.473400] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[   14.487088] zynqmp_gpd_attach_dev() domain6 request failed for node 48: -13
[   14.494059] xilinx_can ff070000.can: failed to add to PM domain domain6: -13
[   14.501117] xilinx_can: probe of ff070000.can failed with error -13
[   14.509190] macb ff0e0000.ethernet: Not enabling partial store and forward
[   14.516877] libphy: MACB_mii_bus: probed
[   14.527845] TI DP83867 ff0e0000.ethernet-ffffffff:09: attached PHY driver [TI DP83867] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:09, irq=POLL)
[   14.540897] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 21 (00:0a:35:00:22:01)
[   14.551381] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[   14.558037] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[   14.564577] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[   14.571116] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[   14.578856] dwc3-of-simple ff9d0000.usb0: dwc3_simple_set_phydata: Can't find usb3-phy
[   14.614661] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 23
[   14.621053] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[   14.628704] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1099999 KHz
[   14.636166] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 1199999 KHz
[   14.645170] sdhci-arasan ff160000.mmc: "xlnx,mio_bank " property is missing.
[   14.652293] sdhci-arasan: probe of ff160000.mmc failed with error -22
[   14.691112] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[   14.767154] mmc0: new high speed SDHC card at address aaaa
[   14.773638] mmcblk0: mmc0:aaaa SC32G 29.7 GiB (ro)
[   14.783295]  mmcblk0: p1 p2 p3
[   22.899993] cf_axi_adc: probe of 84a00000.axi-adrv9002-rx-lpc failed with error -5
[   22.909270] cf_axi_tdd 84a0c800.axi-adrv9002-core-tdd1-lpc: Analog Devices CF_AXI_TDD MASTER (1.00.a)
[   22.918981] cf_axi_tdd 84a0cc00.axi-adrv9002-core-tdd2-lpc: Analog Devices CF_AXI_TDD MASTER (1.00.a)
[   22.946341] cf_axi_dds 84a0a000.axi-adrv9002-tx-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0x84A0A000 mapped to 0x00000000cbb9326b, probed DDS ADRV9002
[   22.978310] cf_axi_dds 84a0c000.axi-adrv9002-tx2-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0x84A0C000 mapped to 0x0000000092d06bbe, probed DDS ADRV9002
[   22.996241] hctosys: unable to open rtc device (rtc0)
[   23.001291] of_cfs_init
[   23.003773] of_cfs_init: OK
[   23.006746] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   23.165960] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   23.172732] zynqmp_pll_disable() clock disable failed for dpll_int, ret = -13
[   23.180614] ALSA device list:
[   23.183578]   #0: DisplayPort monitor
[   23.187883] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   23.188283] Freeing unused kernel memory: 896K
[   23.196493] cfg80211: failed to load regulatory.db
[   23.222074] Run /init as init process
INIT: version 2.88 booting
Starting udev
[   23.372632] udevd[2084]: starting version 3.2.5
[   23.383588] udevd[2085]: starting eudev-3.2.5
[   24.228280] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
hwclock: can't open '/dev/misc/rtc': No such file or directory
Tue Mar  9 00:30:54 UTC 2021
hwclock: can't open '/dev/misc/rtc': No such file or directory
Configuring packages on first boot....
 (This may take several minutes. Please do not power off the machine.)
Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
 Removing any system startup links for run-postinsts ...
INIT: Entering runlevel: 5sts
Configuring network interfaces... [   24.890199] pps pps0: new PPS source ptp0
[   24.894254] macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered.
[   24.901059] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc: started, v1.29.2
udhcpc: sending discover
udhcpc: sending discover
[   27.966417] macb ff0e0000.ethernet eth0: link up (100/Full)
[   27.972030] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
udhcpc: sending discover
udhcpc: sending select for 192.168.1.11
udhcpc: lease of 192.168.1.11 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 192.168.1.1
done.
Starting system message bus: dbus.
Starting Dropbear SSH server: Generating 2048 bit rsa key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQChqnuuCt5R177cnNFRMpcCUHYpTGdEFPsLydtLxCaaYlN7y21LWnkULqZU/kgrN2JkSiXQVCrwju0y4i2mcdvj0Its/ZUZ56ncwoRL8x/KiCUcAIMcL2otBV3I3TfGpzrPqwliZ6HAa5MSkQQ7kNe28lz+9KHzdd7y5r8wIn6HhJImuDQzz1E7UfgvBb9ZB3ztcbXDLUi1ZIriC6KB1IVI7RZTdKF2bOy/iT/RSlagBMVToU3RKmy4Hi7W1wsjeEyDRIxy3tc0wgW2xdYYZWmbhFGLswt8YZgEYBqiK/f9iAfh61FVvHyu3TjAsFRdJKdjfUnK+IaC57/NR00mdOd7 root@petalinux
Fingerprint: sha1!! d5:76:2c:7f:f2:e7:cc:ed:67:7c:9a:bd:58:0d:5f:d3:0f:48:bb:b8
dropbear.
Starting FANCONTROL Daemon: fancontrold
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting IIO Daemon: iiod
Starting internet superserver: inetd.
Starting syslogd/klogd: done
Starting tcf-agent: OK

PetaLinux 2019.1 petalinux /dev/ttyPS0

petalinux login: root
Password:
root@petalinux:~# iio_info
Library version: 0.21 (git tag: v0.21)
Compiled with backends: local xml ip usb
IIO context created with local backend.
Backend version: 0.21 (git tag: v0.21)
Backend description string: Linux petalinux 4.19.0-xilinx-v2019.1 #1 SMP Tue Mar 9 00:22:16 UTC 2021 aarch64
IIO context has 2 attributes:
        local,kernel: 4.19.0-xilinx-v2019.1
        uri: local:
IIO context has 7 devices:
        iio:device0: ams
                30 channels found:
                        voltage6: vccpsintfpddr (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18263
                                attr  1: scale value: 0.045776367
                        voltage14: vccpsio2 (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 19559
                                attr  1: scale value: 0.091552734
                        voltage16: psmgtravtt (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39278
                                attr  1: scale value: 0.045776367
                        voltage23: vccplintlp (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18228
                                attr  1: scale value: 0.045776367
                        voltage0: vcc_pspll0 (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 26159
                                attr  1: scale value: 0.045776367
                        voltage22: vccbram (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18417
                                attr  1: scale value: 0.045776367
                        voltage26: vccams (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39270
                                attr  1: scale value: 0.015258789
                        voltage8: vccpsintfp (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18262
                                attr  1: scale value: 0.045776367
                        temp1: remote_temp (input)
                        3 channel-specific attributes found:
                                attr  0: offset value: -36058
                                attr  1: raw value: 41530
                                attr  2: scale value: 7.771514892
                        voltage9: vccpsaux (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39281
                                attr  1: scale value: 0.045776367
                        voltage25: vccplaux (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39308
                                attr  1: scale value: 0.045776367
                        voltage18: vccint (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18333
                                attr  1: scale value: 0.045776367
                        voltage15: psmgtravcc (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 19574
                                attr  1: scale value: 0.045776367
                        temp0: ps_temp (input)
                        3 channel-specific attributes found:
                                attr  0: offset value: -36058
                                attr  1: raw value: 41474
                                attr  2: scale value: 7.771514892
                        voltage2: vccint (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18282
                                attr  1: scale value: 0.045776367
                        voltage5: vcc_psddrpll (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39208
                                attr  1: scale value: 0.045776367
                        voltage21: vccvrefn (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 0
                                attr  1: scale value: 0.015258789
                        voltage7: vccpsintlp (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18220
                                attr  1: scale value: 0.045776367
                        voltage11: vccpsio3 (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 19534
                                attr  1: scale value: 0.091552734
                        temp2: pl_temp (input)
                        3 channel-specific attributes found:
                                attr  0: offset value: -36058
                                attr  1: raw value: 41434
                                attr  2: scale value: 7.771514892
                        voltage13: vccpsio1 (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 35511
                                attr  1: scale value: 0.091552734
                        voltage3: vccbram (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18308
                                attr  1: scale value: 0.045776367
                        voltage4: vccaux (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39273
                                attr  1: scale value: 0.045776367
                        voltage12: vccpsio0 (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 19553
                                attr  1: scale value: 0.091552734
                        voltage10: vccpsddr (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 23731
                                attr  1: scale value: 0.045776367
                        voltage24: vccplintfp (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 18344
                                attr  1: scale value: 0.045776367
                        voltage1: vcc_psbatt (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39330
                                attr  1: scale value: 0.045776367
                        voltage19: vccaux (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39365
                                attr  1: scale value: 0.045776367
                        voltage17: vccams (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 39284
                                attr  1: scale value: 0.015258789
                        voltage20: vccvrefp (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 27324
                                attr  1: scale value: 0.015258789
                1 device-specific attributes found:
                                attr  0: sampling_frequency ERROR: Invalid argument (-22)
                No trigger on this device
        iio:device2: axi-adrv9002-rx2-lpc (buffer capable)
                2 channels found:
                        voltage0_i:  (input, index: 0, format: le:S16/16>>0)
                        1 channel-specific attributes found:
                                attr  0: sampling_frequency value: 15360000
                        voltage0_q:  (input, index: 1, format: le:S16/16>>0)
                        1 channel-specific attributes found:
                                attr  0: sampling_frequency value: 15360000
                3 buffer-specific attributes found:
                                attr  0: data_available value: 0
                                attr  1: length_align_bytes value: 8
                                attr  2: watermark value: 2048
                1 debug attributes found:
                                debug attr  0: direct_reg_access value: 0xA0162
                No trigger on this device
        iio:device3: axi-adrv9002-core-tdd1-lpc
                4 channels found:
                        data1:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                        6 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0
                                attr  1: dp_on_ms value: 0
                                attr  2: off_ms value: 0
                                attr  3: on_ms value: 0
                                attr  4: vco_off_ms value: 0
                                attr  5: vco_on_ms value: 0
                        data1:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                        6 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0
                                attr  1: dp_on_ms value: 0
                                attr  2: off_ms value: 0
                                attr  3: on_ms value: 0
                                attr  4: vco_off_ms value: 0
                                attr  5: vco_on_ms value: 0
                        data0:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                        6 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0
                                attr  1: dp_on_ms value: 0
                                attr  2: off_ms value: 0
                                attr  3: on_ms value: 0
                                attr  4: vco_off_ms value: 0
                                attr  5: vco_on_ms value: 0
                        data0:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                        6 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0
                                attr  1: dp_on_ms value: 0
                                attr  2: off_ms value: 0
                                attr  3: on_ms value: 0
                                attr  4: vco_off_ms value: 0
                                attr  5: vco_on_ms value: 0
                10 device-specific attributes found:
                                attr  0: burst_count value: 0
                                attr  1: counter_int value: 0
                                attr  2: dma_gateing_mode value: rx_tx
                                attr  3: dma_gateing_mode_available value: rx_tx rx_only tx_only none
                                attr  4: en value: 0
                                attr  5: en_mode value: rx_tx
                                attr  6: en_mode_available value: rx_tx rx_only tx_only
                                attr  7: frame_length_ms value: 0
                                attr  8: secondary value: 0
                                attr  9: sync_terminal_type value: 0
                1 debug attributes found:
                                debug attr  0: direct_reg_access value: 0x10061
                No trigger on this device
        iio:device4: axi-adrv9002-core-tdd2-lpc
                4 channels found:
                        data1:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                        6 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0
                                attr  1: dp_on_ms value: 0
                                attr  2: off_ms value: 0
                                attr  3: on_ms value: 0
                                attr  4: vco_off_ms value: 0
                                attr  5: vco_on_ms value: 0
                        data1:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                        6 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0
                                attr  1: dp_on_ms value: 0
                                attr  2: off_ms value: 0
                                attr  3: on_ms value: 0
                                attr  4: vco_off_ms value: 0
                                attr  5: vco_on_ms value: 0
                        data0:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                        6 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0
                                attr  1: dp_on_ms value: 0
                                attr  2: off_ms value: 0
                                attr  3: on_ms value: 0
                                attr  4: vco_off_ms value: 0
                                attr  5: vco_on_ms value: 0
                        data0:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                        6 channel-specific attributes found:
                                attr  0: dp_off_ms value: 0
                                attr  1: dp_on_ms value: 0
                                attr  2: off_ms value: 0
                                attr  3: on_ms value: 0
                                attr  4: vco_off_ms value: 0
                                attr  5: vco_on_ms value: 0
                10 device-specific attributes found:
                                attr  0: burst_count value: 0
                                attr  1: counter_int value: 0
                                attr  2: dma_gateing_mode value: rx_tx
                                attr  3: dma_gateing_mode_available value: rx_tx rx_only tx_only none
                                attr  4: en value: 0
                                attr  5: en_mode value: rx_tx
                                attr  6: en_mode_available value: rx_tx rx_only tx_only
                                attr  7: frame_length_ms value: 0
                                attr  8: secondary value: 0
                                attr  9: sync_terminal_type value: 0
                1 debug attributes found:
                                debug attr  0: direct_reg_access value: 0x10061
                No trigger on this device
        iio:device5: axi-adrv9002-tx-lpc (buffer capable)
                6 channels found:
                        voltage0:  (output, index: 0, format: le:S16/16>>0)
                        3 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 15360000
                        voltage1:  (output, index: 1, format: le:S16/16>>0)
                        3 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 15360000
                        altvoltage3: TX1_Q_F2 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 1999952
                                attr  1: phase value: 0
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 15360000
                                attr  4: scale value: 0.125000
                        altvoltage2: TX1_Q_F1 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 1999952
                                attr  1: phase value: 0
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 15360000
                                attr  4: scale value: 0.125000
                        altvoltage1: TX1_I_F2 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 1999952
                                attr  1: phase value: 90000
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 15360000
                                attr  4: scale value: 0.125000
                        altvoltage0: TX1_I_F1 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 1999952
                                attr  1: phase value: 90000
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 15360000
                                attr  4: scale value: 0.125000
                3 buffer-specific attributes found:
                                attr  0: data_available value: 0
                                attr  1: length_align_bytes value: 8
                                attr  2: watermark value: 2048
                1 debug attributes found:
                                debug attr  0: direct_reg_access value: 0x90162
                No trigger on this device
        iio:device6: axi-adrv9002-tx2-lpc (buffer capable)
                6 channels found:
                        voltage0:  (output, index: 0, format: le:S16/16>>0)
                        3 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 15360000
                        voltage1:  (output, index: 1, format: le:S16/16>>0)
                        3 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 15360000
                        altvoltage3: TX1_Q_F2 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 1999952
                                attr  1: phase value: 0
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 15360000
                                attr  4: scale value: 0.125000
                        altvoltage2: TX1_Q_F1 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 1999952
                                attr  1: phase value: 0
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 15360000
                                attr  4: scale value: 0.125000
                        altvoltage1: TX1_I_F2 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 1999952
                                attr  1: phase value: 90000
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 15360000
                                attr  4: scale value: 0.125000
                        altvoltage0: TX1_I_F1 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 1999952
                                attr  1: phase value: 90000
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 15360000
                                attr  4: scale value: 0.125000
                3 buffer-specific attributes found:
                                attr  0: data_available value: 0
                                attr  1: length_align_bytes value: 8
                                attr  2: watermark value: 2048
                1 debug attributes found:
                                debug attr  0: direct_reg_access value: 0x90162
                No trigger on this device
        iio_sysfs_trigger:
                0 channels found:
                2 device-specific attributes found:
                                attr  0: add_trigger ERROR: Permission denied (-13)
                                attr  1: remove_trigger ERROR: Permission denied (-13)
                No trigger on this device
root@petalinux:~#
 zcu102_adrv9001_log.txt    

  • Hi ,

    we suspect the tuning of the digital interface fails in case of your custom design, this stops from probing the adrv9002-phy and rx-lpc. 

    Please could you add a  DEBUG  macro in the first line of adrv9002_conv.c and rebuild the kernel.   This way we could have access to more details. 

    Thanks, 

    Laszlo

  • Attached updated log, thanks!

     0
    392 bytes read in 9 ms (42 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from SD ...
    Running uenvcmd ...
    Copying Linux from SD to RAM...
    ** No boot file defined **
    Device: mmc@ff170000
    Manufacturer ID: 3
    OEM: 5344
    Name: SC32G
    Bus Speed: 50000000
    Mode : SD High Speed (50MHz)
    Rd Block Len: 512
    SD version 3.0
    High Capacity: Yes
    Capacity: 29.7 GiB
    Bus Width: 4-bit
    Erase Group Size: 512 Bytes
    38959576 bytes read in 2859 ms (13 MiB/s)
    ## Loading kernel from FIT Image at 10000000 ...
       Using 'conf@system-top.dtb' configuration
       Trying 'kernel@1' kernel subimage
         Description:  Linux kernel
         Type:         Kernel Image
         Compression:  uncompressed
         Data Start:   0x10000104
         Data Size:    30007808 Bytes = 28.6 MiB
         Architecture: AArch64
         OS:           Linux
         Load Address: 0x00080000
         Entry Point:  0x00080000
         Hash algo:    sha1
         Hash value:   558d4146ca7680ae793524f4dea6eadeea79a134
       Verifying Hash Integrity ... sha1+ OK
    ## Loading ramdisk from FIT Image at 10000000 ...
       Using 'conf@system-top.dtb' configuration
       Trying 'ramdisk@1' ramdisk subimage
         Description:  petalinux-user-image
         Type:         RAMDisk Image
         Compression:  gzip compressed
         Data Start:   0x11ca7e18
         Data Size:    8910383 Bytes = 8.5 MiB
         Architecture: AArch64
         OS:           Linux
         Load Address: unavailable
         Entry Point:  unavailable
         Hash algo:    sha1
         Hash value:   8a05fb9f6c42491c8bbb77dae853e637d0350ad9
       Verifying Hash Integrity ... sha1+ OK
    ## Loading fdt from FIT Image at 10000000 ...
       Using 'conf@system-top.dtb' configuration
       Trying 'fdt@system-top.dtb' fdt subimage
         Description:  Flattened Device Tree blob
         Type:         Flat Device Tree
         Compression:  uncompressed
         Data Start:   0x11c9e408
         Data Size:    39242 Bytes = 38.3 KiB
         Architecture: AArch64
         Hash algo:    sha1
         Hash value:   99dbf9244ae0b853f8874fcedc4fb4fb8e74de0d
       Verifying Hash Integrity ... sha1+ OK
       Booting using the fdt blob at 0x11c9e408
       Loading Kernel Image ... OK
       Loading Ramdisk to 07780000, end 07fff62f ... OK
       Loading Device Tree to 0000000007773000, end 000000000777f949 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 4.19.0-xilinx-v2019.1 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Mar 9 13:23:17 UTC 2021
    [    0.000000] Machine model: BytePipe Rev2
    [    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
    [    0.000000] bootconsole [cdns0] enabled
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 256 MiB at 0x0000000070000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
    [    0.000000] psci: SMC Calling Convention v1.1
    [    0.000000] random: get_random_bytes called from start_kernel+0x94/0x3f8 with crng_init=0
    [    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s53656 r8192 d32360 u94208
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: enabling workaround for ARM erratum 845719
    [    0.000000] Speculative Store Bypass Disable mitigation not required
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1034240
    [    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlycon rootfstype=ext4 rootwait cpuidle.off=1
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
    [    0.000000] software IO TLB: mapped [mem 0x6bfff000-0x6ffff000] (64MB)
    [    0.000000] Memory: 3763496K/4194304K available (12924K kernel code, 1528K rwdata, 13880K rodata, 896K init, 335K bss, 168664K reserved, 262144K cma-reserved)
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] arch_timer: cp15 timer(s) running at 99.99MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171015c90f, max_idle_ns: 440795203080 ns
    [    0.000004] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns
    [    0.008318] Console: colour dummy device 80x25
    [    0.012405] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.99 BogoMIPS (lpj=399996)
    [    0.022754] pid_max: default: 32768 minimum: 301
    [    0.027496] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.034024] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.042198] ASID allocator initialised with 32768 entries
    [    0.046521] rcu: Hierarchical SRCU implementation.
    [    0.051572] EFI services will not be available.
    [    0.055867] smp: Bringing up secondary CPUs ...
    [    0.060580] Detected VIPT I-cache on CPU1
    [    0.060625] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    1.076901] CPU2: failed to come online
    [    1.085566] CPU2: failed in unknown state : 0x0
    [    2.106757] CPU3: failed to come online
    [    2.106796] CPU3: failed in unknown state : 0x0
    [    2.109494] smp: Brought up 1 node, 2 CPUs
    [    2.113526] SMP: Total of 2 processors activated.
    [    2.118195] CPU features: detected: 32-bit EL0 Support
    [    2.126069] CPU: All CPU(s) started at EL2
    [    2.127372] alternatives: patching kernel code
    [    2.133439] devtmpfs: initialized
    [    2.140111] Registered cp15_barrier emulation handler
    [    2.140165] Registered setend emulation handler
    [    2.144745] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    2.154277] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    2.168921] xor: measuring software checksum speed
    [    2.208562]    8regs     :  2177.000 MB/sec
    [    2.248584]    8regs_prefetch:  1881.000 MB/sec
    [    2.288615]    32regs    :  2497.000 MB/sec
    [    2.328648]    32regs_prefetch:  2116.000 MB/sec
    [    2.328694] xor: using function: 32regs (2497.000 MB/sec)
    [    2.333004] pinctrl core: initialized pinctrl subsystem
    [    2.339310] NET: Registered protocol family 16
    [    2.343038] audit: initializing netlink subsys (disabled)
    [    2.348075] audit: type=2000 audit(2.300:1): state=initialized audit_enabled=0 res=1
    [    2.355656] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
    [    2.355664] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    2.370616] DMA: preallocated 256 KiB pool for atomic allocations
    [    2.405065] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    2.474075] raid6: int64x1  gen()   405 MB/s
    [    2.542092] raid6: int64x1  xor()   413 MB/s
    [    2.610131] raid6: int64x2  gen()   624 MB/s
    [    2.678211] raid6: int64x2  xor()   549 MB/s
    [    2.746271] raid6: int64x4  gen()   899 MB/s
    [    2.814304] raid6: int64x4  xor()   675 MB/s
    [    2.882393] raid6: int64x8  gen()  1065 MB/s
    [    2.950434] raid6: int64x8  xor()   696 MB/s
    [    3.018538] raid6: neonx1   gen()   673 MB/s
    [    3.086535] raid6: neonx1   xor()   807 MB/s
    [    3.154612] raid6: neonx2   gen()  1034 MB/s
    [    3.222670] raid6: neonx2   xor()  1070 MB/s
    [    3.290708] raid6: neonx4   gen()  1353 MB/s
    [    3.358777] raid6: neonx4   xor()  1294 MB/s
    [    3.426850] raid6: neonx8   gen()  1412 MB/s
    [    3.494902] raid6: neonx8   xor()  1331 MB/s
    [    3.494944] raid6: using algorithm neonx8 gen() 1412 MB/s
    [    3.498893] raid6: .... xor() 1331 MB/s, rmw enabled
    [    3.503823] raid6: using neon recovery algorithm
    [    3.509474] SCSI subsystem initialized
    [    3.512401] usbcore: registered new interface driver usbfs
    [    3.517615] usbcore: registered new interface driver hub
    [    3.522902] usbcore: registered new device driver usb
    [    3.528093] media: Linux media interface: v0.10
    [    3.532397] videodev: Linux video capture interface: v2.00
    [    3.537885] pps_core: LinuxPPS API ver. 1 registered
    [    3.542748] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    3.551845] PTP clock support registered
    [    3.555751] EDAC MC: Ver: 3.0.0
    [    3.561173] zynqmp-ipi-mbox mailbox@ff990400: Probed ZynqMP IPI Mailbox driver.
    [    3.566673] jesd204: found 0 devices and 0 topologies
    [    3.571172] FPGA manager framework
    [    3.574743] Advanced Linux Sound Architecture Driver Initialized.
    [    3.580962] Bluetooth: Core ver 2.22
    [    3.584118] NET: Registered protocol family 31
    [    3.588509] Bluetooth: HCI device and connection manager initialized
    [    3.594828] Bluetooth: HCI socket layer initialized
    [    3.599668] Bluetooth: L2CAP socket layer initialized
    [    3.604698] Bluetooth: SCO socket layer initialized
    [    3.610120] clocksource: Switched to clocksource arch_sys_counter
    [    3.615813] VFS: Disk quotas dquot_6.6.0
    [    3.619537] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    3.631815] NET: Registered protocol family 2
    [    3.632384] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)
    [    3.638468] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
    [    3.645820] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
    [    3.653173] TCP: Hash tables configured (established 32768 bind 32768)
    [    3.658810] UDP hash table entries: 2048 (order: 4, 65536 bytes)
    [    3.664707] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
    [    3.671225] NET: Registered protocol family 1
    [    3.675678] RPC: Registered named UNIX socket transport module.
    [    3.681284] RPC: Registered udp transport module.
    [    3.685908] RPC: Registered tcp transport module.
    [    3.690581] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    3.697460] Trying to unpack rootfs image as initramfs...
    [    4.103484] Freeing initrd memory: 8700K
    [    4.104339] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    4.109178] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    4.117992] Initialise system trusted keyrings
    [    4.121139] workingset: timestamp_bits=62 max_order=20 bucket_order=0
    [    4.128319] NFS: Registering the id_resolver key type
    [    4.132417] Key type id_resolver registered
    [    4.136553] Key type id_legacy registered
    [    4.140539] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    4.147210] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    5.343420] NET: Registered protocol family 38
    [    5.409762] Key type asymmetric registered
    [    5.409810] Asymmetric key parser 'x509' registered
    [    5.413143] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    5.420422] io scheduler noop registered
    [    5.424323] io scheduler deadline registered
    [    5.428622] io scheduler cfq registered (default)
    [    5.433219] io scheduler mq-deadline registered
    [    5.437716] io scheduler kyber registered
    [    5.479814] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    5.485045] cacheinfo: Unable to detect cache hierarchy for CPU 0
    [    5.492666] brd: module loaded
    [    5.499179] loop: module loaded
    [    5.499549] Registered mathworks_ip class
    [    5.501707] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    5.509024] libphy: Fixed MDIO Bus: probed
    [    5.512727] tun: Universal TUN/TAP device driver, 1.6
    [    5.518575] CAN device driver interface
    [    5.521357] usbcore: registered new interface driver asix
    [    5.525382] usbcore: registered new interface driver ax88179_178a
    [    5.531421] usbcore: registered new interface driver cdc_ether
    [    5.537215] usbcore: registered new interface driver net1080
    [    5.542835] usbcore: registered new interface driver cdc_subset
    [    5.548718] usbcore: registered new interface driver zaurus
    [    5.554268] usbcore: registered new interface driver cdc_ncm
    [    5.560713] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.566338] ehci-pci: EHCI PCI platform driver
    [    5.571082] usbcore: registered new interface driver uas
    [    5.576065] usbcore: registered new interface driver usb-storage
    [    5.582080] usbcore: registered new interface driver usbserial_generic
    [    5.588506] usbserial: USB Serial support registered for generic
    [    5.594473] usbcore: registered new interface driver ftdi_sio
    [    5.600178] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    5.607447] usbcore: registered new interface driver upd78f0730
    [    5.613326] usbserial: USB Serial support registered for upd78f0730
    [    5.620967] i2c /dev entries driver
    [    5.625339] usbcore: registered new interface driver uvcvideo
    [    5.628706] USB Video Class driver (1.1.1)
    [    5.635604] Bluetooth: HCI UART driver ver 2.3
    [    5.637177] Bluetooth: HCI UART protocol H4 registered
    [    5.642301] Bluetooth: HCI UART protocol BCSP registered
    [    5.647752] Bluetooth: HCI UART protocol LL registered
    [    5.652663] Bluetooth: HCI UART protocol ATH3K registered
    [    5.658045] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [    5.664329] Bluetooth: HCI UART protocol Intel registered
    [    5.669638] Bluetooth: HCI UART protocol QCA registered
    [    5.674856] usbcore: registered new interface driver bcm203x
    [    5.680464] usbcore: registered new interface driver bpa10x
    [    5.686000] usbcore: registered new interface driver bfusb
    [    5.691448] usbcore: registered new interface driver btusb
    [    5.696865] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
    [    5.702543] usbcore: registered new interface driver ath3k
    [    5.708124] EDAC MC: ECC not enabled
    [    5.711686] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
    [    5.724122] CPUidle arm: Failed to register cpuidle driver
    [    5.729260] sdhci: Secure Digital Host Controller Interface driver
    [    5.735184] sdhci: Copyright(c) Pierre Ossman
    [    5.739508] sdhci-pltfm: SDHCI platform and OF driver helper
    [    5.746075] ledtrig-cpu: registered to indicate activity on CPUs
    [    5.751177] zynqmp_firmware_probe Platform Management API v1.1
    [    5.756897] zynqmp_firmware_probe Trustzone version v1.0
    [    5.765508] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl initialized
    [    5.794714] zynqmp_clk_mux_get_parent() getparent failed for clock: lpd_wdt, ret = -22
    [    5.798144] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
    [    5.802563] zynqmp_aes zynqmp_aes: AES Successfully Registered
    [    5.802563]
    [    5.810225] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
    [    5.816221] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
    [    5.821877] usbcore: registered new interface driver usbhid
    [    5.827090] usbhid: USB HID core driver
    [    5.839954] axi_sysid 85000000.axi-sysid-0: [adrv9001] [CMOS_LVDS_N=0] on [bytepipe] git <061d024d596ef84c6a819854bf2472e6b43a2d5d> clean [2021-03-08 21:30:30] UTC
    [    5.849498] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
    [    5.856107] usbcore: registered new interface driver snd-usb-audio
    [    5.863808] pktgen: Packet Generator for packet performance testing. Version: 2.75
    [    5.869442] Initializing XFRM netlink socket
    [    5.873333] NET: Registered protocol family 10
    [    5.878213] Segment Routing with IPv6
    [    5.881356] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    5.887610] NET: Registered protocol family 17
    [    5.891549] NET: Registered protocol family 15
    [    5.895965] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [    5.909868] can: controller area network core (rev 20170425 abi 9)
    [    5.915019] NET: Registered protocol family 29
    [    5.919391] can: raw protocol (rev 20170425)
    [    5.923627] can: broadcast manager protocol (rev 20170425 t)
    [    5.929252] can: netlink gateway (rev 20170425) max_hops=1
    [    5.934778] Bluetooth: RFCOMM TTY layer initialized
    [    5.939556] Bluetooth: RFCOMM socket layer initialized
    [    5.944691] Bluetooth: RFCOMM ver 1.11
    [    5.948371] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    5.953641] Bluetooth: BNEP filters: protocol multicast
    [    5.958835] Bluetooth: BNEP socket layer initialized
    [    5.963761] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    5.969646] Bluetooth: HIDP socket layer initialized
    [    5.974712] 9pnet: Installing 9P2000 support
    [    5.978825] NET: Registered protocol family 36
    [    5.983249] Key type dns_resolver registered
    [    5.988097] registered taskstats version 1
    [    5.991534] Loading compiled-in X.509 certificates
    [    5.996718] Btrfs loaded, crc32c=crc32c-generic
    [    6.009586] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp_pinconf_cfg_set failed: pin 11 param 1 value 0
    [    6.014744] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 30, base_baud = 6249999) is a xuartps
    [    6.029156] console [ttyPS0] enabled
    [    6.029156] console [ttyPS0] enabled
    [    6.032760] bootconsole [cdns0] disabled
    [    6.032760] bootconsole [cdns0] disabled
    [    6.040919] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp_pinconf_cfg_set failed: pin 8 param 1 value 0
    [    6.054531] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 31, base_baud = 6249999) is a xuartps
    [    6.064514] of-fpga-region fpga-full: FPGA Region probed
    [    6.071926] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
    [    6.078564] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
    [    6.085708] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
    [    6.092852] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
    [    6.099990] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
    [    6.107133] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
    [    6.114284] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
    [    6.121428] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
    [    6.128567] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
    [    6.135926] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:8 protocol:4 pll_locked:yes
    [    6.148709] zynqmp_clk_divider_set_rate() set divider failed for spi1_ref_div1, ret = -13
    [    6.157626] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Xilinx DisplayPort Sound Codec probed
    [    6.168554] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
    [    6.176710] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
    [    6.185915] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
    [    6.198417] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
    [    6.211255] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xilinx DisplayPort Sound Card probed
    [    6.221479] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
    [    6.228660] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    6.235274] [drm] No driver support for vblank timestamp query.
    [    6.241296] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff8008de4370)
    [    6.376537] random: fast init done
    [   13.112443] random: crng init done
    [   14.435767] [drm] Cannot find any crtc or sizes
    [   14.440622] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
    [   14.448740] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
    [   14.462398] zynqmp_gpd_attach_dev() domain6 request failed for node 48: -13
    [   14.469368] xilinx_can ff070000.can: failed to add to PM domain domain6: -13
    [   14.476420] xilinx_can: probe of ff070000.can failed with error -13
    [   14.484458] macb ff0e0000.ethernet: Not enabling partial store and forward
    [   14.492142] libphy: MACB_mii_bus: probed
    [   14.503156] TI DP83867 ff0e0000.ethernet-ffffffff:09: attached PHY driver [TI DP83867] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:09, irq=POLL)
    [   14.516209] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 21 (00:0a:35:00:22:01)
    [   14.526712] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
    [   14.533357] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
    [   14.539900] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
    [   14.546438] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
    [   14.554167] dwc3-of-simple ff9d0000.usb0: dwc3_simple_set_phydata: Can't find usb3-phy
    [   14.591533] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 23
    [   14.597919] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
    [   14.605575] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1099999 KHz
    [   14.613032] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 1199999 KHz
    [   14.622038] sdhci-arasan ff160000.mmc: "xlnx,mio_bank " property is missing.
    [   14.629163] sdhci-arasan: probe of ff160000.mmc failed with error -22
    [   14.668462] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
    [   14.746536] mmc0: new high speed SDHC card at address aaaa
    [   14.753027] mmcblk0: mmc0:aaaa SC32G 29.7 GiB (ro)
    [   14.762171]  mmcblk0: p1 p2 p3
    [   22.470113] SAMPL CLK: 15360000 tuning: RX1
    [   22.474291]   0:1:2:3:4:5:6:7
    [   22.477260] 0:o o o o o o o o
    [   22.480314] 1:o o o o o o o o
    [   22.483369] 2:o o o o o o o o
    [   22.486424] 3:o o o o o o o o
    [   22.489473] 4:o o o o o o o o
    [   22.492526] 5:o o o o o o o o
    [   22.495581] 6:o o o o o o o o
    [   22.498637] 7:o o o o o o o o
    [   22.872154] SAMPL CLK: 15360000 tuning: RX2
    [   22.876328]   0:1:2:3:4:5:6:7
    [   22.879306] 0:# # # # # # # #
    [   22.882358] 1:# # # # # # # #
    [   22.885407] 2:# # # # # # # #
    [   22.888460] 3:# # # # # # # #
    [   22.891515] 4:# # # # # # # #
    [   22.894570] 5:# # # # # # # #
    [   22.897619] 6:# # # # # # # #
    [   22.900672] 7:# # # # # # # #
    [   22.903955] cf_axi_adc: probe of 84a00000.axi-adrv9002-rx-lpc failed with error -5
    [   22.913240] cf_axi_tdd 84a0c800.axi-adrv9002-core-tdd1-lpc: Analog Devices CF_AXI_TDD MASTER (1.00.a)
    [   22.922948] cf_axi_tdd 84a0cc00.axi-adrv9002-core-tdd2-lpc: Analog Devices CF_AXI_TDD MASTER (1.00.a)
    [   22.950418] cf_axi_dds 84a0a000.axi-adrv9002-tx-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0x84A0A000 mapped to 0x00000000f797ea44, probed DDS ADRV9002
    [   22.982396] cf_axi_dds 84a0c000.axi-adrv9002-tx2-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0x84A0C000 mapped to 0x00000000fcb8e1f9, probed DDS ADRV9002
    [   23.000306] hctosys: unable to open rtc device (rtc0)
    [   23.005361] of_cfs_init
    [   23.007841] of_cfs_init: OK
    [   23.010802] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [   23.170187] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [   23.176962] zynqmp_pll_disable() clock disable failed for dpll_int, ret = -13
    [   23.184835] ALSA device list:
    [   23.187794]   #0: DisplayPort monitor
    [   23.192082] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [   23.200695] cfg80211: failed to load regulatory.db
    [   23.201112] Freeing unused kernel memory: 896K
    [   23.222150] Run /init as init process
    INIT: version 2.88 booting
    Starting udev
    [   23.372061] udevd[2084]: starting version 3.2.5
    [   23.382816] udevd[2085]: starting eudev-3.2.5
    [   24.281107] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Tue Mar  9 13:28:51 UTC 2021
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Configuring packages on first boot....
     (This may take several minutes. Please do not power off the machine.)
    Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
    update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
     Removing any system startup links for run-postinsts ...
    INIT: Entering runlevel: 5s
    Configuring network interfaces... [   24.893009] pps pps0: new PPS source ptp0
    [   24.897061] macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered.
    [   24.903861] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    udhcpc: started, v1.29.2
    udhcpc: sending discover
    [   27.966493] macb ff0e0000.ethernet eth0: link up (100/Full)
    [   27.972104] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    udhcpc: sending discover
    udhcpc: sending select for 192.168.1.11
    udhcpc: lease of 192.168.1.11 obtained, lease time 86400
    /etc/udhcpc.d/50default: Adding DNS 192.168.1.1
    done.
    Starting system message bus: dbus.
    Starting Dropbear SSH server: Generating 2048 bit rsa key, this may take a while...
    Public key portion is:
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdpHBal+Hjm4SBb2hcog56547M3ZClhW0zBnsFL6sWTvyNv46Xx3gWKUa5Jhvp1WjK0a0K6fOT8CAjBTTAlhGVMWPrYcot0Rc8MLl2DgjDgzUyjGiNtMyGPL22N+PKBNwhy87rrsqjyMOnDIQ/fZXcPyV1EmyVuhQAxPxzF7r53Iz6HvmG2WB0U9Wne7EAGuOz9SO7WEbOr8VLQT2JoNMajNj53Z5EQZ/BNPXrF5akUPo3ujqZd3J5vOU3oPIOgEUV+L+WyPiLOdS6pFnqltQ2aiNd7TN64TR/v4NF7r/KzgeQfAB2fUALgn3pvn7F1Ij/ilxfSAoN3YWHeKl4rakT root@petalinux
    Fingerprint: sha1!! 74:e2:9e:15:1d:7b:9e:9e:51:72:8c:54:29:60:3b:29:ad:f4:d6:e4
    dropbear.
    Starting FANCONTROL Daemon: fancontrold
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Starting IIO Daemon: iiod
    Starting internet superserver: inetd.
    Starting syslogd/klogd: done
    Starting tcf-agent: OK
    
    PetaLinux 2019.1 petalinux /dev/ttyPS0
    
    petalinux login: root
    Password:
    root@petalinux:~# iio_info
    Library version: 0.21 (git tag: v0.21)
    Compiled with backends: local xml ip usb
    IIO context created with local backend.
    Backend version: 0.21 (git tag: v0.21)
    Backend description string: Linux petalinux 4.19.0-xilinx-v2019.1 #1 SMP Tue Mar 9 13:23:17 UTC 2021 aarch64
    IIO context has 2 attributes:
            local,kernel: 4.19.0-xilinx-v2019.1
            uri: local:
    IIO context has 7 devices:
            iio:device0: ams
                    30 channels found:
                            voltage6: vccpsintfpddr (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 18215
                                    attr  1: scale value: 0.045776367
                            voltage14: vccpsio2 (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 19591
                                    attr  1: scale value: 0.091552734
                            voltage16: psmgtravtt (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 39393
                                    attr  1: scale value: 0.045776367
                            voltage23: vccplintlp (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 18268
                                    attr  1: scale value: 0.045776367
                            voltage0: vcc_pspll0 (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 26216
                                    attr  1: scale value: 0.045776367
                            voltage22: vccbram (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 18320
                                    attr  1: scale value: 0.045776367
                            voltage26: vccams (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 39262
                                    attr  1: scale value: 0.015258789
                            voltage8: vccpsintfp (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 18275
                                    attr  1: scale value: 0.045776367
                            temp1: remote_temp (input)
                            3 channel-specific attributes found:
                                    attr  0: offset value: -36058
                                    attr  1: raw value: 41128
                                    attr  2: scale value: 7.771514892
                            voltage9: vccpsaux (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 39357
                                    attr  1: scale value: 0.045776367
                            voltage25: vccplaux (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 39339
                                    attr  1: scale value: 0.045776367
                            voltage18: vccint (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 18308
                                    attr  1: scale value: 0.045776367
                            voltage15: psmgtravcc (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 19623
                                    attr  1: scale value: 0.045776367
                            temp0: ps_temp (input)
                            3 channel-specific attributes found:
                                    attr  0: offset value: -36058
                                    attr  1: raw value: 41110
                                    attr  2: scale value: 7.771514892
                            voltage2: vccint (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 18340
                                    attr  1: scale value: 0.045776367
                            voltage5: vcc_psddrpll (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 39318
                                    attr  1: scale value: 0.045776367
                            voltage21: vccvrefn (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 0
                                    attr  1: scale value: 0.015258789
                            voltage7: vccpsintlp (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 18250
                                    attr  1: scale value: 0.045776367
                            voltage11: vccpsio3 (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 19572
                                    attr  1: scale value: 0.091552734
                            temp2: pl_temp (input)
                            3 channel-specific attributes found:
                                    attr  0: offset value: -36058
                                    attr  1: raw value: 40964
                                    attr  2: scale value: 7.771514892
                            voltage13: vccpsio1 (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 35576
                                    attr  1: scale value: 0.091552734
                            voltage3: vccbram (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 18324
                                    attr  1: scale value: 0.045776367
                            voltage4: vccaux (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 39391
                                    attr  1: scale value: 0.045776367
                            voltage12: vccpsio0 (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 19590
                                    attr  1: scale value: 0.091552734
                            voltage10: vccpsddr (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 23758
                                    attr  1: scale value: 0.045776367
                            voltage24: vccplintfp (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 18204
                                    attr  1: scale value: 0.045776367
                            voltage1: vcc_psbatt (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 39382
                                    attr  1: scale value: 0.045776367
                            voltage19: vccaux (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 39343
                                    attr  1: scale value: 0.045776367
                            voltage17: vccams (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 39307
                                    attr  1: scale value: 0.015258789
                            voltage20: vccvrefp (input)
                            2 channel-specific attributes found:
                                    attr  0: raw value: 27354
                                    attr  1: scale value: 0.015258789
                    1 device-specific attributes found:
                                    attr  0: sampling_frequency ERROR: Invalid argument (-22)
                    No trigger on this device
            iio:device2: axi-adrv9002-rx2-lpc (buffer capable)
                    2 channels found:
                            voltage0_i:  (input, index: 0, format: le:S16/16>>0)
                            1 channel-specific attributes found:
                                    attr  0: sampling_frequency value: 15360000
                            voltage0_q:  (input, index: 1, format: le:S16/16>>0)
                            1 channel-specific attributes found:
                                    attr  0: sampling_frequency value: 15360000
                    3 buffer-specific attributes found:
                                    attr  0: data_available value: 0
                                    attr  1: length_align_bytes value: 8
                                    attr  2: watermark value: 2048
                    1 debug attributes found:
                                    debug attr  0: direct_reg_access value: 0xA0162
                    No trigger on this device
            iio:device3: axi-adrv9002-core-tdd1-lpc
                    4 channels found:
                            data1:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                            6 channel-specific attributes found:
                                    attr  0: dp_off_ms value: 0
                                    attr  1: dp_on_ms value: 0
                                    attr  2: off_ms value: 0
                                    attr  3: on_ms value: 0
                                    attr  4: vco_off_ms value: 0
                                    attr  5: vco_on_ms value: 0
                            data1:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                            6 channel-specific attributes found:
                                    attr  0: dp_off_ms value: 0
                                    attr  1: dp_on_ms value: 0
                                    attr  2: off_ms value: 0
                                    attr  3: on_ms value: 0
                                    attr  4: vco_off_ms value: 0
                                    attr  5: vco_on_ms value: 0
                            data0:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                            6 channel-specific attributes found:
                                    attr  0: dp_off_ms value: 0
                                    attr  1: dp_on_ms value: 0
                                    attr  2: off_ms value: 0
                                    attr  3: on_ms value: 0
                                    attr  4: vco_off_ms value: 0
                                    attr  5: vco_on_ms value: 0
                            data0:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                            6 channel-specific attributes found:
                                    attr  0: dp_off_ms value: 0
                                    attr  1: dp_on_ms value: 0
                                    attr  2: off_ms value: 0
                                    attr  3: on_ms value: 0
                                    attr  4: vco_off_ms value: 0
                                    attr  5: vco_on_ms value: 0
                    10 device-specific attributes found:
                                    attr  0: burst_count value: 0
                                    attr  1: counter_int value: 0
                                    attr  2: dma_gateing_mode value: rx_tx
                                    attr  3: dma_gateing_mode_available value: rx_tx rx_only tx_only none
                                    attr  4: en value: 0
                                    attr  5: en_mode value: rx_tx
                                    attr  6: en_mode_available value: rx_tx rx_only tx_only
                                    attr  7: frame_length_ms value: 0
                                    attr  8: secondary value: 0
                                    attr  9: sync_terminal_type value: 0
                    1 debug attributes found:
                                    debug attr  0: direct_reg_access value: 0x10061
                    No trigger on this device
            iio:device4: axi-adrv9002-core-tdd2-lpc
                    4 channels found:
                            data1:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                            6 channel-specific attributes found:
                                    attr  0: dp_off_ms value: 0
                                    attr  1: dp_on_ms value: 0
                                    attr  2: off_ms value: 0
                                    attr  3: on_ms value: 0
                                    attr  4: vco_off_ms value: 0
                                    attr  5: vco_on_ms value: 0
                            data1:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                            6 channel-specific attributes found:
                                    attr  0: dp_off_ms value: 0
                                    attr  1: dp_on_ms value: 0
                                    attr  2: off_ms value: 0
                                    attr  3: on_ms value: 0
                                    attr  4: vco_off_ms value: 0
                                    attr  5: vco_on_ms value: 0
                            data0:  (output, WARN:iio_channel_get_type()=UNKNOWN)
                            6 channel-specific attributes found:
                                    attr  0: dp_off_ms value: 0
                                    attr  1: dp_on_ms value: 0
                                    attr  2: off_ms value: 0
                                    attr  3: on_ms value: 0
                                    attr  4: vco_off_ms value: 0
                                    attr  5: vco_on_ms value: 0
                            data0:  (input, WARN:iio_channel_get_type()=UNKNOWN)
                            6 channel-specific attributes found:
                                    attr  0: dp_off_ms value: 0
                                    attr  1: dp_on_ms value: 0
                                    attr  2: off_ms value: 0
                                    attr  3: on_ms value: 0
                                    attr  4: vco_off_ms value: 0
                                    attr  5: vco_on_ms value: 0
                    10 device-specific attributes found:
                                    attr  0: burst_count value: 0
                                    attr  1: counter_int value: 0
                                    attr  2: dma_gateing_mode value: rx_tx
                                    attr  3: dma_gateing_mode_available value: rx_tx rx_only tx_only none
                                    attr  4: en value: 0
                                    attr  5: en_mode value: rx_tx
                                    attr  6: en_mode_available value: rx_tx rx_only tx_only
                                    attr  7: frame_length_ms value: 0
                                    attr  8: secondary value: 0
                                    attr  9: sync_terminal_type value: 0
                    1 debug attributes found:
                                    debug attr  0: direct_reg_access value: 0x10061
                    No trigger on this device
            iio:device5: axi-adrv9002-tx-lpc (buffer capable)
                    6 channels found:
                            voltage0:  (output, index: 0, format: le:S16/16>>0)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 0.000000
                                    attr  2: sampling_frequency value: 15360000
                            voltage1:  (output, index: 1, format: le:S16/16>>0)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 0.000000
                                    attr  2: sampling_frequency value: 15360000
                            altvoltage3: TX1_Q_F2 (output)
                            5 channel-specific attributes found:
                                    attr  0: frequency value: 1999952
                                    attr  1: phase value: 0
                                    attr  2: raw value: 1
                                    attr  3: sampling_frequency value: 15360000
                                    attr  4: scale value: 0.125000
                            altvoltage2: TX1_Q_F1 (output)
                            5 channel-specific attributes found:
                                    attr  0: frequency value: 1999952
                                    attr  1: phase value: 0
                                    attr  2: raw value: 1
                                    attr  3: sampling_frequency value: 15360000
                                    attr  4: scale value: 0.125000
                            altvoltage1: TX1_I_F2 (output)
                            5 channel-specific attributes found:
                                    attr  0: frequency value: 1999952
                                    attr  1: phase value: 90000
                                    attr  2: raw value: 1
                                    attr  3: sampling_frequency value: 15360000
                                    attr  4: scale value: 0.125000
                            altvoltage0: TX1_I_F1 (output)
                            5 channel-specific attributes found:
                                    attr  0: frequency value: 1999952
                                    attr  1: phase value: 90000
                                    attr  2: raw value: 1
                                    attr  3: sampling_frequency value: 15360000
                                    attr  4: scale value: 0.125000
                    3 buffer-specific attributes found:
                                    attr  0: data_available value: 0
                                    attr  1: length_align_bytes value: 8
                                    attr  2: watermark value: 2048
                    1 debug attributes found:
                                    debug attr  0: direct_reg_access value: 0x90162
                    No trigger on this device
            iio:device6: axi-adrv9002-tx2-lpc (buffer capable)
                    6 channels found:
                            voltage0:  (output, index: 0, format: le:S16/16>>0)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 0.000000
                                    attr  2: sampling_frequency value: 15360000
                            voltage1:  (output, index: 1, format: le:S16/16>>0)
                            3 channel-specific attributes found:
                                    attr  0: calibphase value: 0.000000
                                    attr  1: calibscale value: 0.000000
                                    attr  2: sampling_frequency value: 15360000
                            altvoltage3: TX1_Q_F2 (output)
                            5 channel-specific attributes found:
                                    attr  0: frequency value: 1999952
                                    attr  1: phase value: 0
                                    attr  2: raw value: 1
                                    attr  3: sampling_frequency value: 15360000
                                    attr  4: scale value: 0.125000
                            altvoltage2: TX1_Q_F1 (output)
                            5 channel-specific attributes found:
                                    attr  0: frequency value: 1999952
                                    attr  1: phase value: 0
                                    attr  2: raw value: 1
                                    attr  3: sampling_frequency value: 15360000
                                    attr  4: scale value: 0.125000
                            altvoltage1: TX1_I_F2 (output)
                            5 channel-specific attributes found:
                                    attr  0: frequency value: 1999952
                                    attr  1: phase value: 90000
                                    attr  2: raw value: 1
                                    attr  3: sampling_frequency value: 15360000
                                    attr  4: scale value: 0.125000
                            altvoltage0: TX1_I_F1 (output)
                            5 channel-specific attributes found:
                                    attr  0: frequency value: 1999952
                                    attr  1: phase value: 90000
                                    attr  2: raw value: 1
                                    attr  3: sampling_frequency value: 15360000
                                    attr  4: scale value: 0.125000
                    3 buffer-specific attributes found:
                                    attr  0: data_available value: 0
                                    attr  1: length_align_bytes value: 8
                                    attr  2: watermark value: 2048
                    1 debug attributes found:
                                    debug attr  0: direct_reg_access value: 0x90162
                    No trigger on this device
            iio_sysfs_trigger:
                    0 channels found:
                    2 device-specific attributes found:
                                    attr  0: add_trigger ERROR: Permission denied (-13)
                                    attr  1: remove_trigger ERROR: Permission denied (-13)
                    No trigger on this device
    root@petalinux:~#
    

  • What hdl and linux files are you using ? 

    Please make sure you use at least 2019_r2 with the latest fixes. 

    From the log it looks that RX2 interface tuning fails, please double check the rx2* interface location constraints and connectivity: https://github.com/analogdevicesinc/hdl/blob/master/library/axi_adrv9001/axi_adrv9001.v#L66

    Laszlo

  • I am using the 2019_r2 branches for both HDL and meta-adi.  

    Based on your suspicion of the tuning failing I added some debug messages to adrv9002.c.  I was able to trap the error.  It turns out my custom hardware has a couple of the p/n pins swapped on the PCB for more efficient routing.  I inverted these within the hdl and re-compiled.  My custom hardware is now fully connecting to IIO-Oscilloscope.  

    Thanks for the help!

    Elliott

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.