* [kirkstone][PATCH v3] meta-arago-distro: Add recipe for jailhouse image and new branding processor-sdk-extras
@ 2023-06-08 16:49 Paresh Bhagat
2023-06-08 21:55 ` [meta-arago] " Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Paresh Bhagat @ 2023-06-08 16:49 UTC (permalink / raw)
To: meta-arago, praneeth, reatmon; +Cc: khasim, c-shilwant, s-adivi, g-gupta
Add a recipe to build and package jailhouse image for am62xx-evm. new
image will be named as tisdk-jailhouse-image. jailhouse recipe will
also package overlay used for jailhouse.
Add a new branding processor-sdk-extras to change preferred_providers for
uboot and kernel to u-boot-ti-extras and ti-linux-extras. For jailhouse build
for am62xx-evm, user will have to add ARAGO_BRAND = "processor-sdk-extras" to
change preferred_providers and MACHINE_FEATURES:append = " jailhouse" to
switch to jailhouse branches to local.conf. And then start a jailhouse build
with MACHINE=am62xx-evm bitbake -k tisdk-jailhouse-image.
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
---
.../include/branding-processor-sdk-extras.inc | 5 +++++
.../recipes-core/images/tisdk-jailhouse-image.bb | 14 ++++++++++++++
2 files changed, 19 insertions(+)
create mode 100644 meta-arago-distro/conf/distro/include/branding-processor-sdk-extras.inc
create mode 100644 meta-arago-distro/recipes-core/images/tisdk-jailhouse-image.bb
diff --git a/meta-arago-distro/conf/distro/include/branding-processor-sdk-extras.inc b/meta-arago-distro/conf/distro/include/branding-processor-sdk-extras.inc
new file mode 100644
index 00000000..a9d9f5be
--- /dev/null
+++ b/meta-arago-distro/conf/distro/include/branding-processor-sdk-extras.inc
@@ -0,0 +1,5 @@
+PREFERRED_PROVIDER_virtual/kernel = "linux-ti-extras"
+
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-extras"
+
+PREFERRED_PROVIDER_u-boot = "u-boot-ti-extras"
diff --git a/meta-arago-distro/recipes-core/images/tisdk-jailhouse-image.bb b/meta-arago-distro/recipes-core/images/tisdk-jailhouse-image.bb
new file mode 100644
index 00000000..af880d30
--- /dev/null
+++ b/meta-arago-distro/recipes-core/images/tisdk-jailhouse-image.bb
@@ -0,0 +1,14 @@
+# Produces wic image for jailhouse
+
+require recipes-core/images/tisdk-default-image.bb
+
+COMPATIBLE_MACHINE = "am62xx-evm"
+
+IMAGE_INSTALL:append:am62xx-evm = " jailhouse"
+
+# Package overlay for jailhouse
+KERNEL_DEVICETREE:append:am62xx-evm = " ti/k3-am625-base-board-jailhouse.dtbo"
+
+export IMAGE_BASENAME = "tisdk-jailhouse-image"
+
+WIC_CREATE_EXTRA_ARGS:append = " --no-fstab-update"
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-arago] [kirkstone][PATCH v3] meta-arago-distro: Add recipe for jailhouse image and new branding processor-sdk-extras
2023-06-08 16:49 [kirkstone][PATCH v3] meta-arago-distro: Add recipe for jailhouse image and new branding processor-sdk-extras Paresh Bhagat
@ 2023-06-08 21:55 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2023-06-08 21:55 UTC (permalink / raw)
To: p-bhagat
Cc: meta-arago, praneeth, reatmon, khasim, c-shilwant, s-adivi, g-gupta
On Thu, Jun 08, 2023 at 10:19:58PM +0530, Paresh Bhagat via lists.yoctoproject.org wrote:
> Add a recipe to build and package jailhouse image for am62xx-evm. new
> image will be named as tisdk-jailhouse-image. jailhouse recipe will
> also package overlay used for jailhouse.
>
> Add a new branding processor-sdk-extras to change preferred_providers for
> uboot and kernel to u-boot-ti-extras and ti-linux-extras. For jailhouse build
> for am62xx-evm, user will have to add ARAGO_BRAND = "processor-sdk-extras" to
> change preferred_providers and MACHINE_FEATURES:append = " jailhouse" to
> switch to jailhouse branches to local.conf. And then start a jailhouse build
> with MACHINE=am62xx-evm bitbake -k tisdk-jailhouse-image.
>
> Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
> ---
> .../include/branding-processor-sdk-extras.inc | 5 +++++
> .../recipes-core/images/tisdk-jailhouse-image.bb | 14 ++++++++++++++
> 2 files changed, 19 insertions(+)
> create mode 100644 meta-arago-distro/conf/distro/include/branding-processor-sdk-extras.inc
> create mode 100644 meta-arago-distro/recipes-core/images/tisdk-jailhouse-image.bb
>
> diff --git a/meta-arago-distro/conf/distro/include/branding-processor-sdk-extras.inc b/meta-arago-distro/conf/distro/include/branding-processor-sdk-extras.inc
> new file mode 100644
> index 00000000..a9d9f5be
> --- /dev/null
> +++ b/meta-arago-distro/conf/distro/include/branding-processor-sdk-extras.inc
> @@ -0,0 +1,5 @@
> +PREFERRED_PROVIDER_virtual/kernel = "linux-ti-extras"
> +
> +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-extras"
> +
> +PREFERRED_PROVIDER_u-boot = "u-boot-ti-extras"
> diff --git a/meta-arago-distro/recipes-core/images/tisdk-jailhouse-image.bb b/meta-arago-distro/recipes-core/images/tisdk-jailhouse-image.bb
> new file mode 100644
> index 00000000..af880d30
> --- /dev/null
> +++ b/meta-arago-distro/recipes-core/images/tisdk-jailhouse-image.bb
> @@ -0,0 +1,14 @@
> +# Produces wic image for jailhouse
> +
> +require recipes-core/images/tisdk-default-image.bb
> +
> +COMPATIBLE_MACHINE = "am62xx-evm"
> +
> +IMAGE_INSTALL:append:am62xx-evm = " jailhouse"
> +
> +# Package overlay for jailhouse
> +KERNEL_DEVICETREE:append:am62xx-evm = " ti/k3-am625-base-board-jailhouse.dtbo"
This won't get packaged into kernel-devicetree from here.
> +export IMAGE_BASENAME = "tisdk-jailhouse-image"
> +
> +WIC_CREATE_EXTRA_ARGS:append = " --no-fstab-update"
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-08 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-08 16:49 [kirkstone][PATCH v3] meta-arago-distro: Add recipe for jailhouse image and new branding processor-sdk-extras Paresh Bhagat
2023-06-08 21:55 ` [meta-arago] " Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.