cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bhoevding
Contributor
Contributor
1,165 Views
Registered: ‎05-02-2019

SD Boot-Issue on UltraZed

Hello everyone,

I am trying to use the PetaLinux Tools V2019.2 Environment to get started with the UltraZed-Board but unfortunately the Boot-Process get stuck:

Xilinx Zynq MP First Stage Boot Loader ␊
Release 2019.2   Nov 21 2019  -  13:58:24␍␊
NOTICE:  ATF running on XCZU3EG/silicon v4/RTL5.1 at 0xfffea000␍␊
NOTICE:  BL31: Secure code at 0x0␍␊
NOTICE:  BL31: Non secure code at 0x8000000␍␊
NOTICE:  BL31: v2.0(release):xilinx-v2019.1-12-g713dace9␍␊
NOTICE:  BL31: Built : 10:08:53, Nov 25 2019␍␊
PMUFW:⇥	v1.1␍␊
␍␊
␍␊
U-Boot 2019.01 (Nov 21 2019 - 13:57:14 +0000)␍␊
␍␊
Board: Xilinx ZynqMP␍␊
DRAM:  2 GiB␍␊
usb dr_mode not found␍␊
EL Level:⇥	EL2␍␊
Chip ID:⇥	zu3eg␍␊
MMC:   mmc@ff160000: 0, mmc@ff170000: 1␍␊
Loading Environment from SPI Flash... SF: Detected n25q256a with page size 512 Bytes, erase size 128 KiB, total 64 MiB␍␊
*** Warning - bad CRC, using default environment␍␊
␍␊
In:    serial@ff000000␍␊
Out:   serial@ff000000␍␊
Err:   serial@ff000000␍␊
Board: Xilinx ZynqMP␍␊
Bootmode: SD_MODE1␍␊
Reset reason:⇥	EXTERNAL ␍␊
Net:   ZYNQ GEM: ff0e0000, phyaddr ffffffff, interface rgmii-id␍␊
eth0: ethernet@ff0e0000␍␊
U-BOOT for petalnx-uz3eg␍␊
␍␊
ethernet@ff0e0000 Waiting for PHY auto negotiation to complete.... done␍␊
BOOTP broadcast 1␍␊
DHCP client bound to address 192.168.1.100 (504 ms)␍␊
Hit any key to stop autoboot:  4 <0x08><0x08><0x08> 3 <0x08><0x08><0x08> 2 <0x08><0x08><0x08> 1 <0x08><0x08><0x08> 0 ␍␊
Device: mmc@ff160000␍␊
Manufacturer ID: 13␍␊
OEM: 14e␍␊
Name: Q2J55 ␍␊
Bus Speed: 52000000␍␊
Mode : MMC High Speed (52MHz)␍␊
Rd Block Len: 512␍␊
MMC version 5.0␍␊
High Capacity: Yes␍␊
Capacity: 7.1 GiB␍␊
Bus Width: 4-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␍␊
17912076 bytes read in 1344 ms (12.7 MiB/s)␍␊
## Loading kernel from FIT Image at 10000000 ...␍␊
   Using 'conf@system-top.dtb' configuration␍␊
   Trying 'kernel@1' kernel subimage␍␊
     Description:  Linux kernel␍␊
     Type:         Kernel Image␍␊
     Compression:  uncompressed␍␊
     Data Start:   0x100000f8␍␊
     Data Size:    17877504 Bytes = 17 MiB␍␊
     Architecture: AArch64␍␊
     OS:           Linux␍␊
     Load Address: 0x00080000␍␊
     Entry Point:  0x00080000␍␊
     Hash algo:    sha1␍␊
     Hash value:   79576dee5e67dc30fa3f681baa5f0779fa6fc04c␍␊
   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:   0x1110cbfc␍␊
     Data Size:    32667 Bytes = 31.9 KiB␍␊
     Architecture: AArch64␍␊
     Hash algo:    sha1␍␊
     Hash value:   e104c0c2c0f6e996c2a6699a5eedb56e5b9c93a5␍␊
   Verifying Hash Integrity ... sha1+ OK␍␊
   Booting using the fdt blob at 0x1110cbfc␍␊
   Loading Kernel Image ... OK␍␊
   Loading Device Tree to 0000000007ff5000, end 0000000007ffff9a ... OK␍␊
␍␊
Starting kernel ...␍␊
␍␊
Booting Linux on physical CPU 0x0000000000 [0x410fd034]␍␊
Linux version 4.19.0 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Thu Nov 21 13:55:07 UTC 2019␍␊
Machine model: xlnx,zynqmp␍␊
earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')␍␊
bootconsole [cdns0] enabled␍␊
efi: Getting EFI parameters from FDT:␍␊
efi: UEFI not found.␍␊
cma: Reserved 256 MiB at 0x000000006fc00000␍␊
psci: probing for conduit method from DT.␍␊
psci: PSCIv1.1 detected in firmware.␍␊
psci: Using standard PSCI v0.2 function IDs␍␊
psci: MIGRATE_INFO_TYPE not supported.␍␊
psci: SMC Calling Convention v1.1␍␊
random: get_random_bytes called from start_kernel+0x94/0x37c with crng_init=0␍␊
percpu: Embedded 22 pages/cpu @(____ptrval____) s52504 r8192 d29416 u90112␍␊
Detected VIPT I-cache on CPU0␍␊
CPU features: enabling workaround for ARM erratum 845719␍␊
Speculative Store Bypass Disable mitigation not required␍␊
CPU features: detected: Kernel page table isolation (KPTI)␍␊
Built 1 zonelists, mobility grouping on.  Total pages: 516867␍␊
Kernel command line: earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/mmcblk1p2 rw rootwait␍␊
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)␍␊
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)␍␊
Memory: 1783876K/2096128K available (10620K kernel code, 626K rwdata, 5368K rodata, 768K init, 306K bss, 50108K reserved, 262144K cma-reserved)␍␊
rcu: Hierarchical RCU implementation.␍␊
rcu: ⇥	RCU event tracing is enabled.␍␊
rcu: ⇥	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.␍␊
rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4␍␊
NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0␍␊
GIC: Adjusting CPU interface base to 0x00000000f902f000␍␊
GIC: Using split EOI/Deactivate mode␍␊
arch_timer: cp15 timer(s) running at 99.99MHz (phys).␍␊
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171015c90f, max_idle_ns: 440795203080 ns␍␊
sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns␍␊
Console: colour dummy device 80x25␍␊
Calibrating delay loop (skipped), value calculated using timer frequency.. 199.99 BogoMIPS (lpj=399996)␍␊
pid_max: default: 32768 minimum: 301␍␊
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)␍␊
Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)␍␊
ASID allocator initialised with 32768 entries␍␊
rcu: Hierarchical SRCU implementation.␍␊
EFI services will not be available.␍␊
smp: Bringing up secondary CPUs ...␍␊
Detected VIPT I-cache on CPU1␍␊
CPU1: Booted secondary processor 0x0000000001 [0x410fd034]␍␊
Detected VIPT I-cache on CPU2␍␊
CPU2: Booted secondary processor 0x0000000002 [0x410fd034]␍␊
Detected VIPT I-cache on CPU3␍␊
CPU3: Booted secondary processor 0x0000000003 [0x410fd034]␍␊
smp: Brought up 1 node, 4 CPUs␍␊
SMP: Total of 4 processors activated.␍␊
CPU features: detected: 32-bit EL0 Support␍␊
CPU: All CPU(s) started at EL2␍␊
alternatives: patching kernel code␍␊
devtmpfs: initialized␍␊
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns␍␊
futex hash table entries: 1024 (order: 4, 65536 bytes)␍␊
xor: measuring software checksum speed␍␊
   8regs     :  2177.000 MB/sec␍␊
   8regs_prefetch:  1881.000 MB/sec␍␊
   32regs    :  2497.000 MB/sec␍␊
   32regs_prefetch:  2116.000 MB/sec␍␊
xor: using function: 32regs (2497.000 MB/sec)␍␊
pinctrl core: initialized pinctrl subsystem␍␊
NET: Registered protocol family 16␍␊
audit: initializing netlink subsys (disabled)␍␊
audit: type=2000 audit(0.264:1): state=initialized audit_enabled=0 res=1␍␊
cpuidle: using governor menu␍␊
vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))␍␊
hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.␍␊
DMA: preallocated 256 KiB pool for atomic allocations␍␊
HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages␍␊
raid6: int64x1  gen()   408 MB/s␍␊
raid6: int64x1  xor()   413 MB/s␍␊
raid6: int64x2  gen()   623 MB/s␍␊
raid6: int64x2  xor()   549 MB/s␍␊
raid6: int64x4  gen()   899 MB/s␍␊
raid6: int64x4  xor()   676 MB/s␍␊
raid6: int64x8  gen()  1065 MB/s␍␊
raid6: int64x8  xor()   696 MB/s␍␊
raid6: neonx1   gen()   674 MB/s␍␊
raid6: neonx1   xor()   807 MB/s␍␊
raid6: neonx2   gen()  1035 MB/s␍␊
raid6: neonx2   xor()  1076 MB/s␍␊
raid6: neonx4   gen()  1356 MB/s␍␊
raid6: neonx4   xor()  1300 MB/s␍␊
raid6: neonx8   gen()  1423 MB/s␍␊
raid6: neonx8   xor()  1337 MB/s␍␊
raid6: using algorithm neonx8 gen() 1423 MB/s␍␊
raid6: .... xor() 1337 MB/s, rmw enabled␍␊
raid6: using neon recovery algorithm␍␊
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␍␊
videodev: 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␍␊
EDAC MC: Ver: 3.0.0␍␊
zynqmp-ipi-mbox mailbox@ff990400: Probed ZynqMP IPI Mailbox driver.␍␊
FPGA manager framework␍␊
Advanced Linux Sound Architecture Driver Initialized.␍␊
Bluetooth: Core ver 2.22␍␊
NET: Registered protocol family 31␍␊
Bluetooth: HCI device and connection manager initialized␍␊
Bluetooth: HCI socket layer initialized␍␊
Bluetooth: L2CAP socket layer initialized␍␊
Bluetooth: SCO socket layer initialized␍␊
clocksource: Switched to clocksource arch_sys_counter␍␊
VFS: Disk quotas dquot_6.6.0␍␊
VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)␍␊
NET: Registered protocol family 2␍␊
tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)␍␊
TCP established hash table entries: 16384 (order: 5, 131072 bytes)␍␊
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)␍␊
TCP: Hash tables configured (established 16384 bind 16384)␍␊
UDP hash table entries: 1024 (order: 3, 32768 bytes)␍␊
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)␍␊
NET: Registered protocol family 1␍␊
RPC: Registered named UNIX socket transport module.␍␊
RPC: Registered udp transport module.␍␊
RPC: Registered tcp transport module.␍␊
RPC: Registered tcp NFSv4.1 backchannel transport module.␍␊
hw perfevents: no interrupt-affinity property for /pmu, guessing.␍␊
hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available␍␊
Initialise system trusted keyrings␍␊
workingset: timestamp_bits=62 max_order=19 bucket_order=0␍␊
NFS: Registering the id_resolver key type␍␊
Key type id_resolver registered␍␊
Key type id_legacy registered␍␊
nfs4filelayout_init: NFSv4 File Layout Driver Registering...␍␊
jffs2: version 2.2. (NAND) <0xc2><0xa9> 2001-2006 Red Hat, Inc.␍␊
NET: Registered protocol family 38␍␊
Key type asymmetric registered␍␊
Asymmetric key parser 'x509' registered␍␊
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)␍␊
io scheduler noop registered␍␊
io scheduler deadline registered␍␊
io scheduler cfq registered (default)␍␊
io scheduler mq-deadline registered␍␊
io scheduler kyber registered␍␊
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled␍␊
cacheinfo: Unable to detect cache hierarchy for CPU 0␍␊
brd: module loaded␍␊
loop: module loaded␍␊
mtdoops: mtd device (mtddev=name/number) must be supplied␍␊
libphy: Fixed MDIO Bus: probed␍␊
tun: Universal TUN/TAP device driver, 1.6␍␊
CAN device driver interface␍␊
usbcore: registered new interface driver asix␍␊
usbcore: registered new interface driver ax88179_178a␍␊
usbcore: registered new interface driver cdc_ether␍␊
usbcore: registered new interface driver net1080␍␊
usbcore: registered new interface driver cdc_subset␍␊
usbcore: registered new interface driver zaurus␍␊
usbcore: registered new interface driver cdc_ncm␍␊
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver␍␊
ehci-pci: EHCI PCI platform driver␍␊
usbcore: registered new interface driver uas␍␊
usbcore: registered new interface driver usb-storage␍␊
rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0␍␊
i2c /dev entries driver␍␊
usbcore: registered new interface driver uvcvideo␍␊
USB Video Class driver (1.1.1)␍␊
Bluetooth: HCI UART driver ver 2.3␍␊
Bluetooth: HCI UART protocol H4 registered␍␊
Bluetooth: HCI UART protocol BCSP registered␍␊
Bluetooth: HCI UART protocol LL registered␍␊
Bluetooth: HCI UART protocol ATH3K registered␍␊
Bluetooth: HCI UART protocol Three-wire (H5) registered␍␊
Bluetooth: HCI UART protocol Intel registered␍␊
Bluetooth: HCI UART protocol QCA registered␍␊
usbcore: registered new interface driver bcm203x␍␊
usbcore: registered new interface driver bpa10x␍␊
usbcore: registered new interface driver bfusb␍␊
usbcore: registered new interface driver btusb␍␊
Bluetooth: Generic Bluetooth SDIO driver ver 0.1␍␊
usbcore: registered new interface driver ath3k␍␊
EDAC MC: ECC not enabled␍␊
EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)␍␊
sdhci: Secure Digital Host Controller Interface driver␍␊
sdhci: Copyright(c) Pierre Ossman␍␊
sdhci-pltfm: SDHCI platform and OF driver helper␍␊
ledtrig-cpu: registered to indicate activity on CPUs␍␊
zynqmp_firmware_probe Platform Management API v1.1␍␊
zynqmp_firmware_probe Trustzone version v1.0␍␊
zynqmp_clk_mux_get_parent() getparent failed for clock: lpd_wdt, ret = -22␍␊
alg: No test for xilinx-zynqmp-aes (zynqmp-aes)␍␊
zynqmp_aes zynqmp_aes: AES Successfully Registered␍␊
␍␍␊
alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)␍␊
alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)␍␊
usbcore: registered new interface driver usbhid␍␊
usbhid: USB HID core driver␍␊
fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered␍␊
usbcore: registered new interface driver snd-usb-audio␍␊
pktgen: Packet Generator for packet performance testing. Version: 2.75␍␊
Initializing XFRM netlink socket␍␊
NET: Registered protocol family 10␍␊
Segment Routing with IPv6␍␊
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver␍␊
NET: Registered protocol family 17␍␊
NET: Registered protocol family 15␍␊
bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.␍␊
can: controller area network core (rev 20170425 abi 9)␍␊
NET: Registered protocol family 29␍␊
can: raw protocol (rev 20170425)␍␊
can: broadcast manager protocol (rev 20170425 t)␍␊
can: netlink gateway (rev 20170425) max_hops=1␍␊
Bluetooth: RFCOMM TTY layer initialized␍␊
Bluetooth: RFCOMM socket layer initialized␍␊
Bluetooth: RFCOMM ver 1.11␍␊
Bluetooth: BNEP (Ethernet Emulation) ver 1.3␍␊
Bluetooth: BNEP filters: protocol multicast␍␊
Bluetooth: BNEP socket layer initialized␍␊
Bluetooth: HIDP (Human Interface Emulation) ver 1.2␍␊
Bluetooth: HIDP socket layer initialized␍␊
9pnet: Installing 9P2000 support␍␊
Key type dns_resolver registered␍␊
registered taskstats version 1␍␊
Loading compiled-in X.509 certificates␍␊
Btrfs loaded, crc32c=crc32c-generic␍␊
ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 41, base_baud = 6249999) is a xuartps␍␊
console [ttyPS0] enabled␍␊
console [ttyPS0] enabled␍␊
bootconsole [cdns0] disabled␍␊
bootconsole [cdns0] disabled␍␊
ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 42, base_baud = 6249999) is a xuartps␍␊
GPIO IRQ not connected␍␊
XGpio: gpio@80000000: registered, base is 504␍␊
GPIO IRQ not connected␍␊
XGpio: gpio@80010000: registered, base is 496␍␊
GPIO IRQ not connected␍␊
XGpio: gpio@80020000: registered, base is 493␍␊
of-fpga-region fpga-full: FPGA Region probed␍␊
xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed␍␊
xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success␍␊
xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:8 protocol:4 pll_locked:yes␍␊
zynqmp_pll_disable() clock disable failed for dpll_int, ret = -13␍␊
------------[ cut here ]------------␍␊
More than allowed devices are using the vpll_int, which is forbidden␍␊
WARNING: CPU: 3 PID: 47 at drivers/clk/zynqmp/pll.c:193 zynqmp_pll_set_rate+0x1c4/0x218␍␊
Modules linked in:␍␊
CPU: 3 PID: 47 Comm: kworker/3:1 Not tainted 4.19.0 #1␍␊
Hardware name: xlnx,zynqmp (DT)␍␊
Workqueue: events deferred_probe_work_func␍␊
pstate: 60000005 (nZCv daif -PAN -UAO)␍␊
pc : zynqmp_pll_set_rate+0x1c4/0x218␍␊
lr : zynqmp_pll_set_rate+0x1c4/0x218␍␊
sp : ffffff800930b660␍␊
x29: ffffff800930b660 x28: 0000000000000000 ␍␊
x27: 0000000000000000 x26: 000000000169cfa1 ␍␊
x25: 00000000ffffffa9 x24: ffffff8008c01a80 ␍␊
x23: 0000000000000060 x22: ffffffc06d188100 ␍␊
x21: ffffff80090f8648 x20: 000000000000b61b ␍␊
x19: 0000000059682ef1 x18: 0000000000000010 ␍␊
x17: 0000000000000000 x16: 0000000000000000 ␍␊
x15: ffffffffffffffff x14: 6962726f66207369 ␍␊
x13: 206863696877202c x12: 746e695f6c6c7076 ␍␊
x11: 2065687420676e69 x10: 7375206572612073 ␍␊
x9 : 6563697665642064 x8 : ffffff8008542b30 ␍␊
x7 : 6168742065726f4d x6 : 0000000000000107 ␍␊
x5 : 0000000000000001 x4 : 0000000000000000 ␍␊
x3 : 0000000000000000 x2 : ffffffffffffffff ␍␊
x1 : e29bace31751b500 x0 : 0000000000000000 ␍␊
Call trace:␍␊
 zynqmp_pll_set_rate+0x1c4/0x218␍␊
 clk_change_rate+0x158/0x278␍␊
 clk_core_set_rate_nolock+0x188/0x1c0␍␊
 clk_set_rate+0x34/0xa0␍␊
 xilinx_dp_codec_probe+0xd8/0x1f8␍␊
 platform_drv_probe+0x50/0xa0␍␊
 really_probe+0x1c8/0x280␍␊
 driver_probe_device+0x54/0xe8␍␊
 __device_attach_driver+0xb8/0xe8␍␊
 bus_for_each_drv+0x78/0xc8␍␊
 __device_attach+0xd4/0x130␍␊
 device_initial_probe+0x10/0x18␍␊
 bus_probe_device+0x90/0x98␍␊
 device_add+0x334/0x608␍␊
 of_device_add+0x58/0x68␍␊
 of_platform_device_create_pdata+0xac/0x108␍␊
 of_platform_bus_create+0x294/0x390␍␊
 of_platform_populate+0x74/0xd8␍␊
 zynqmp_dpsub_probe+0xdc/0x160␍␊
 platform_drv_probe+0x50/0xa0␍␊
 really_probe+0x1c8/0x280␍␊
 driver_probe_device+0x54/0xe8␍␊
 __device_attach_driver+0xb8/0xe8␍␊
 bus_for_each_drv+0x78/0xc8␍␊
 __device_attach+0xd4/0x130␍␊
 device_initial_probe+0x10/0x18␍␊
 bus_probe_device+0x90/0x98␍␊
 deferred_probe_work_func+0x6c/0xa0␍␊
 process_one_work+0x1e4/0x340␍␊
 worker_thread+0x248/0x488␍␊
 kthread+0x124/0x128␍␊
 ret_from_fork+0x10/0x18␍␊
---[ end trace 322dca57eb430bd8 ]---␍␊
zynqmp_pll_set_rate() set divider failed for vpll_int, ret = -87␍␊
zynqmp_clk_divider_set_rate() set divider failed for dp_stc_ref_div1, ret = -22␍␊
------------[ cut here ]------------␍␊
More than allowed devices are using the vpll_int, which is forbidden␍␊
WARNING: CPU: 3 PID: 47 at drivers/clk/zynqmp/pll.c:193 zynqmp_pll_set_rate+0x1c4/0x218␍␊
Modules linked in:␍␊
CPU: 3 PID: 47 Comm: kworker/3:1 Tainted: G        W         4.19.0 #1␍␊
Hardware name: xlnx,zynqmp (DT)␍␊
Workqueue: events deferred_probe_work_func␍␊
pstate: 60000005 (nZCv daif -PAN -UAO)␍␊
pc : zynqmp_pll_set_rate+0x1c4/0x218␍␊
lr : zynqmp_pll_set_rate+0x1c4/0x218␍␊
sp : ffffff800930b660␍␊
x29: ffffff800930b660 x28: 0000000000000000 ␍␊
x27: 0000000000000000 x26: 00000000001f4ed6 ␍␊
x25: 00000000ffffffa9 x24: ffffff8008c01a80 ␍␊
x23: 0000000000000060 x22: ffffffc06d188100 ␍␊
x21: ffffff80090f8648 x20: 0000000000000fc2 ␍␊
x19: 000000005b64cf46 x18: 0000000000000010 ␍␊
x17: 0000000000000000 x16: 0000000000000000 ␍␊
x15: ffffffffffffffff x14: ffffff80090f8648 ␍␊
x13: ffffff80891945cf x12: ffffff80091945d7 ␍␊
x11: 2065687420676e69 x10: ffffff800930b340 ␍␊
x9 : 00000000ffffffd0 x8 : ffffff8008542b30 ␍␊
x7 : 746e695f6c6c7076 x6 : 0000000000000145 ␍␊
x5 : 0000000000000001 x4 : 0000000000000000 ␍␊
x3 : 0000000000000000 x2 : ffffffffffffffff ␍␊
x1 : e29bace31751b500 x0 : 0000000000000000 ␍␊
Call trace:␍␊
 zynqmp_pll_set_rate+0x1c4/0x218␍␊
 clk_change_rate+0x158/0x278␍␊
 clk_core_set_rate_nolock+0x188/0x1c0␍␊
 clk_set_rate+0x34/0xa0␍␊
 xilinx_dp_codec_probe+0xd8/0x1f8␍␊
 platform_drv_probe+0x50/0xa0␍␊
 really_probe+0x1c8/0x280␍␊
 driver_probe_device+0x54/0xe8␍␊
 __device_attach_driver+0xb8/0xe8␍␊
 bus_for_each_drv+0x78/0xc8␍␊
 __device_attach+0xd4/0x130␍␊
 device_initial_probe+0x10/0x18␍␊
 bus_probe_device+0x90/0x98␍␊
 device_add+0x334/0x608␍␊
 of_device_add+0x58/0x68␍␊
 of_platform_device_create_pdata+0xac/0x108␍␊
 of_platform_bus_create+0x294/0x390␍␊
 of_platform_populate+0x74/0xd8␍␊
 zynqmp_dpsub_probe+0xdc/0x160␍␊
 platform_drv_probe+0x50/0xa0␍␊
 really_probe+0x1c8/0x280␍␊
 driver_probe_device+0x54/0xe8␍␊
 __device_attach_driver+0xb8/0xe8␍␊
 bus_for_each_drv+0x78/0xc8␍␊
 __device_attach+0xd4/0x130␍␊
 device_initial_probe+0x10/0x18␍␊
 bus_probe_device+0x90/0x98␍␊
 deferred_probe_work_func+0x6c/0xa0␍␊
 process_one_work+0x1e4/0x340␍␊
 worker_thread+0x248/0x488␍␊
 kthread+0x124/0x128␍␊
 ret_from_fork+0x10/0x18␍␊
---[ end trace 322dca57eb430bd9 ]---␍␊
zynqmp_pll_set_rate() set divider failed for vpll_int, ret = -87␍␊
xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Failed to get required clock freq␍␊
xilinx-dp-snd-codec: probe of fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0 failed with error -22␍␊
xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed␍␊
xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed␍␊
xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: CPU DAI (null) not registered␍␊
OF: graph: no port node found in /amba/zynqmp-display@fd4a0000␍␊
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).␍␊
[drm] No driver support for vblank timestamp query.␍␊
xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff8008b9d5b8)␍␊
random: fast init done␍␊
random: crng init done␍␊
[drm] Cannot find any crtc or sizes␍␊
[drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0␍␊
zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed␍␊
ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode␍␊
ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst ␍␊
scsi host0: ahci-ceva␍␊
scsi host1: ahci-ceva␍␊
ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 38␍␊
ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 38␍␊
m25p80 spi0.0: found n25q256a, expected n25q512a␍␊
m25p80 spi0.0: n25q256a (65536 Kbytes)␍␊
3 fixed-partitions partitions found on MTD device spi0.0␍␊
Creating 3 MTD partitions on "spi0.0":␍␊
0x000000000000-0x000000100000 : "boot"␍␊
0x000000100000-0x000000140000 : "bootenv"␍␊
0x000000140000-0x000001740000 : "kernel"␍␊
macb ff0e0000.ethernet: Not enabling partial store and forward␍␊
libphy: MACB_mii_bus: probed␍␊
macb ff0e0000.ethernet eth0: Could not attach to PHY␍␊
xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM␍␊
xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM␍␊
xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM␍␊
xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM␍␊
dwc3-of-simple ff9d0000.usb0: dwc3_simple_set_phydata: Can't find usb3-phy␍␊
dwc3 fe200000.dwc3: Failed to get clk 'ref': -2␍␊
cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 31␍␊
cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s␍␊
cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10s␍␊
cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1099999 KHz␍␊
cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 1199999 KHz␍␊
mmc0: SDHCI controller on ff160000.mmc [ff160000.mmc] using ADMA 64-bit␍␊
mmc1: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit␍␊
xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: CPU DAI (null) not registered␍␊
xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: CPU DAI (null) not registered␍␊
rtc_zynqmp ffa60000.rtc: setting system clock to 1970-01-01 00:00:18 UTC (18)␍␊
of_cfs_init␍␊
of_cfs_init: OK␍␊
cfg80211: Loading compiled-in X.509 certificates for regulatory database␍␊
mmc0: new HS200 MMC card at address 0001␍␊
mmcblk0: mmc0:0001 Q2J55L 7.09 GiB ␍␊
mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB␍␊
ata1: SATA link down (SStatus 0 SControl 330)␍␊
mmcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB␍␊
ata2: SATA link down (SStatus 0 SControl 330)␍␊
mmcblk0rpmb: mmc0:0001 Q2J55L partition 3 4.00 MiB, chardev (244:0)␍␊
 mmcblk0: p1 p2␍␊
xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: ASoC: CPU DAI (null) not registered␍␊
mmc1: error -110 whilst initialising SD card␍␊
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'␍␊
clk: Not disabling unused clocks␍␊
ALSA device list:␍␊
  No soundcards found.␍␊
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2␍␊
cfg80211: failed to load regulatory.db␍␊
Waiting for root device /dev/mmcblk1p2...␍␊

Does anyone have similar issues with PetaLinux ToolsV2019.2 ?

Furthermore the same setup works with PLV2019.1, I would appreciate all help regarding this matter.

best regards,

Bjorn

0 Kudos
6 Replies
watari
Professor
Professor
1,104 Views
Registered: ‎06-16-2013

Hi @bhoevding 

 

Would you make sure write protect for SD card on your design ?

 

Best regards,

0 Kudos
ericzerbib
Adventurer
Adventurer
1,066 Views
Registered: ‎09-05-2018

It seeam you have two SD card?

mmc0 and mmc1

mmc0 is well detected with 2 partitions

mmcblk0rpmb: mmc0:0001 Q2J55L partition 3 4.00 MiB, chardev (244:0)␍␊
 mmcblk0: p1 p2␍␊

 

but your mmc1 is not defined well or not detect and you try to boot on mmc1?

mmc1: error -110 whilst initialising SD card␍␊
8< ... 8< .....
Waiting for root device /dev/mmcblk1p2...␍␊

Is it exact that your rootfs is  on mmc1?

0 Kudos
bhoevding
Contributor
Contributor
1,050 Views
Registered: ‎05-02-2019

Hello @ericzerbib ,

I have both an eMMC and SD memory slot.

But the UltraZed has been configured to boot from the SD device, and it doesnt.

Furthermore I have noticed that both devices are detected, but what does this error mean / why doesnt it boot further?

-> mmc1 is the sd device, from which I am trying to boot:

it contains one 100 MByte FAT32 Partition (image.ub and BOOT.BIN), and 7.x GByte EXT2 Partition (Ubuntu Rootfs)

I have also selected this devices within PetaLinux Tools.

best regards

0 Kudos
ericzerbib
Adventurer
Adventurer
1,034 Views
Registered: ‎09-05-2018

Check out if the SDC1 is defined as this (no-1-8-v) is important

&sdhci1 {
	status = "okay";
	xlnx,has-cd = <0x1>;
	xlnx,has-power = <0x0>;
	xlnx,has-wp = <0x1>;
	disable-wp;
	no-1-8-v;
};

 

https://forums.xilinx.com/t5/Embedded-Linux/mmc0-error-110-whilst-initialising-SD-card/m-p/929713

0 Kudos
bhoevding
Contributor
Contributor
1,018 Views
Registered: ‎05-02-2019

My current setup look like this:

/* eMMC */
&sdhci0 {
    status = "okay";
    disable-wp;
    no-1-8-v;
}; 

/* SD */
&sdhci1 {
    status = "okay";
    disable-wp;
    no-1-8-v;
}; 

Both devices are enabled.. 

0 Kudos
bhoevding
Contributor
Contributor
979 Views
Registered: ‎05-02-2019

Hello @watari,

could you be more precise, I am not sure what you mean?

Thank you.

Regards

0 Kudos