Re: [meta-ti][master/wrynose][PATCH v2 1/2] k3.inc: Add CPSW modules to initramfs for bsp-next NFS boot

Moteen Shah <[email protected]> Thu, 4 Jun 2026 11:29:40 +0530
Newsgroups org.yoctoproject.lists.meta-ti
Message-ID <[email protected]>
Hey Jon,

On 03/06/26 19:55, Jon Cormier wrote:
>
>
> On Wed, Jun 3, 2026 at 3:30 AM Moteen Shah via lists.yoctoproject.org 
> <http://lists.yoctoproject.org> <[email protected]> 
> wrote:
>
>     AM65_CPSW_NUSS and its dependencies changed from built-in to loadable
>     modules in linux-next. Add them to TI_CORE_INITRAMFS_KERNEL_MODULES so
>     NFS boot continues to work on K3 platforms with the bsp-next kernel.
>
>     Signed-off-by: Moteen Shah <[email protected]>
>     ---
>      meta-ti-bsp/conf/machine/include/k3.inc | 6 ++++++
>      1 file changed, 6 insertions(+)
>
>     diff --git a/meta-ti-bsp/conf/machine/include/k3.inc
>     b/meta-ti-bsp/conf/machine/include/k3.inc
>     index 6833789c..726c071f 100644
>     --- a/meta-ti-bsp/conf/machine/include/k3.inc
>     +++ b/meta-ti-bsp/conf/machine/include/k3.inc
>     @@ -61,3 +61,9 @@ FALCON_INCLUDE = ""
>      FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc"
>
>      require ${FALCON_INCLUDE}
>     +
>     +# AM65_CPSW_NUSS and its direct Kconfig dependencies became
>     loadable modules
>     +# in linux-next (post 7.1). Include them in the initramfs so NFS
>     boot works.
>     +# TI staging kernels (6.6/6.12/6.18) still have CPSW built-in (=y).
>     +
>     +TI_CORE_INITRAMFS_KERNEL_MODULES:append:bsp-next = "
>     kernel-module-ti-am65-cpsw-nuss kernel-module-k3-cppi-desc-pool
>     kernel-module-davinci-mdio kernel-module-ti-cpsw-ale
>     kernel-module-ti-cpsw-sl kernel-module-phylink
>     kernel-module-mdio-bitbang kernel-module-phy-gmii-sel"
>
> Is there any way to link the inclusion of these kernel modules to the 
> inclusion of the net boot recipe?  If we don't need NFS boot support, 
> how much larger does this make the initramfs? Just a thought.

I am seeing a size increase of 1MB in the uncompressed .cpio(88MBs -> 
89MB's), I will look into the selective inclusion of the modules once, 
but I do thing it is necessary feature to have since the kernel is 
moving towards making those drivers m and we will need it as a part of 
base package.

Regards,
Moteen
>
>     -- 
>     2.34.1
>
>
>     -=-=-=-=-=-=-=-=-=-=-=-
>     Links: You receive all messages sent to this group.
>     View/Reply Online (#19959):
>     https://lists.yoctoproject.org/g/meta-ti/message/19959
>     Mute This Topic: https://lists.yoctoproject.org/mt/119625158/7902621
>     Group Owner: [email protected]
>     <mailto:meta-ti%[email protected]>
>     Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub
>     [[email protected]]
>     -=-=-=-=-=-=-=-=-=-=-=-
>
>
>
> -- 
> Jonathan Cormier
> Senior Software Engineer
>
> Office:  315.425.4045 x222
>
> http://www.CriticalLink.com <http://www.criticallink.com/>
> 6712 Brooklawn Parkway, Syracuse, NY 13211
>