[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2] xen: arm64: Add support for Renesas RCar Gen3 H3 Salvator-X platform



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?

To verify that the address is correct, I can use U-Boot's go command (which then will fail, later, as I can't pass the device tree address):

=> go 0x4A000000
## Starting application at 0x4A000000 ...
- UART enabled -
- CPU 00000000 booting -
- Current EL 00000008 -
- Xen starting at EL2 -
- Zero BSS -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) No valid device tree
(XEN)
(XEN) ****************************************
(XEN)
(XEN) Reboot in five seconds...


Best regards

Dirk









_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.