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 <[email protected]>
---
 .../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



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14489): 
https://lists.yoctoproject.org/g/meta-arago/message/14489
Mute This Topic: https://lists.yoctoproject.org/mt/99282849/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to