cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
220 Views
Registered: ‎11-02-2019

OpenAMP JTAG boot on ZCU102 with Petalinux 2019.1

Jump to solution

Hi!

I am trying to boot OpenAMP echo_test on ZCU102 using Petalinux 2019.1. I am able to boot with SD card without any problem, but when I try to boot with JTAG (doing $petalinux-boot --jtag --kernel) it hangs. I have copied the terminal output below.

Why can this happen?

 

 

Xilinx Zynq MP First Stage Boot Loader
Release 2019.1 Apr 7 2021 - 09:09:20
NOTICE: ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE: BL31: Secure code at 0x60000000
NOTICE: BL31: Non secure code at 0x10080000
NOTICE: BL31: v2.0(release):xilinx-v2018.3-720-g80d1c790
NOTICE: BL31: Built : 09:09:14, Apr 7 2021
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 4.19.0-xilinx-v2019.1 (oe-user@oe-host) (gcc versio n 8.2.0 (GCC)) #1 SMP Wed Apr 7 09:06:51 UTC 2021
[ 0.000000] Machine model: ZynqMP ZCU102 Rev1.0
[ 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] Reserved memory: created DMA memory pool at 0x000000003ed40000, s ize 1 MiB
[ 0.000000] OF: reserved mem: initialized node rproc@3ed400000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 256 MiB at 0x000000006fc00000
[ 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] random: get_random_bytes called from start_kernel+0x94/0x3f8 with crng_init=0
[ 0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s53656 r8192 d323 60 u94208
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Speculative Store Bypass Disable mitigation not required
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1033671
[ 0.000000] Kernel command line: earlycon console=ttyPS0,115200 clk_ignore_un used
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes )
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] software IO TLB: mapped [mem 0x6bc00000-0x6fc00000] (64MB)
[ 0.000000] Memory: 3757444K/4192000K available (10812K kernel code, 636K rwd ata, 5428K rodata, 24768K init, 316K bss, 172412K reserved, 262144K cma-reserved )
[ 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: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: cp15 timer(s) running at 99.99MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x170f8de2d3, max_idle_ns: 440795206112 ns
[ 0.000003] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 43980 46511101ns
[ 0.008171] Console: colour dummy device 80x25
[ 0.012294] Calibrating delay loop (skipped), value calculated using timer fr equency.. 199.98 BogoMIPS (lpj=399960)
[ 0.022573] pid_max: default: 32768 minimum: 301
[ 0.027226] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.033737] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.041481] ASID allocator initialised with 32768 entries
[ 0.046136] rcu: Hierarchical SRCU implementation.
[ 0.051116] EFI services will not be available.
[ 0.055378] smp: Bringing up secondary CPUs ...
[ 0.200559] Detected VIPT I-cache on CPU1
[ 0.200588] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.314342] Detected VIPT I-cache on CPU2
[ 0.314360] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.422981] Detected VIPT I-cache on CPU3
[ 0.423000] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.423045] smp: Brought up 1 node, 4 CPUs
[ 0.452660] SMP: Total of 4 processors activated.
[ 0.457296] CPU features: detected: 32-bit EL0 Support
[ 0.464244] CPU: All CPU(s) started at EL2
[ 0.466401] alternatives: patching kernel code
[ 0.471417] devtmpfs: initialized
[ 0.478829] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 7645041785100000 ns
[ 0.483649] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.494720] xor: measuring software checksum speed
[ 0.533797] 8regs : 2375.000 MB/sec
[ 0.573828] 8regs_prefetch: 2052.000 MB/sec
[ 0.613856] 32regs : 2724.000 MB/sec
[ 0.653885] 32regs_prefetch: 2308.000 MB/sec
[ 0.653914] xor: using function: 32regs (2724.000 MB/sec)
[ 0.658196] pinctrl core: initialized pinctrl subsystem
[ 0.663966] NET: Registered protocol family 16
[ 0.667953] audit: initializing netlink subsys (disabled)
[ 0.673103] audit: type=2000 audit(0.624:1): state=initialized audit_enabled= 0 res=1
[ 0.680694] cpuidle: using governor menu
[ 0.684632] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval___ _))
[ 0.691830] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.699156] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.718161] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.787520] raid6: int64x1 gen() 446 MB/s
[ 0.855577] raid6: int64x1 xor() 454 MB/s
[ 0.923627] raid6: int64x2 gen() 681 MB/s
[ 0.991608] raid6: int64x2 xor() 600 MB/s
[ 1.059696] raid6: int64x4 gen() 981 MB/s
[ 1.127705] raid6: int64x4 xor() 737 MB/s
[ 1.195761] raid6: int64x8 gen() 1163 MB/s
[ 1.263807] raid6: int64x8 xor() 759 MB/s
[ 1.331889] raid6: neonx1 gen() 735 MB/s
[ 1.399914] raid6: neonx1 xor() 880 MB/s
[ 1.467957] raid6: neonx2 gen() 1127 MB/s
[ 1.536000] raid6: neonx2 xor() 1173 MB/s
[ 1.604045] raid6: neonx4 gen() 1481 MB/s
[ 1.672095] raid6: neonx4 xor() 1418 MB/s
[ 1.740157] raid6: neonx8 gen() 1541 MB/s
[ 1.808188] raid6: neonx8 xor() 1460 MB/s
[ 1.808215] raid6: using algorithm neonx8 gen() 1541 MB/s
[ 1.812152] raid6: .... xor() 1460 MB/s, rmw enabled
[ 1.817043] raid6: using neon recovery algorithm
[ 1.821805] xilinx-gpio a0001000.gpio: Input clock not found
[ 1.827763] SCSI subsystem initialized
[ 1.831026] usbcore: registered new interface driver usbfs
[ 1.836299] usbcore: registered new interface driver hub
[ 1.841536] usbcore: registered new device driver usb
[ 1.846535] media: Linux media interface: v0.10
[ 1.850958] videodev: Linux video capture interface: v2.00
[ 1.856368] pps_core: LinuxPPS API ver. 1 registered
[ 1.861234] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome tti <giometti@linux.it>
[ 1.870257] PTP clock support registered
[ 1.874122] EDAC MC: Ver: 3.0.0
[ 1.877593] zynqmp-ipi-mbox mailbox@ff990400: Probed ZynqMP IPI Mailbox drive r.
[ 1.884667] zynqmp-ipi-mbox mailbox@ff90000: Probed ZynqMP IPI Mailbox driver .
[ 1.891631] FPGA manager framework
[ 1.895020] Advanced Linux Sound Architecture Driver Initialized.
[ 1.901157] Bluetooth: Core ver 2.22
[ 1.904410] NET: Registered protocol family 31
[ 1.908774] Bluetooth: HCI device and connection manager initialized
[ 1.915039] Bluetooth: HCI socket layer initialized
[ 1.919843] Bluetooth: L2CAP socket layer initialized
[ 1.924835] Bluetooth: SCO socket layer initialized
[ 1.929901] clocksource: Switched to clocksource arch_sys_counter
[ 1.935723] VFS: Disk quotas dquot_6.6.0
[ 1.939532] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.950539] NET: Registered protocol family 2
[ 1.950920] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 3276 8 bytes)
[ 1.958328] TCP established hash table entries: 32768 (order: 6, 262144 bytes )
[ 1.965606] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[ 1.972324] TCP: Hash tables configured (established 32768 bind 32768)
[ 1.978426] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[ 1.984354] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[ 1.990781] NET: Registered protocol family 1
[ 1.995143] RPC: Registered named UNIX socket transport module.
[ 2.000766] RPC: Registered udp transport module.
[ 2.005395] RPC: Registered tcp transport module.
[ 2.010027] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.082225] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 2.083848] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters av ailable
[ 2.092248] Initialise system trusted keyrings
[ 2.095830] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[ 2.102749] NFS: Registering the id_resolver key type
[ 2.107083] Key type id_resolver registered
[ 2.111165] Key type id_legacy registered
[ 2.115115] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.121727] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 3.215236] NET: Registered protocol family 38
[ 3.277260] Key type asymmetric registered
[ 3.277287] Asymmetric key parser 'x509' registered
[ 3.280582] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 47)
[ 3.287833] io scheduler noop registered
[ 3.291690] io scheduler deadline registered
[ 3.295929] io scheduler cfq registered (default)
[ 3.300530] io scheduler mq-deadline registered
[ 3.304991] io scheduler kyber registered
[ 3.338148] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 3.342083] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 3.349360] brd: module loaded
[ 3.353319] loop: module loaded
[ 3.354135] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 3.358650] libphy: Fixed MDIO Bus: probed
[ 3.362599] tun: Universal TUN/TAP device driver, 1.6
[ 3.366425] CAN device driver interface
[ 3.371015] usbcore: registered new interface driver asix
[ 3.375443] usbcore: registered new interface driver ax88179_178a
[ 3.381437] usbcore: registered new interface driver cdc_ether
[ 3.387185] usbcore: registered new interface driver net1080
[ 3.392765] usbcore: registered new interface driver cdc_subset
[ 3.398597] usbcore: registered new interface driver zaurus
[ 3.404097] usbcore: registered new interface driver cdc_ncm
[ 3.410146] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.416081] ehci-pci: EHCI PCI platform driver
[ 3.420720] usbcore: registered new interface driver uas
[ 3.425733] usbcore: registered new interface driver usb-storage
[ 3.432123] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc 0
[ 3.438788] i2c /dev entries driver
[ 3.443753] usbcore: registered new interface driver uvcvideo
[ 3.447829] USB Video Class driver (1.1.1)
[ 3.452384] Bluetooth: HCI UART driver ver 2.3
[ 3.456245] Bluetooth: HCI UART protocol H4 registered
[ 3.461301] Bluetooth: HCI UART protocol BCSP registered
[ 3.466555] Bluetooth: HCI UART protocol LL registered
[ 3.471597] Bluetooth: HCI UART protocol ATH3K registered
[ 3.476936] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 3.483134] Bluetooth: HCI UART protocol Intel registered
[ 3.488433] Bluetooth: HCI UART protocol QCA registered
[ 3.493595] usbcore: registered new interface driver bcm203x
[ 3.499170] usbcore: registered new interface driver bpa10x
[ 3.504664] usbcore: registered new interface driver bfusb
[ 3.510067] usbcore: registered new interface driver btusb
[ 3.515446] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[ 3.521067] usbcore: registered new interface driver ath3k
[ 3.526555] EDAC MC: ECC not enabled
[ 3.530124] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac control ler zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[ 3.542647] sdhci: Secure Digital Host Controller Interface driver
[ 3.548054] sdhci: Copyright(c) Pierre Ossman
[ 3.552342] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.558232] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.563887] zynqmp_firmware_probe Platform Management API v1.1
[ 3.569594] zynqmp_firmware_probe Trustzone version v1.0
[ 3.577421] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl i nitialized
[ 3.603938] zynqmp_clk_mux_get_parent() getparent failed for clock: lpd_wdt, ret = -22
[ 3.606621] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[ 3.611724] zynqmp_aes zynqmp_aes: AES Successfully Registered
[ 3.611724]
[ 3.619158] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[ 3.625227] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[ 3.630764] usbcore: registered new interface driver usbhid
[ 3.636051] usbhid: USB HID core driver
[ 3.642092] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[ 3.646549] usbcore: registered new interface driver snd-usb-audio
[ 3.653141] pktgen: Packet Generator for packet performance testing. Version: 2.75
[ 3.660105] Initializing XFRM netlink socket
[ 3.664024] NET: Registered protocol family 10
[ 3.668668] Segment Routing with IPv6
[ 3.672003] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.678091] NET: Registered protocol family 17
[ 3.682136] NET: Registered protocol family 15
[ 3.686515] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 3.699327] can: controller area network core (rev 20170425 abi 9)
[ 3.705411] NET: Registered protocol family 29
[ 3.709760] can: raw protocol (rev 20170425)
[ 3.713962] can: broadcast manager protocol (rev 20170425 t)
[ 3.719542] can: netlink gateway (rev 20170425) max_hops=1
[ 3.725171] Bluetooth: RFCOMM TTY layer initialized
[ 3.729758] Bluetooth: RFCOMM socket layer initialized
[ 3.734828] Bluetooth: RFCOMM ver 1.11
[ 3.738507] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.743738] Bluetooth: BNEP filters: protocol multicast
[ 3.748888] Bluetooth: BNEP socket layer initialized
[ 3.753777] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.759614] Bluetooth: HIDP socket layer initialized
[ 3.764622] 9pnet: Installing 9P2000 support
[ 3.768725] Key type dns_resolver registered
[ 3.773286] registered taskstats version 1
[ 3.776951] Loading compiled-in X.509 certificates
[ 3.782007] Btrfs loaded, crc32c=crc32c-generic
[ 3.792462] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 46, base_baud = ▒▒r�▒▒▒▒console [ttyPS0] enabled
[ 3.801339] console [ttyPS0] enabled
[ 3.804929] bootconsole [cdns0] disabled
[ 3.804929] bootconsole [cdns0] disabled
[ 3.813143] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 47, base_baud = 6249375) is a xuartps

 

0 Kudos
1 Solution

Accepted Solutions
125 Views
Registered: ‎11-02-2019

I had to add the bitstream when booting: $petalinux-boot --jtag --kernel --bitstream system.bit -v

View solution in original post

0 Kudos
1 Reply
126 Views
Registered: ‎11-02-2019

I had to add the bitstream when booting: $petalinux-boot --jtag --kernel --bitstream system.bit -v

View solution in original post

0 Kudos