On Thu, Jul 27, 2023 at 4:22 PM Sandeep Gundlupet Raju <
[email protected]> wrote:

> Add Xen dt and u-boot script support for AMD ZynqMP and Versal devices.
>

Hi Sandeep - this is a slightly surprising submission. I'm unsure about
meta-virtualization being the right place for this as typically hardware
enablement is more appropriately done in a BSP layer, where engineers who
have knowledge about and access to specific hardware can collaborate on
maintaining the machine-specific aspects of recipes.

Xen in this (non-BSP) layer has support for qemu MACHINES, plus generic
x86-64 and the Raspberry Pi 4 board for Arm platform coverage; the latter
is a special-case that has been discussed by Xen and Yocto community
members as a basic commodity reference hardware platform for testing (and
using) Xen, and the community for this layer has more of the interested
parties participating in it than meta-raspberrypi does.

Are you experiencing difficulties with maintaining your Xen recipe
components in a separate layer?

Christopher


>
> User can enable xen u-boot script by adding below variable from
> configuration file as shown below.
>
> BOOTMODE = "xen"
>
> This u-boot script also supports to configure below Xen params from
> configuration file.
>
> params          variable assignment
> ------          -------------------
> duart           XEN_SERIAL_CONSOLES = "serial0"
> dom0_mem        DOM0_MEM = "1500M"
> dom0_max_vcpus  DOM0_MAX_VCPUS = "1"
> extra params    XEN_CMDLINE_APPEND = "loglvl=all"
>
> Sandeep Gundlupet Raju (2):
>   recipes-bsp: Add device-tree files for Xen support
>   recipes-bsp: Add u-boot-xlnx scripts for Xen support
>
>  .../device-tree/device-tree.bbappend          |  19 +++
>  .../files/versal-net-xen-qemu.dtsi            |   2 +
>  .../device-tree/files/versal-net-xen.dtsi     |  67 ++++++++++
>  .../device-tree/files/versal-xen-qemu.dtsi    |   2 +
>  .../device-tree/files/versal-xen.dtsi         |  59 +++++++++
>  .../device-tree/files/zynqmp-xen-qemu.dtsi    |  16 +++
>  .../device-tree/files/zynqmp-xen.dtsi         | 123 ++++++++++++++++++
>  .../u-boot/u-boot-xlnx-scr.bbappend           |   2 +
>  .../u-boot/u-boot-xlnx-scr/boot.cmd.xen       |  80 ++++++++++++
>  .../recipes-bsp/u-boot/xen-boot-cmd.inc       |  38 ++++++
>  10 files changed, 408 insertions(+)
>  create mode 100644
> dynamic-layers/xilinx/recipes-bsp/device-tree/device-tree.bbappend
>  create mode 100644
> dynamic-layers/xilinx/recipes-bsp/device-tree/files/versal-net-xen-qemu.dtsi
>  create mode 100644
> dynamic-layers/xilinx/recipes-bsp/device-tree/files/versal-net-xen.dtsi
>  create mode 100644
> dynamic-layers/xilinx/recipes-bsp/device-tree/files/versal-xen-qemu.dtsi
>  create mode 100644
> dynamic-layers/xilinx/recipes-bsp/device-tree/files/versal-xen.dtsi
>  create mode 100644
> dynamic-layers/xilinx/recipes-bsp/device-tree/files/zynqmp-xen-qemu.dtsi
>  create mode 100644
> dynamic-layers/xilinx/recipes-bsp/device-tree/files/zynqmp-xen.dtsi
>  create mode 100644
> dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend
>  create mode 100644
> dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.xen
>  create mode 100644
> dynamic-layers/xilinx/recipes-bsp/u-boot/xen-boot-cmd.inc
>
> --
> 2.34.1
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8145): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8145
Mute This Topic: https://lists.yoctoproject.org/mt/100401326/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to