AR# 70956

|

2018.1 Zynq UltraScale+ MPSoC: XEN boot fails with pre-built images for ZCU106 PetaLinux BSP

Description

When using pre-built images to boot XEN with the ZCU106 PetaLinux BSP, a kernel panic is observed:

[ 4.490172] [<ffffff8008d30a1c>] zynqmp_pm_platform_driver_init+0x18/0x20

[ 4.497004] [<ffffff8008083980>] do_one_initcall+0x38/0x128

[ 4.502628] [<ffffff8008d10cc4>] kernel_init_freeable+0x138/0x1d8

[ 4.508773] [<ffffff8008a129e0>] kernel_init+0x10/0x100

[ 4.514046] [<ffffff8008084a90>] ret_from_fork+0x10/0x18

[ 4.519415] Code: 2a080042 b8236885 29008829 17ffffbf (d4000003) 

[ 4.525553] --[ end trace 0850631db9521139 ]--

[ 4.530252] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

[ 4.530252] 

[ 4.539480] Kernel Offset: disabled

[ 4.543025] CPU features: 0x002004

[ 4.546484] Memory Limit: none

 

[ 4.549605] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Solution

This is due to the CMA memory reserved for VCU OOB functionality.

1) Adjust the CMA size to 256MB from the 1000MB default by adding cma=256M to the kernel command line args.

2) Increase the DOM0 memory to 1.2G from the 768M default.

In xen-overlay.dtsi:

xen,xen-bootargs = "console=dtuart dtuart=serial0 dom0_mem=1200M bootscrub=0 maxcpus=1 timer_slop=0";
AR# 70956
Date 04/23/2018
Status Active
Type General Article
Devices
Tools
Boards & Kits
People Also Viewed