Difference between revisions of "Xen ARM with Virtualization Extensions/Stout"

From Xen
(Created page with "WIP Category:XenARM Category:Developers")
 
Line 1: Line 1:
  +
This wiki describes how to run Xen on Renesas Stout board with R-Car H2 SoC.
WIP
 
  +
  +
Main information how to deal with Stout board are located at:
  +
https://elinux.org/R-Car/Boards/Yocto
  +
https://elinux.org/R-Car/Boards/Stout
  +
  +
= Prepare U-boot =
  +
  +
== Get U-Boot sources ==
  +
  +
Clone sources from upstream and checkout on commit 425c0a43fbbec36571f6a03b530695b8b16a841d “Prepare v2019.01-rc3”:
  +
  +
<pre>
  +
git clone git://git.denx.de/u-boot.git
  +
cd u-boot
  +
git checkout 425c0a43fbbec36571f6a03b530695b8b16a841d -b stout_uboot
  +
</pre>
  +
  +
== Apply additional patches ==
  +
  +
Apply the following patch series (PSCI support for r8a7790 SoC):
  +
https://www.mail-archive.com/xen-devel@lists.xenproject.org/msg44364.html
  +
  +
== Configure U-Boot ==
  +
  +
<pre>
  +
export CROSS_COMPILE=<path_to_gcc>
  +
make stout_defconfig
  +
make menuconfig
  +
</pre>
  +
  +
Set maximum supported CPUs for PSCI to 8:
  +
<pre>
  +
ARM architecture --->
  +
[*] Enable support for booting in non-secure mode
  +
(8) Maximum supported CPUs for PSCI
  +
</pre>
  +
  +
== Build U-Boot ==
  +
  +
<pre>
  +
make
  +
</pre>
  +
  +
Copy resulting images to tftp directory for the future flashing:
  +
  +
<pre>
  +
sudo cp u-boot.img <path_to_tftp_dir>/
  +
sudo cp spl/u-boot-spl.bin <path_to_tftp_dir>/
  +
</pre>
  +
   
 
[[Category:XenARM]]
 
[[Category:XenARM]]

Revision as of 17:36, 17 May 2019

This wiki describes how to run Xen on Renesas Stout board with R-Car H2 SoC.

Main information how to deal with Stout board are located at: https://elinux.org/R-Car/Boards/Yocto https://elinux.org/R-Car/Boards/Stout

Prepare U-boot

Get U-Boot sources

Clone sources from upstream and checkout on commit 425c0a43fbbec36571f6a03b530695b8b16a841d “Prepare v2019.01-rc3”:

git clone git://git.denx.de/u-boot.git
cd u-boot
git checkout 425c0a43fbbec36571f6a03b530695b8b16a841d -b stout_uboot

Apply additional patches

Apply the following patch series (PSCI support for r8a7790 SoC): https://www.mail-archive.com/xen-devel@lists.xenproject.org/msg44364.html

Configure U-Boot

export CROSS_COMPILE=<path_to_gcc>
make stout_defconfig
make menuconfig

Set maximum supported CPUs for PSCI to 8:

    ARM architecture  --->
        [*] Enable support for booting in non-secure mode
            (8) Maximum supported CPUs for PSCI

Build U-Boot

make

Copy resulting images to tftp directory for the future flashing:

sudo cp u-boot.img <path_to_tftp_dir>/
sudo cp spl/u-boot-spl.bin <path_to_tftp_dir>/