All of lore.kernel.org
 help / color / mirror / Atom feed
* [kirkstone][PATCH] meta-arago-distro: Add branding for jailhouse build and recipe for jailhouse image
@ 2023-06-02  9:20 Paresh Bhagat
  0 siblings, 0 replies; only message in thread
From: Paresh Bhagat @ 2023-06-02  9:20 UTC (permalink / raw)
  To: meta-arago, praneeth, reatmon
  Cc: khasim, c-shilwant, s-adivi, g-gupta, dannenberg

Add a branding for jailhouse to change preferred uboot and kernel which
will be used for building a jailhouse image.
Add recipe to build and package jailhouse image. image will be named as
tisdk-jailhouse-image.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
---
 .../include/branding-processor-sdk-jailhouse.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-jailhouse.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-jailhouse.inc b/meta-arago-distro/conf/distro/include/branding-processor-sdk-jailhouse.inc
new file mode 100644
index 00000000..952c7057
--- /dev/null
+++ b/meta-arago-distro/conf/distro/include/branding-processor-sdk-jailhouse.inc
@@ -0,0 +1,5 @@
+PREFERRED_PROVIDER_virtual/kernel = "linux-ti-jailhouse"
+
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-jailhouse"
+
+PREFERRED_PROVIDER_u-boot = "u-boot-ti-jailhouse"
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] only message in thread

only message in thread, other threads:[~2023-06-02  9:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-02  9:20 [kirkstone][PATCH] meta-arago-distro: Add branding for jailhouse build and recipe for jailhouse image Paresh Bhagat

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.