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 <[email protected]> > --- > .../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 > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14563): https://lists.yoctoproject.org/g/meta-arago/message/14563 Mute This Topic: https://lists.yoctoproject.org/mt/99411136/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/leave/10763299/21656/89520264/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
