Message ID | 20230608164958.357880-1-p-bhagat@ti.com |
---|---|
State | Superseded |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | [kirkstone,v3] meta-arago-distro: Add recipe for jailhouse image and new branding processor-sdk-extras | expand |
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 >
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"
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