05-13-2018, 09:03 PM
Hello,
I'm trying to install the Xen hypervisor on rock64, starting with the info at Xen ARM with Virtualization.
Here are the steps I followed so far:
Anyone have suggestions on what I might try next to get past this hanging problem?
I'm trying to install the Xen hypervisor on rock64, starting with the info at Xen ARM with Virtualization.
Here are the steps I followed so far:
- Installed a minimal debian stretch image on the rock64 mmc (thanks @ayufan !)
- Built Xen on rock64 (for XEN_TARGET_ARCH=arm64)
- Used mkimage to prep xen for uboot: mkimage -A arm -C none -T kernel -a 0x00800800 -e 0x00800800 -d dist/install/boot/xen xen-uImage
- Modified //boot/efi/extlinux/extlinux.conf to add a custom configuration that loads the xen kernel (xen-uImage) using the same dtb that came with the stretch image (see config code below)
- Reboot with serial console attached, select my custom extlinux configuration
- rock64 hangs (serial output stops) at "Starting kernel ..."
Anyone have suggestions on what I might try next to get past this hanging problem?
Code:
label kernel-xen
kernel /xen-uImage
initrd /initrd.img
fdt /dtb
append earlyprintk=uart8250-32bit,0xff130000 rw root=LABEL=linux-root rootwait rootfstype=ext4 panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1