|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Problems booting Xen on Rock64 (RK3328) using u-boot script
On 28/05/18 00:10, Todd Stellanova wrote: Hello, Hello, I'm trying a few different routes to get Xen and a dom0 kernel to boot on the Rock64 SOC.First of all, I have a working Debian Stretch image that I intend to use as dom0.I am able to boot that just fine using extlinux.I also built Xen for arm64 and am able to boot that image ("xenImage802") using extlinux-- but of course, using extlinux I'm unable to preload the dom0 image and configure the Xen kernel to know where to find it. The script looks good to me.
I never used that board. Do those addresses belong to the RAM? Have you tried different ones? This steps will create a U-boot Image. This is different from a Linux ARM64 Image and hence the error above. IIRC, you would use bootm here to load U-boot Image.To summarize: booti is failing with "Bad Linux ARM64 Image magic!" even though extlinux is successfully able to boot this exact same Xen image ("xenImage802"). I have to wonder if somehow the image is getting overwritten somehow, or if booti is looking for a different formatted image.FWIW here's how I'm creating the xenImage802:`mkimage -A arm64 -T kernel -a 0x80200000 -e 0x80200000 -C none -d xen/xen xenImage802` Otherwise you could directly use xen/xen with booti. and the extlinux.conf line: ``` label kernel-xen kernel /xenImage802 initrd /initrd.img fdt /dtbappend loglevel=7 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``` Thanks for any suggestions! Cheers, -- Julien Grall _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |