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!

Showing results for 
Search instead for 
Did you mean: 
Visitor fastian12
Registered: ‎07-20-2017

Build Virtualization Support on Zynqmp Ultrazed board


I am trying to build the virtualization support on Zynqmp Ultrazed board.  I have taken these steps so far:

  • Using the filesystem from pre-built images provided in the petalinux 2017.1 and copied in partition2 of the sd card
  • Created the kernel and u-boot using the petalinux 2017.1 (placed in the boot partition along with the boot.bin, system.dtb, Image, xen.ub, uEnv.txt)
  • Controlling u-boot environment variables using the uEnv.txt
  • Added the following uboot related parameters:
    • load mmc 1:1 $fdt_addr system.dtb && load mmc 1:1 $kernel_addr Image; fdt addr $fdt_addr && fdt resize 128 && fdt set /chosen \#address-cells <1> && fdt set /chosen \#size-cells <1> && fdt mknod /chosen dom0 && fdt set /chosen/dom0 compatible "xen,linux-zimage" "xen,multiboot-module" && fdt set /chosen/dom0 reg <0x80000 0x$filesize> && fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=serial0 dom0_mem=512M bootscrub=0 maxcpus=1 timer_slop=0" && fdt set /chosen xen,dom0-bootargs "console=serial0 earlycon=xen earlyprintk=xen maxcpus=1 clk_ignore_unused root=/dev/mmcblk0p2"; load mmc 1:1 6000000 xen.ub; bootm 6000000 - $fdt_addr

when I boot the system I get this dump and ‘XEN’ gets not started:

reading system.dtb

27884 bytes read in 20 ms (1.3 MiB/s)

reading Image

13369856 bytes read in 979 ms (13 MiB/s)

libfdt fdt_add_subnode(): FDT_ERR_EXISTS

reading xen.ub

721280 bytes read in 63 ms (10.9 MiB/s)

## Booting kernel from Legacy Image at 06000000 ...

   Image Name:

   Image Type:   AArch64 Linux Kernel Image (uncompressed)

   Data Size:    721216 Bytes = 704.3 KiB

   Load Address: 05000000

   Entry Point:  05000000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 04000000

   Booting using the fdt blob at 0x4000000

   Loading Kernel Image ... OK

   reserving fdt memory region: addr=4000000 size=7000

   Loading Device Tree to 0000000007ff6000, end 0000000007ffffff ... OK


Starting kernel ...


Xen 4.8.1-pre

(XEN) Xen version 4.8.1-pre (xbrbbot@) (aarch64-xilinx-linux-gcc (Linaro GCC 6.2-2016.11) 6.2.1 20161016) debug=n  Tue Apr 25 02:03:32 MDT 2017

(XEN) Latest ChangeSet: Sun Mar 26 23:37:13 2017 +0200 git:ba8ea4d-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: 100000 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

(XEN) P2M: 3 levels with order-1 root, VTCR 0x80023558

(XEN) I/O virtualisation disabled


(XEN) Loading kernel from boot module @ 0000000000000000

(XEN) ELF: not an ELF binary


(XEN) ****************************************

(XEN) Panic on CPU 0:

(XEN) Could not set up DOM0 guest OS

(XEN) ****************************************


(XEN) Reboot in five seconds...


Can anyone please let me know what is the issue.


0 Kudos