Post Go back to editing

Integrating with ZCU102 with Petalinux

Category: Software
Product Number: ADRV9008-1
Software Version: 2019_R2


Hi AD Team,

Background :

1. We have ZCU102 board with ADRV9008-1 andADRV9008-2 board.
2. We are able to work with this configuration in baremetal. and tested the ADC and DACs also.
3. Now we are trying to use the petalinux. Hence we referred this link and did compilation with the "zynqmp-zcu102-rev10-adrv9008-1-jesd204-fsm.dts" file for ADRV9008-1.
4. Compilation is success and board is booting and showing the devices as attached in the image1.

Development ENV:
1. We are using 2019_R2 setup for our development

Issue :
1. When we tried to access the ADRV9008-1 in iio it shows the device is busy with. Attaching the image below for your reference.


2. Upon digging, we found there are two error in the bootlog. Attaching the entire bootlog for your ref.
a.[3.689692] axi_sysid 85000000.axi-sysid-0: [adrv9009] on [zcu102] git <0> dirty [2024-04-12 07:07:14] UTC
b.[4.035711] zynqmp_clk_divider_set_rate() set divider failed for spi1_ref_div1, ret = -13

3. If you have ZCU102 and ADRV9008-1 prebuilt image in petalinux please share it with us just to cross check.

We dont have a clue what is the cause this issue. Kindly provide your support to resolve this issue

root@bel_mpsoc_adrv9008_board:/sys/bus/iio/devices/iio:device2# Xilinx Zynq MP First Stage Boot Loader
Release 2019.1   May 15 2024  -  11:02:46
NOTICE:  ATF running on XCZU9EG/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 : 10:57:55, May 15 2024
PMUFW:  v1.1


U-Boot 2019.01 (May 15 2024 - 11:25:20 +0000)

Model: ZynqMP ZCU102 Rev1.0
Board: Xilinx ZynqMP
DRAM:  4 GiB
EL Level:       EL2
Chip ID:        zu9eg
MMC:   mmc@ff170000: 0
Loading Environment from SPI Flash... SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB
*** Warning - bad CRC, using default environment

In:    serial@ff000000
Out:   serial@ff000000
Err:   serial@ff000000
Model: ZynqMP ZCU102 Rev1.0
Board: Xilinx ZynqMP
Bootmode: LVL_SHFT_SD_MODE1
Reset reason:   EXTERNAL
Net:   ZYNQ GEM: ff0e0000, phyaddr c, interface rgmii-id
eth0: ethernet@ff0e0000
U-BOOT for bel_mpsoc_adrv9008_board

ethernet@ff0e0000 Waiting for PHY auto negotiation to complete.......user interrupt!
Hit any key to stop autoboot:  0
Device: mmc@ff170000
Manufacturer ID: 3
OEM: 5344
Name: SE32G
Bus Speed: 187499998
Mode : UHS SDR104 (208MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
38788824 bytes read in 2509 ms (14.7 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:    29811200 Bytes = 28.4 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x00080000
     Entry Point:  0x00080000
     Hash algo:    sha1
     Hash value:   d0e05be7da9b13b7fe30d5b0c450514dee3cda12
   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:   0x11c7d29c
     Data Size:    8914601 Bytes = 8.5 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha1
     Hash value:   dd36af74f3ca928c2b21fd6dee1a55e7693ce25b
   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:   0x11c6e408
     Data Size:    60877 Bytes = 59.5 KiB
     Architecture: AArch64
     Hash algo:    sha1
     Hash value:   f4ae10e1920da4773db3ecfd9f2a7ea17f96f7e7
   Verifying Hash Integrity ... sha1+ OK
   Booting using the fdt blob at 0x11c6e408
   Loading Kernel Image ... OK
   Loading Ramdisk to 0777f000, end 07fff6a9 ... OK
   Loading Device Tree to 000000000776d000, end 000000000777edcc ... 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 Wed May 15 11:23:59 UTC 2024
[    0.000000] Machine model: ZynqMP ZCU102 Rev1.0
[    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: earlycon console=ttyPS0,115200 clk_ignore_unused
[    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: 3763220K/4194304K available (12988K kernel code, 1528K rwdata, 13644K rodata, 896K init, 627K bss, 168940K 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: 0x170f8de2d3, max_idle_ns: 440795206112 ns
[    0.000003] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns
[    0.008259] Console: colour dummy device 80x25
[    0.012394] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.98 BogoMIPS (lpj=399960)
[    0.022756] pid_max: default: 32768 minimum: 301
[    0.027450] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.034013] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.041811] ASID allocator initialised with 32768 entries
[    0.046509] rcu: Hierarchical SRCU implementation.
[    0.051551] EFI services will not be available.
[    0.055830] smp: Bringing up secondary CPUs ...
[    0.060488] Detected VIPT I-cache on CPU1
[    0.060517] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.060823] Detected VIPT I-cache on CPU2
[    0.060842] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.061131] Detected VIPT I-cache on CPU3
[    0.061150] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.061194] smp: Brought up 1 node, 4 CPUs
[    0.095682] SMP: Total of 4 processors activated.
[    0.100356] CPU features: detected: 32-bit EL0 Support
[    0.106871] CPU: All CPU(s) started at EL2
[    0.109535] alternatives: patching kernel code
[    0.114823] devtmpfs: initialized
[    0.123005] Registered cp15_barrier emulation handler
[    0.123053] Registered setend emulation handler
[    0.127019] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.136610] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.148276] xor: measuring software checksum speed
[    0.186818]    8regs     :  2375.000 MB/sec
[    0.226846]    8regs_prefetch:  2051.000 MB/sec
[    0.266876]    32regs    :  2724.000 MB/sec
[    0.306906]    32regs_prefetch:  2308.000 MB/sec
[    0.306947] xor: using function: 32regs (2724.000 MB/sec)
[    0.311251] pinctrl core: initialized pinctrl subsystem
[    0.317050] NET: Registered protocol family 16
[    0.321111] audit: initializing netlink subsys (disabled)
[    0.326284] audit: type=2000 audit(0.272:1): state=initialized audit_enabled=0 res=1
[    0.334006] cpuidle: using governor menu
[    0.337908] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.345168] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.352588] DMA: preallocated 256 KiB pool for atomic allocations
[    0.371468] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.440652] raid6: int64x1  gen()   447 MB/s
[    0.508642] raid6: int64x1  xor()   450 MB/s
[    0.576738] raid6: int64x2  gen()   681 MB/s
[    0.644728] raid6: int64x2  xor()   599 MB/s
[    0.712773] raid6: int64x4  gen()   980 MB/s
[    0.780830] raid6: int64x4  xor()   736 MB/s
[    0.848870] raid6: int64x8  gen()  1163 MB/s
[    0.916913] raid6: int64x8  xor()   759 MB/s
[    0.985010] raid6: neonx1   gen()   736 MB/s
[    1.053022] raid6: neonx1   xor()   879 MB/s
[    1.121054] raid6: neonx2   gen()  1129 MB/s
[    1.189110] raid6: neonx2   xor()  1172 MB/s
[    1.257165] raid6: neonx4   gen()  1480 MB/s
[    1.325194] raid6: neonx4   xor()  1417 MB/s
[    1.393257] raid6: neonx8   gen()  1535 MB/s
[    1.461302] raid6: neonx8   xor()  1460 MB/s
[    1.461340] raid6: using algorithm neonx8 gen() 1535 MB/s
[    1.465296] raid6: .... xor() 1460 MB/s, rmw enabled
[    1.470226] raid6: using neon recovery algorithm
[    1.475587] SCSI subsystem initialized
[    1.478707] usbcore: registered new interface driver usbfs
[    1.484020] usbcore: registered new interface driver hub
[    1.489287] usbcore: registered new device driver usb
[    1.494448] media: Linux media interface: v0.10
[    1.498796] videodev: Linux video capture interface: v2.00
[    1.504274] pps_core: LinuxPPS API ver. 1 registered
[    1.509156] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.518250] PTP clock support registered
[    1.522148] EDAC MC: Ver: 3.0.0
[    1.525635] zynqmp-ipi-mbox mailbox@ff990400: Probed ZynqMP IPI Mailbox driver.
[    1.533007] jesd204: created con: id=0, topo=0, link=1, /amba/spi@ff040000/ad9528-1@0 <-> /fpga-axi@0/axi-adxcvr-rx@84a60000
[    1.543684] jesd204: created con: id=1, topo=0, link=1, /fpga-axi@0/axi-adxcvr-rx@84a60000 <-> /fpga-axi@0/axi-jesd204-rx@84aa0000
[    1.555375] jesd204: created con: id=2, topo=0, link=1, /fpga-axi@0/axi-jesd204-rx@84aa0000 <-> /amba/spi@ff040000/adrv9009-phy@1
[    1.566955] jesd204: /amba/spi@ff040000/adrv9009-phy@1: JESD204[1] transition uninitialized -> initialized
[    1.576546] jesd204: found 4 devices and 1 topologies
[    1.581599] FPGA manager framework
[    1.585113] Advanced Linux Sound Architecture Driver Initialized.
[    1.591270] Bluetooth: Core ver 2.22
[    1.594553] NET: Registered protocol family 31
[    1.598953] Bluetooth: HCI device and connection manager initialized
[    1.605269] Bluetooth: HCI socket layer initialized
[    1.610113] Bluetooth: L2CAP socket layer initialized
[    1.615141] Bluetooth: SCO socket layer initialized
[    1.620338] clocksource: Switched to clocksource arch_sys_counter
[    1.626113] VFS: Disk quotas dquot_6.6.0
[    1.629963] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.640980] NET: Registered protocol family 2
[    1.641427] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)
[    1.648910] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    1.656249] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    1.663019] TCP: Hash tables configured (established 32768 bind 32768)
[    1.669172] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    1.675150] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    1.681630] NET: Registered protocol family 1
[    1.686016] RPC: Registered named UNIX socket transport module.
[    1.691693] RPC: Registered udp transport module.
[    1.696361] RPC: Registered tcp transport module.
[    1.701033] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.707774] Trying to unpack rootfs image as initramfs...
[    2.072542] Freeing initrd memory: 8704K
[    2.072926] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    2.078086] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.086527] Initialise system trusted keyrings
[    2.090112] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[    2.097145] NFS: Registering the id_resolver key type
[    2.101477] Key type id_resolver registered
[    2.105609] Key type id_legacy registered
[    2.109593] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.116260] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    3.211924] NET: Registered protocol family 38
[    3.273287] Key type asymmetric registered
[    3.273325] Asymmetric key parser 'x509' registered
[    3.276635] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.283944] io scheduler noop registered
[    3.287834] io scheduler deadline registered
[    3.292111] io scheduler cfq registered (default)
[    3.296746] io scheduler mq-deadline registered
[    3.301243] io scheduler kyber registered
[    3.333186] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.337560] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.344047] brd: module loaded
[    3.347855] loop: module loaded
[    3.348075] Registered mathworks_ip class
[    3.350952] mtdoops: mtd device (mtddev=name/number) must be supplied
[    3.357887] libphy: Fixed MDIO Bus: probed
[    3.361722] tun: Universal TUN/TAP device driver, 1.6
[    3.365682] CAN device driver interface
[    3.370364] usbcore: registered new interface driver asix
[    3.374772] usbcore: registered new interface driver ax88179_178a
[    3.380813] usbcore: registered new interface driver cdc_ether
[    3.386609] usbcore: registered new interface driver net1080
[    3.392231] usbcore: registered new interface driver cdc_subset
[    3.398113] usbcore: registered new interface driver zaurus
[    3.403657] usbcore: registered new interface driver cdc_ncm
[    3.409974] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.415739] ehci-pci: EHCI PCI platform driver
[    3.420435] usbcore: registered new interface driver uas
[    3.425458] usbcore: registered new interface driver usb-storage
[    3.431454] usbcore: registered new interface driver usbserial_generic
[    3.437902] usbserial: USB Serial support registered for generic
[    3.443877] usbcore: registered new interface driver ftdi_sio
[    3.449579] usbserial: USB Serial support registered for FTDI USB Serial Device
[    3.456850] usbcore: registered new interface driver upd78f0730
[    3.462729] usbserial: USB Serial support registered for upd78f0730
[    3.470347] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0
[    3.476182] i2c /dev entries driver
[    3.481614] usbcore: registered new interface driver uvcvideo
[    3.485292] USB Video Class driver (1.1.1)
[    3.490785] Bluetooth: HCI UART driver ver 2.3
[    3.493775] Bluetooth: HCI UART protocol H4 registered
[    3.498872] Bluetooth: HCI UART protocol BCSP registered
[    3.504171] Bluetooth: HCI UART protocol LL registered
[    3.509254] Bluetooth: HCI UART protocol ATH3K registered
[    3.514634] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    3.520887] Bluetooth: HCI UART protocol Intel registered
[    3.526231] Bluetooth: HCI UART protocol QCA registered
[    3.531435] usbcore: registered new interface driver bcm203x
[    3.537050] usbcore: registered new interface driver bpa10x
[    3.542588] usbcore: registered new interface driver bfusb
[    3.548036] usbcore: registered new interface driver btusb
[    3.553460] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    3.559126] usbcore: registered new interface driver ath3k
[    3.564659] EDAC MC: ECC not enabled
[    3.568360] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    3.580924] sdhci: Secure Digital Host Controller Interface driver
[    3.586334] sdhci: Copyright(c) Pierre Ossman
[    3.590657] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.596689] ledtrig-cpu: registered to indicate activity on CPUs
[    3.602296] zynqmp_firmware_probe Platform Management API v1.1
[    3.608049] zynqmp_firmware_probe Trustzone version v1.0
[    3.616121] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl initialized
[    3.643594] zynqmp_clk_mux_get_parent() getparent failed for clock: lpd_wdt, ret = -22
[    3.646308] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    3.651481] zynqmp_aes zynqmp_aes: AES Successfully Registered
[    3.651481]
[    3.658958] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    3.665081] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    3.670646] usbcore: registered new interface driver usbhid
[    3.675968] usbhid: USB HID core driver
[    3.687326] axi_sysid 85000000.axi-sysid-0: AXI System ID core version (1.00.a) found
[    3.689692] axi_sysid 85000000.axi-sysid-0: [adrv9009] on [zcu102] git <0> dirty [2024-04-12 07:07:14] UTC
[    3.699464] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    3.706055] usbcore: registered new interface driver snd-usb-audio
[    3.713462] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    3.719594] Initializing XFRM netlink socket
[    3.723500] NET: Registered protocol family 10
[    3.728208] Segment Routing with IPv6
[    3.731559] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.737714] NET: Registered protocol family 17
[    3.741771] NET: Registered protocol family 15
[    3.746189] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.759276] can: controller area network core (rev 20170425 abi 9)
[    3.765240] NET: Registered protocol family 29
[    3.769623] can: raw protocol (rev 20170425)
[    3.773860] can: broadcast manager protocol (rev 20170425 t)
[    3.779484] can: netlink gateway (rev 20170425) max_hops=1
[    3.785083] Bluetooth: RFCOMM TTY layer initialized
[    3.789782] Bluetooth: RFCOMM socket layer initialized
[    3.794905] Bluetooth: RFCOMM ver 1.11
[    3.798604] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.803875] Bluetooth: BNEP filters: protocol multicast
[    3.809068] Bluetooth: BNEP socket layer initialized
[    3.813997] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.819881] Bluetooth: HIDP socket layer initialized
[    3.824918] 9pnet: Installing 9P2000 support
[    3.829059] NET: Registered protocol family 36
[    3.833475] Key type dns_resolver registered
[    3.838417] registered taskstats version 1
[    3.841772] Loading compiled-in X.509 certificates
[    3.846841] Btrfs loaded, crc32c=crc32c-generic
▒▒r²▒▒▒▒console [ttyPS0] enabledttyPS0 at MMIO 0xff000000 (irq = 40, base_baud = 6249999) is a xuartps
[    3.866372] console [ttyPS0] enabled
[    3.869973] bootconsole [cdns0] disabled
[    3.869973] bootconsole [cdns0] disabled
[    3.878131] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 41, base_baud = 6249999) is a xuartps
[    3.891590] of-fpga-region fpga-full: FPGA Region probed
[    3.897456] nwl-pcie fd0e0000.pcie: Link is DOWN
[    3.902106] nwl-pcie fd0e0000.pcie: host bridge /amba/pcie@fd0e0000 ranges:
[    3.909075] nwl-pcie fd0e0000.pcie:   MEM 0xe0000000..0xefffffff -> 0xe0000000
[    3.916295] nwl-pcie fd0e0000.pcie:   MEM 0x600000000..0x7ffffffff -> 0x600000000
[    3.923876] nwl-pcie fd0e0000.pcie: PCI host bridge to bus 0000:00
[    3.930053] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.935536] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    3.942405] pci_bus 0000:00: root bus resource [mem 0x600000000-0x7ffffffff pref]
[    3.954393] pci 0000:00:00.0: PCI bridge to [bus 01-0c]
[    3.960764] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[    3.967346] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[    3.974457] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[    3.981561] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[    3.988665] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[    3.995766] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[    4.002869] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[    4.009976] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[    4.017078] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[    4.024324] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes
[    4.035711] zynqmp_clk_divider_set_rate() set divider failed for spi1_ref_div1, ret = -13
[    4.044395] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Xilinx DisplayPort Sound Codec probed
[    4.055186] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[    4.063281] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[    4.071988] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[    4.084435] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[    4.097231] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xilinx DisplayPort Sound Card probed
[    4.107419] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[    4.114460] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.121072] [drm] No driver support for vblank timestamp query.
[    4.127043] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff8008df4370)
[    5.212353] [drm] Cannot find any crtc or sizes
[    5.217155] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[    5.225254] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[    5.234247] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:3 protocol:2 pll_locked:yes
[    5.252187] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    5.261146] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[    5.271543] scsi host0: ahci-ceva
[    5.275110] scsi host1: ahci-ceva
[    5.278567] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 37
[    5.286480] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 37
[    5.295390] ad9528 spi1.0: spi1.0 supply vcc not found, using dummy regulator
[    5.302559] ad9528 spi1.0: Linked as a consumer to regulator.0
[    5.329641] jesd204: /amba/spi@ff040000/ad9528-1@0,jesd204:0,parent=spi1.0: Using as SYSREF provider
[    5.339090] adrv9009 spi1.1: adrv9009_probe : enter
[    5.349098] m25p80 spi0.0: SPI-NOR-UniqueID 10440096960b0016f2ff0f002c5f691c04
[    5.356319] m25p80 spi0.0: found n25q512a, expected m25p80
[    5.362056] m25p80 spi0.0: n25q512a (131072 Kbytes)
[    5.366946] 4 fixed-partitions partitions found on MTD device spi0.0
[    5.373294] Creating 4 MTD partitions on "spi0.0":
[    5.378079] 0x000000000000-0x000000100000 : "qspi-fsbl-uboot"
[    5.384273] 0x000000100000-0x000000600000 : "qspi-linux"
[    5.389978] 0x000000600000-0x000000620000 : "qspi-device-tree"
[    5.396203] 0x000000620000-0x000000c00000 : "qspi-rootfs"
[    5.404078] macb ff0e0000.ethernet: Not enabling partial store and forward
[    5.411444] libphy: MACB_mii_bus: probed
[    5.415441] mdio_bus ff0e0000.ethernet-ffffffff: MDIO device at address 21 is missing.
[    5.429071] TI DP83867 ff0e0000.ethernet-ffffffff:0c: attached PHY driver [TI DP83867] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:0c, irq=POLL)
[    5.442121] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 22 (00:0a:35:00:22:01)
[    5.452352] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    5.458899] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    5.465397] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    5.471896] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    5.479969] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2
[    5.485824] xilinx-psgtr fd400000.zynqmp_phy: Lane:2 type:0 protocol:3 pll_locked:yes
[    5.494227] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.499718] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    5.507721] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000202010810
[    5.517130] xhci-hcd xhci-hcd.0.auto: irq 48, io mem 0xfe200000
[    5.523241] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    5.531500] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.538719] usb usb1: Product: xHCI Host Controller
[    5.543587] usb usb1: Manufacturer: Linux 4.19.0-xilinx-v2019.1 xhci-hcd
[    5.550280] usb usb1: SerialNumber: xhci-hcd.0.auto
[    5.555493] hub 1-0:1.0: USB hub found
[    5.559268] hub 1-0:1.0: 1 port detected
[    5.563365] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.568849] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    5.576503] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[    5.583242] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    5.591502] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.598720] usb usb2: Product: xHCI Host Controller
[    5.603589] usb usb2: Manufacturer: Linux 4.19.0-xilinx-v2019.1 xhci-hcd
[    5.606531] ata2: SATA link down (SStatus 0 SControl 330)
[    5.610285] usb usb2: SerialNumber: xhci-hcd.0.auto
[    5.615698] ata1: SATA link down (SStatus 0 SControl 330)
[    5.620784] hub 2-0:1.0: USB hub found
[    5.629691] hub 2-0:1.0: 1 port detected
[    5.634866] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
[    5.642112] pca953x 0-0020: Linked as a consumer to regulator.0
[    5.648832] GPIO line 496 (sel0) hogged as output/low
[    5.654212] GPIO line 497 (sel1) hogged as output/high
[    5.659684] GPIO line 498 (sel2) hogged as output/high
[    5.665153] GPIO line 499 (sel3) hogged as output/high
[    5.670497] pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulator
[    5.677745] pca953x 0-0021: Linked as a consumer to regulator.0
[    5.685149] ina2xx 3-0040: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.691958] ina2xx 3-0041: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.698776] ina2xx 3-0042: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.705589] ina2xx 3-0043: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.712403] ina2xx 3-0044: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.719209] ina2xx 3-0045: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.726025] ina2xx 3-0046: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.732838] ina2xx 3-0047: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.739647] ina2xx 3-004a: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.746461] ina2xx 3-004b: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.752869] i2c i2c-0: Added multiplexed i2c bus 3
[    5.758340] ina2xx 4-0040: power monitor ina226 (Rshunt = 2000 uOhm)
[    5.765157] ina2xx 4-0041: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.771966] ina2xx 4-0042: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.778779] ina2xx 4-0043: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.785588] ina2xx 4-0044: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.792402] ina2xx 4-0045: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.799204] ina2xx 4-0046: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.806027] ina2xx 4-0047: power monitor ina226 (Rshunt = 5000 uOhm)
[    5.812427] i2c i2c-0: Added multiplexed i2c bus 4
[    5.823769] random: fast init done
[    5.855159] i2c i2c-0: Added multiplexed i2c bus 5
[    5.860126] i2c i2c-0: Added multiplexed i2c bus 6
[    5.864915] pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544
[    5.872265] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 24
[    5.880118] at24 7-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[    5.886873] i2c i2c-1: Added multiplexed i2c bus 7
[    5.892049] i2c i2c-1: Added multiplexed i2c bus 8
[    5.898945] si570 9-005d: registered, current frequency 300000000 Hz
[    5.905345] i2c i2c-1: Added multiplexed i2c bus 9
[    5.924151] si570 10-005d: registered, current frequency 148500000 Hz
[    5.930632] i2c i2c-1: Added multiplexed i2c bus 10
[    5.935735] si5324 11-0069: si5328 probed
[    5.996398] si5324 11-0069: si5328 probe successful
[    6.001321] i2c i2c-1: Added multiplexed i2c bus 11
[    6.006364] i2c i2c-1: Added multiplexed i2c bus 12
[    6.011405] i2c i2c-1: Added multiplexed i2c bus 13
[    6.016456] i2c i2c-1: Added multiplexed i2c bus 14
[    6.021338] pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548
[    6.029304] i2c i2c-1: Added multiplexed i2c bus 15
[    6.035582] at24 16-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    6.042331] i2c i2c-1: Added multiplexed i2c bus 16
[    6.047384] i2c i2c-1: Added multiplexed i2c bus 17
[    6.052435] i2c i2c-1: Added multiplexed i2c bus 18
[    6.057483] i2c i2c-1: Added multiplexed i2c bus 19
[    6.062533] i2c i2c-1: Added multiplexed i2c bus 20
[    6.067584] i2c i2c-1: Added multiplexed i2c bus 21
[    6.072626] i2c i2c-1: Added multiplexed i2c bus 22
[    6.077502] pca954x 1-0075: registered 8 multiplexed busses for I2C switch pca9548
[    6.085111] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 25
[    6.091499] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[    6.131537] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    6.165408] cf_axi_adc 84a00000.axi-adrv9009-rx-hpc: ADI AIM (10.01.b) at 0x84A00000 mapped to 0x(____ptrval____), probed ADC ADRV9008-1 as MASTER
[    6.179029] axi_adxcvr 84a60000.axi-adxcvr-rx: Unknown transceiver type: 0
[    6.186075] axi_adxcvr: probe of 84a60000.axi-adxcvr-rx failed with error -22
[    6.197386] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    6.204324] rtc_zynqmp ffa60000.rtc: setting system clock to 2024-08-05 02:25:31 UTC (1722824731)
[    6.213190] of_cfs_init
[    6.215642] of_cfs_init: OK
[    6.218593] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.280517] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
[    6.287667] mmcblk0: mmc0:aaaa SE32G 29.7 GiB
[    6.294970]  mmcblk0: p1
[    6.328352] [drm] Cannot find any crtc or sizes
[    6.364508] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.371039] clk: Not disabling unused clocks
[    6.375304] ALSA device list:
[    6.378260]   #0: DisplayPort monitor
[    6.382172] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    6.390785] cfg80211: failed to load regulatory.db
[    6.396556] Freeing unused kernel memory: 896K
[    6.416368] Run /init as init process
INIT: version 2.88 booting
Starting udev
[    6.548275] udevd[2308]: starting version 3.2.5
[    6.553121] random: udevd: uninitialized urandom read (16 bytes read)
[    6.559604] random: udevd: uninitialized urandom read (16 bytes read)
[    6.566094] random: udevd: uninitialized urandom read (16 bytes read)
[    6.576650] udevd[2309]: starting eudev-3.2.5
[    7.008403] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
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)
INIT: Entering runlevel: 5
Configuring network interfaces... [    7.431156] pps pps0: new PPS source ptp0
[    7.435182] macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered.
[    7.441941] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc: started, v1.29.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, forking to background
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 AAAAB3NzaC1yc2EAAAADAQABAAABAQC+ye9VeRgwcMe4KUMVW0w35pO2eQpSDhebzHmZkWEsp+aiL/6OuXHPHu/+ZkEZBaA2ASegRefSYRGX0L4hSM/9LrQDTx5YVvJIIpJhnA75aM7xXVAcEtgM+I4e64YAOUkU9lFsbr+HPTgoqGnmSFv5TgiwJoWTleIYhoS8bbEkXXKpxafgrhV6WzS96WOCD1/cztw8bnCDQsQfvWDVLIa49ewK3jNxCokdDKghR3RaxGE51EDgx+tlZSLhacgFq/siCio3GRRrF0mgTMlsXaRWeIk/sR/26E2MIs8BiJ9H1zzKpwqTaFfwF/GMTRCLOEA80GhzrMk5wlbelIeTYQUt root@bel_mpsoc_adrv9008_board
Fingerprint: sha1!! b4:72:e6:93:98:fb:52:a0:d3:d8:64:62:c9:a0:2e:55:a5:2a:97:ee
dropbear.
Starting FANCONTROL Daemon: fancontrold
Starting IIO Daemon: iiod
Starting internet superserver: inetd.
Starting syslogd/klogd: done
Starting tcf-agent: OK

PetaLinux 2019.1 bel_mpsoc_adrv9008_board /dev/ttyPS0

bel_mpsoc_adrv9008_board login: root
Password:
root@bel_mpsoc_adrv9008_board:~# cd /sys/bus/iio/devices/
root@bel_mpsoc_adrv9008_board:/sys/bus/iio/devices# ls
iio:device0        iio:device1        iio:device2        iio:device3        iio:device4        iio_sysfs_trigger
root@bel_mpsoc_adrv9008_board:/sys/bus/iio/devices# cat iio:device2/name
adrv9009-phy
root@bel_mpsoc_adrv9008_board:/sys/bus/iio/devices# cat iio:device4/name
axi-adrv9009-rx-hpc
root@bel_mpsoc_adrv9008_board:/sys/bus/iio/devices#

Thread Notes