On 06/07/16 15:03, Dirk Behme wrote:
On 06.07.2016 15:17, Julien Grall wrote:
Hi Dirk,
On 06/07/16 07:33, Dirk Behme wrote:
Could you share the U-Boot commands how you load and esp. start Xen? For
loading you use TFTP? How do you start Xen with U-Boot, then? I think we
have to pass the device tree address in x0 and the Linux kernel image
address in x2. How do you do this with an U-Boot command?
U-boot can load Xen from TFTP or from the SD-card. This is the same as
booting a baremetal kernel with U-boot.
There is a section on the wiki page to explain how to create the
device-tree node for the boot modules [1] and the allwinner page [2]
gives a full example how to boot Xen with U-boot via tftp (Note that it
could easily be adapted to load from the SD-Card).
Regards,
[1]
http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions#Boot_Modules
[2]
http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Allwinner#Boot_script
Hmm, sorry, I still seem to miss anything :(
I've loaded xen/xen with U-Boot to 0x4A000000 and then try to start it
as described in [2] above:
=> bootz 0x4A000000 - 0x48000000
Bad Linux ARM zImage magic!
I'm not sure why xen/xen is assumed to be a zImage?
Oh, sorry I meant to say that bootz should be replaced by booti but
forgot to write it down.
Regards,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel