Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xen support #33

Open
wants to merge 4 commits into
base: scarthgap
Choose a base branch
from
Open

Xen support #33

wants to merge 4 commits into from

Conversation

natto1784
Copy link

No description provided.

@natto1784 natto1784 force-pushed the xen branch 3 times, most recently from f5bea16 to 24c5fd7 Compare September 6, 2024 10:13
@cshilwant cshilwant self-assigned this Sep 6, 2024
@cshilwant cshilwant requested review from cshilwant and a team September 6, 2024 10:57
@cshilwant cshilwant added the enhancement New feature or request label Sep 6, 2024
@cshilwant
Copy link
Member

@g-gupta1 Will need your review on the list of kernel & u-boot patches carried in the PR for xen.

This recipe is a demonstration for how Xen domains operate. It includes
a oneshot script which is ran by systemd. It creates a new domain and
tries to ping it.

When this script is ran by a DomU it will ping Dom0 i.e, the control
domain instead.

Signed-off-by: Amneesh Singh <[email protected]>
- tisdk-xen-domu: This is an initramfs based image. This bbappend adds
  the xen-oob package to the DomU for demonstration purposes.

- tisdk-xen-image: This is the base image containing xen and xen-tools,
  this bbappend adds the xen-oob package as well as installs
  tisdk-xen-domu as a cpio under /boot so that DomU can use it as root.

Signed-off-by: Amneesh Singh <[email protected]>
This patch adds support to enable Xen for ti-linux-staging. This
involves a kernel fragment specifying desired defconfig options as well
as two patches:

fix-rpmsg-xen.patch: This patch fixes the rpmsg_probe failure that
happens otherwise.

drivers-...-protocol.patch: This patch [1] is required for compatibility
with a patchset [2] for xen which fixes init-dom0less and hotplugging
for dom0less domains.

[1]: https://lore.kernel.org/xen-devel/[email protected]/
[2]: https://lore.kernel.org/all/alpine.DEB.2.22.394.2405241552240.2557291@ubuntu-linux-20-04-desktop/

Signed-off-by: Amneesh Singh <[email protected]>
@natto1784 natto1784 force-pushed the xen branch 4 times, most recently from 76e94fa to 2959605 Compare September 13, 2024 10:49
This patch provides a custom CONFIG_BOOTCOMMAND when user has enabled
xen under DISTRO_FEATURES. This bootcommand runs a script from boot
partition, which is boot.scr by default.

The script is also provided and is compiled using mkimage as a FIT
image. This script loads the Xen image, the kernel image and the FDT
and then modifies the FDT to allow suitable Xen configuration and other
features like shared memory and UIO.

Signed-off-by: Amneesh Singh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants