11-12-2017 11:52 PM
Hi,
I have Ultrazed board and very simple block design on vivado. Block design contains just the mpsoc and the leds and switches of the iocc board. When ever I try to enable the displayport I get following output log:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.11.13 09:47:45 =~=~=~=~=~=~=~=~=~=~=~= Xilinx Zynq MP First Stage Boot Loader Release 2017.2 Nov 9 2017 - 14:52:25 NOTICE: ATF running on XCZU3EG/silicon v2/RTL5.1 at 0xfffea000, with PMU firmware NOTICE: BL31: Secure code at 0x0 NOTICE: BL31: Non secure code at 0x8000000 NOTICE: BL31: v1.3(release):0d9d51a NOTICE: BL31: Built : 09:36:49, Nov 10 2017 U-Boot 2017.01 (Nov 10 2017 - 11:38:11 +0200) Xilinx ZynqMP ZCU102 revB I2C: Error, wrong i2c adapter 0 max 0 possible Error, wrong i2c adapter 0 max 0 possible ready DRAM: 2 GiB EL Level: EL2 Chip ID: xczu3eg MMC: sdhci@ff160000: 0 (eMMC), sdhci@ff170000: 1 (SD) SF: Detected n25q256a with page size 512 Bytes, erase size 128 KiB, total 64 MiB Error, wrong i2c adapter 0 max 0 possible Error, wrong i2c adapter 0 max 0 possible In: serial Out: serial Err: serial Net: ZYNQ GEM: ff0e0000, phyaddr 9, interface rgmii-id eth0: ethernet@ff0e0000 Hit any key to stop autoboot: 4 0 ZynqMP> setenv bootargs root=/dev/mmcblk1p2 rootwait rw rootfstype=ext4 rootdelay=5 ZynqMP> fatload mmc 1 0x3000000 image.ub reading image.ub 15751948 bytes read in 1061 ms (14.2 MiB/s) ZynqMP> bootm 0x3000000 ## Loading kernel from FIT Image at 03000000 ... Using 'conf@2' configuration Trying 'kernel@0' kernel subimage Description: Linux Kernel Type: Kernel Image Compression: uncompressed Data Start: 0x030000d8 Data Size: 15718912 Bytes = 15 MiB Architecture: AArch64 OS: Linux Load Address: 0x00080000 Entry Point: 0x00080000 Hash algo: sha1 Hash value: daf79e1cfd93c89527a8e30d95b596398bb973cd Verifying Hash Integrity ... sha1+ OK ## Loading fdt from FIT Image at 03000000 ... Using 'conf@2' configuration Trying 'fdt@0' fdt subimage Description: Flattened Device Tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x03efdbd0 Data Size: 31729 Bytes = 31 KiB Architecture: AArch64 Hash algo: sha1 Hash value: 3c26606a4588370ae3f860620016dd1f7c2c657c Verifying Hash Integrity ... sha1+ OK Booting using the fdt blob at 0x3efdbd0 Loading Kernel Image ... OK Loading Device Tree to 0000000007ff5000, end 0000000007fffbf0 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.0-xilinx-v2017.2 (vk@ubuntu) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP Fri Nov 10 11:55:44 EET 2017 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 128 MiB at 0x0000000078000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] percpu: Embedded 22 pages/cpu @ffffffc077f76000 s52376 r8192 d29544 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 517120 [ 0.000000] Kernel command line: root=/dev/mmcblk1p2 rootwait rw rootfstype=ext4 rootdelay=5 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Memory: 1917956K/2097152K available (10236K kernel code, 1078K rwdata, 3040K rodata, 960K init, 404K bss, 48124K reserved, 131072K 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 - 0xffffff8008a80000 ( 10240 KB) [ 0.000000] .rodata : 0xffffff8008a80000 - 0xffffff8008d80000 ( 3072 KB) [ 0.000000] .init : 0xffffff8008d80000 - 0xffffff8008e70000 ( 960 KB) [ 0.000000] .data : 0xffffff8008e70000 - 0xffffff8008f7da00 ( 1079 KB) [ 0.000000] .bss : 0xffffff8008f7da00 - 0xffffff8008fe2c44 ( 405 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 - 0xffffffbf01c00000 ( 28 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc080000000 ( 2048 MB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 99.99MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171015c90f, max_idle_ns: 440795203080 ns [ 0.000003] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns [ 0.000322] Console: colour dummy device 80x25 [ 0.000841] console [tty0] enabled [ 0.000867] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.99 BogoMIPS (lpj=399996) [ 0.000894] pid_max: default: 32768 minimum: 301 [ 0.001026] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.001044] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.001542] ftrace: allocating 34269 entries in 134 pages [ 0.049841] ASID allocator initialised with 65536 entries [ 0.050505] zynqmp_plat_init Power management API v0.3 [ 0.050605] EFI services will not be available. [ 0.051147] Detected VIPT I-cache on CPU1 [ 0.051199] CPU1: Booted secondary processor [410fd034] [ 0.051613] Detected VIPT I-cache on CPU2 [ 0.051634] CPU2: Booted secondary processor [410fd034] [ 0.052031] Detected VIPT I-cache on CPU3 [ 0.052052] CPU3: Booted secondary processor [410fd034] [ 0.052093] Brought up 4 CPUs [ 0.052171] SMP: Total of 4 processors activated. [ 0.052187] CPU features: detected feature: 32-bit EL0 Support [ 0.052204] CPU: All CPU(s) started at EL2 [ 0.052229] alternatives: patching kernel code [ 0.053059] devtmpfs: initialized [ 0.057896] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.061124] xor: measuring software checksum speed [ 0.097643] 8regs : 2101.000 MB/sec [ 0.137677] 8regs_prefetch: 1871.000 MB/sec [ 0.177720] 32regs : 2577.000 MB/sec [ 0.217752] 32regs_prefetch: 2175.000 MB/sec [ 0.217767] xor: using function: 32regs (2577.000 MB/sec) [ 0.217880] pinctrl core: initialized pinctrl subsystem [ 0.218634] NET: Registered protocol family 16 [ 0.239804] cpuidle: using governor menu [ 0.240035] Failed to initialise IOMMU /amba/smmu@fd800000 [ 0.240227] vdso: 2 pages (1 code @ ffffff8008a87000, 1 data @ ffffff8008e74000) [ 0.240255] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.240897] DMA: preallocated 256 KiB pool for atomic allocations [ 0.266649] reset_zynqmp reset-controller: Xilinx zynqmp reset driver probed [ 0.267109] ARM CCI_400_r1 PMU driver probed [ 0.270816] zynqmp-pinctrl ff180000.pinctrl: zynqmp pinctrl initialized [ 0.292244] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.358023] raid6: int64x1 gen() 372 MB/s [ 0.425984] raid6: int64x1 xor() 405 MB/s [ 0.494118] raid6: int64x2 gen() 616 MB/s [ 0.562134] raid6: int64x2 xor() 550 MB/s [ 0.630163] raid6: int64x4 gen() 901 MB/s [ 0.698222] raid6: int64x4 xor() 677 MB/s [ 0.766313] raid6: int64x8 gen() 1050 MB/s [ 0.834345] raid6: int64x8 xor() 684 MB/s [ 0.902378] raid6: neonx1 gen() 662 MB/s [ 0.970463] raid6: neonx1 xor() 695 MB/s [ 1.038495] raid6: neonx2 gen() 1068 MB/s [ 1.106543] raid6: neonx2 xor() 948 MB/s [ 1.174597] raid6: neonx4 gen() 1378 MB/s [ 1.242653] raid6: neonx4 xor() 1083 MB/s [ 1.310733] raid6: neonx8 gen() 1454 MB/s [ 1.378784] raid6: neonx8 xor() 1119 MB/s [ 1.378797] raid6: using algorithm neonx8 gen() 1454 MB/s [ 1.378810] raid6: .... xor() 1119 MB/s, rmw enabled [ 1.378823] raid6: using intx1 recovery algorithm [ 1.379678] SCSI subsystem initialized [ 1.379914] usbcore: registered new interface driver usbfs [ 1.379964] usbcore: registered new interface driver hub [ 1.380023] usbcore: registered new device driver usb [ 1.380112] media: Linux media interface: v0.10 [ 1.380153] Linux video capture interface: v2.00 [ 1.380192] pps_core: LinuxPPS API ver. 1 registered [ 1.380206] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.380241] PTP clock support registered [ 1.380281] EDAC MC: Ver: 3.0.0 [ 1.380605] FPGA manager framework [ 1.380661] Advanced Linux Sound Architecture Driver Initialized. [ 1.381034] Bluetooth: Core ver 2.22 [ 1.381065] NET: Registered protocol family 31 [ 1.381080] Bluetooth: HCI device and connection manager initialized [ 1.381099] Bluetooth: HCI socket layer initialized [ 1.381116] Bluetooth: L2CAP socket layer initialized [ 1.381148] Bluetooth: SCO socket layer initialized [ 1.381774] clocksource: Switched to clocksource arch_sys_counter [ 1.417898] VFS: Disk quotas dquot_6.6.0 [ 1.417983] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.424286] NET: Registered protocol family 2 [ 1.424711] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 1.424845] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 1.425136] TCP: Hash tables configured (established 16384 bind 16384) [ 1.425217] UDP hash table entries: 1024 (order: 3, 32768 bytes) [ 1.425272] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes) [ 1.425433] NET: Registered protocol family 1 [ 1.425720] RPC: Registered named UNIX socket transport module. [ 1.425735] RPC: Registered udp transport module. [ 1.425748] RPC: Registered tcp transport module. [ 1.425813] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.426274] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available [ 1.427032] futex hash table entries: 1024 (order: 5, 131072 bytes) [ 1.427121] audit: initializing netlink subsys (disabled) [ 1.427160] audit: type=2000 audit(1.396:1): initialized [ 1.427887] workingset: timestamp_bits=62 max_order=19 bucket_order=0 [ 1.428657] NFS: Registering the id_resolver key type [ 1.428684] Key type id_resolver registered [ 1.428697] Key type id_legacy registered [ 1.428716] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.428747] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.433700] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 1.433726] io scheduler noop registered [ 1.433739] io scheduler deadline registered [ 1.433758] io scheduler cfq registered (default) [ 1.435214] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed [ 1.435903] Write failed gate address:1000f02 [ 1.436025] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success [ 1.436184] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success [ 1.436344] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success [ 1.436501] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success [ 1.436668] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success [ 1.436826] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success [ 1.436985] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success [ 1.437141] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success [ 1.437614] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success [ 1.437794] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success [ 1.437975] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success [ 1.438135] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success [ 1.438298] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success [ 1.438456] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success [ 1.438618] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success [ 1.438776] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success [ 1.438898] zynqmp_pm firmware: Power management API v0.3 [ 1.439027] xenfs: not registering filesystem on non-xen platform [ 1.473003] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 1.474774] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 40, base_baud = 6249999) is a xuartps [ 2.443448] console [ttyPS0] enabled [ 2.447566] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 41, base_baud = 6249999) is a xuartps [ 2.456774] [drm] Initialized [ 2.459724] usbcore: registered new interface driver udl [ 2.465050] Unable to detect cache hierarchy from DT for CPU 0 [ 2.476522] brd: module loaded [ 2.482997] loop: module loaded [ 2.487211] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode [ 2.496112] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst [ 2.506706] scsi host0: ahci-ceva [ 2.510208] scsi host1: ahci-ceva [ 2.513590] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 37 [ 2.521447] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 37 [ 2.529519] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.537980] libphy: Fixed MDIO Bus: probed [ 2.543262] tun: Universal TUN/TAP device driver, 1.6 [ 2.548243] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 2.554562] CAN device driver interface [ 2.559792] libphy: MACB_mii_bus: probed [ 2.566093] macb ff0e0000.ethernet eth0: Could not attach to PHY [ 2.606652] usbcore: registered new interface driver asix [ 2.612025] usbcore: registered new interface driver ax88179_178a [ 2.618083] usbcore: registered new interface driver cdc_ether [ 2.623895] usbcore: registered new interface driver net1080 [ 2.629538] usbcore: registered new interface driver cdc_subset [ 2.635442] usbcore: registered new interface driver zaurus [ 2.641006] usbcore: registered new interface driver cdc_ncm [ 2.647110] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.653786] usbcore: registered new interface driver cdc_acm [ 2.659368] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 2.667389] usbcore: registered new interface driver uas [ 2.672687] usbcore: registered new interface driver usb-storage [ 2.678964] mousedev: PS/2 mouse device common for all mice [ 2.684909] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0 [ 2.692106] i2c /dev entries driver [ 2.695987] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 32 [ 2.702355] pca954x 0-0070: registered 0 multiplexed busses for I2C mux pca9542 [ 2.710367] usbcore: registered new interface driver uvcvideo [ 2.716042] USB Video Class driver (1.1.1) [ 2.720155] usbcore: registered new interface driver Philips webcam [ 2.727112] Bluetooth: HCI UART driver ver 2.3 [ 2.731486] Bluetooth: HCI UART protocol H4 registered [ 2.736603] Bluetooth: HCI UART protocol BCSP registered [ 2.741897] Bluetooth: HCI UART protocol LL registered [ 2.747018] Bluetooth: HCI UART protocol ATH3K registered [ 2.752399] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 2.758692] Bluetooth: HCI UART protocol Intel registered [ 2.764071] Bluetooth: HCI UART protocol Broadcom registered [ 2.769675] Bluetooth: HCI UART protocol QCA registered [ 2.774920] usbcore: registered new interface driver bcm203x [ 2.780560] usbcore: registered new interface driver bpa10x [ 2.786115] usbcore: registered new interface driver bfusb [ 2.791583] usbcore: registered new interface driver btusb [ 2.797017] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 2.802717] usbcore: registered new interface driver ath3k [ 2.808281] EDAC MC: ECC not enabled [ 2.811931] EDAC DEVICE0: Giving out device to module edac controller cache_err: DEV edac (POLLED) [ 2.820996] EDAC DEVICE1: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT) [ 2.833653] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1099999 KHz [ 2.841171] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 1199999 KHz [ 2.843978] ata2: SATA link down (SStatus 0 SControl 330) [ 2.844011] ata1: SATA link down (SStatus 0 SControl 330) [ 2.860826] sdhci: Secure Digital Host Controller Interface driver [ 2.866933] sdhci: Copyright(c) Pierre Ossman [ 2.871265] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.925784] mmc0: SDHCI controller on ff160000.sdhci [ff160000.sdhci] using ADMA 64-bit [ 2.981781] mmc1: SDHCI controller on ff170000.sdhci [ff170000.sdhci] using ADMA 64-bit [ 2.990208] ledtrig-cpu: registered to indicate activity on CPUs [ 2.996283] usbcore: registered new interface driver usbhid [ 3.001782] usbhid: USB HID core driver [ 3.007540] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered [ 3.014430] xilinx-dp-snd-pcm amba:dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed [ 3.022068] xilinx-dp-snd-pcm amba:dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed [ 3.030158] PLL: shutdown
After this the system just freezes.
I found a solution for this problem but I don't know where to implement the solution. The solution is "To resolve this issue, set TOPSW_MAIN to DPLL and DP_VIDEO to VPLL." Any ideas or comments?
And yes I'm a complete novice with these devices.
Thanks.
11-13-2017 05:53 AM
Hello,
I encountered a similar problem when implementing the UltraZed DisplayPort Reference Design.
http://www.ultrazed.org/sites/default/files/design/UZ3EG_IOCC_DisplayPort_2017_2_0p2_0.zip
In order to change the clocks as you described, the following TCL commands can be used:
# PS clock configuration
set_property -dict [list CONFIG.PSU__CRF_APB__TOPSW_MAIN_CTRL__SRCSEL {DPLL}] [get_bd_cells zynq_ultra_ps_e_0]
set_property -dict [list CONFIG.PSU__CRF_APB__DP_VIDEO_REF_CTRL__SRCSEL {VPLL}] [get_bd_cells zynq_ultra_ps_e_0]
set_property -dict [list CONFIG.PSU__CRF_APB__DP_AUDIO_REF_CTRL__SRCSEL {RPLL}] [get_bd_cells zynq_ultra_ps_e_0]
set_property -dict [list CONFIG.PSU__CRF_APB__DP_STC_REF_CTRL__SRCSEL {RPLL}] [get_bd_cells zynq_ultra_ps_e_0]
Regards,
Mario.
11-26-2017 10:57 PM
Hi,
so I made the whole project from the start and I run to this:
[ 2.514078] [drm] Initialized
[ 2.517391] [drm] load() is defered & will be called again
[ 2.523533] PLL: shutdown
I put here everything I did so maybe there's something that I'm doing wrong. I'm just trying to get the DisplayPort running.
-In Vivado created new project with UltraScale-3EG IO Carrier Card. I'm using the red board, not the production version.
-Created block design.
-Add Zynq UltraScale MPSoC
-Run block automation
-Removed AXI so I can run Verification
-Added these TCL commands:
set_property -dict [list CONFIG.PSU__CRF_APB__TOPSW_MAIN_CTRL__SRCSEL {DPLL}] [get_bd_cells zynq_ultra_ps_e_0] set_property -dict [list CONFIG.PSU__CRF_APB__DP_VIDEO_REF_CTRL__SRCSEL {VPLL}] [get_bd_cells zynq_ultra_ps_e_0] set_property -dict [list CONFIG.PSU__CRF_APB__DP_AUDIO_REF_CTRL__SRCSEL {RPLL}] [get_bd_cells zynq_ultra_ps_e_0] set_property -dict [list CONFIG.PSU__CRF_APB__DP_STC_REF_CTRL__SRCSEL {RPLL}] [get_bd_cells zynq_ultra_ps_e_0]
-Verified
-Created HDL wrapper
-Generated bitstream
-Exported HW
-Copied sdk to linux
-petalinux-create -t project -s uz3eg_iocc_2017_2.bsp --name example
-petalinux-config --get-hw-description /home/vk/example.sdk/
-Configured the system to run from SD-card
-petalinux-build
-petalinux-package --force --boot --format BIN --fsbl images/linux/zynqmp_fsbl.elf --fpga images/linux/design_1_wrapper.bit --u-boot images/linux/u-boot.elf
-Copied files to sd-card
Here's the log from putty when starting the system:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.11.27 08:50:56 =~=~=~=~=~=~=~=~=~=~=~= Xilinx Zynq MP First Stage Boot Loader Release 2017.2 Nov 27 2017 - 08:46:40 NOTICE: ATF running on XCZU3EG/silicon v2/RTL5.1 at 0xfffea000, with PMU firmware NOTICE: BL31: Secure code at 0x0 NOTICE: BL31: Non secure code at 0x8000000 NOTICE: BL31: v1.3(release):0d9d51a NOTICE: BL31: Built : 06:16:59, Nov 27 2017 U-Boot 2017.01 (Nov 27 2017 - 08:21:31 +0200) Xilinx ZynqMP ZCU102 revB I2C: Error, wrong i2c adapter 0 max 0 possible Error, wrong i2c adapter 0 max 0 possible ready DRAM: 2 GiB EL Level: EL2 Chip ID: xczu3eg MMC: sdhci@ff160000: 0 (eMMC), sdhci@ff170000: 1 (SD) SF: Detected n25q256a with page size 512 Bytes, erase size 128 KiB, total 64 MiB *** Warning - bad CRC, using default environment Error, wrong i2c adapter 0 max 0 possible Error, wrong i2c adapter 0 max 0 possible In: serial Out: serial Err: serial Bootmode: SD_MODE1 Net: ZYNQ GEM: ff0e0000, phyaddr 9, interface rgmii-id eth0: ethernet@ff0e0000 U-BOOT for uz3eg-iocc-2017-2 ethernet@ff0e0000 Waiting for PHY auto negotiation to complete........ done BOOTP broadcast 1 BOOTP broadcast 2 *** Unhandled DHCP Option in OFFER/ACK: 2 *** Unhandled DHCP Option in OFFER/ACK: 224 *** Unhandled DHCP Option in OFFER/ACK: 2 *** Unhandled DHCP Option in OFFER/ACK: 224 DHCP client bound to address xx.xx.xx.xx (268 ms) (ip removed) Hit any key to stop autoboot: 4 3 2 1 0 Device: sdhci@ff160000 Manufacturer ID: 13 OEM: 14e Name: Q2J55 Tran Speed: 25000000 Rd Block Len: 512 MMC version 5.0 High Capacity: Yes Capacity: 7.1 GiB Bus Width: 8-bit Erase Group Size: 512 KiB HC WP Group Size: 8 MiB User Capacity: 7.1 GiB WRREL Boot Capacity: 16 MiB ENH RPMB Capacity: 4 MiB ENH reading image.ub 13269736 bytes read in 898 ms (14.1 MiB/s) ## Loading kernel from FIT Image at 10000000 ... Using 'conf@2' configuration Trying 'kernel@0' kernel subimage Description: Linux Kernel Type: Kernel Image Compression: uncompressed Data Start: 0x100000d8 Data Size: 13236736 Bytes = 12.6 MiB Architecture: AArch64 OS: Linux Load Address: 0x00080000 Entry Point: 0x00080000 Hash algo: sha1 Hash value: f38526dbf7584ad09b55e2197cfd40a92a8355f6 Verifying Hash Integrity ... sha1+ OK ## Loading fdt from FIT Image at 10000000 ... Using 'conf@2' configuration Trying 'fdt@0' fdt subimage Description: Flattened Device Tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x10c9fbd0 Data Size: 31694 Bytes = 31 KiB Architecture: AArch64 Hash algo: sha1 Hash value: fc015201d4d7e8245907d72451babfffe2ae316e Verifying Hash Integrity ... sha1+ OK Booting using the fdt blob at 0x10c9fbd0 Loading Kernel Image ... OK Loading Device Tree to 0000000007ff5000, end 0000000007fffbcd ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.0-xilinx-v2017.2 (vk@ubuntu) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP Mon Nov 27 08:36:54 EET 2017 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 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 128 MiB at 0x0000000078000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] percpu: Embedded 21 pages/cpu @ffffffc077f7b000 s48152 r8192 d29672 u86016 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 517120 [ 0.000000] Kernel command line: earlycon clk_ignore_unused root=/dev/mmcblk1p2 rw rootwait [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Memory: 1920408K/2097152K available (9020K kernel code, 574K rwdata, 2784K rodata, 512K init, 394K bss, 45672K reserved, 131072K 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 - 0xffffff8008950000 ( 9024 KB) [ 0.000000] .rodata : 0xffffff8008950000 - 0xffffff8008c10000 ( 2816 KB) [ 0.000000] .init : 0xffffff8008c10000 - 0xffffff8008c90000 ( 512 KB) [ 0.000000] .data : 0xffffff8008c90000 - 0xffffff8008d1fa00 ( 575 KB) [ 0.000000] .bss : 0xffffff8008d1fa00 - 0xffffff8008d8252c ( 395 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 - 0xffffffbf01c00000 ( 28 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc080000000 ( 2048 MB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 99.99MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171015c90f, max_idle_ns: 440795203080 ns [ 0.000003] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns [ 0.008264] Console: colour dummy device 80x25 [ 0.012524] console [tty0] enabled [ 0.015889] bootconsole [cdns0] disabled [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.0-xilinx-v2017.2 (vk@ubuntu) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP Mon Nov 27 08:36:54 EET 2017 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 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 128 MiB at 0x0000000078000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] percpu: Embedded 21 pages/cpu @ffffffc077f7b000 s48152 r8192 d29672 u86016 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 517120 [ 0.000000] Kernel command line: earlycon clk_ignore_unused root=/dev/mmcblk1p2 rw rootwait [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Memory: 1920408K/2097152K available (9020K kernel code, 574K rwdata, 2784K rodata, 512K init, 394K bss, 45672K reserved, 131072K 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 - 0xffffff8008950000 ( 9024 KB) [ 0.000000] .rodata : 0xffffff8008950000 - 0xffffff8008c10000 ( 2816 KB) [ 0.000000] .init : 0xffffff8008c10000 - 0xffffff8008c90000 ( 512 KB) [ 0.000000] .data : 0xffffff8008c90000 - 0xffffff8008d1fa00 ( 575 KB) [ 0.000000] .bss : 0xffffff8008d1fa00 - 0xffffff8008d8252c ( 395 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 - 0xffffffbf01c00000 ( 28 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc080000000 ( 2048 MB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 99.99MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171015c90f, max_idle_ns: 440795203080 ns [ 0.000003] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns [ 0.008264] Console: colour dummy device 80x25 [ 0.012524] console [tty0] enabled [ 0.015889] bootconsole [cdns0] disabled [ 0.019798] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.99 BogoMIPS (lpj=399996) [ 0.019814] pid_max: default: 32768 minimum: 301 [ 0.019928] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.019938] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.020568] ASID allocator initialised with 65536 entries [ 0.021146] zynqmp_plat_init Power management API v0.3 [ 0.021232] EFI services will not be available. [ 0.021688] Detected VIPT I-cache on CPU1 [ 0.021717] CPU1: Booted secondary processor [410fd034] [ 0.022089] Detected VIPT I-cache on CPU2 [ 0.022108] CPU2: Booted secondary processor [410fd034] [ 0.022466] Detected VIPT I-cache on CPU3 [ 0.022484] CPU3: Booted secondary processor [410fd034] [ 0.022522] Brought up 4 CPUs [ 0.022557] SMP: Total of 4 processors activated. [ 0.022566] CPU features: detected feature: 32-bit EL0 Support [ 0.022577] CPU: All CPU(s) started at EL2 [ 0.022594] alternatives: patching kernel code [ 0.023342] devtmpfs: initialized [ 0.027845] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.030843] xor: measuring software checksum speed [ 0.067873] 8regs : 2111.000 MB/sec [ 0.107901] 8regs_prefetch: 1882.000 MB/sec [ 0.147938] 32regs : 2594.000 MB/sec [ 0.187965] 32regs_prefetch: 2181.000 MB/sec [ 0.187978] xor: using function: 32regs (2594.000 MB/sec) [ 0.188081] pinctrl core: initialized pinctrl subsystem [ 0.188797] NET: Registered protocol family 16 [ 0.210242] cpuidle: using governor menu [ 0.210474] Failed to initialise IOMMU /amba/smmu@fd800000 [ 0.210665] vdso: 2 pages (1 code @ ffffff8008957000, 1 data @ ffffff8008c94000) [ 0.210691] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.211311] DMA: preallocated 256 KiB pool for atomic allocations [ 0.236950] reset_zynqmp reset-controller: Xilinx zynqmp reset driver probed [ 0.237365] ARM CCI_400_r1 PMU driver probed [ 0.240822] zynqmp-pinctrl ff180000.pinctrl: zynqmp pinctrl initialized [ 0.266753] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.332253] raid6: int64x1 gen() 373 MB/s [ 0.400184] raid6: int64x1 xor() 405 MB/s [ 0.468305] raid6: int64x2 gen() 617 MB/s [ 0.536319] raid6: int64x2 xor() 549 MB/s [ 0.604340] raid6: int64x4 gen() 901 MB/s [ 0.672401] raid6: int64x4 xor() 677 MB/s [ 0.740465] raid6: int64x8 gen() 1050 MB/s [ 0.808507] raid6: int64x8 xor() 684 MB/s [ 0.876571] raid6: neonx1 gen() 662 MB/s [ 0.944603] raid6: neonx1 xor() 695 MB/s [ 1.012673] raid6: neonx2 gen() 1069 MB/s [ 1.080701] raid6: neonx2 xor() 948 MB/s [ 1.148754] raid6: neonx4 gen() 1380 MB/s [ 1.216788] raid6: neonx4 xor() 1083 MB/s [ 1.284826] raid6: neonx8 gen() 1453 MB/s [ 1.352885] raid6: neonx8 xor() 1119 MB/s [ 1.352898] raid6: using algorithm neonx8 gen() 1453 MB/s [ 1.352910] raid6: .... xor() 1119 MB/s, rmw enabled [ 1.352922] raid6: using intx1 recovery algorithm [ 1.353711] SCSI subsystem initialized [ 1.353941] usbcore: registered new interface driver usbfs [ 1.353990] usbcore: registered new interface driver hub [ 1.354040] usbcore: registered new device driver usb [ 1.354129] media: Linux media interface: v0.10 [ 1.354166] Linux video capture interface: v2.00 [ 1.354202] pps_core: LinuxPPS API ver. 1 registered [ 1.354215] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.354247] PTP clock support registered [ 1.354284] EDAC MC: Ver: 3.0.0 [ 1.354590] FPGA manager framework [ 1.354645] Advanced Linux Sound Architecture Driver Initialized. [ 1.354983] Bluetooth: Core ver 2.22 [ 1.355014] NET: Registered protocol family 31 [ 1.355027] Bluetooth: HCI device and connection manager initialized [ 1.355045] Bluetooth: HCI socket layer initialized [ 1.355060] Bluetooth: L2CAP socket layer initialized [ 1.355092] Bluetooth: SCO socket layer initialized [ 1.355718] clocksource: Switched to clocksource arch_sys_counter [ 1.355815] VFS: Disk quotas dquot_6.6.0 [ 1.355868] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.361118] NET: Registered protocol family 2 [ 1.361513] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 1.361646] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 1.361927] TCP: Hash tables configured (established 16384 bind 16384) [ 1.362003] UDP hash table entries: 1024 (order: 3, 32768 bytes) [ 1.362057] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes) [ 1.362215] NET: Registered protocol family 1 [ 1.362469] RPC: Registered named UNIX socket transport module. [ 1.362483] RPC: Registered udp transport module. [ 1.362495] RPC: Registered tcp transport module. [ 1.362507] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.362951] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available [ 1.363745] futex hash table entries: 1024 (order: 5, 131072 bytes) [ 1.363831] audit: initializing netlink subsys (disabled) [ 1.363866] audit: type=2000 audit(1.352:1): initialized [ 1.364391] workingset: timestamp_bits=62 max_order=19 bucket_order=0 [ 1.365102] NFS: Registering the id_resolver key type [ 1.365128] Key type id_resolver registered [ 1.365140] Key type id_legacy registered [ 1.365158] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.365186] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.369970] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 1.369995] io scheduler noop registered [ 1.370007] io scheduler deadline registered [ 1.370026] io scheduler cfq registered (default) [ 1.371452] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed [ 1.372143] Write failed gate address:1000f02 [ 1.372254] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success [ 1.372401] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success [ 1.372553] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success [ 1.372696] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success [ 1.372846] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success [ 1.372991] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success [ 1.373139] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success [ 1.373283] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success [ 1.373745] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success [ 1.373892] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success [ 1.374040] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success [ 1.374188] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success [ 1.374339] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success [ 1.374485] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success [ 1.374633] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success [ 1.374781] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success [ 1.374892] zynqmp_pm firmware: Power management API v0.3 [ 1.375009] xenfs: not registering filesystem on non-xen platform [ 1.406738] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 1.408519] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 40, base_baud = 6249999) is a xuartps [ 2.386320] console [ttyPS0] enabled [ 2.390443] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 41, base_baud = 6249999) is a xuartps [ 2.399641] [drm] Initialized [ 2.402944] [drm] load() is defered & will be called again [ 2.409050] PLL: shutdown
So any ideas how to continue?
Thanks.
03-21-2018 08:55 AM
I'm looking for a solution for this for months, without success. I am not using the display port at all.
About 50% of time I'm rebooting, I'm getting that error and must reboot.
Was anybody able to solve it?