UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer sukkie95
Observer
268 Views
Registered: ‎08-20-2018

Booting Xen on ZCU106

Hi, I'm trying to run Xen on ZCU106 board using the BSP package for ZCU106 board with Petalinux 2019.1. I am following this guide in order to boot xen. I first tried to boot image with FPGA manager, packagegroup-petalinux-xen, packagegroup-petalinux-dev and packagegroup-petalinux-dbg. Since my rootfs.cpio.gz.u-boot is larger than 128MB, I followed the giude in page 58 of UG1114 and changed CONFIG_SYS_BOOTM_LEN to 0x40000000 and Undefed CONFIG_SYS_BOOTMAPSZ. During petalinux-build, sstate-cahce didn't seem to work so I downloaded a local mirror and used that instead. After I partition the provided SD card following this guide and putting necessary files into the boot partition of the SD card, I get a kernel panic message:

 

## Booting kernel from Legacy Image at 01400000 ...
   Image Name:   
   Image Type:   AArch64 Linux Kernel Image (uncompressed)
   Data Size:    819536 Bytes = 800.3 KiB
   Load Address: 06000000
   Entry Point:  06000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 09000000 ...
   Image Name:   petalinux-user-image-zcu106-zynq
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    598992917 Bytes = 571.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01280000
   Booting using the fdt blob at 0x1280000
   Loading Kernel Image ... OK
   Loading Ramdisk to 5a260000, end 7dd9e815 ... OK
   Loading Device Tree to 0000000007ff0000, end 0000000007fff23b ... OK

Starting kernel ...

 Xen 4.11.1
(XEN) Xen version 4.11.1 (elpis@uzuki.moe) (aarch64-xilinx-linux-gcc (GCC) 8.2.0) debug=n  Tue Aug 27 06:45:52 UTC 2019
(XEN) Latest ChangeSet: Fri May 3 13:16:29 2019 -0700 git:e4547c663f-dirty
(XEN) Processor: 410fd034: "ARM Limited", variant: 0x0, part 0xd03, rev 0x4
(XEN) 64-bit Execution:
(XEN)   Processor Features: 0000000000002222 0000000000000000
(XEN)     Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32
(XEN)     Extensions: FloatingPoint AdvancedSIMD
(XEN)   Debug Features: 0000000010305106 0000000000000000
(XEN)   Auxiliary Features: 0000000000000000 0000000000000000
(XEN)   Memory Model Features: 0000000000001122 0000000000000000
(XEN)   ISA Features:  0000000000011120 0000000000000000
(XEN) 32-bit Execution:
(XEN)   Processor Features: 00000131:00011011
(XEN)     Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle
(XEN)     Extensions: GenericTimer Security
(XEN)   Debug Features: 03010066
(XEN)   Auxiliary Features: 00000000
(XEN)   Memory Model Features: 10201105 40000000 01260000 02102211
(XEN)  ISA Features: 02101110 13112111 21232042 01112131 00011142 00011121
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 99990 KHz
(XEN) GICv2 initialization:
(XEN)         gic_dist_addr=00000000f9010000
(XEN)         gic_cpu_addr=00000000f9020000
(XEN)         gic_hyp_addr=00000000f9040000
(XEN)         gic_vcpu_addr=00000000f9060000
(XEN)         gic_maintenance_irq=25
(XEN) GICv2: Adjusting CPU interface base to 0xf902f000
(XEN) GICv2: 192 lines, 4 cpus, secure (IID 0200143b).
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 16 KiB.
(XEN) Bringing up CPU1
(XEN) Bringing up CPU2
(XEN) Bringing up CPU3
(XEN) Brought up 4 CPUs
(XEN) P2M: 40-bit IPA with 40-bit PA and 8-bit VMID
(XEN) P2M: 3 levels with order-1 root, VTCR 0x80023558
(XEN) I/O virtualisation enabled
(XEN)  - Dom0 mode: Relaxed
(XEN) Interrupt remapping enabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Loading Dom00008000fff34000d kernel from boot module @ 0000000000080000
(XEN) Loading ramdisk from boot module @ 000000005a260000
(XEN) Allocating 1:1 mappings totalling 1024MB for dom0:
(XEN) BANK[0] 0x00000010000000-0x00000050000000 (1024MB)
(XEN) Grant table range: 0x0000087fe00000-0x0000087fe40000
(XEN) Allocating PPI 16 for event channel interrupt
(XEN) Loading zImage from 0000000000080000 to 0000000010080000-0000000013180000
(XEN) Loading dom0 initrd from 000000005a260000 to 0x0000000018200000-0x000000003bd3e815
(XEN) Loading dom0 DTB to 0x0000000018000000-0x000000001800aa50
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) *** Serial input to DOM0 (type 'CTRL-a' three times to switch input)
(XEN) Freed 340kB init memory.
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER4
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER8
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER12
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER16
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER20
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER0
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.19.0-xilinx-v2019.1 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Aug 27 06:30:51 UTC 2019
[    0.000000] Machine model: ZynqMP ZCU106 RevA
[    0.000000] Xen 4.11 support found
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Failed to reserve 1000 MiB
[    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: Trusted OS migration not required
[    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 d32360 u94208
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258560
[    0.000000] Kernel command line: console=hvc0 earlycon=xen earlyprintk=xen maxcpus=1 clk_ignore_unused
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 414396K/1048576K available (10812K kernel code, 636K rwdata, 5428K rodata, 832K init, 316K bss, 634180K res)
[    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] arch_timer: cp15 timer(s) running at 99.99MHz (virt).
[    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 4398046511101ns
[    0.000285] Console: colour dummy device 80x25
[    0.196667] console [hvc0] enabled
[    0.200139] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.98 BogoMIPS (lpj=399960)
[    0.210597] pid_max: default: 32768 minimum: 301
[    0.215369] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.222020] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.229922] ASID allocator initialised with 32768 entries
[    0.235099] xen:grant_table: Grant tables using version 1 layout
[    0.240718] Grant table initialized
[    0.244264] xen:events: Using FIFO-based ABI
[    0.248589] Xen: initializing cpu0
[    0.252097] rcu: Hierarchical SRCU implementation.
[    0.257204] EFI services will not be available.
[    0.261583] smp: Bringing up secondary CPUs ...
[    0.266051] smp: Brought up 1 node, 1 CPU
[    0.270116] SMP: Total of 1 processors activated.
[    0.274875] CPU features: detected: 32-bit EL0 Support
[    0.281392] CPU: All CPU(s) started at EL1
[    0.284223] alternatives: patching kernel code
[    0.289335] devtmpfs: initialized
[    0.297113] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.301873] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.308201] xor: measuring software checksum speed
[    0.352996]    8regs     :  2374.000 MB/sec
[    0.393051]    8regs_prefetch:  2051.000 MB/sec
[    0.433105]    32regs    :  2724.000 MB/sec
[    0.473162]    32regs_prefetch:  2308.000 MB/sec
[    0.473199] xor: using function: 32regs (2724.000 MB/sec)
[    0.477681] pinctrl core: initialized pinctrl subsystem
[    0.483951] NET: Registered protocol family 16
[    0.487658] audit: initializing netlink subsys (disabled)
[    0.493288] audit: type=2000 audit(0.372:1): state=initialized audit_enabled=0 res=1
[    0.501212] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.508133] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.515537] DMA: preallocated 256 KiB pool for atomic allocations
[    0.521150] xen:swiotlb_xen: Warning: only able to allocate 4 MB for software IO TLB
[    0.529408] software IO TLB: mapped [mem 0x4d400000-0x4d800000] (4MB)
[    0.573028] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.639819] raid6: int64x1  gen()   446 MB/s
[    0.707841] raid6: int64x1  xor()   453 MB/s
[    0.776026] raid6: int64x2  gen()   680 MB/s
[    0.844069] raid6: int64x2  xor()   597 MB/s
[    0.912223] raid6: int64x4  gen()   981 MB/s
[    0.980284] raid6: int64x4  xor()   736 MB/s
[    1.048434] raid6: int64x8  gen()  1163 MB/s
[    1.116500] raid6: int64x8  xor()   759 MB/s
[    1.184657] raid6: neonx1   gen()   735 MB/s
[    1.252725] raid6: neonx1   xor()   879 MB/s
[    1.320880] raid6: neonx2   gen()  1127 MB/s
[    1.388963] raid6: neonx2   xor()  1168 MB/s
[    1.457081] raid6: neonx4   gen()  1479 MB/s
[    1.525176] raid6: neonx4   xor()  1412 MB/s
[    1.593294] raid6: neonx8   gen()  1535 MB/s
[    1.661395] raid6: neonx8   xor()  1449 MB/s
[    1.661431] raid6: using algorithm neonx8 gen() 1535 MB/s
[    1.665569] raid6: .... xor() 1449 MB/s, rmw enabled
[    1.670585] raid6: using neon recovery algorithm
[    1.675597] xen:balloon: Initialising balloon driver
[    1.680681] SCSI subsystem initialized
[    1.684231] usbcore: registered new interface driver usbfs
[    1.689647] usbcore: registered new interface driver hub
[    1.695005] usbcore: registered new device driver usb
[    1.700146] media: Linux media interface: v0.10
[    1.704690] videodev: Linux video capture interface: v2.00
[    1.710228] pps_core: LinuxPPS API ver. 1 registered
[    1.715223] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.724405] PTP clock support registered
[    1.728390] EDAC MC: Ver: 3.0.0
[    1.734711] zynqmp-ipi-mbox mailbox@ff990400: Probed ZynqMP IPI Mailbox driver.
[    1.739168] FPGA manager framework
[    1.742519] Advanced Linux Sound Architecture Driver Initialized.
[    1.748795] Bluetooth: Core ver 2.22
[    1.752179] NET: Registered protocol family 31
[    1.756663] Bluetooth: HCI device and connection manager initialized
[    1.763067] Bluetooth: HCI socket layer initialized
[    1.767996] Bluetooth: L2CAP socket layer initialized
[    1.773110] Bluetooth: SCO socket layer initialized
[    1.779588] clocksource: Switched to clocksource arch_sys_counter
[    1.784277] VFS: Disk quotas dquot_6.6.0
[    1.788193] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.803060] NET: Registered protocol family 2
[    1.803416] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes)
[    1.809605] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    1.816727] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    1.823356] TCP: Hash tables configured (established 8192 bind 8192)
[    1.829698] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.835640] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.842116] NET: Registered protocol family 1
[    1.847419] RPC: Registered named UNIX socket transport module.
[    1.852415] RPC: Registered udp transport module.
[    1.857160] RPC: Registered tcp transport module.
[    1.861917] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.869001] Trying to unpack rootfs image as initramfs...
[    4.474155] rootfs image is not initramfs (write error); looks like an initrd
[    4.475795] /initrd.image: incomplete write (-28 != 598992917)
[    4.649842] Freeing initrd memory: 584952K
[    4.650982] Initialise system trusted keyrings
[    4.653885] workingset: timestamp_bits=62 max_order=18 bucket_order=0
[    4.660096] NFS: Registering the id_resolver key type
[    4.664517] Key type id_resolver registered
[    4.668736] Key type id_legacy registered
[    4.672809] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.679563] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    5.769244] NET: Registered protocol family 38
[    5.829145] Key type asymmetric registered
[    5.829180] Asymmetric key parser 'x509' registered
[    5.832666] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    5.840072] io scheduler noop registered
[    5.844050] io scheduler deadline registered
[    5.848391] io scheduler cfq registered (default)
[    5.853138] io scheduler mq-deadline registered
[    5.857717] io scheduler kyber registered
[    5.862828] OF: /amba/dma@fd500000: could not find phandle
[    5.867364] OF: /amba/dma@fd510000: could not find phandle
[    5.872895] OF: /amba/dma@fd520000: could not find phandle
[    5.878426] OF: /amba/dma@fd530000: could not find phandle
[    5.883962] OF: /amba/dma@fd540000: could not find phandle
[    5.889499] OF: /amba/dma@fd550000: could not find phandle
[    5.895035] OF: /amba/dma@fd560000: could not find phandle
[    5.900572] OF: /amba/dma@fd570000: could not find phandle
[    5.907662] xen:xen_evtchn: Event-channel device installed
[    5.964456] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    5.969730] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    5.978196] brd: module loaded
[    5.983218] loop: module loaded
[    5.983263] Invalid max_queues (4), will use default max: 1.
[    5.987351] mtdoops: mtd device (mtddev=name/number) must be supplied
[    5.993389] OF: /amba/spi@ff0f0000: could not find phandle
[    5.999406] libphy: Fixed MDIO Bus: probed
[    6.003872] tun: Universal TUN/TAP device driver, 1.6
[    6.016482] CAN device driver interface
[    6.017385] xen_netfront: Initialising Xen virtual ethernet driver
[    6.021093] usbcore: registered new interface driver asix
[    6.026486] usbcore: registered new interface driver ax88179_178a
[    6.032626] usbcore: registered new interface driver cdc_ether
[    6.038510] usbcore: registered new interface driver net1080
[    6.044218] usbcore: registered new interface driver cdc_subset
[    6.050191] usbcore: registered new interface driver zaurus
[    6.055819] usbcore: registered new interface driver cdc_ncm
[    6.061974] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.068074] ehci-pci: EHCI PCI platform driver
[    6.072828] usbcore: registered new interface driver uas
[    6.077964] usbcore: registered new interface driver usb-storage
[    6.086641] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0
[    6.091335] i2c /dev entries driver
[    6.096275] usbcore: registered new interface driver uvcvideo
[    6.100599] USB Video Class driver (1.1.1)
[    6.107344] Bluetooth: HCI UART driver ver 2.3
[    6.109273] Bluetooth: HCI UART protocol H4 registered
[    6.114441] Bluetooth: HCI UART protocol BCSP registered
[    6.119831] Bluetooth: HCI UART protocol LL registered
[    6.124994] Bluetooth: HCI UART protocol ATH3K registered
[    6.130460] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    6.136816] Bluetooth: HCI UART protocol Intel registered
[    6.142226] Bluetooth: HCI UART protocol QCA registered
[    6.147521] usbcore: registered new interface driver bcm203x
[    6.153225] usbcore: registered new interface driver bpa10x
[    6.158850] usbcore: registered new interface driver bfusb
[    6.164382] usbcore: registered new interface driver btusb
[    6.169897] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    6.175646] usbcore: registered new interface driver ath3k
[    6.181274] EDAC MC: ECC not enabled
[    6.184926] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (IN)
[    6.197251] cpu cpu0: failed to get clock: -2
[    6.201388] cpufreq-dt: probe of cpufreq-dt failed with error -2
[    6.207612] sdhci: Secure Digital Host Controller Interface driver
[    6.213665] sdhci: Copyright(c) Pierre Ossman
[    6.218076] sdhci-pltfm: SDHCI platform and OF driver helper
[    6.225534] ledtrig-cpu: registered to indicate activity on CPUs
[    6.229910] zynqmp_firmware_probe Platform Management API v1.1
[    6.235730] zynqmp_firmware_probe Trustzone version v1.0
[    6.244401] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl initialized
(XEN) d0v0 zynqmp-pm: fn=44 Invalid clock=112
[    6.272592] zynqmp_clk_mux_get_parent() getparent failed for clock: lpd_wdt, ret = -22
[    6.280286] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    6.284773] zynqmp_aes zynqmp_aes: AES Successfully Registered
[    6.284773] 
[    6.292450] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    6.298618] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    6.304207] usbcore: registered new interface driver usbhid
[    6.309614] usbhid: USB HID core driver
(XEN) d0v0 zynqmp-pm: fn=36 No access to clock=71
[    6.317910] zynqmp_clk_gate_enable() clock enabled failed for pl0_ref, ret = -13
(XEN) d0v0 zynqmp-pm: fn=37 No access to clock=76
[    6.329759] zynqmp_pll_disable() clock disable failed for iopll_int, ret = -13
[    6.337039] xilinx_fclk fclk0: Unable to enable clock.
[    6.342228] xilinx_fclk: probe of fclk0 failed with error -13
(XEN) d0v0 zynqmp-pm: fn=36 No access to clock=72
(XEN) d0v0 zynqmp-pm: fn=37 No access to clock=76
[    6.356842] xilinx_fclk fclk1: Unable to enable clock.
[    6.362033] xilinx_fclk: probe of fclk1 failed with error -13
[    6.367886] xilinx_fclk fclk2: Unable to enable clock.
[    6.373021] xilinx_fclk: probe of fclk2 failed with error -13
[    6.378872] xilinx_fclk fclk3: Unable to enable clock.
[    6.384008] xilinx_fclk: probe of fclk3 failed with error -13
[    6.392023] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    6.397183] usbcore: registered new interface driver snd-usb-audio
[    6.403324] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    6.411091] Initializing XFRM netlink socket
[    6.414540] NET: Registered protocol family 10
[    6.419353] Segment Routing with IPv6
[    6.422763] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.428961] NET: Registered protocol family 17
[    6.433147] NET: Registered protocol family 15
[    6.437648] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter .
[    6.450961] can: controller area network core (rev 20170425 abi 9)
[    6.456877] NET: Registered protocol family 29
[    6.461342] can: raw protocol (rev 20170425)
[    6.465665] can: broadcast manager protocol (rev 20170425 t)
[    6.471377] can: netlink gateway (rev 20170425) max_hops=1
[    6.476984] Bluetooth: RFCOMM TTY layer initialized
[    6.481859] Bluetooth: RFCOMM socket layer initialized
[    6.487046] Bluetooth: RFCOMM ver 1.11
[    6.490843] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.496203] Bluetooth: BNEP filters: protocol multicast
[    6.501481] Bluetooth: BNEP socket layer initialized
[    6.506498] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    6.512468] Bluetooth: HIDP socket layer initialized
[    6.517602] 9pnet: Installing 9P2000 support
[    6.521824] Key type dns_resolver registered
[    6.526772] registered taskstats version 1
[    6.530293] Loading compiled-in X.509 certificates
[    6.535619] Btrfs loaded, crc32c=crc32c-generic
[    6.546239] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 37, base_baud = 6249375) is a xuartps
[    6.551277] of-fpga-region fpga-full: FPGA Region probed
[    6.556057] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[    6.561583] OF: /amba/dma@fd500000: could not find phandle
[    6.567215] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[    6.574094] OF: /amba/dma@fd510000: could not find phandle
[    6.579680] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[    6.586636] OF: /amba/dma@fd520000: could not find phandle
[    6.592218] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[    6.599183] OF: /amba/dma@fd530000: could not find phandle
[    6.604766] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[    6.611723] OF: /amba/dma@fd540000: could not find phandle
[    6.617308] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[    6.624267] OF: /amba/dma@fd550000: could not find phandle
[    6.629851] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[    6.636810] OF: /amba/dma@fd560000: could not find phandle
[    6.642398] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[    6.649354] OF: /amba/dma@fd570000: could not find phandle
[    6.654944] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[    6.662073] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
[    6.669000] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
[    6.676019] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
[    6.683013] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
[    6.690022] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
[    6.697039] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
[    6.704039] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
[    6.711044] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
[    6.718258] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes
[    6.730567] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Xilinx DisplayPort Sound Codec probed
[    6.736516] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[    6.744335] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[    6.752486] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai k
[    6.764434] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai k
[    6.777635] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xilinx DisplayPort Sound Card probed
[    6.786955] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[    6.794210] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    6.800440] [drm] No driver support for vblank timestamp query.
[    6.806466] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffff8008bcf5e0)
[    7.891572] [drm] Cannot find any crtc or sizes
[    7.891838] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[    7.898711] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[    7.907729] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:3 protocol:2 pll_locked:yes
[    7.915272] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    7.924217] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst 
[    7.935191] scsi host0: ahci-ceva
[    7.937621] scsi host1: ahci-ceva
[    7.940796] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 35
[    7.948610] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 35
[    7.956741] OF: /amba/spi@ff0f0000: could not find phandle
[    7.963494] m25p80 spi0.0: n25q512a (131072 Kbytes)
[    7.967068] 3 fixed-partitions partitions found on MTD device spi0.0
[    7.973439] Creating 3 MTD partitions on "spi0.0":
[    7.978280] 0x000000000000-0x000001e00000 : "boot"
[    7.983791] 0x000001e00000-0x000001e40000 : "bootenv"
[    7.988822] 0x000001e40000-0x000005a40000 : "kernel"
[    7.995757] OF: /amba/ethernet@ff0e0000: could not find phandle
[    7.999403] macb ff0e0000.ethernet: Not enabling partial store and forward
[    8.006620] libphy: MACB_mii_bus: probed
[    8.013109] TI DP83867 ff0e0000.ethernet-ffffffff:0c: attached PHY driver [TI DP83867] (mii_bus:phy_addr=ff0e0000.ethernet-ffff)
[    8.023183] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 25 (00:0a:35:00:22:01)
[    8.033588] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    8.039801] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    8.046001] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    8.052302] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    8.059886] OF: /amba/usb0@ff9d0000/dwc3@fe200000: could not find phandle
[    8.065282] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2
[    8.070986] xilinx-psgtr fd400000.zynqmp_phy: Lane:2 type:0 protocol:3 pll_locked:yes
[    8.078896] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    8.084182] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    8.091968] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000202010810
[    8.101330] xhci-hcd xhci-hcd.0.auto: irq 44, io mem 0xfe200000
[    8.107736] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    8.115580] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.122836] usb usb1: Product: xHCI Host Controller
[    8.127767] usb usb1: Manufacturer: Linux 4.19.0-xilinx-v2019.1 xhci-hcd
[    8.134517] usb usb1: SerialNumber: xhci-hcd.0.auto
[    8.139761] hub 1-0:1.0: USB hub found
[    8.143333] hub 1-0:1.0: 1 port detected
[    8.147432] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    8.152786] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    8.160473] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[    8.167347] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    8.175443] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.182700] usb usb2: Product: xHCI Host Controller
[    8.187636] usb usb2: Manufacturer: Linux 4.19.0-xilinx-v2019.1 xhci-hcd
[    8.194378] usb usb2: SerialNumber: xhci-hcd.0.auto
[    8.199613] hub 2-0:1.0: USB hub found
[    8.203193] hub 2-0:1.0: 1 port detected
[    8.208524] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
[    8.214408] pca953x 0-0020: Linked as a consumer to regulator.0
[    8.221266] pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulator
[    8.227630] pca953x 0-0021: Linked as a consumer to regulator.0
[    8.235171] ina2xx 3-0040: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.240517] ina2xx 3-0041: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.246896] ina2xx 3-0042: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.253360] ina2xx 3-0043: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.259681] ina2xx 3-0044: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.266073] ina2xx 3-0045: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.272464] ina2xx 3-0046: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.278858] ina2xx 3-0047: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.285288] ina2xx 3-004a: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.291681] ina2xx 3-004b: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.297623] i2c i2c-0: Added multiplexed i2c bus 3
[    8.302551] ata2: SATA link down (SStatus 0 SControl 330)
[    8.307907] ata1: SATA link down (SStatus 0 SControl 330)
[    8.313995] ina2xx 4-0040: power monitor ina226 (Rshunt = 2000 uOhm)
[    8.320217] ina2xx 4-0041: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.326600] ina2xx 4-0042: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.333032] ina2xx 4-0043: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.339424] ina2xx 4-0044: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.345837] ina2xx 4-0045: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.352233] ina2xx 4-0046: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.358625] ina2xx 4-0047: power monitor ina226 (Rshunt = 5000 uOhm)
[    8.364579] i2c i2c-0: Added multiplexed i2c bus 4
[    8.388723] random: fast init done
[    8.404420] i2c i2c-0: Added multiplexed i2c bus 5
[    8.404607] i2c i2c-0: Added multiplexed i2c bus 6
[    8.408513] pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544
[    8.415886] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 27
[    8.424183] at24 7-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[    8.428610] i2c i2c-1: Added multiplexed i2c bus 7
[    8.433830] i2c i2c-1: Added multiplexed i2c bus 8
[    8.440638] si570 9-005d: registered, current frequency 300000000 Hz
[    8.444706] i2c i2c-1: Added multiplexed i2c bus 9
[    8.463576] si570 10-005d: registered, current frequency 148500000 Hz
[    8.464490] i2c i2c-1: Added multiplexed i2c bus 10
[    8.469652] si5324 11-0069: si5328 probed
[    8.531931] si5324 11-0069: si5328 probe successful
[    8.532003] i2c i2c-1: Added multiplexed i2c bus 11
[    8.536445] i2c i2c-1: Added multiplexed i2c bus 12
[    8.541369] i2c i2c-1: Added multiplexed i2c bus 13
[    8.546270] i2c i2c-1: Added multiplexed i2c bus 14
[    8.550997] pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548
[    8.559041] i2c i2c-1: Added multiplexed i2c bus 15
[    8.563799] i2c i2c-1: Added multiplexed i2c bus 16
[    8.568697] i2c i2c-1: Added multiplexed i2c bus 17
[    8.573991] i2c i2c-1: Added multiplexed i2c bus 18
[    8.578742] i2c i2c-1: Added multiplexed i2c bus 19
[    8.583492] i2c i2c-1: Added multiplexed i2c bus 20
[    8.588424] i2c i2c-1: Added multiplexed i2c bus 21
[    8.593364] i2c i2c-1: Added multiplexed i2c bus 22
[    8.598057] pca954x 1-0075: registered 8 multiplexed busses for I2C switch pca9548
[    8.605682] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 28
[    8.612381] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at (____ptrval____) with timeout 60s
[    8.621109] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer at (____ptrval____) with timeout 10s
[    8.630751] OF: /amba/mmc@ff170000: could not find phandle
[    8.664141] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    8.674781] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    8.676287] rtc_zynqmp ffa60000.rtc: setting system clock to 2019-06-07 02:43:57 UTC (1559875437)
[    8.684851] of_cfs_init
[    8.687354] of_cfs_init: OK
[    8.690394] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    8.738247] mmc0: new high speed SDHC card at address e624
[    8.738726] mmcblk0: mmc0:e624 SL16G 14.8 GiB 
[    8.752551]  mmcblk0: p1 p2
[    8.837281] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    8.838250] clk: Not disabling unused clocks
[    8.842588] ALSA device list:
[    8.845605]   #0: DisplayPort monitor
[    8.849578] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    8.857980] cfg80211: failed to load regulatory.db
[    8.862945] RAMDISK: Couldn't find valid RAM disk image starting at 0.
[    8.869566] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    8.876932] Please append a correct "root=" boot option; here are the available partitions:
[    8.885317] 0100           65536 ram0 
[    8.885319]  (driver?)
[    8.891537] 0101           65536 ram1 
[    8.891538]  (driver?)
[    8.897771] 0102           65536 ram2 
[    8.897773]  (driver?)
[    8.904001] 0103           65536 ram3 
[    8.904002]  (driver?)
[    8.910222] 0104           65536 ram4 
[    8.910224]  (driver?)
[    8.916459] 0105           65536 ram5 
[    8.916460]  (driver?)
[    8.922680] 0106           65536 ram6 
[    8.922681]  (driver?)
[    8.928914] 0107           65536 ram7 
[    8.928916]  (driver?)
[    8.935137] 0108           65536 ram8 
[    8.935139]  (driver?)
[    8.941372] 0109           65536 ram9 
[    8.941374]  (driver?)
[    8.947601] 010a           65536 ram10 
[    8.947603]  (driver?)
[    8.953916] 010b           65536 ram11 
[    8.953917]  (driver?)
[    8.960231] 010c           65536 ram12 
[    8.960233]  (driver?)
[    8.966540] 010d           65536 ram13 
[    8.966541]  (driver?)
[    8.972861] 010e           65536 ram14 
[    8.972862]  (driver?)
[    8.979170] 010f           65536 ram15 
[    8.979172]  (driver?)
[    8.985495] 1f00           30720 mtdblock0 
[    8.985497]  (driver?)
[    8.992153] 1f01             256 mtdblock1 
[    8.992155]  (driver?)
[    8.998810] 1f02           61440 mtdblock2 
[    8.998811]  (driver?)
[    9.005474] b300        15558144 mmcblk0 
[    9.005476]  driver: mmcblk
[    9.012400]   b301         1048576 mmcblk0p1 e6fb0a2b-01
[    9.012402] 
[    9.019310]   b302        14508544 mmcblk0p2 e6fb0a2b-02
[    9.019311] 
[    9.026230] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    9.034539] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.0-xilinx-v2019.1 #1
[    9.041799] Hardware name: ZynqMP ZCU106 RevA (DT)
[    9.046644] Call trace:
[    9.049161]  dump_backtrace+0x0/0x148
[    9.052875]  show_stack+0x14/0x20
[    9.056249]  dump_stack+0x90/0xb4
[    9.059623]  panic+0x120/0x268
[    9.062738]  mount_block_root+0x1b0/0x260
[    9.066802]  mount_root+0x11c/0x148
[    9.070349]  prepare_namespace+0x158/0x1a0
[    9.074502]  kernel_init_freeable+0x1b8/0x1d4
[    9.078914]  kernel_init+0x10/0xfc
[    9.082374]  ret_from_fork+0x10/0x18
[    9.086010] Kernel Offset: disabled
[    9.089556] CPU features: 0x0,20802004
[    9.093358] Memory Limit: none
[    9.096477] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

 

There was a red light on the top right corner of the FPGA board, but I ignored it since the bootloader shell seemed to work.

After seeing the kernel panic message, I tried to launch pre-built Xen image from the ZCU106 board. I put necessary files on the first partition of the SD card and executed

mmc dev $sdbootdev &&&& mmcinfo; load mmc $sdbootdev:$partid 1280000 system.dtb &&&& load mmc $sdbootdev:$partid 0x80000 Image; fdt addr 1280000; load mmc $sdbootdev:$partid 1400000 xen.ub; bootm 1400000 - 1000000

and the following messge appeared on the shell:

## Booting kernel from Legacy Image at 01400000 ...
   Image Name:   
   Image Type:   AArch64 Linux Kernel Image (uncompressed)
   Data Size:    819536 Bytes = 800.3 KiB
   Load Address: 06000000
   Entry Point:  06000000
   Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree

I also tried using the initrd method since xen-rootfs.cpio.gz.u-boot is also provided in the pre-built directory. I executed the folllowing command:

mmc dev $sdbootdev &&&& mmcinfo; load mmc $sdbootdev:$partid 1280000 system.dtb &&&& load mmc $sdbootdev:$partid 0x80000 Image; fdt addr 1280000; load mmc $sdbootdev:$partid 1400000 xen.ub; load mmc $sdbootdev:$partid 9000000 rootfs.cpio.gz.u-boot; bootm 1400000 9000000 1280000

and the following appears on the shell:

## Booting kernel from Legacy Image at 01400000 ...
   Image Name:   
   Image Type:   AArch64 Linux Kernel Image (uncompressed)
   Data Size:    819536 Bytes = 800.3 KiB
   Load Address: 06000000
   Entry Point:  06000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 09000000 ...
   Image Name:   petalinux-user-image-zcu106-zynq
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    152374619 Bytes = 145.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01280000
   Booting using the fdt blob at 0x1280000
   Loading Kernel Image ... OK
   Loading Ramdisk to fffffffffeeaf000, end 07fffd5b ... "Synchronous Abort" handler, esr 0x96000044
elr: 0000000010100abc lr : 000000001009f648 (reloc)
elr: 000000007fe6dabc lr : 000000007fe0c648
x0 : fffffffff80002a4 x1 : 0000000007fffd5b
x2 : 000000000000003b x3 : fffffffff6eaf2a4
x4 : 0000000012150d9b x5 : 0000000000000062
x6 : fffffffffeeaf000 x7 : 000000000000000f
x8 : 0000000000000038 x9 : 0000000000000008
x10: fffffffffffff000 x11: 00000000ffffffd8
x12: 000000007fead1c0 x13: 000000007dda0220
x14: fffffffffeeaf000 x15: 0000000000000008
x16: 0000000000000002 x17: 0000000007fffd5b
x18: 000000007ddacde8 x19: 0000000009150d5b
x20: 0000000008000000 x21: 0000000009000040
x22: 000000007fead120 x23: 000000007fead0f8
x24: 000000007fead0f0 x25: 000000007ddf0c78
x26: 000000007fe9a658 x27: 0000000006000000
x28: 0000000001400040 x29: 000000007dda11e0

Resetting CPU ...

### ERROR ### Please RESET the board ###

I tried to run the prebuilt image on QEMU and the same message appeared. Is it actually possible to run Xen on ZCU106 with Petalinux 2019.1?

Thanks in advance

Sukchul

0 Kudos
1 Reply
Contributor
Contributor
194 Views
Registered: ‎09-18-2018

回复: Booting Xen on ZCU106

I am using ZCU104 and had the same problem. 

In terms of the pre-built image, I have never got the pre-built Xen to work no matter what I tried. Maybe someone from Xilinx could enlighten us what to do.

For your image lager than 128MB, have you tried the solution here 2017.1-2017.4 Zynq UltraScale+ MPSoC: Xen kernel panic when booting large rootfs.cpio.gz.u-boot file? That fixed the kernel panic for me, I set my reserved memory to 1500M (still haven't figured out the relationship between the reserved memory and image size, can someone from Xilinx expalin?).

For uboot argument I used the one you used for initrd (make sure you also set initrd in petalinux-config), I have not had a successful boot with initramfs.

mmc dev $sdbootdev &&&& mmcinfo; load mmc $sdbootdev:$partid 1280000 system.dtb &&&& load mmc $sdbootdev:$partid 0x80000 Image; fdt addr 1280000; load mmc $sdbootdev:$partid 1400000 xen.ub; load mmc $sdbootdev:$partid 9000000 rootfs.cpio.gz.u-boot; bootm 1400000 9000000 1280000
0 Kudos