On 12:53-20220311, Denys Dmytriyenko wrote:
> On Tue, Mar 08, 2022 at 08:13:14PM -0600, Nishanth Menon wrote:
> > Since we do not wish to modify the tiny-image from anything but really
> > tiny, lets use that infrastructure and add the bootstrap package group
> > to create initramfs (not exactly a completely usable system) which can
> > be used for basic board bringup.
> >
> > This generates cpio around 36-40MB which should be usually fine for
> > even smaller systems (Ofcourse, this is much larger than tiny-image
> > which is around 6MB size). The packages are organized per size to
> > allow easier customization if desired.
> >
> > This image follows the Bring Your Own Kernel model from
> > tisdk-tiny-image.
> >
> > Signed-off-by: Nishanth Menon <[email protected]>
> > ---
> > .../images/tisdk-bootstrap-base-image.bb | 20 +++++++++++++++++++
> > 1 file changed, 20 insertions(+)
> > create mode 100644
> > meta-arago-distro/recipes-core/images/tisdk-bootstrap-base-image.bb
> >
> > diff --git
> > a/meta-arago-distro/recipes-core/images/tisdk-bootstrap-base-image.bb
> > b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-base-image.bb
> > new file mode 100644
> > index 000000000000..a18f39602286
> > --- /dev/null
> > +++ b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-base-image.bb
> > @@ -0,0 +1,20 @@
> > +# Arago TI SDK bootstrap base image for initramfs
> > +# This will not get a completely usable image since kernel will be missing
>
> Same comment as for earlier patch.
>
Will update.
>
> > +# intent for this image is to build as basic a system with enough basic
> > +# Board bringup utilities that can then be used for additions as needed.
> > +
> > +require arago-tiny-image.inc
> > +
> > +IMAGE_FSTYPES += "cpio cpio.xz"
> > +
> > +ARAGO_BOOTSTRAP_IMAGE_EXTRA_INSTALL ?= ""
> > +
> > +IMAGE_INSTALL += " \
> > + packagegroup-arago-bootstrap \
> > + ${ARAGO_BOOTSTRAP_IMAGE_EXTRA_INSTALL} \
> > +"
> > +
> > +# We do not need kernel Image, dtbs and modules in the initrd
> > +deltask do_packagedata
>
> Huh? Not sure what you are trying to do here, but it certainly isn't right...
> You are trying to partially disable generating of IPK packages for the image,
> but images by default have no packages to produce.
>
I assumed this was part of the magic stuff we do for tiny-image. I will
try dropping the same - both here and tiny image.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5
849D 1736 249D
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13632):
https://lists.yoctoproject.org/g/meta-arago/message/13632
Mute This Topic: https://lists.yoctoproject.org/mt/89653834/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-