From: Anshul Dalal <anshuld@ti.com>
To: Moteen Shah <m-shah@ti.com>, <meta-ti@lists.yoctoproject.org>
Cc: <reatmon@ti.com>, <praneeth@ti.com>, <vigneshr@ti.com>,
<anshuld@ti.com>, <gehariprasath@ti.com>, <denys@konsulko.com>
Subject: Re: [PATCH] packagegroup-ti-core-initramfs: Remove runtime managers from initramfs image
Date: Thu, 26 Mar 2026 16:24:39 +0530 [thread overview]
Message-ID: <DHCNPWULXZZU.3HFNETK38IYPU@ti.com> (raw)
In-Reply-To: <20260325062856.2664785-1-m-shah@ti.com>
On Wed Mar 25, 2026 at 11:58 AM IST, Moteen Shah wrote:
> Remove runtime managers since ti-core-initramfs does not requires
> login and other services as it is being used as a read only
> image during the boot. Modules can be probed using the udev from
> initrams-module-udev, hence remove the init manager along with
> others.
>
> Signed-off-by: Moteen Shah <m-shah@ti.com>
Tested-by: Anshul Dalal <anshuld@ti.com>
Before:
$ du -h ti-core-initramfs.cpio*
90M ti-core-initramfs.cpio
18M ti-core-initramfs.cpio.xz
After:
$ du -h ti-core-initramfs.cpio*
25M ti-core-initramfs.cpio
6.5M ti-core-initramfs.cpio.xz
Boot logs (AM62ax EVM with SD boot): https://gist.github.com/ArchUsr64/e90215448010aac5db9ccfb2e63ce433
Thanks for the patch!
Best Wishes,
Anshul
> ---
> This patch will help in reducing the size of the initramfs to about 7 MB's compressed and 25 MB's uncompressed
> Boot logs: https://gist.github.com/Jamm02/ebdb124064e253208ee479f46edf127f
> .../recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb
> index a9eff847..f496f21a 100644
> --- a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb
> +++ b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb
> @@ -11,10 +11,6 @@ TI_CORE_INITRAMFS_KERNEL_MODULES ?= ""
> RDEPENDS:${PN} += "\
> ${TI_CORE_INITRAMFS_KERNEL_MODULES} \
> ${VIRTUAL-RUNTIME_base-utils} \
> - ${VIRTUAL-RUNTIME_login_manager} \
> - ${VIRTUAL-RUNTIME_init_manager} \
> - ${VIRTUAL-RUNTIME_dev_manager} \
> - ${VIRTUAL-RUNTIME_update-alternatives} \
> netbase \
> base-files \
> base-passwd \
prev parent reply other threads:[~2026-03-26 10:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-25 6:28 [PATCH] packagegroup-ti-core-initramfs: Remove runtime managers from initramfs image Moteen Shah
2026-03-25 6:42 ` PRC Automation
2026-03-25 13:33 ` Ryan Eatmon
2026-03-26 5:07 ` Moteen Shah
2026-03-26 21:02 ` [meta-ti] " Denys Dmytriyenko
2026-03-26 10:54 ` Anshul Dalal [this message]
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=DHCNPWULXZZU.3HFNETK38IYPU@ti.com \
--to=anshuld@ti.com \
--cc=denys@konsulko.com \
--cc=gehariprasath@ti.com \
--cc=m-shah@ti.com \
--cc=meta-ti@lists.yoctoproject.org \
--cc=praneeth@ti.com \
--cc=reatmon@ti.com \
--cc=vigneshr@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.