Hi,
I am running the test by referring to this document. ( https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/adrv9009 )
But after booting I can't find iio:device (adrv9008-1) in "/dev". There are only xadc and ad9528.
My test environment.
1. Vivado 2018.3 / Petalinux 2018.3
2. HDL project ( hdl_2019_r1 ) : https://github.com/analogdevicesinc/hdl/tree/hdl_2019_r1
3. meta-adi project ( 2019_R1 ) : https://github.com/analogdevicesinc/meta-adi/tree/2019_R1
4. zc706 EVB + ADRV9008-1 EVB
5. Ubuntu 16.04
I enabled an adrv9009 driver in "petalinux-config -c kernel" ( adrv9009 , ad9528 , jesd204 drivers )
In this documents (https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/adrv9009) Example Linux Device-Tree Initialization section.
I used zc706 + adrv9008-1. so, Is there any part where I need to modify the device tree file?
I want to see the adrv9008-1 device in /dev after booting.
attached my BootLog file. please help.
thanks.
U-Boot 2018.01 (Dec 03 2020 - 04:31:22 +0000) Xilinx Zynq ZC702
Model: Xilinx Zynq ZC706
Board: Xilinx Zynq
Silicon: v3.1
I2C: ready
DRAM: ECC disabled 1 GiB
MMC: mmc@e0100000: 0 (SD)
Invalid bus 0 (err=-19)
*** Warning - spi_flash_probe_bus_cs() failed, using default environment
In: serial@e0001000
Out: serial@e0001000
Err: serial@e0001000
Model: Xilinx Zynq ZC706
Board: Xilinx Zynq
Silicon: v3.1
Net: ZYNQ GEM: e000b000, phyaddr 7, interface rgmii-id
eth0: ethernet@e000b000
U-BOOT for peta-adi
ethernet@e000b000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Hit any key to stop autoboot: 0
Device: mmc@e0100000
Manufacturer ID: 74
OEM: 4a60
Name: USD
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
reading image.ub
12542616 bytes read in 698 ms (17.1 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
Using 'conf@system-top.dtb' configuration
Verifying Hash Integrity ... OK
Trying 'kernel@1' kernel subimage
Description: Linux kernel
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x10000100
Data Size: 4486142 Bytes = 4.3 MiB
Architecture: ARM
OS: Linux
Load Address: 0x00008000
Entry Point: 0x00008000
Hash algo: sha1
Hash value: ff7274081f2bceebbfaab916ab57639fa8476b8d
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: 0x1045164c
Data Size: 8013501 Bytes = 7.6 MiB
Architecture: ARM
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Hash algo: sha1
Hash value: b8f7a069922faf581ec35445e4a45db3568c22ab
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: 0x10447600
Data Size: 40844 Bytes = 39.9 KiB
Architecture: ARM
Hash algo: sha1
Hash value: e0975f4340bf221cf96150263d5b17620dcca87e
Verifying Hash Integrity ... sha1+ OK
Booting using the fdt blob at 0x10447600
Uncompressing Kernel Image ... OK
Loading Ramdisk to 0785b000, end 07fff6bd ... OK
Loading Device Tree to 0784e000, end 0785af8b ... OK
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 4.14.0-xilinx- (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Thu Dec 3 04:42:18 UTC 2020
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Xilinx Zynq ZC706
bootconsole [earlycon0] enabled
Memory policy: Data cache writealloc
cma: Reserved 128 MiB at 0x38000000
random: fast init done
percpu: Embedded 16 pages/cpu @ef7c2000 s32972 r8192 d24372 u65536
Built 1 zonelists, mobility grouping on. Total pages: 260608
Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 889172K/1048576K available (6144K kernel code, 316K rwdata, 2248K rodata, 1024K init, 153K bss, 28332K reserved, 131072K cma-reserved, 131072K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0700000 (7136 kB)
.init : 0xc0a00000 - 0xc0b00000 (1024 kB)
.data : 0xc0b00000 - 0xc0b4f0c0 ( 317 kB)
.bss : 0xc0b54610 - 0xc0b7ac94 ( 154 kB)
Preemptible hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
Tasks RCU enabled.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
efuse mapped to f0802000
slcr mapped to f0804000
L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
zynq_clock_init: clkc starts at f0804100
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns: 440795209040 ns
Switching to timer-based delay loop, resolution 3ns
clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
timer #0 at f080c000, irq=17
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333333)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100060
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
smp: Brought up 1 node, 2 CPUs
SMP: Total of 2 processors activated (1333.33 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xf0880000
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 26, base_baud = 3125000) is a xuartps
▒console [ttyPS0] enabled
console [ttyPS0] enabled
bootconsole [earlycon0] disabled
bootconsole [earlycon0] disabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
FPGA manager framework
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arm_global_timer
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 7828K
hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
workingset: timestamp_bits=30 max_order=18 bucket_order=0
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
brd: module loaded
loop: module loaded
m25p80 spi2.0: found s25fl128s, expected n25q128a11
m25p80 spi2.0: s25fl128s (32768 Kbytes)
5 ofpart partitions found on MTD device spi2.0
Creating 5 MTD partitions on "spi2.0":
0x000000000000-0x000000500000 : "boot"
0x000000500000-0x000000520000 : "bootenv"
0x000000520000-0x000000540000 : "config"
0x000000540000-0x000000fc0000 : "image"
0x000000fc0000-0x000002000000 : "spare"
MACsec IEEE 802.1AE
libphy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 30 (00:0a:35:00:1e:53)
Marvell 88E1116R e000b000.ethernet-ffffffff:07: attached PHY driver [Marvell 88E1116R] (mii_bus:phy_addr=e000b000.ethernet-ffffffff:07, irq=POLL)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
chipidea-usb2 e0002000.usb: e0002000.usb supply vbus not found, using dummy regulator
ULPI transceiver vendor/product ID 0x0424/0x0007
Found SMSC USB3320 ULPI transceiver.
ULPI integrity check: passed.
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
i2c /dev entries driver
cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 23
si570: probe of 2-005d failed with error -5
i2c i2c-1: Added multiplexed i2c bus 2
adv7511 3-0039: 3-0039 supply avdd not found, using dummy regulator
adv7511 3-0039: 3-0039 supply dvdd not found, using dummy regulator
adv7511 3-0039: 3-0039 supply pvdd not found, using dummy regulator
adv7511 3-0039: 3-0039 supply bgvdd not found, using dummy regulator
adv7511 3-0039: 3-0039 supply dvdd-3v not found, using dummy regulator
i2c i2c-1: Added multiplexed i2c bus 3
at24 4-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
i2c i2c-1: Added multiplexed i2c bus 4
pca953x 5-0021: 5-0021 supply vcc not found, using dummy regulator
pca953x 5-0021: interrupt support not compiled in
i2c i2c-1: Added multiplexed i2c bus 5
rtc-pcf8563 6-0051: rtc core: registered rtc-pcf8563 as rtc0
i2c i2c-1: Added multiplexed i2c bus 6
at24 7-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write
i2c i2c-1: Added multiplexed i2c bus 7
i2c i2c-1: Added multiplexed i2c bus 8
i2c i2c-1: Added multiplexed i2c bus 9
pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
gspca_main: v2.14.0 registered
cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at f090c000 with timeout 10s
Xilinx Zynq CpuIdle Driver started
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
adrv9009 spi0.1: adrv9009_probe : enter
ad9528 spi0.0: spi0.0 supply vcc not found, using dummy regulator
mmc0: new high speed SDHC card at address 59b4
mmcblk0: mmc0:59b4 USD 7.51 GiB
mmcblk0: p1
axi_adxcvr 44a60000.axi-adxcvr-rx: AXI-ADXCVR-RX (17.01.a) using GTX2 at 0x44A60000 mapped to 0xf092e000. Number of lanes: 2.
axi_adxcvr 44a50000.axi-adxcvr-rx-os: AXI-ADXCVR-RX (17.01.a) using GTX2 at 0x44A50000 mapped to 0xf094a000. Number of lanes: 2.
axi_adxcvr 44a80000.axi-adxcvr-tx: AXI-ADXCVR-TX (17.01.a) using GTX2 at 0x44A80000 mapped to 0xf094c000. Number of lanes: 4.
axi_sysid 45000000.axi-sysid-0: [adrv9009] on [zc706] git <0> dirty [2020-12-02 08:09:37] UTC
fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
NET: Registered protocol family 17
Registering SWP/SWPB emulation handler
[drm] Cannot find any crtc or sizes
[drm] Initialized axi_hdmi_drm 1.0.0 20120930 for 70e00000.axi_hdmi on minor 0
adrv9009 spi0.1: adrv9009_probe : enter
adrv9009 spi0.1: ADIHAL_resetHw at index
random: crng init done
[drm] Cannot find any crtc or sizes
adrv9009 spi0.1: ERROR: 247: TALISE_waitArmCmdStatus() failed due to thrown ARM error. ARM time out
adrv9009 spi0.1: adrv9009_do_setup:759 (ret 5)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 42 at /kernel-source//drivers/clk/clk.c:622 clk_core_disable_lock+0x18/0x24
Modules linked in:
CPU: 0 PID: 42 Comm: kworker/0:1 Not tainted 4.14.0-xilinx- #1
Hardware name: Xilinx Zynq Platform
Workqueue: events deferred_probe_work_func
[<c010ef54>] (unwind_backtrace) from [<c010b844>] (show_stack+0x10/0x14)
[<c010b844>] (show_stack) from [<c068ad00>] (dump_stack+0x8c/0xa0)
[<c068ad00>] (dump_stack) from [<c011c988>] (__warn+0xe8/0x100)
[<c011c988>] (__warn) from [<c011ca50>] (warn_slowpath_null+0x20/0x28)
[<c011ca50>] (warn_slowpath_null) from [<c0335570>] (clk_core_disable_lock+0x18/0x24)
[<c0335570>] (clk_core_disable_lock) from [<c054e4fc>] (adrv9009_setup+0x478/0x1058)
[<c054e4fc>] (adrv9009_setup) from [<c055284c>] (adrv9009_probe+0x3770/0x3c7c)
[<c055284c>] (adrv9009_probe) from [<c04094b0>] (spi_drv_probe+0x7c/0xa8)
[<c04094b0>] (spi_drv_probe) from [<c03ae964>] (driver_probe_device+0x238/0x2e8)
[<c03ae964>] (driver_probe_device) from [<c03acf60>] (bus_for_each_drv+0x44/0x94)
[<c03acf60>] (bus_for_each_drv) from [<c03ae64c>] (__device_attach+0xb0/0x114)
[<c03ae64c>] (__device_attach) from [<c03adc38>] (bus_probe_device+0x84/0x8c)
[<c03adc38>] (bus_probe_device) from [<c03ae084>] (deferred_probe_work_func+0x50/0x14c)
[<c03ae084>] (deferred_probe_work_func) from [<c0133458>] (process_one_work+0x1d8/0x410)
[<c0133458>] (process_one_work) from [<c01343a8>] (worker_thread+0x2a0/0x598)
[<c01343a8>] (worker_thread) from [<c0138ec4>] (kthread+0x14c/0x154)
[<c0138ec4>] (kthread) from [<c0107b90>] (ret_from_fork+0x14/0x24)
---[ end trace 02cae0b98a7b14af ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 42 at /kernel-source//drivers/clk/clk.c:504 clk_unprepare+0x24/0x2c
Modules linked in:
CPU: 0 PID: 42 Comm: kworker/0:1 Tainted: G W 4.14.0-xilinx- #1
Hardware name: Xilinx Zynq Platform
Workqueue: events deferred_probe_work_func
[<c010ef54>] (unwind_backtrace) from [<c010b844>] (show_stack+0x10/0x14)
[<c010b844>] (show_stack) from [<c068ad00>] (dump_stack+0x8c/0xa0)
[<c068ad00>] (dump_stack) from [<c011c988>] (__warn+0xe8/0x100)
[<c011c988>] (__warn) from [<c011ca50>] (warn_slowpath_null+0x20/0x28)
[<c011ca50>] (warn_slowpath_null) from [<c0335c84>] (clk_unprepare+0x24/0x2c)
[<c0335c84>] (clk_unprepare) from [<c054e504>] (adrv9009_setup+0x480/0x1058)
[<c054e504>] (adrv9009_setup) from [<c055284c>] (adrv9009_probe+0x3770/0x3c7c)
[<c055284c>] (adrv9009_probe) from [<c04094b0>] (spi_drv_probe+0x7c/0xa8)
[<c04094b0>] (spi_drv_probe) from [<c03ae964>] (driver_probe_device+0x238/0x2e8)
[<c03ae964>] (driver_probe_device) from [<c03acf60>] (bus_for_each_drv+0x44/0x94)
[<c03acf60>] (bus_for_each_drv) from [<c03ae64c>] (__device_attach+0xb0/0x114)
[<c03ae64c>] (__device_attach) from [<c03adc38>] (bus_probe_device+0x84/0x8c)
[<c03adc38>] (bus_probe_device) from [<c03ae084>] (deferred_probe_work_func+0x50/0x14c)
[<c03ae084>] (deferred_probe_work_func) from [<c0133458>] (process_one_work+0x1d8/0x410)
[<c0133458>] (process_one_work) from [<c01343a8>] (worker_thread+0x2a0/0x598)
[<c01343a8>] (worker_thread) from [<c0138ec4>] (kthread+0x14c/0x154)
[<c0138ec4>] (kthread) from [<c0107b90>] (ret_from_fork+0x14/0x24)
---[ end trace 02cae0b98a7b14b0 ]---
adrv9009 spi0.1: ADIHAL_resetHw at index
INFO: task swapper/0:1 blocked for more than 20 seconds.
Tainted: G W 4.14.0-xilinx- #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
swapper/0 D 0 1 0 0x00000000
[<c069fbac>] (__schedule) from [<c069ff58>] (schedule+0x54/0xc0)
[<c069ff58>] (schedule) from [<c06a33a4>] (schedule_timeout+0x120/0x168)
[<c06a33a4>] (schedule_timeout) from [<c06a0be4>] (wait_for_common+0x94/0x144)
[<c06a0be4>] (wait_for_common) from [<c013256c>] (flush_work+0x128/0x194)
[<c013256c>] (flush_work) from [<c03ae428>] (deferred_probe_initcall+0x20/0x30)
[<c03ae428>] (deferred_probe_initcall) from [<c0101a20>] (do_one_initcall+0x44/0x168)
[<c0101a20>] (do_one_initcall) from [<c0a00db8>] (kernel_init_freeable+0x144/0x1d0)
[<c0a00db8>] (kernel_init_freeable) from [<c069e820>] (kernel_init+0x8/0x110)
[<c069e820>] (kernel_init) from [<c0107b90>] (ret_from_fork+0x14/0x24)
adrv9009 spi0.1: ERROR: 247: TALISE_waitArmCmdStatus() failed due to thrown ARM error. ARM time out
adrv9009 spi0.1: adrv9009_do_setup:759 (ret 5)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 42 at /kernel-source//drivers/clk/clk.c:622 clk_core_disable_lock+0x18/0x24
Modules linked in:
CPU: 0 PID: 42 Comm: kworker/0:1 Tainted: G W 4.14.0-xilinx- #1
Hardware name: Xilinx Zynq Platform
Workqueue: events deferred_probe_work_func
[<c010ef54>] (unwind_backtrace) from [<c010b844>] (show_stack+0x10/0x14)
[<c010b844>] (show_stack) from [<c068ad00>] (dump_stack+0x8c/0xa0)
[<c068ad00>] (dump_stack) from [<c011c988>] (__warn+0xe8/0x100)
[<c011c988>] (__warn) from [<c011ca50>] (warn_slowpath_null+0x20/0x28)
[<c011ca50>] (warn_slowpath_null) from [<c0335570>] (clk_core_disable_lock+0x18/0x24)
[<c0335570>] (clk_core_disable_lock) from [<c054e4fc>] (adrv9009_setup+0x478/0x1058)
[<c054e4fc>] (adrv9009_setup) from [<c0552ac0>] (adrv9009_probe+0x39e4/0x3c7c)
[<c0552ac0>] (adrv9009_probe) from [<c04094b0>] (spi_drv_probe+0x7c/0xa8)
[<c04094b0>] (spi_drv_probe) from [<c03ae964>] (driver_probe_device+0x238/0x2e8)
[<c03ae964>] (driver_probe_device) from [<c03acf60>] (bus_for_each_drv+0x44/0x94)
[<c03acf60>] (bus_for_each_drv) from [<c03ae64c>] (__device_attach+0xb0/0x114)
[<c03ae64c>] (__device_attach) from [<c03adc38>] (bus_probe_device+0x84/0x8c)
[<c03adc38>] (bus_probe_device) from [<c03ae084>] (deferred_probe_work_func+0x50/0x14c)
[<c03ae084>] (deferred_probe_work_func) from [<c0133458>] (process_one_work+0x1d8/0x410)
[<c0133458>] (process_one_work) from [<c01343a8>] (worker_thread+0x2a0/0x598)
[<c01343a8>] (worker_thread) from [<c0138ec4>] (kthread+0x14c/0x154)
[<c0138ec4>] (kthread) from [<c0107b90>] (ret_from_fork+0x14/0x24)
---[ end trace 02cae0b98a7b14b1 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 42 at /kernel-source//drivers/clk/clk.c:504 clk_unprepare+0x24/0x2c
Modules linked in:
CPU: 0 PID: 42 Comm: kworker/0:1 Tainted: G W 4.14.0-xilinx- #1
Hardware name: Xilinx Zynq Platform
Workqueue: events deferred_probe_work_func
[<c010ef54>] (unwind_backtrace) from [<c010b844>] (show_stack+0x10/0x14)
[<c010b844>] (show_stack) from [<c068ad00>] (dump_stack+0x8c/0xa0)
[<c068ad00>] (dump_stack) from [<c011c988>] (__warn+0xe8/0x100)
[<c011c988>] (__warn) from [<c011ca50>] (warn_slowpath_null+0x20/0x28)
[<c011ca50>] (warn_slowpath_null) from [<c0335c84>] (clk_unprepare+0x24/0x2c)
[<c0335c84>] (clk_unprepare) from [<c054e504>] (adrv9009_setup+0x480/0x1058)
[<c054e504>] (adrv9009_setup) from [<c0552ac0>] (adrv9009_probe+0x39e4/0x3c7c)
[<c0552ac0>] (adrv9009_probe) from [<c04094b0>] (spi_drv_probe+0x7c/0xa8)
[<c04094b0>] (spi_drv_probe) from [<c03ae964>] (driver_probe_device+0x238/0x2e8)
[<c03ae964>] (driver_probe_device) from [<c03acf60>] (bus_for_each_drv+0x44/0x94)
[<c03acf60>] (bus_for_each_drv) from [<c03ae64c>] (__device_attach+0xb0/0x114)
[<c03ae64c>] (__device_attach) from [<c03adc38>] (bus_probe_device+0x84/0x8c)
[<c03adc38>] (bus_probe_device) from [<c03ae084>] (deferred_probe_work_func+0x50/0x14c)
[<c03ae084>] (deferred_probe_work_func) from [<c0133458>] (process_one_work+0x1d8/0x410)
[<c0133458>] (process_one_work) from [<c01343a8>] (worker_thread+0x2a0/0x598)
[<c01343a8>] (worker_thread) from [<c0138ec4>] (kthread+0x14c/0x154)
[<c0138ec4>] (kthread) from [<c0107b90>] (ret_from_fork+0x14/0x24)
---[ end trace 02cae0b98a7b14b2 ]---
adrv9009: probe of spi0.1 failed with error -14
asoc-simple-card adv7511_hdmi_snd: spdif-hifi <-> 75c00000.axi-spdif-tx mapping ok
input: gpio_keys as /devices/soc0/gpio_keys/input/input0
rtc-pcf8563 6-0051: setting system clock to 2020-12-03 05:25:34 UTC (1606973134)
ALSA device list:
#0: HDMI monitor
Freeing unused kernel memory: 1024K
INIT: version 2.88 booting
Starting udev
udevd[986]: starting version 3.2.2
udevd[987]: starting eudev-3.2.2
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Starting internet superserver: inetd.
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 ...
/etc/rcS.d/S99run-postinsts
INIT: Entering runlevel: 5
Configuring network interfaces... udhcpc: started, v1.27.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 key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/Tt3XxcRfp4zYLzllosCJ0D2Ocyz/W3auCdmmM0m17Zhh9ouaLD0DYRwfngiMmd3xkvO4SIFOM9OboW8tFtZg/HSIoTWwz4FTTv+oomKJ6HjVm7cjjIKWDSNPWPUVYGPff+juE0lxExgUf5wenQwaSguet1Fx7hS54O1xL/+1QQoxG7pdnUp36Zv+mnH3CLrxsPuJi1HI95wm4eMh06XeAqQBDReDxw6zVEOGI+bCBq0SGYk91zJof4dUMc5XphpjaOOY1mD5Zz5rI/vEju218DvbGCCXWJHL7EWikPCRWAxK9pOVA0eStg4bL2Ubgse1UTA+eLwADtWkvYlzckVD root@peta-adi
Fingerprint: md5 03:00:c6:91:67:1c:dd:f9:56:b9:36:c1:1d:e6:57:f0
dropbear.
Starting IIO Daemon: iiod
Starting syslogd/klogd: done
Starting tcf-agent: OK
PetaLinux 2018.3 peta-adi /dev/ttyPS0
peta-adi login: root
Password:
root@peta-adi:~# ls /dev
block loop5 ram12 tty2 tty5
bus loop6 ram13 tty20 tty50
char loop7 ram14 tty21 tty51
console mem ram15 tty22 tty52
cpu_dma_latency memory_bandwidth ram2 tty23 tty53
disk mmcblk0 ram3 tty24 tty54
dri mmcblk0p1 ram4 tty25 tty55
fd mtab ram5 tty26 tty56
full mtd0 ram6 tty27 tty57
gpiochip0 mtd0ro ram7 tty28 tty58
gpiochip1 mtd1 ram8 tty29 tty59
i2c-0 mtd1ro ram9 tty3 tty6
i2c-1 mtd2 random tty30 tty60
i2c-2 mtd2ro rtc tty31 tty61
i2c-3 mtd3 rtc0 tty32 tty62
i2c-4 mtd3ro shm tty33 tty63
i2c-5 mtd4 snd tty34 tty7
i2c-6 mtd4ro stderr tty35 tty8
i2c-7 mtdblock0 stdin tty36 tty9
i2c-8 mtdblock1 stdout tty37 ttyPS0
i2c-9 mtdblock2 tty tty38 udev_network_queue
iio:device0 mtdblock3 tty0 tty39 urandom
iio:device1 mtdblock4 tty1 tty4 vcs
initctl net tty10 tty40 vcs1
input network_latency tty11 tty41 vcsa
kmsg network_throughput tty12 tty42 vcsa1
log null tty13 tty43 watchdog
loop-control ptmx tty14 tty44 watchdog0
loop0 pts tty15 tty45 zero
loop1 ram0 tty16 tty46
loop2 ram1 tty17 tty47
loop3 ram10 tty18 tty48
loop4 ram11 tty19 tty49
root@peta-adi:~# cat /sys/bus/iio/devices/iio\:device0/name
xadc
root@peta-adi:~# cat /sys/bus/iio/devices/iio\:device1/name
ad9528-1
root@peta-adi:~#
Edit Notes
modify a subject.[edited by: JehoLee at 6:50 AM (GMT -5) on 11 Dec 2020]