From: "Denys Dmytriyenko" <denis@denix.org>
To: Nishanth Menon <nm@ti.com>
Cc: Ryan Eatmon <reatmon@ti.com>, Dave Gerlach <d-gerlach@ti.com>,
"Humphreys, Jonathan" <j-humphreys@ti.com>,
praneeth@ti.com, minas@ti.com, "Hilman, Kevin" <khilman@ti.com>,
"Patton, Schuyler" <spatton@ti.com>,
"Devshatwar, Nikhil" <nikhil.nd@ti.com>,
meta-arago@lists.yoctoproject.org
Subject: Re: [dunfell/master PATCH 4/6] recipes-core: images: Add a basic bootstrap base image
Date: Fri, 11 Mar 2022 12:53:38 -0500 [thread overview]
Message-ID: <20220311175338.GD1766@denix.org> (raw)
In-Reply-To: <20220309021316.28370-5-nm@ti.com>
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 <nm@ti.com>
> ---
> .../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.
> +# 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.
> +export IMAGE_BASENAME = "tisdk-bootstrap-base-image"
> --
> 2.31.1
>
--
Regards,
Denys Dmytriyenko <denis@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
next prev parent reply other threads:[~2022-03-11 17:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-09 2:13 [dunfell/master PATCH 0/6] recipes-core: Lets add a bootstrap Linux image Nishanth Menon
2022-03-09 2:13 ` [dunfell/master PATCH 1/6] tisdk-tiny-image: Split common components into include file Nishanth Menon
2022-03-09 2:13 ` [dunfell/master PATCH 2/6] tisdk-tiny-image: Add some usability notes Nishanth Menon
2022-03-11 17:38 ` Denys Dmytriyenko
2022-03-18 12:34 ` Nishanth Menon
2022-03-09 2:13 ` [dunfell/master PATCH 3/6] packagegroups: Add a new bootstrap package group Nishanth Menon
2022-03-11 17:43 ` [meta-arago] " Denys Dmytriyenko
2022-03-11 17:43 ` Denys Dmytriyenko
2022-03-18 12:35 ` Nishanth Menon
2022-03-09 2:13 ` [dunfell/master PATCH 4/6] recipes-core: images: Add a basic bootstrap base image Nishanth Menon
2022-03-11 17:53 ` Denys Dmytriyenko [this message]
2022-03-18 12:36 ` Nishanth Menon
[not found] ` <16DB65153852778E.24530@lists.yoctoproject.org>
2022-03-11 18:18 ` [meta-arago] " Denys Dmytriyenko
2022-03-18 12:38 ` Nishanth Menon
2022-03-09 2:13 ` [dunfell/master PATCH 5/6] recipes-bsp: Create a k3-bootstrap-initrd package Nishanth Menon
2022-03-11 18:06 ` [meta-arago] " Denys Dmytriyenko
2022-03-18 12:37 ` Nishanth Menon
2022-03-09 2:13 ` [dunfell/master PATCH 6/6] recipes-core: images: Introduce tisdk-bootstrap-image Nishanth Menon
2022-03-11 21:34 ` [meta-arago] " Denys Dmytriyenko
2022-03-18 12:39 ` Nishanth Menon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220311175338.GD1766@denix.org \
--to=denis@denix.org \
--cc=d-gerlach@ti.com \
--cc=j-humphreys@ti.com \
--cc=khilman@ti.com \
--cc=meta-arago@lists.yoctoproject.org \
--cc=minas@ti.com \
--cc=nikhil.nd@ti.com \
--cc=nm@ti.com \
--cc=praneeth@ti.com \
--cc=reatmon@ti.com \
--cc=spatton@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.