Hi there,
We are trying to get linux up running on zcu102 rev1.1 with an AD9208-3000 evaluation board, however the ad9208 is not recognized on linux with the iio_info command and we get some errors at boot.
Just to be sure that we did everything correctly I'll sum up what we did.
First we compiled the ad9208 hdl project from the ad9208 branch at https://github.com/analogdevicesinc/hdl. No errors here and we are able to get, among the other files, the required system_top.hdf.
Then, following the guide at https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/linux/zynqmp, we have cloned the dev_ad9208 branch at https://github.com/analogdevicesinc/linux/.
Instead of running
make adi_zynqmp_defconfig
we manually launched
make menuconfig
and turned on the option for the ad9208 under industrial io support, Analog to digital converters that was unchecked. Then we make the image and everything goes smoothly.
Then we make the dtb file using the zynqmp-zcu102-rev10-ad9208.dts. This is then renamed to system.dtb.
Finally we use the build_zynqmp_boot_bin.sh script with the system_top.hdf we generated before, the u-boot.elf is the one we extract from the 2018_R1-2018_06_26 image while the bl31.elf is downloaded by the script.
After burning the 2018_R1-2018_06_26 on the sd we copied all the generated files in the root directory.
The ZCU102 boots into linux and this is the full dmesg:
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.0-gdca9be098 (osboxes@osboxes) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11-rc1)) #1 SMP Tue Mar 19 14:31:47 EDT 2019
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine model: ZynqMP ZCU102 Rev1.0
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 256 MiB at 0x0000000070000000
[ 0.000000] On node 0 totalpages: 1048576
[ 0.000000] DMA zone: 7168 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 524288 pages, LIFO batch:31
[ 0.000000] Normal zone: 7168 pages used for memmap
[ 0.000000] Normal zone: 524288 pages, LIFO batch:31
[ 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] random: fast init done
[ 0.000000] percpu: Embedded 21 pages/cpu @ffffffc87ff64000 s45080 r8192 d32744 u86016
[ 0.000000] pcpu-alloc: s45080 r8192 d32744 u86016 alloc=21*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1034240
[ 0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait root=/dev/mmcblk0p2 rw rootwait
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 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 [mem 0x6bfff000-0x6ffff000] (64MB) mapped at [ffffffc06bfff000-ffffffc06fffefff]
[ 0.000000] Memory: 3783972K/4194304K available (10172K kernel code, 700K rwdata, 4412K rodata, 512K init, 2157K bss, 148188K reserved, 262144K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008a70000 ( 10176 KB)
[ 0.000000] .rodata : 0xffffff8008a70000 - 0xffffff8008ed0000 ( 4480 KB)
[ 0.000000] .init : 0xffffff8008ed0000 - 0xffffff8008f50000 ( 512 KB)
[ 0.000000] .data : 0xffffff8008f50000 - 0xffffff8008fff200 ( 701 KB)
[ 0.000000] .bss : 0xffffff8008fff200 - 0xffffff800921a930 ( 2158 KB)
[ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ 0.000000] 0xffffffbf00000000 - 0xffffffbf1dc00000 ( 476 MB actual)
[ 0.000000] memory : 0xffffffc000000000 - 0xffffffc880000000 ( 34816 MB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU event tracing is enabled.
[ 0.000000] 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: 0x170f8dc196, max_idle_ns: 440795203664 ns
[ 0.000003] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511099ns
[ 0.000311] Console: colour dummy device 80x25
[ 0.000329] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.98 BogoMIPS (lpj=399960)
[ 0.000337] pid_max: default: 32768 minimum: 301
[ 0.000436] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.000450] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.001002] ASID allocator initialised with 65536 entries
[ 0.001047] Hierarchical SRCU implementation.
[ 0.001388] EFI services will not be available.
[ 0.001419] zynqmp_plat_init Platform Management API v1.0
[ 0.001424] zynqmp_plat_init Trustzone version v1.0
[ 0.001516] smp: Bringing up secondary CPUs ...
[ 0.001764] Detected VIPT I-cache on CPU1
[ 0.001790] CPU1: Booted secondary processor [410fd034]
[ 0.002066] Detected VIPT I-cache on CPU2
[ 0.002083] CPU2: Booted secondary processor [410fd034]
[ 0.002348] Detected VIPT I-cache on CPU3
[ 0.002365] CPU3: Booted secondary processor [410fd034]
[ 0.002408] smp: Brought up 1 node, 4 CPUs
[ 0.002422] SMP: Total of 4 processors activated.
[ 0.002428] CPU features: detected feature: 32-bit EL0 Support
[ 0.002435] CPU: All CPU(s) started at EL2
[ 0.002449] alternatives: patching kernel code
[ 0.003159] devtmpfs: initialized
[ 0.008629] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.008644] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.014025] xor: measuring software checksum speed
[ 0.052011] 8regs : 2303.000 MB/sec
[ 0.092041] 8regs_prefetch: 2052.000 MB/sec
[ 0.132074] 32regs : 2831.000 MB/sec
[ 0.172107] 32regs_prefetch: 2456.000 MB/sec
[ 0.172111] xor: using function: 32regs (2831.000 MB/sec)
[ 0.172173] pinctrl core: initialized pinctrl subsystem
[ 0.172660] NET: Registered protocol family 16
[ 0.173437] cpuidle: using governor menu
[ 0.174040] vdso: 2 pages (1 code @ ffffff8008a76000, 1 data @ ffffff8008f54000)
[ 0.174050] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.174501] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.205070] zynqmp-pinctrl pinctrl: zynqmp pinctrl initialized
[ 0.205868] reset_zynqmp reset-controller: Xilinx zynqmp reset driver probed
[ 0.206452] ARM CCI_400_r1 PMU driver probed
[ 0.217050] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.284289] raid6: int64x1 gen() 456 MB/s
[ 0.352314] raid6: int64x1 xor() 443 MB/s
[ 0.420395] raid6: int64x2 gen() 688 MB/s
[ 0.488437] raid6: int64x2 xor() 605 MB/s
[ 0.556507] raid6: int64x4 gen() 1043 MB/s
[ 0.624512] raid6: int64x4 xor() 765 MB/s
[ 0.692582] raid6: int64x8 gen() 982 MB/s
[ 0.760633] raid6: int64x8 xor() 751 MB/s
[ 0.828743] raid6: neonx1 gen() 726 MB/s
[ 0.896750] raid6: neonx1 xor() 851 MB/s
[ 0.964807] raid6: neonx2 gen() 1168 MB/s
[ 1.032869] raid6: neonx2 xor() 1207 MB/s
[ 1.100934] raid6: neonx4 gen() 1505 MB/s
[ 1.168963] raid6: neonx4 xor() 1441 MB/s
[ 1.237050] raid6: neonx8 gen() 1665 MB/s
[ 1.305081] raid6: neonx8 xor() 1534 MB/s
[ 1.305085] raid6: using algorithm neonx8 gen() 1665 MB/s
[ 1.305088] raid6: .... xor() 1534 MB/s, rmw enabled
[ 1.305092] raid6: using neon recovery algorithm
[ 1.306417] SCSI subsystem initialized
[ 1.306456] libata version 3.00 loaded.
[ 1.306579] usbcore: registered new interface driver usbfs
[ 1.306611] usbcore: registered new interface driver hub
[ 1.306644] usbcore: registered new device driver usb
[ 1.306702] media: Linux media interface: v0.10
[ 1.306725] Linux video capture interface: v2.00
[ 1.306759] pps_core: LinuxPPS API ver. 1 registered
[ 1.306763] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.306776] PTP clock support registered
[ 1.306973] zynqmp-ipi ff9905c0.mailbox: Probed ZynqMP IPI Mailbox driver.
[ 1.307089] FPGA manager framework
[ 1.307190] fpga-region fpga-full: FPGA Region probed
[ 1.307270] Advanced Linux Sound Architecture Driver Initialized.
[ 1.307505] Bluetooth: Core ver 2.22
[ 1.307526] NET: Registered protocol family 31
[ 1.307530] Bluetooth: HCI device and connection manager initialized
[ 1.307538] Bluetooth: HCI socket layer initialized
[ 1.307544] Bluetooth: L2CAP socket layer initialized
[ 1.307564] Bluetooth: SCO socket layer initialized
[ 1.308137] clocksource: Switched to clocksource arch_sys_counter
[ 1.308206] VFS: Disk quotas dquot_6.6.0
[ 1.308242] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.312200] NET: Registered protocol family 2
[ 1.312494] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[ 1.312698] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[ 1.313076] TCP: Hash tables configured (established 32768 bind 32768)
[ 1.313140] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[ 1.313213] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[ 1.313363] NET: Registered protocol family 1
[ 1.313552] RPC: Registered named UNIX socket transport module.
[ 1.313557] RPC: Registered udp transport module.
[ 1.313560] RPC: Registered tcp transport module.
[ 1.313564] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.313571] PCI: CLS 0 bytes, default 128
[ 1.314042] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 1.314183] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 1.314790] audit: initializing netlink subsys (disabled)
[ 1.315117] audit: type=2000 audit(1.304:1): state=initialized audit_enabled=0 res=1
[ 1.315154] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[ 1.315771] NFS: Registering the id_resolver key type
[ 1.315785] Key type id_resolver registered
[ 1.315789] Key type id_legacy registered
[ 1.315798] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.315814] jffs2: version 2.2. (NAND) (SUMMARY) \xffffffc2\xffffffa9\xffffffa9 2001-2006 Red Hat, Inc.
[ 1.340033] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 1.340042] io scheduler noop registered
[ 1.340047] io scheduler deadline registered
[ 1.340064] io scheduler cfq registered (default)
[ 1.340068] io scheduler mq-deadline registered
[ 1.340073] io scheduler kyber registered
[ 1.340737] nwl-pcie fd0e0000.pcie: Link is DOWN
[ 1.340777] OF: PCI: host bridge /amba/pcie@fd0e0000 ranges:
[ 1.340794] OF: PCI: MEM 0xe0000000..0xefffffff -> 0xe0000000
[ 1.340802] OF: PCI: MEM 0x600000000..0x7ffffffff -> 0x600000000
[ 1.340929] nwl-pcie fd0e0000.pcie: PCI host bridge to bus 0000:00
[ 1.340938] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.340944] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[ 1.340951] pci_bus 0000:00: root bus resource [mem 0x600000000-0x7ffffffff pref]
[ 1.340974] pci 0000:00:00.0: [10ee:d021] type 01 class 0x060400
[ 1.341029] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
[ 1.341206] pci 0000:00:00.0: PCI bridge to [bus 01-0c]
[ 1.342303] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[ 1.367240] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.368463] arm-smmu fd800000.smmu: probing hardware configuration...
[ 1.368471] arm-smmu fd800000.smmu: SMMUv2 with:
[ 1.368477] arm-smmu fd800000.smmu: stage 1 translation
[ 1.368482] arm-smmu fd800000.smmu: stage 2 translation
[ 1.368487] arm-smmu fd800000.smmu: nested translation
[ 1.368494] arm-smmu fd800000.smmu: stream matching with 48 register groups
[ 1.368501] arm-smmu fd800000.smmu: 16 context banks (0 stage-2 only)
[ 1.368511] arm-smmu fd800000.smmu: Supported page sizes: 0x61311000
[ 1.368517] arm-smmu fd800000.smmu: Stage-1: 48-bit VA -> 48-bit IPA
[ 1.368522] arm-smmu fd800000.smmu: Stage-2: 48-bit IPA -> 48-bit PA
[ 1.370055] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 1.374964] brd: module loaded
[ 1.378625] loop: module loaded
[ 1.379279] ahci-ceva fd0c0000.ahci: couldn't get PHY in node ahci: -517
[ 1.379426] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.380837] iommu: Adding device ff0f0000.spi to group 0
[ 1.381340] m25p80 spi0.0: SPI-NOR-UniqueID 1044002c399100061d00130087b7718d86
[ 1.381347] m25p80 spi0.0: found n25q512a, expected m25p80
[ 1.381541] m25p80 spi0.0: n25q512a (131072 Kbytes)
[ 1.381561] 4 ofpart partitions found on MTD device spi0.0
[ 1.381565] Creating 4 MTD partitions on "spi0.0":
[ 1.381573] 0x000000000000-0x000000100000 : "qspi-fsbl-uboot"
[ 1.381990] 0x000000100000-0x000000600000 : "qspi-linux"
[ 1.382366] 0x000000600000-0x000000620000 : "qspi-device-tree"
[ 1.382735] 0x000000620000-0x000000c00000 : "qspi-rootfs"
[ 1.383918] libphy: Fixed MDIO Bus: probed
[ 1.384902] tun: Universal TUN/TAP device driver, 1.6
[ 1.385064] CAN device driver interface
[ 1.386738] iommu: Adding device ff0e0000.ethernet to group 1
[ 1.387091] macb ff0e0000.ethernet: Not enabling partial store and forward
[ 1.387454] libphy: MACB_mii_bus: probed
[ 1.389078] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 23 (00:0a:35:04:9d:74)
[ 1.389086] TI DP83867 ff0e0000.ethernet-ffffffff:0c: attached PHY driver [TI DP83867] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:0c, irq=POLL)
[ 1.389596] usbcore: registered new interface driver asix
[ 1.389641] usbcore: registered new interface driver ax88179_178a
[ 1.389665] usbcore: registered new interface driver cdc_ether
[ 1.389689] usbcore: registered new interface driver net1080
[ 1.389715] usbcore: registered new interface driver cdc_subset
[ 1.389739] usbcore: registered new interface driver zaurus
[ 1.389773] usbcore: registered new interface driver cdc_ncm
[ 1.390034] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[ 1.391258] usbcore: registered new interface driver uas
[ 1.391293] usbcore: registered new interface driver usb-storage
[ 1.391749] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0
[ 1.391794] i2c /dev entries driver
[ 1.392756] IR NEC protocol handler initialized
[ 1.392760] IR RC5(x/sz) protocol handler initialized
[ 1.392764] IR RC6 protocol handler initialized
[ 1.392768] IR JVC protocol handler initialized
[ 1.392772] IR Sony protocol handler initialized
[ 1.392775] IR SANYO protocol handler initialized
[ 1.392779] IR Sharp protocol handler initialized
[ 1.392782] IR MCE Keyboard/mouse protocol handler initialized
[ 1.392786] IR XMP protocol handler initialized
[ 1.393418] usbcore: registered new interface driver uvcvideo
[ 1.393422] USB Video Class driver (1.1.1)
[ 1.393897] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at ffffff800924d000 with timeout 10s
[ 1.394057] Bluetooth: HCI UART driver ver 2.3
[ 1.394063] Bluetooth: HCI UART protocol H4 registered
[ 1.394068] Bluetooth: HCI UART protocol BCSP registered
[ 1.394072] Bluetooth: HCI UART protocol ATH3K registered
[ 1.394076] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 1.394114] Bluetooth: HCI UART protocol Intel registered
[ 1.394119] Bluetooth: HCI UART protocol QCA registered
[ 1.394150] usbcore: registered new interface driver bcm203x
[ 1.394181] usbcore: registered new interface driver bpa10x
[ 1.394209] usbcore: registered new interface driver bfusb
[ 1.394237] usbcore: registered new interface driver btusb
[ 1.394242] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[ 1.394289] usbcore: registered new interface driver ath3k
[ 1.395072] sdhci: Secure Digital Host Controller Interface driver
[ 1.395076] sdhci: Copyright(c) Pierre Ossman
[ 1.395080] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.395858] iommu: Adding device ff170000.sdhci to group 2
[ 1.396392] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.396515] usbcore: registered new interface driver usbhid
[ 1.396518] usbhid: USB HID core driver
[ 1.396814] ad7476 spi1.1: spi1.1 supply vcc not found, using dummy regulator
[ 1.401002] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[ 1.401715] pktgen: Packet Generator for packet performance testing. Version: 2.75
[ 1.401944] Netfilter messages via NETLINK v0.30.
[ 1.402056] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.402183] Initializing XFRM netlink socket
[ 1.402246] NET: Registered protocol family 10
[ 1.402642] Segment Routing with IPv6
[ 1.402684] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 1.402805] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.403105] NET: Registered protocol family 17
[ 1.403116] NET: Registered protocol family 15
[ 1.403130] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.403135] Ebtables v2.0 registered
[ 1.403214] can: controller area network core (rev 20170425 abi 9)
[ 1.403242] NET: Registered protocol family 29
[ 1.403253] can: raw protocol (rev 20170425)
[ 1.403258] can: broadcast manager protocol (rev 20170425 t)
[ 1.403264] can: netlink gateway (rev 20170425) max_hops=1
[ 1.403454] Bluetooth: RFCOMM TTY layer initialized
[ 1.403462] Bluetooth: RFCOMM socket layer initialized
[ 1.403472] Bluetooth: RFCOMM ver 1.11
[ 1.403479] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1.403483] Bluetooth: BNEP filters: protocol multicast
[ 1.403489] Bluetooth: BNEP socket layer initialized
[ 1.403494] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.403499] Bluetooth: HIDP socket layer initialized
[ 1.403592] 9pnet: Installing 9P2000 support
[ 1.403607] Key type dns_resolver registered
[ 1.404023] registered taskstats version 1
[ 1.404342] Btrfs loaded, crc32c=crc32c-generic
[ 1.409688] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 41, base_baud = 6249999) is a xuartps
[ 2.946098] console [ttyPS0] enabled
[ 2.950176] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 42, base_baud = 6249999) is a xuartps
[ 2.960565] iommu: Adding device fd500000.dma to group 3
[ 2.966065] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[ 2.973040] iommu: Adding device fd510000.dma to group 4
[ 2.978447] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[ 2.985414] iommu: Adding device fd520000.dma to group 5
[ 2.990821] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[ 2.997783] iommu: Adding device fd530000.dma to group 6
[ 3.003188] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[ 3.010157] iommu: Adding device fd540000.dma to group 7
[ 3.015567] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[ 3.022536] iommu: Adding device fd550000.dma to group 8
[ 3.027953] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[ 3.034920] iommu: Adding device fd560000.dma to group 9
[ 3.040336] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[ 3.047298] iommu: Adding device fd570000.dma to group 10
[ 3.052811] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[ 3.059956] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes
[ 3.068084] PLL: shutdown
[ 3.072279] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Xilinx DisplayPort Sound Codec probed
[ 3.082864] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[ 3.090814] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[ 3.099051] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[ 3.111393] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[ 3.124118] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xilinx DisplayPort Sound Card probed
[ 3.134214] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[ 3.141118] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 3.147650] [drm] No driver support for vblank timestamp query.
[ 3.153598] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff8008b22220)
[ 4.240151] [drm] Cannot find any crtc or sizes
[ 4.244777] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[ 4.252804] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[ 4.261738] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:3 protocol:2 pll_locked:yes
[ 4.269545] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 4.278432] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[ 4.288751] scsi host0: ahci-ceva
[ 4.292171] scsi host1: ahci-ceva
[ 4.295491] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 37
[ 4.303328] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 37
[ 4.312635] iommu: Adding device fe200000.dwc3 to group 11
[ 4.318407] xilinx-psgtr fd400000.zynqmp_phy: Lane:2 type:0 protocol:3 pll_locked:yes
[ 4.328370] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 4.333779] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 4.341526] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x22010010
[ 4.350163] xhci-hcd xhci-hcd.0.auto: irq 49, io mem 0xfe200000
[ 4.356170] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 4.362878] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.370080] usb usb1: Product: xHCI Host Controller
[ 4.374941] usb usb1: Manufacturer: Linux 4.14.0-gdca9be098 xhci-hcd
[ 4.381278] usb usb1: SerialNumber: xhci-hcd.0.auto
[ 4.386416] hub 1-0:1.0: USB hub found
[ 4.390105] hub 1-0:1.0: 1 port detected
[ 4.394163] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 4.399572] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 4.407250] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 4.415349] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 4.422055] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.429257] usb usb2: Product: xHCI Host Controller
[ 4.434118] usb usb2: Manufacturer: Linux 4.14.0-gdca9be098 xhci-hcd
[ 4.440455] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 4.445546] hub 2-0:1.0: USB hub found
[ 4.449234] hub 2-0:1.0: 1 port detected
[ 4.454199] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
[ 4.464423] GPIO line 496 (sel0) hogged as output/low
[ 4.469736] GPIO line 497 (sel1) hogged as output/high
[ 4.475133] GPIO line 498 (sel2) hogged as output/high
[ 4.480535] GPIO line 499 (sel3) hogged as output/high
[ 4.485693] pca953x 0-0020: interrupt support not compiled in
[ 4.491444] pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulator
[ 4.501487] pca953x 0-0021: interrupt support not compiled in
[ 4.507958] ina2xx 3-0040: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.514665] ina2xx 3-0041: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.521356] ina2xx 3-0042: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.528053] ina2xx 3-0043: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.534743] ina2xx 3-0044: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.541437] ina2xx 3-0045: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.548126] ina2xx 3-0046: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.554813] ina2xx 3-0047: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.561510] ina2xx 3-004a: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.568202] ina2xx 3-004b: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.574504] i2c i2c-0: Added multiplexed i2c bus 3
[ 4.579844] ina2xx 4-0040: power monitor ina226 (Rshunt = 2000 uOhm)
[ 4.586535] ina2xx 4-0041: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.593225] ina2xx 4-0042: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.599907] ina2xx 4-0043: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.606593] ina2xx 4-0044: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.613285] ina2xx 4-0045: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.619972] ina2xx 4-0046: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.626337] ata2: SATA link down (SStatus 0 SControl 330)
[ 4.626671] ina2xx 4-0047: power monitor ina226 (Rshunt = 5000 uOhm)
[ 4.626708] i2c i2c-0: Added multiplexed i2c bus 4
[ 4.642789] ata1: SATA link down (SStatus 0 SControl 330)
[ 4.668297] i2c i2c-0: Added multiplexed i2c bus 5
[ 4.673132] i2c i2c-0: Added multiplexed i2c bus 6
[ 4.677846] pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544
[ 4.685159] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 25
[ 4.692699] at24 7-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[ 4.699348] i2c i2c-1: Added multiplexed i2c bus 7
[ 4.704292] i2c i2c-1: Added multiplexed i2c bus 8
[ 4.711014] si570 9-005d: registered, current frequency 300000000 Hz
[ 4.717309] i2c i2c-1: Added multiplexed i2c bus 9
[ 4.735983] si570 10-005d: registered, current frequency 148500000 Hz
[ 4.742373] i2c i2c-1: Added multiplexed i2c bus 10
[ 4.747392] i2c i2c-1: Added multiplexed i2c bus 11
[ 4.752311] i2c i2c-1: Added multiplexed i2c bus 12
[ 4.757225] i2c i2c-1: Added multiplexed i2c bus 13
[ 4.762140] i2c i2c-1: Added multiplexed i2c bus 14
[ 4.766936] pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548
[ 4.775007] ad7291: probe of 15-002f failed with error -5
[ 4.808367] i2c i2c-1: Added multiplexed i2c bus 15
[ 4.813286] i2c i2c-1: Added multiplexed i2c bus 16
[ 4.818206] i2c i2c-1: Added multiplexed i2c bus 17
[ 4.823123] i2c i2c-1: Added multiplexed i2c bus 18
[ 4.828051] i2c i2c-1: Added multiplexed i2c bus 19
[ 4.832972] i2c i2c-1: Added multiplexed i2c bus 20
[ 4.837905] i2c i2c-1: Added multiplexed i2c bus 21
[ 4.842835] i2c i2c-1: Added multiplexed i2c bus 22
[ 4.847635] pca954x 1-0075: registered 8 multiplexed busses for I2C switch pca9548
[ 4.855209] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 26
[ 4.904148] mmc0: SDHCI controller on ff170000.sdhci [ff170000.sdhci] using ADMA 64-bit
[ 4.924288] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 4.936121] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 4.948012] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 4.959907] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 4.971797] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 4.983692] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 4.995584] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.007475] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.019367] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.031260] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.043156] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.055046] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.066938] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.078831] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.090724] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.102617] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.114509] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.126402] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.138295] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.150188] axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0x 104, expected val 0x 14
[ 5.163348] axi_adxcvr 84a60000.axi-adxcvr-rx: AXI-ADXCVR-RX (1024.00.\x14) using GTX2 at 0x84A60000 mapped to 0xffffff800936d000. Number of lanes: 20.
[ 5.176870] axi-jesd204-rx 84aa0000.axi-jesd204-rx: Unexpected peripheral identifier 190f0400
[ 5.193079] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 5.199884] rtc_zynqmp ffa60000.rtc: setting system clock to 2018-08-14 23:13:18 UTC (1534288398)
[ 5.209754] ALSA device list:
[ 5.212638] #0: DisplayPort monitor
[ 5.222652] Waiting for root device /dev/mmcblk0p2...
[ 5.236910] mmc0: new high speed SDHC card at address aaaa
[ 5.242498] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 5.251741] mmcblk0: p1 p2 p3
[ 5.592157] [drm] Cannot find any crtc or sizes
[ 6.195082] EXT4-fs (mmcblk0p2): recovery complete
[ 6.201027] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 6.209064] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 6.218825] devtmpfs: mounted
[ 6.221825] Freeing unused kernel memory: 512K
[ 6.870705] systemd-udevd[1983]: starting version 204
[ 7.850182] init: udev-fallback-graphics main process (3135) terminated with status 1
[ 7.933207] init: failsafe main process (3105) killed by TERM signal
[ 9.028434] init: alsa-restore main process (3344) terminated with status 99
[ 9.148333] pps pps0: new PPS source ptp0
[ 9.148344] macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered.
[ 9.148416] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.515559] init: tty1 main process (3433) killed by TERM signal
[ 9.550928] init: samba-ad-dc main process (3267) terminated with status 1
[ 36.099849] random: crng init done
towards the end we get a couple of errors related to the ad9208..
axi_adxcvr 84a60000.axi-adxcvr-rx: xilinx_xcvr_drp_write: read-write mismatch: reg 0x29, val 0
axi-jesd204-rx 84aa0000.axi-jesd204-rx: Unexpected peripheral identifier 190f0400
In fact the iio_info does not recognizes the ad9208 but shows only 3 devices: iio:device0: ad7940 (which should be on the AD9208-3000 evaluation board ), iio:device1: ams and iio_sysfs_trigger.
However, the system seems to recognize at least the spi connection with the ad9208.
cat /sys/bus/spi/devices/spi1.0/uevent returns:OF_NAME=ad9208 OF_FULLNAME=/amba/spi@ff040000/ad9208@0 OF_COMPATIBLE_0=adi,ad9208 OF_COMPATIBLE_N=1 MODALIAS=spi:ad9208
Have I missed something during the kernel and boot compilation? How can I fix the errors in the dmesg?
Thanks in advance
Marco
Fixed typos
[edited by: marcoss at 5:37 PM (GMT 0) on 20 Mar 2019]