[dunfell/master,V3,11/12] recipes-core: images: Introduce tisdk-bootstrap-image

Message ID 20220318184045.11246-12-nm@ti.com
State Superseded, archived
Headers show
Series recipes-core: Add a bootstrap Linux image | expand

Commit Message

Nishanth Menon March 18, 2022, 6:40 p.m. UTC
Lets introduce tisdk-bootstrap-image which now consists of a
completely bootable system with minimal initramfs that can be used
to boot up a system. We also will create a rootfs that matches with
the initramfs to allow users who use mmc and other boot media to have
access to the same debug tools for a new platform bringup

Signed-off-by: Nishanth Menon <nm@ti.com>
---
no changes since V2
V2: https://lore.kernel.org/all/20220318143735.17642-11-nm@ti.com/

 .../images/tisdk-bootstrap-image.bb           | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb

Comments

Denys Dmytriyenko March 18, 2022, 8:49 p.m. UTC | #1
On Fri, Mar 18, 2022 at 01:40:44PM -0500, Nishanth Menon wrote:
> Lets introduce tisdk-bootstrap-image which now consists of a
> completely bootable system with minimal initramfs that can be used
> to boot up a system. We also will create a rootfs that matches with
> the initramfs to allow users who use mmc and other boot media to have
> access to the same debug tools for a new platform bringup
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
> no changes since V2
> V2: https://lore.kernel.org/all/20220318143735.17642-11-nm@ti.com/
> 
>  .../images/tisdk-bootstrap-image.bb           | 22 +++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb
> 
> diff --git a/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb
> new file mode 100644
> index 000000000000..685916ca3f6a
> --- /dev/null
> +++ b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "Arago TI SDK bootstrap image usable for board bringup"
> +
> +DESCRIPTION = "This image is a complete package containing a rootfs\
> + and an initrd with platform test utilities that can be used for new\
> + platform bringup activities. Typically one would use the bootstrap\
> + initrd till the storage media access is debugged, following which one\
> + would switch over to using the storage media of choice with the same\
> + content.\
> +"
> +
> +require arago-tiny-image.inc
> +
> +ARAGO_BOOTSTRAP_IMAGE_EXTRA_INSTALL ?= ""
> +
> +IMAGE_INSTALL += " \
> +	packagegroup-arago-bootstrap \
> +	kernel \

??

> +	bootstrap-initrd \
> +	${ARAGO_BOOTSTRAP_IMAGE_EXTRA_INSTALL} \
> +"
> +
> +export IMAGE_BASENAME = "tisdk-bootstrap-image"
> -- 
> 2.17.1
>
Nishanth Menon March 18, 2022, 8:53 p.m. UTC | #2
On 16:49-20220318, Denys Dmytriyenko wrote:
> On Fri, Mar 18, 2022 at 01:40:44PM -0500, Nishanth Menon wrote:
> > Lets introduce tisdk-bootstrap-image which now consists of a
> > completely bootable system with minimal initramfs that can be used
> > to boot up a system. We also will create a rootfs that matches with
> > the initramfs to allow users who use mmc and other boot media to have
> > access to the same debug tools for a new platform bringup
> > 
> > Signed-off-by: Nishanth Menon <nm@ti.com>
> > ---
> > no changes since V2
> > V2: https://lore.kernel.org/all/20220318143735.17642-11-nm@ti.com/
> > 
> >  .../images/tisdk-bootstrap-image.bb           | 22 +++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> >  create mode 100644 meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb
> > 
> > diff --git a/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb
> > new file mode 100644
> > index 000000000000..685916ca3f6a
> > --- /dev/null
> > +++ b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb
> > @@ -0,0 +1,22 @@
> > +SUMMARY = "Arago TI SDK bootstrap image usable for board bringup"
> > +
> > +DESCRIPTION = "This image is a complete package containing a rootfs\
> > + and an initrd with platform test utilities that can be used for new\
> > + platform bringup activities. Typically one would use the bootstrap\
> > + initrd till the storage media access is debugged, following which one\
> > + would switch over to using the storage media of choice with the same\
> > + content.\
> > +"
> > +
> > +require arago-tiny-image.inc
> > +
> > +ARAGO_BOOTSTRAP_IMAGE_EXTRA_INSTALL ?= ""
> > +
> > +IMAGE_INSTALL += " \
> > +	packagegroup-arago-bootstrap \
> > +	kernel \
> 
> ??


GGGAAH!!! Thanks for catching it.. I think i picked the wrong patch
when rebasing :( /me weeps. will fix for V4 to kernel-base again.

Will wait for any additional comments prior to posting v4.

Patch

diff --git a/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb
new file mode 100644
index 000000000000..685916ca3f6a
--- /dev/null
+++ b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb
@@ -0,0 +1,22 @@ 
+SUMMARY = "Arago TI SDK bootstrap image usable for board bringup"
+
+DESCRIPTION = "This image is a complete package containing a rootfs\
+ and an initrd with platform test utilities that can be used for new\
+ platform bringup activities. Typically one would use the bootstrap\
+ initrd till the storage media access is debugged, following which one\
+ would switch over to using the storage media of choice with the same\
+ content.\
+"
+
+require arago-tiny-image.inc
+
+ARAGO_BOOTSTRAP_IMAGE_EXTRA_INSTALL ?= ""
+
+IMAGE_INSTALL += " \
+	packagegroup-arago-bootstrap \
+	kernel \
+	bootstrap-initrd \
+	${ARAGO_BOOTSTRAP_IMAGE_EXTRA_INSTALL} \
+"
+
+export IMAGE_BASENAME = "tisdk-bootstrap-image"