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: 
Observer sukkie95
Observer
398 Views
Registered: ‎08-20-2018

Booting Xen on ZCU106 with Petalinux 2019.1

Jump to solution

I am trying to boot Xen on ZCU106 board with Petalinux 2019.1. I am currently following the guide provided here: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/99188792/Building+Xen+Hypervisor+with+Petalinux+2019.1

Currently, I am trying to build Xen from the provided BSP package for ZCU106 instead of using the prebuilt images. During the configuration, I also included

packagegroup-petalinux-xen-dev
packagegroup-petalinux-xen-dbg

while configuring

petalinux-config -c rootfs

After modifying files in project-spec and building using petalinux-build, I moved the corresponding files from /tftpboot in order to prepare for booting from SD card. My SD card is partitioned so that the first partition is the boot partition and second partition is the root partition (followed the steps here: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842385/How+to+format+SD+card+for+SD+boot)

After booting my board up and connecting via minicom, I entered the provided commandline

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 1280000 9000000 1000000

in order to boot from SD card. However, my console shows

switch to partitions #0, OK
mmc0 is current device
Device: mmc@ff170000
Manufacturer ID: 3
OEM: 5344
Name: SL16G 
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
49724 bytes read in 23 ms (2.1 MiB/s)
18149888 bytes read in 1208 ms (14.3 MiB/s)
819600 bytes read in 69 ms (11.3 MiB/s)
598994215 bytes read in 39434 ms (14.5 MiB/s)
## Loading kernel from FIT Image at 01280000 ...
Bad FIT kernel image format!
ERROR: can't get kernel image!

Can someone help me out in this issue? Also, I'm quite new in the field of FPGA and Embedded systems. Can someone also provide any introductory materials?

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
361 Views
Registered: ‎11-28-2007

Re: Booting Xen on ZCU106 with Petalinux 2019.1

Jump to solution

Hi Sukkie95,

seems to me the order of addresses in the bootm command is the reason. Try:

bootm 1400000 9000000 1280000

View solution in original post

0 Kudos
1 Reply
Highlighted
Xilinx Employee
Xilinx Employee
362 Views
Registered: ‎11-28-2007

Re: Booting Xen on ZCU106 with Petalinux 2019.1

Jump to solution

Hi Sukkie95,

seems to me the order of addresses in the bootm command is the reason. Try:

bootm 1400000 9000000 1280000

View solution in original post

0 Kudos