XEN on Khadas VIM3

Hello All,

I’m having a problem with booting VIM3 kernel with XEN. Actually XEN boots, the kernel of DOM0 also boots but the kernel hangs when trying to mount the rootfs from SD (i tried also a rootfs over NFS and had the same issue ). The kernel boots properly and mounts the rootfs without XEN.

Does any one working with XEN on VIM3 ? Any idea about the issue ?
here after some details.
Many thanks for the help

XEN 4.14
VIM3 Kernel 5.6.0
Ubuntu XFCE

[ 2.630608] amlogic_thermal ff634800.temperature-sensor: Failed to register tsensor: -517
[ 2.639058] axg-sound-card sound: snd-soc-dummy-dai <-> ff6421c0.audio-controller mapping ok
[ 2.646668] axg-sound-card sound: snd-soc-dummy-dai <-> ff642200.audio-controller mapping ok
[ 2.655221] axg-sound-card sound: snd-soc-dummy-dai <-> ff642240.audio-controller mapping ok
[ 2.663294] axg-sound-card sound: I2S IN B <-> TDM Pad mapping ok
[ 2.668719] axg-sound-card sound: snd-soc-dummy-dai <-> TDM Loopback mapping ok
[ 2.676120] axg-sound-card sound: i2s-hifi <-> I2S OUT mapping ok
[ 2.684515] amlogic_thermal ff634800.temperature-sensor: Failed to register tsensor: -517
[ 2.692236] amlogic_thermal ff634800.temperature-sensor: Failed to register tsensor: -517
[ 2.700195] printk: console [netcon0] enabled
[ 2.703580] netconsole: network logging started
[ 2.708034] hctosys: unable to open rtc device (rtc0)
[ 2.715242] meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=31)
[ 2.725471] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
[ 2.730958] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
[ 2.737825] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rgmii link mode
[ 2.876848] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 2.901240] usb 1-1: New USB device found, idVendor=1a40, idProduct=0801, bcdDevice= 1.00
[ 2.907281] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.914536] usb 1-1: Product: USB 2.0 Hub
[ 2.970433] hub 1-1:1.0: USB hub found
[ 2.973916] hub 1-1:1.0: 4 ports detected
[ 2.978629] amlogic_thermal ff634800.temperature-sensor: Failed to register tsensor: -517
[ 22.752745] Waiting up to 100 more seconds for network.
[ 42.756742] Waiting up to 80 more seconds for network.
[ 62.760741] Waiting up to 60 more seconds for network.
[ 82.764741] Waiting up to 40 more seconds for network.
[ 102.768740] Waiting up to 20 more seconds for network.
[ 122.768755] IP-Config: Guessing netmask 255.255.255.0
[ 122.771902] IP-Config: Complete:
[ 122.774922] device=eth0, hwaddr=c8:63:14:70:50:8a, ipaddr=192.168.100.2, mask=255.255.255.0, gw=255.255.255.255
[ 122.785354] host=192.168.100.2, domain=, nis-domain=(none)
[ 122.791397] bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
[ 122.799248] test 0 [ ok ]
[ 122.799262] test 1 [ ok ] ±--------------------------------------+
[ 122.802544] test 2 [ ok ] | |
[ 122.806076] ALSA device list: | Impossible d’ouvrir /dev/ttyUSB0 ! |
[ 122.812387] #0: G12B-KHADAS-VIM3 | |
[ 122.816604] Freeing unused kernel memory: 2560K ±--------------------------------------+
[ 122.819818] Run /init as init process
[ 122.822876] with arguments:
[ 122.825786] /init
[ 122.828680] with environment:
[ 122.831639] HOME=/
[ 122.834510] TERM=linux
[ 122.837338] logo=osd0,loaded,0x3d800000,panel
[ 122.841150] vout=panel,enable
[ 122.844545] hdmimode=1080p60hz
[ 122.848054] ddr_size=
[ 122.850767] wol_enable=0
[ 122.853742] jtag=disable
[ 122.856708] mac=c8:63:14:70:50:8a
[ 122.860479] fan=auto
[ 122.863104] khadas_board=VIM3
[ 122.866516] hwver=VIM3.V12
[ 122.869666] reboot_mode=cold_boot
[ 122.873431] imagetype=SD-USB
[ 122.876756] uboottype=vendor
[ 123.606307] amlogic_thermal ff634800.temperature-sensor: Failed to register tsensor: -517
[ 123.611638] meson-vrtc ff8000a8.rtc: registered as rtc0
[ 123.644283] amlogic_thermal ff634800.temperature-sensor: Failed to register tsensor: -517
[ 123.653603] rtc-hym8563 0-0051: no valid clock/calendar values available
[ 123.658984] amlogic_thermal ff634800.temperature-sensor: Failed to register tsensor: -517
[ 123.671928] amlogic_thermal ff634800.temperature-sensor: Failed to register tsensor: -517
[ 123.677453] rtc-hym8563 0-0051: registered as rtc1
[ 123.702819] amlogic_thermal ff634800.temperature-sensor: Failed to register tsensor: -517
[ 124.102845] raid6: skip pq benchmark and using algorithm neonx8
[ 124.106196] raid6: using neon recovery algorithm
[ 124.124530] xor: measuring software checksum speed
[ 124.164726] 8regs : 2298.000 MB/sec
[ 124.204723] 32regs : 2826.000 MB/sec
[ 124.244724] arm64_neon: 2526.000 MB/sec
[ 124.247723] xor: using function: 32regs (2826.000 MB/sec)
[ 124.316911] Btrfs loaded, crc32c=crc32c-generic
[ 124.692058] EXT4-fs (mmcblk1p2): recovery complete
[ 124.702285] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 190.132785] random: crng init done