Xen ARM with Virtualization Extensions/Salvator-X

From Xen
Revision as of 15:17, 15 November 2016 by Deadwitcher (talk | contribs) (Yocto Build)

The Salvator-X board based on Renesas R-Car H3 SoC is now supported in Xen upstream.

Build approaches

There is 2 possible ways to build Xen for this board:

  • Yocto build
  • Bulding without buildsystem

Yocto Build

Follow setup are based & tested on official Renesas Yocto 2.12.0 release (https://github.com/renesas-rcar/meta-renesas/releases/tag/Renesas-Yocto-v2.12.0)


  1. Clone your Renesas build as described in Yocto Reference Manual.
  2. Clone additional repository in the same directory
     https://github.com/qbeeukraine/meta-platform-xen.git 
  3. Initialize yocto build environment
     source poky/oe-init-build-env 
  4. Copy local.conf & bblayers.conf from supplied xen layer
     cp meta-platform-xen/meta-rcar-gen3-xen/doc/*.conf ./conf/ 

Bulding without buildsystem

(TBD)

Check u-boot environment variables

Set follow configuration in u-boot command prompt.

bootargs=dom0_mem=512M console=dtuart dtuart=serial0 dom0_max_vcpus=1 bootscrub=0 flask_enforcing=1
bootcmd=tftp 0x78080000 xen-salvator-x-xen.uImage; tftp 0x738000000 Image-r8a7795-salvator-x-dom0.dtb; tftp 0x7a000000 Image; tftp 0x7c000000 xenpolicy-salvator-x-xen; bootm 0x78080000 - 0x738000000