cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
89 Views
Registered: ‎02-24-2020

ZCU104 can't get multi-scaler working

I've followed manual on https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/75399218/Multi-Scaler+Linux+Driver. However, when I try to boot Linux, following error occures:

[    4.749921] xilinx-multiscaler a0000000.v_multi_scaler: Probe deferred due to GPIO reset defer

/dev/video{0..7} is registered normally, but there is no /dev/media device. G-streamer fails horribly. I suspect there is something wrong with my vivado project or device tree configuration, but I can't figure it out. I'll attach vivado configuration and logs. Also, my vivado can't implement design with 300Mhz clock, so I lowered it to 250Mhz.


[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.0-xilinx-v2020.1 (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP Mon0
[    0.000000] Machine model: ZynqMP ZCU104 RevC
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] printk: bootconsole [cdns0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x0000000066800000
[    0.000000] On node 0 totalpages: 524032
[    0.000000]   DMA32 zone: 8188 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 524032 pages, LIFO batch:63
[    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] percpu: Embedded 22 pages/cpu s49944 r8192 d31976 u90112
[    0.000000] pcpu-alloc: s49944 r8192 d31976 u90112 alloc=22*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: detected: ARM erratum 845719
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515844
[    0.000000] Kernel command line:  earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/ram0 rw
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1737512K/2096128K available (11644K kernel code, 672K rwdata, 3624K rodata, 704K )
[    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: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    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] random: get_random_bytes called from start_kernel+0x2a8/0x42c with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 100.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171024e7e0, max_idle_s
[    0.000003] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[    0.008371] Console: colour dummy device 80x25
[    0.012477] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIP)
[    0.022840] pid_max: default: 32768 minimum: 301
[    0.027563] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.034784] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.043516] ASID allocator initialised with 32768 entries
[    0.047983] rcu: Hierarchical SRCU implementation.
[    0.052901] EFI services will not be available.
[    0.057315] smp: Bringing up secondary CPUs ...
[    0.062017] Detected VIPT I-cache on CPU1
[    0.062047] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.062397] Detected VIPT I-cache on CPU2
[    0.062416] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.062739] Detected VIPT I-cache on CPU3
[    0.062758] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.062805] smp: Brought up 1 node, 4 CPUs
[    0.097143] SMP: Total of 4 processors activated.
[    0.101815] CPU features: detected: 32-bit EL0 Support
[    0.106919] CPU features: detected: CRC32 instructions
[    0.112052] CPU: All CPU(s) started at EL2
[    0.116099] alternatives: patching kernel code
[    0.121568] devtmpfs: initialized
[    0.128473] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100s
[    0.133487] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.145783] xor: measuring software checksum speed
[    0.184383]    8regs     :  2375.000 MB/sec
[    0.224409]    32regs    :  2725.000 MB/sec
[    0.264439]    arm64_neon:  2365.000 MB/sec
[    0.264475] xor: using function: 32regs (2725.000 MB/sec)
[    0.268346] pinctrl core: initialized pinctrl subsystem
[    0.274162] NET: Registered protocol family 16
[    0.279222] DMA: preallocated 256 KiB pool for atomic allocations
[    0.284023] audit: initializing netlink subsys (disabled)
[    0.289432] audit: type=2000 audit(0.228:1): state=initialized audit_enabled=0 res=1
[    0.297082] cpuidle: using governor menu
[    0.301079] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.319817] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.320872] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.327541] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.334210] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.414396] DRBG: Continuing without Jitter RNG
[    1.490346] raid6: neonx8   gen()  1545 MB/s
[    1.558354] raid6: neonx8   xor()  1461 MB/s
[    1.626424] raid6: neonx4   gen()  1481 MB/s
[    1.694452] raid6: neonx4   xor()  1419 MB/s
[    1.762499] raid6: neonx2   gen()  1124 MB/s
[    1.830525] raid6: neonx2   xor()  1173 MB/s
[    1.898569] raid6: neonx1   gen()   728 MB/s
[    1.966621] raid6: neonx1   xor()   880 MB/s
[    2.034697] raid6: int64x8  gen()  1162 MB/s
[    2.102733] raid6: int64x8  xor()   760 MB/s
[    2.170785] raid6: int64x4  gen()   977 MB/s
[    2.238794] raid6: int64x4  xor()   733 MB/s
[    2.306916] raid6: int64x2  gen()   678 MB/s
[    2.374894] raid6: int64x2  xor()   591 MB/s
[    2.443032] raid6: int64x1  gen()   449 MB/s
[    2.511004] raid6: int64x1  xor()   450 MB/s
[    2.511040] raid6: using algorithm neonx8 gen() 1545 MB/s
[    2.514999] raid6: .... xor() 1461 MB/s, rmw enabled
[    2.519929] raid6: using neon recovery algorithm
[    2.524853] iommu: Default domain type: Translated 
[    2.529568] SCSI subsystem initialized
[    2.533098] libata version 3.00 loaded.
[    2.533211] usbcore: registered new interface driver usbfs
[    2.538562] usbcore: registered new interface driver hub
[    2.543829] usbcore: registered new device driver usb
[    2.548865] mc: Linux media interface: v0.10
[    2.553075] videodev: Linux video capture interface: v2.00
[    2.558525] pps_core: LinuxPPS API ver. 1 registered
[    2.563439] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.572535] PTP clock support registered
[    2.576425] EDAC MC: Ver: 3.0.0
[    2.579892] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with TX/RX channels.
[    2.588178] FPGA manager framework
[    2.591500] Advanced Linux Sound Architecture Driver Initialized.
[    2.597695] Bluetooth: Core ver 2.22
[    2.600997] NET: Registered protocol family 31
[    2.605393] Bluetooth: HCI device and connection manager initialized
[    2.611709] Bluetooth: HCI socket layer initialized
[    2.616552] Bluetooth: L2CAP socket layer initialized
[    2.621574] Bluetooth: SCO socket layer initialized
[    2.626706] clocksource: Switched to clocksource arch_sys_counter
[    2.632565] VFS: Disk quotas dquot_6.6.0
[    2.636402] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.647241] NET: Registered protocol family 2
[    2.647846] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    2.656024] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.663969] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    2.671320] TCP: Hash tables configured (established 16384 bind 16384)
[    2.677682] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.684318] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.691495] NET: Registered protocol family 1
[    2.695956] RPC: Registered named UNIX socket transport module.
[    2.701587] RPC: Registered udp transport module.
[    2.706252] RPC: Registered tcp transport module.
[    2.710924] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.717564] PCI: CLS 0 bytes, default 64
[    2.721314] Trying to unpack rootfs image as initramfs...
[    4.542008] Freeing initrd memory: 38864K
[    4.542452] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    4.547641] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    4.556027] Initialise system trusted keyrings
[    4.559694] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    4.566803] NFS: Registering the id_resolver key type
[    4.571019] Key type id_resolver registered
[    4.575155] Key type id_legacy registered
[    4.579139] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.585805] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    4.606911] NET: Registered protocol family 38
[    4.606953] Key type asymmetric registered
[    4.609775] Asymmetric key parser 'x509' registered
[    4.614647] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    4.621977] io scheduler mq-deadline registered
[    4.626473] io scheduler kyber registered
[    4.656975] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.660857] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    4.668074] brd: module loaded
[    4.672498] loop: module loaded
[    4.673236] mtdoops: mtd device (mtddev=name/number) must be supplied
[    4.677469] libphy: Fixed MDIO Bus: probed
[    4.681426] tun: Universal TUN/TAP device driver, 1.6
[    4.685579] CAN device driver interface
[    4.690067] usbcore: registered new interface driver asix
[    4.694713] usbcore: registered new interface driver ax88179_178a
[    4.700738] usbcore: registered new interface driver cdc_ether
[    4.706532] usbcore: registered new interface driver net1080
[    4.712154] usbcore: registered new interface driver cdc_subset
[    4.718036] usbcore: registered new interface driver zaurus
[    4.723581] usbcore: registered new interface driver cdc_ncm
[    4.729887] usbcore: registered new interface driver uas
[    4.734481] usbcore: registered new interface driver usb-storage
[    4.740963] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    4.745657] i2c /dev entries driver
[    4.749921] xilinx-multiscaler a0000000.v_multi_scaler: Probe deferred due to GPIO reset defer
[    4.758340] usbcore: registered new interface driver uvcvideo
[    4.763345] USB Video Class driver (1.1.1)
[    4.767893] Bluetooth: HCI UART driver ver 2.3
[    4.771827] Bluetooth: HCI UART protocol H4 registered
[    4.776925] Bluetooth: HCI UART protocol BCSP registered
[    4.782215] Bluetooth: HCI UART protocol LL registered
[    4.787304] Bluetooth: HCI UART protocol ATH3K registered
[    4.792681] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    4.798928] Bluetooth: HCI UART protocol Intel registered
[    4.804271] Bluetooth: HCI UART protocol QCA registered
[    4.809476] usbcore: registered new interface driver bcm203x
[    4.815094] usbcore: registered new interface driver bpa10x
[    4.820631] usbcore: registered new interface driver bfusb
[    4.826079] usbcore: registered new interface driver btusb
[    4.831540] usbcore: registered new interface driver ath3k
[    4.837067] EDAC MC: ECC not enabled
[    4.840640] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff96)
[    4.852989] sdhci: Secure Digital Host Controller Interface driver
[    4.858754] sdhci: Copyright(c) Pierre Ossman
[    4.863077] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.868992] ledtrig-cpu: registered to indicate activity on CPUs
[    4.874720] zynqmp_firmware_probe Platform Management API v1.1
[    4.880466] zynqmp_firmware_probe Trustzone version v1.0
[    4.888943] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl initialized
[    4.916863] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    4.918763] zynqmp_aes zynqmp_aes: AES Successfully Registered
[    4.918763] 
[    4.924364] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    4.932090] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    4.937557] usbcore: registered new interface driver usbhid
[    4.941364] usbhid: USB HID core driver
[    4.947530] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    4.951866] usbcore: registered new interface driver snd-usb-audio
[    4.958518] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    4.965789] Initializing XFRM netlink socket
[    4.969555] NET: Registered protocol family 10
[    4.974287] Segment Routing with IPv6
[    4.977625] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.983719] NET: Registered protocol family 17
[    4.987825] NET: Registered protocol family 15
[    4.992238] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scr.
[    5.005112] can: controller area network core (rev 20170425 abi 9)
[    5.011275] NET: Registered protocol family 29
[    5.015665] can: raw protocol (rev 20170425)
[    5.019903] can: broadcast manager protocol (rev 20170425 t)
[    5.025527] can: netlink gateway (rev 20190810) max_hops=1
[    5.031055] Bluetooth: RFCOMM TTY layer initialized
[    5.035828] Bluetooth: RFCOMM socket layer initialized
[    5.040934] Bluetooth: RFCOMM ver 1.11
[    5.044650] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.049918] Bluetooth: BNEP filters: protocol multicast
[    5.055110] Bluetooth: BNEP socket layer initialized
[    5.060037] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.065923] Bluetooth: HIDP socket layer initialized
[    5.070961] 9pnet: Installing 9P2000 support
[    5.075107] Key type dns_resolver registered
[    5.079578] registered taskstats version 1
[    5.083398] Loading compiled-in X.509 certificates
[    5.088546] Btrfs loaded, crc32c=crc32c-generic
[    5.101519] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 41, base_baud = 6249999) is a xuartps
[    5.110540] printk: console [ttyPS0] enabled
[    5.114836] printk: bootconsole [cdns0] disabled
[    5.124352] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 42, base_baud = 6249999) is a xuartps
[    5.137552] of-fpga-region fpga-full: FPGA Region probed
[    5.144047] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[    5.150622] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[    5.157727] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[    5.164828] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[    5.171928] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[    5.179027] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[    5.186134] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[    5.193235] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[    5.200337] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[    5.207504] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
[    5.214605] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
[    5.221707] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
[    5.228806] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
[    5.235906] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
[    5.243006] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
[    5.250110] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
[    5.257205] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
[    5.264515] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes
[    5.275350] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Xilinx DisplayPort Sound
[    5.286015] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[    5.294053] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[    5.302642] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-k
[    5.315133] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-k
[    5.327818] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xilinx DisplayPort Sound Cd
[    5.337985] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[    5.344965] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.351570] [drm] No driver support for vblank timestamp query.
[    5.357543] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffffc010ca7138)
[    5.559844] Console: switching to colour frame buffer device 240x67
[    5.582762] zynqmp-display fd4a0000.zynqmp-display: fb0: xlnxdrmfb frame buffer device
[    5.590892] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[    5.598993] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[    5.607854] ahci-ceva fd0c0000.ahci: fd0c0000.ahci supply ahci not found, using dummy regulator
[    5.616575] ahci-ceva fd0c0000.ahci: fd0c0000.ahci supply phy not found, using dummy regulator
[    5.625221] ahci-ceva fd0c0000.ahci: fd0c0000.ahci supply target not found, using dummy regulator
[    5.634236] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:3 protocol:2 pll_locked:yes
[    5.642123] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    5.651075] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds  
[    5.661697] scsi host0: ahci-ceva
[    5.665252] scsi host1: ahci-ceva
[    5.668679] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 39
[    5.676592] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 39
[    5.685116] spi-nor spi0.0: found mt25qu512a (n25q512a), expected m25p80
[    5.692153] spi-nor spi0.0: mt25qu512a (n25q512a) (65536 Kbytes)
[    5.698170] 3 fixed-partitions partitions found on MTD device spi0.0
[    5.704513] Creating 3 MTD partitions on "spi0.0":
[    5.709299] 0x000000000000-0x000001e00000 : "boot"
[    5.714882] 0x000001e00000-0x000001e40000 : "bootenv"
[    5.720636] 0x000001e40000-0x000004000000 : "kernel"
[    5.728569] macb ff0e0000.ethernet: Not enabling partial store and forward
[    5.735896] libphy: MACB_mii_bus: probed
[    5.743170] TI DP83867 ff0e0000.ethernet-ffffffff:0c: attached PHY driver [TI DP83867] (mii_bus:phy_a)
[    5.756213] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 30 (00:0a:35:00)
[    5.766364] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    5.772896] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    5.779393] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    5.785883] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    5.794002] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2
[    5.799792] xilinx-psgtr fd400000.zynqmp_phy: Lane:2 type:0 protocol:3 pll_locked:yes
[    5.810033] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.815526] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    5.823277] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x000000020201080
[    5.832686] xhci-hcd xhci-hcd.0.auto: irq 49, io mem 0xfe200000
[    5.838823] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    5.847091] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.854305] usb usb1: Product: xHCI Host Controller
[    5.859180] usb usb1: Manufacturer: Linux 5.4.0-xilinx-v2020.1 xhci-hcd
[    5.865787] usb usb1: SerialNumber: xhci-hcd.0.auto
[    5.871014] hub 1-0:1.0: USB hub found
[    5.874778] hub 1-0:1.0: 1 port detected
[    5.878880] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.884362] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    5.892019] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    5.898753] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    5.907013] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.914222] usb usb2: Product: xHCI Host Controller
[    5.919092] usb usb2: Manufacturer: Linux 5.4.0-xilinx-v2020.1 xhci-hcd
[    5.925699] usb usb2: SerialNumber: xhci-hcd.0.auto
[    5.930814] hub 2-0:1.0: USB hub found
[    5.934569] hub 2-0:1.0: 1 port detected
[    5.939640] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
[    5.948332] at24 2-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[    5.955061] i2c i2c-0: Added multiplexed i2c bus 2
[    5.960041] i2c i2c-0: Added multiplexed i2c bus 3
[    5.965095] i2c i2c-0: Added multiplexed i2c bus 4
[    5.970770] i2c i2c-0: Added multiplexed i2c bus 5
[    5.975685] i2c i2c-0: Added multiplexed i2c bus 6
[    5.980592] i2c i2c-0: Added multiplexed i2c bus 7
[    5.985529] i2c i2c-0: Added multiplexed i2c bus 8
[    5.990442] i2c i2c-0: Added multiplexed i2c bus 9
[    5.995230] pca954x 0-0074: registered 8 multiplexed busses for I2C switch pca9548
[    5.996927] ata1: SATA link down (SStatus 0 SControl 330)
[    6.002820] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 32
[    6.014493] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video0
[    6.022126] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video1
[    6.029750] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video2
[    6.037382] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video3
[    6.045048] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video4
[    6.052683] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video5
[    6.060310] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video6
[    6.067932] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video7
[    6.076036] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[    6.083472] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10s
[    6.123886] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    6.134032] rtc_zynqmp ffa60000.rtc: setting system clock to 2020-09-15T09:19:14 UTC (1600161554)
[    6.142903] of_cfs_init
[    6.145360] of_cfs_init: OK
[    6.148279] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.170729] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 330)
[    6.177563] ata2.00: ATA-9: TS512GMTS430S, R0906A, max UDMA/133
[    6.182120] random: fast init done
[    6.183483] ata2.00: 1000215216 sectors, multi 1: LBA48 NCQ (depth 32)
[    6.193494] ata2.00: configured for UDMA/133
[    6.198024] scsi 1:0:0:0: Direct-Access     ATA      TS512GMTS430S    6A   PQ: 0 ANSI: 5
[    6.206571] sd 1:0:0:0: [sda] 1000215216 512-byte logical blocks: (512 GB/477 GiB)
[    6.214185] sd 1:0:0:0: [sda] Write Protect is off
[    6.218725] usb 1-1: new full-speed USB device number 2 using xhci-hcd
[    6.218987] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    6.225546] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.225828] mmc0: new high speed SDHC card at address 1234
[    6.240448] mmcblk0: mmc0:1234 SA32G 28.8 GiB 
[    6.242299]  sda: sda1 sda2
[    6.247771]  mmcblk0: p1 p2
[    6.248508] sd 1:0:0:0: [sda] Attached SCSI disk
[    6.289928] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.296454] clk: Not disabling unused clocks
[    6.300717] ALSA device list:
[    6.303675]   #0: DisplayPort monitor
[    6.307673] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    6.316285] cfg80211: failed to load regulatory.db
[    6.321299] Freeing unused kernel memory: 704K
[    6.342736] Run /init as init process
[    6.388906] usb 1-1: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=12.01
[    6.397091] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.397096] usb 1-1: Product: USB Receiver
[    6.408309] usb 1-1: Manufacturer: Logitech
[    6.445188] input: Logitech USB Receiver as /devices/platform/amba/ff9d0000.usb0/fe200000.dwc3/xhci-h0
[    6.476519] udevd[166]: starting version 3.2.8
[    6.481425] random: udevd: uninitialized urandom read (16 bytes read)
[    6.487963] random: udevd: uninitialized urandom read (16 bytes read)
[    6.494470] random: udevd: uninitialized urandom read (16 bytes read)
[    6.506178] udevd[167]: starting eudev-3.2.8
[    6.519248] hid-generic 0003:046D:C52B.0001: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on0
[    6.534935] input: Logitech USB Receiver Mouse as /devices/platform/amba/ff9d0000.usb0/fe200000.dwc3/1
[    6.551140] input: Logitech USB Receiver Consumer Control as /devices/platform/amba/ff9d0000.usb0/fe22
[    6.580039] xilinx-multiscaler a0000000.v_multi: Channel 2 instance created
[    6.588703] xilinx-multiscaler a0000000.v_multi: Channel 4 instance created
[    6.599980] xilinx-multiscaler a0000000.v_multi: Channel 0 instance created
[    6.606982] xilinx-multiscaler a0000000.v_multi: Channel 7 instance created
[    6.613961] xilinx-multiscaler a0000000.v_multi: Channel 3 instance created
[    6.620972] xilinx-multiscaler a0000000.v_multi: Channel 1 instance created
[    6.627051] input: Logitech USB Receiver System Control as /devices/platform/amba/ff9d0000.usb0/fe2003
[    6.628022] xilinx-multiscaler a0000000.v_multi: Channel 5 instance created
[    6.644039] hid-generic 0003:046D:C52B.0002: input: USB HID v1.11 Mouse [Logitech USB Receiver] on us1
[    6.650613] xilinx-multiscaler a0000000.v_multi: Channel 6 instance created
[    6.669172] xilinx-multiscaler a0000000.v_multi: Channel 3 instance released
[    6.676432] xilinx-multiscaler a0000000.v_multi: Channel 6 instance released
[    6.683744] xilinx-multiscaler a0000000.v_multi: Channel 0 instance released
[    6.684271] hid-generic 0003:046D:C52B.0003: device has no listeners, quitting
[    6.690960] xilinx-multiscaler a0000000.v_multi: Channel 4 instance released
[    6.706332] xilinx-multiscaler a0000000.v_multi: Channel 2 instance released
[    6.713443] xilinx-multiscaler a0000000.v_multi: Channel 7 instance released
[    6.720543] xilinx-multiscaler a0000000.v_multi: Channel 1 instance released
[    6.728024] xilinx-multiscaler a0000000.v_multi: Channel 5 instance released
[    6.759754] mali: loading out-of-tree module taints kernel.
[    6.961512] EXT4-fs (sda1): recovery complete
[    6.966032] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[    7.029499] EXT4-fs (sda2): recovery complete
[    7.033881] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[    7.093216] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please r.
[    7.093390] EXT4-fs (mmcblk0p2): recovery complete
[    7.107996] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    7.458791] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[    7.499247] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[    7.528416] Warn: update-alternatives: libmali-xlnx has multiple providers with the same priority, pls
[    7.554883] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[    7.595579] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/x11/libMali.so.9.0
[    7.677427] pps pps0: new PPS source ptp0
[    7.681457] macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered.
[    9.727261] macb ff0e0000.ethernet eth0: link up (1000/Full)
[    9.732931] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.079383] random: crng init done
[   11.082787] random: 7 urandom warning(s) missed due to ratelimiting

$ dmesg | grep 'scaler':

[    4.749921] xilinx-multiscaler a0000000.v_multi_scaler: Probe deferred due to GPIO reset defer
[    6.014493] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video0
[    6.022126] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video1
[    6.029750] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video2
[    6.037382] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video3
[    6.045048] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video4
[    6.052683] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video5
[    6.060310] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video6
[    6.067932] xilinx-multiscaler a0000000.v_multi:  Device registered as /dev/video7
[    6.580039] xilinx-multiscaler a0000000.v_multi: Channel 2 instance created
[    6.588703] xilinx-multiscaler a0000000.v_multi: Channel 4 instance created
[    6.599980] xilinx-multiscaler a0000000.v_multi: Channel 0 instance created
[    6.606982] xilinx-multiscaler a0000000.v_multi: Channel 7 instance created
[    6.613961] xilinx-multiscaler a0000000.v_multi: Channel 3 instance created
[    6.620972] xilinx-multiscaler a0000000.v_multi: Channel 1 instance created
[    6.628022] xilinx-multiscaler a0000000.v_multi: Channel 5 instance created
[    6.650613] xilinx-multiscaler a0000000.v_multi: Channel 6 instance created
[    6.669172] xilinx-multiscaler a0000000.v_multi: Channel 3 instance released
[    6.676432] xilinx-multiscaler a0000000.v_multi: Channel 6 instance released
[    6.683744] xilinx-multiscaler a0000000.v_multi: Channel 0 instance released
[    6.690960] xilinx-multiscaler a0000000.v_multi: Channel 4 instance released
[    6.706332] xilinx-multiscaler a0000000.v_multi: Channel 2 instance released
[    6.713443] xilinx-multiscaler a0000000.v_multi: Channel 7 instance released
[    6.720543] xilinx-multiscaler a0000000.v_multi: Channel 1 instance released
[    6.728024] xilinx-multiscaler a0000000.v_multi: Channel 5 instance released

system-user.dtsi:

/include/ "system-conf.dtsi"
/ {
};
&v_multi_scaler_0 {
	reset-gpios = <&gpio 78 1>;
};

pl.dtsi:

/*
 * CAUTION: This file is automatically generated by Xilinx.
 * Version:  
 * Today is: Mon Sep 14 16:48:08 2020
 */


/ {
	amba_pl: amba_pl@0 {
		#address-cells = <2>;
		#size-cells = <2>;
		compatible = "simple-bus";
		ranges ;
		v_multi_scaler_0: v_multi_scaler@a0000000 {
			clock-names = "ap_clk";
			clocks = <&misc_clk_0>;
			compatible = "xlnx,v-multi-scaler-1.0", "xlnx,v-multi-scaler-v1.0";
			interrupt-names = "interrupt";
			interrupt-parent = <&gic>;
			interrupts = <0 89 4>;
			reg = <0x0 0xa0000000 0x0 0x8000000>;
			xlnx,dma-addr-width = <0x20>;
			xlnx,max-chan = <8>;
			xlnx,max-height = <2160>;
			xlnx,max-width = <3840>;
			xlnx,num-taps = <12>;
			xlnx,pixels-per-clock = /bits/ 8 <2>;
			xlnx,vid-formats = "rgb888", "xrgb8888", "bgr888", "xbgr8888", "uyvy", "y8", "vuy888", "xvuy8888", "yuyv", "nv12", "nv16";
		};
		misc_clk_0: misc_clk_0 {
			#clock-cells = <0>;
			clock-frequency = <250000000>;
			compatible = "fixed-clock";
		};
	};
};

 

Tags (2)
Screenshot from 2020-09-15 11-27-57.png
Screenshot from 2020-09-15 11-27-47.png
Screenshot from 2020-09-15 11-30-37.png
0 Kudos
1 Reply
Highlighted
Visitor
Visitor
72 Views
Registered: ‎02-24-2020

For the completion, I'll also attach output from the gstremer:


gst-launch-1.0 videotestsrc num-buffers=10 ! video/x-raw, width=1280, height=720, format=RGB ! v4l2video0convert capture-io-mode=4 output-io-mode=4 ! video/x-raw, width=640, height=480, format=RGB ! fakesink
WARNING: erroneous pipeline: no element "v4l2video0convert"

gst-launch-1.0 videotestsrc num-buffers=10 ! video/x-raw, width=1280, height=720, format=RGB ! v4l2convert capture-io-mode=4 output-io-mode=4 ! video/x-raw, width=640, height=480, format=RGB ! fakesink
[  388.068369] xilinx-multiscaler a0000000.v_multi: Channel 0 instance created
[  388.080906] xilinx-multiscaler a0000000.v_multi: Channel 0 instance released
[  388.087979] xilinx-multiscaler a0000000.v_multi: Channel 1 instance created
[  388.095955] xilinx-multiscaler a0000000.v_multi: Channel 1 instance released
[  388.103010] xilinx-multiscaler a0000000.v_multi: Channel 2 instance created
[  388.110988] xilinx-multiscaler a0000000.v_multi: Channel 2 instance released
[  388.118086] xilinx-multiscaler a0000000.v_multi: Channel 3 instance created
[  388.126073] xilinx-multiscaler a0000000.v_multi: Channel 3 instance released
[  388.133133] xilinx-multiscaler a0000000.v_multi: Channel 4 instance created
[  388.141107] xilinx-multiscaler a0000000.v_multi: Channel 4 instance released
[  388.148163] xilinx-multiscaler a0000000.v_multi: Channel 5 instance created
[  388.156129] xilinx-multiscaler a0000000.v_multi: Channel 5 instance released
[  388.163180] xilinx-multiscaler a0000000.v_multi: Channel 6 instance created
[  388.171174] xilinx-multiscaler a0000000.v_multi: Channel 6 instance released
[  388.178225] xilinx-multiscaler a0000000.v_multi: Channel 7 instance created
[  388.186106] xilinx-multiscaler a0000000.v_multi: Channel 7 instance released
Setting pipeline to PAUSED ...
[  388.196831] xilinx-multiscaler a0000000.v_multi: Channel 0 instance created
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/v4l2conv[  388.212447] xilinx-multiscaler a0000000.v_multi: Channel 0 instance released
ert:v4l2convert0: The driver of device '/dev/video0' does not support the IO method 4
Additional debug info:
../../../git/sys/v4l2/gstv4l2object.c(3102): gst_v4l2_object_setup_pool (): /GstPipeline:pipeline0/v4l2convert:v4l2convert0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
0 Kudos