Xen ARM with Virtualization Extensions/Salvator-XS: Difference between revisions

From Xen
Jump to navigationJump to search
No edit summary
Line 15: Line 15:
* Follow the build [https://elinux.org/R-Car/Boards/Yocto-Gen3/v5.1.0 instruction] in "Manual steps" mode up to the build step #4, including it.
* Follow the build [https://elinux.org/R-Car/Boards/Yocto-Gen3/v5.1.0 instruction] in "Manual steps" mode up to the build step #4, including it.
* Clone [https://github.com/xen-troops/meta-renesas meta-renesas] layer from xen-troops and cherry-pick last 4 patches from branch [https://github.com/xen-troops/meta-renesas/commits/v5.1.0_xen v5.1.0_xen], this is the minimum set of patches needed to run system with Xen and Dom0:
* Clone [https://github.com/xen-troops/meta-renesas meta-renesas] layer from xen-troops and cherry-pick last 4 patches from branch [https://github.com/xen-troops/meta-renesas/commits/v5.1.0_xen v5.1.0_xen], this is the minimum set of patches needed to run system with Xen and Dom0:

cd ${WORK}/meta-renesas
cd ${WORK}/meta-renesas
git remote add troops git@github.com:xen-troops/meta-renesas.git
git remote add troops git@github.com:xen-troops/meta-renesas.git
git fetch troops
git fetch troops
git cherry-pick f806ddaf40c465378c483004359404a9f141dc98^..405b9b98e5831c16e6b968a2cddce0a5fdac1856
git cherry-pick f806ddaf40c465378c483004359404a9f141dc98^..405b9b98e5831c16e6b968a2cddce0a5fdac1856
* Skip build steps #5 and #6
* Continue from build step #7 (steps #5 and #6 are skipped)
* Execute build step #7
* In build step #8 change the path to local.conf file:
* In build step #8 change the path to local.conf file:
cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/'''salvator-x'''/poky-gcc/'''bsp'''/*.conf ./conf/
cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/'''salvator-x'''/poky-gcc/'''bsp'''/*.conf ./conf/

Revision as of 20:12, 30 July 2021

(NOT COMPLETE! in the process of creating)

General information

This Wiki describes how to run Xen on Renesas Salvator-XS board with R-Car H3 ES3.0 SoC.

Main information how to deal with Salvator-XS board located at:

https://elinux.org/R-Car/Boards/Salvator-XS

Please note, although Wiki only covers Salvator-XS + H3 ES3.0 configuration, the R-Car M3 ES3.0 (M3-W+) SoC is also supported. It is possible run Xen on other "board & SoC" configurations with updating platform specific parts (device-tree, etc), the hypervisor part will remain the same. For example, the following configurations will work as well:

https://elinux.org/R-Car/Boards/M3SK
https://elinux.org/R-Car/Boards/H3SK

Due to the fact that Renesas provides their reference software in form of Yocto build instruction, it is provided additional steps in order to build and run system with Xen and Dom0. This Wiki relies on Renesas Yocto BSP v5.1.0

System build

  • Follow the build instruction in "Manual steps" mode up to the build step #4, including it.
  • Clone meta-renesas layer from xen-troops and cherry-pick last 4 patches from branch v5.1.0_xen, this is the minimum set of patches needed to run system with Xen and Dom0:
cd ${WORK}/meta-renesas
git remote add troops git@github.com:xen-troops/meta-renesas.git
git fetch troops
git cherry-pick f806ddaf40c465378c483004359404a9f141dc98^..405b9b98e5831c16e6b968a2cddce0a5fdac1856
  • Continue from build step #7 (steps #5 and #6 are skipped)
  • In build step #8 change the path to local.conf file:
cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/*.conf ./conf/
cd $WORK/build
cp conf/local-wayland.conf conf/local.conf