From patchwork Tue Jun 2 10:48:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Moteen Shah X-Patchwork-Id: 89182 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01044CD6E4A for ; Tue, 2 Jun 2026 10:48:36 +0000 (UTC) Received: from CY3PR05CU001.outbound.protection.outlook.com (CY3PR05CU001.outbound.protection.outlook.com [40.93.201.63]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.22193.1780397306172444019 for ; Tue, 02 Jun 2026 03:48:26 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@ti.com header.s=selector1 header.b=WbuvF/cV; spf=pass (domain: ti.com, ip: 40.93.201.63, mailfrom: m-shah@ti.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=M4+li8GdJhDYe6WP+MXCkfy/DprhoLM8Imk3dFTyjqqWE58K589xS+2LrL0aG9GRerhB+ybodI02cil2NOyyDc8vNso2k7jmEOfU0yCH38LVhr1DNs4umXSCV2dwoekRiyxw09NlJefhy5yMQwjntGMU9VFbFNJJqQ4PMT+H+btAJZcDBW0FpeQHp0gQAoHOSg+6glLYXr65gsLJfS12JVkHm2Ubb/Yv/FVqonCmOpTa6rVpTlO+CNaMUjMf096AQZhrvdi23OfUGylH7OweA9EODxMygadbQar69mQR/eoCEzY8TrtyG+Cvf7Lik5lhsb9vEua5pChzOGZKCORZ8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nwgmVJYa2TWx33yNKWeYRHxZEMQwKUYITlhcOlnDRU0=; b=EDmuSjnhnQf4Xa43kZCjU47CRcEy3mCt1sBL4Pyol5PVJH1CARCsgpcc9zV2KPlVijMAED/HuVWSOxauYjhR3EWlDuCWQ+ewQ59gFQBk+gJyeQetvYX117tPbs9sKbK0wIeUSsFN6G0PfhCZzSB70Sf/YsDkSCNpSPhsLIZ/KNZEC+v+cYkSPQxmgUVtbU1LoerSUyHRXWrQGQEc7gjFWGJWn/efFxMR9+k8k+MZ/lv79dTiFOpiMJiN7qo/OBVkBqwyz8QP+f6GOskvEiBiEtdA7yTMdxzpWwciPzSU3gS4VXjWxAWxivsrivRkTw3jGMviV7Zu9gAju7A7/vRZjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.21.195) smtp.rcpttodomain=konsulko.com smtp.mailfrom=ti.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nwgmVJYa2TWx33yNKWeYRHxZEMQwKUYITlhcOlnDRU0=; b=WbuvF/cVt36+RELYCiySitApldm3Xx3zYbnWt47pB1ip+wcziyF720Zqo9q4nMLFnyrF7okGHukNPhzWcW9iwTA5iUSJVDJZVWfNW5JFb6QlPZ3BW0hIPZmk8/ggRdESup4Wnz/p0zzqTrsK+seTa/3LtnRM9xg32XZi6aJBPoU= Received: from CH2PR02CA0006.namprd02.prod.outlook.com (2603:10b6:610:4e::16) by PH7PR10MB6555.namprd10.prod.outlook.com (2603:10b6:510:206::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.92.7; Tue, 2 Jun 2026 10:48:22 +0000 Received: from CH3PEPF0000000F.namprd04.prod.outlook.com (2603:10b6:610:4e:cafe::30) by CH2PR02CA0006.outlook.office365.com (2603:10b6:610:4e::16) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.92.7 via Frontend Transport; Tue, 2 Jun 2026 10:48:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 198.47.21.195) smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ti.com; Received-SPF: Pass (protection.outlook.com: domain of ti.com designates 198.47.21.195 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.21.195; helo=flwvzet201.ext.ti.com; pr=C Received: from flwvzet201.ext.ti.com (198.47.21.195) by CH3PEPF0000000F.mail.protection.outlook.com (10.167.244.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.92.5 via Frontend Transport; Tue, 2 Jun 2026 10:48:20 +0000 Received: from DFLE207.ent.ti.com (10.64.6.65) by flwvzet201.ext.ti.com (10.248.192.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.37; Tue, 2 Jun 2026 05:48:17 -0500 Received: from DFLE200.ent.ti.com (10.64.6.58) by DFLE207.ent.ti.com (10.64.6.65) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.37; Tue, 2 Jun 2026 05:48:17 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE200.ent.ti.com (10.64.6.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.37 via Frontend Transport; Tue, 2 Jun 2026 05:48:17 -0500 Received: from moteen-ubuntu-desk.dhcp.ti.com (moteen-ubuntu-desk.dhcp.ti.com [10.24.50.20]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 652AmAhX3602223; Tue, 2 Jun 2026 05:48:14 -0500 From: Moteen Shah To: CC: , , , , , , , Subject: [meta-ti][master/wrynose][PATCH 1/2] k3.inc: Add CPSW modules to initramfs for bsp-next NFS boot Date: Tue, 2 Jun 2026 16:18:09 +0530 Message-ID: <20260602104810.1068959-2-m-shah@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260602104810.1068959-1-m-shah@ti.com> References: <20260602104810.1068959-1-m-shah@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PEPF0000000F:EE_|PH7PR10MB6555:EE_ X-MS-Office365-Filtering-Correlation-Id: c8c400bf-e067-4791-58f0-08dec0947649 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|36860700016|1800799024|82310400026|18002099003|22082099003|56012099006; X-Microsoft-Antispam-Message-Info: B0LSbbe2m2+NtZjqfwtAgG/FMgp4moA5WCK0lR06oP2tIHQS5oip6TB9elNRmxx9q7wyXkSKULSR0nK0gsSOC4DIqEw012qCRCIP1efQypK1cCj/DAKR6so8HgqSrjFLzyKwUCjpLKh36nXh2+WWqg40Ra1FLQzhrW974+QsaROxU9RZuDW5nh+4DiciqPN4D3ywJbz/r5T6bzmmGokUq0Risu+7WJWyJEj/VZiCfxdT6vH1IKwg6dlM7zFk51fH7JDeOPQC/90YxEMC6PaEkwSNTrvaSssuPTjHA64+OhDDoZNsQ/KRj4++zofSqCdDunrTH+jO8uc14+xrOlP390tqI5ZCQqObQKliZGva0aZbz4+YWekVpfdREGhO4pwKOTpR9NsJSnIaJq7cnwHJ4YEDbtXO3cJll4kj4UJGfj9Y24tHvyctRDfnQrgkMU9Wl8snQy+INhegUM2+ESrgsk+1IFSkHuTkR1rirtm4vodVRyIQtymoNwlpcpXn2NLpBQ+jqgw51Zn9M09b4c2qQfVv+Q6QWR4V+8LsRFx29WTmVUN37qy1opju8ScB0a1wF3IPsIsfCaV9kzyphFD/YpIOs+6EhfNTODd56n9Gadypynnoo4+Cjvrx+TDW0G3RSmw63wq1b0vkF9qpxLU2Cg76A82ARf6Rw/4Jc0KwvGnQjd2wdOt3se49r5+PyH0PxsmPs4WwMmqcf9GhZtyLDN/YOhlVMSUzbZMniNfgjNU= X-Forefront-Antispam-Report: CIP:198.47.21.195;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:flwvzet201.ext.ti.com;PTR:ErrorRetry;CAT:NONE;SFS:(13230040)(376014)(36860700016)(1800799024)(82310400026)(18002099003)(22082099003)(56012099006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sS7klFFvKVEcrZrbyOUEplkxVLwngaPEcvP+OhcFBJBiMLK/m04M4d29NgEOo5DwMTBgOopcWdFYxCGhhSahoRkh/UAsayh23+ZEh5E7S8oXPbrZ92zsld8BsYUHy7aQHzr51DnHRWfRA4mRvirRYH7nlgk2hAZqZ/3W+8VSDX1nFeR6mIgVu1WA5wNQ4tQjnFg0LH1IKg54f+zOKKfPw+0t0es3BjZ6gduzo6g1Ua6RyMrON1Aw8K01lUO+KCAHzzsnp4Acv6BpHlTywjbxRij29VDKi0T5ePMQcy4UV7+Ow707IlDYKl/Obl0EBPO/MsGYufKa0Yofd3yzQzA7smRIGbGXGrrB5PKmTS3FyRxiiO7W4YSrejCMqNBbqCz+Rx8QOK28nO7fEvIHlIyrO0Mp4Q/bHGYAxcwO6Y+AnXqQMEWNomX/wVUNbOOrfXew X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2026 10:48:20.4473 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c8c400bf-e067-4791-58f0-08dec0947649 X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.21.195];Helo=[flwvzet201.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: CH3PEPF0000000F.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6555 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 02 Jun 2026 10:48:35 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/19946 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 --- 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" From patchwork Tue Jun 2 10:48:10 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Moteen Shah X-Patchwork-Id: 89183 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB19BCD6E57 for ; Tue, 2 Jun 2026 10:48:35 +0000 (UTC) Received: from BL2PR02CU003.outbound.protection.outlook.com (BL2PR02CU003.outbound.protection.outlook.com [52.101.52.49]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.21951.1780397311839459811 for ; Tue, 02 Jun 2026 03:48:32 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@ti.com header.s=selector1 header.b=DLSJjsKJ; spf=pass (domain: ti.com, ip: 52.101.52.49, mailfrom: m-shah@ti.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NYyNuR6UsoO9HaGnm9ll6skT/FFEcfpWZ2DiuLgJYCsHnRFsH22fEezV+vKJMnca/f6QMo2hfFuJeSI1RXkkZqM1OPlEBNT3lpMPqyEMtR9Q4XDRAa1JA8h91XCz3edZFfOjwBcEyMh4oQ+SgVIf4kyMy+uekNKyKby0jPVH8HGy0QCheUW796LdeJPVxetZqmRv0FhMNvemLsq/zUn0TIxvWboq4l7tQXIFPLuJFR7BUS2/RaOc68LRVvB20TENJjL0X8RhN5CHDY7O9TaYbSBhZHwZuxCMsozSCvr0GhkX0nmVf5u7EyzmLnoYJLGIdSrVpEF/vqNLceK09QYZBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=blHlCaqCpioEVWRXUXiWJx8iOH4AyTyJprXCsekHm14=; b=WDO0d45z+M1L50ltE0+GVo3XH+sE4cUvJG26PLk2FF0fisFnjIotPUxNcRgypE+jzY7MGPy1izGILdoFz1HyMXkWH+AJysYRvAAIuSXm6VqBXMwWgSbMiy98Abg0dFuu9dm89GSfo1Kquxrj3cOdFZPnFoTUtjKwl/R8lB/brc4/fOkKUucS2v8fKHRAFSIxKDiM7ue9c21LFOVJiy8AvY2+Vd/oKo4zobpQ5tlWuPxdB+lTnDSZby7jZVXUbJvUPG3RatN9tKappps3t8d1RG6VvlAGBQNSJfvLsXfR/6bxAmf9Oj5NtpgOQWYwGTskEUP+FOJfrR8BHoWZf4WDQQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.21.194) smtp.rcpttodomain=konsulko.com smtp.mailfrom=ti.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=blHlCaqCpioEVWRXUXiWJx8iOH4AyTyJprXCsekHm14=; b=DLSJjsKJF8O1PqVoCLTP2YZ0MtYLQks1rdjAgBTgCKZ6VX1PodbMVc5Y2XUoWcEwQ46ZGRY3k4H/0VBTj0ExnNYusJtB+n068YUxqRRWMzWWUYPIXjOWezlu5e1Ye8H/a6Dr+LeSW7n8UU7ZN33IML8RbPgQth2mxvPgSF1K9J8= Received: from SJ0PR03CA0275.namprd03.prod.outlook.com (2603:10b6:a03:39e::10) by CY8PR10MB6825.namprd10.prod.outlook.com (2603:10b6:930:9c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.92.7; Tue, 2 Jun 2026 10:48:28 +0000 Received: from SJ5PEPF000001D2.namprd05.prod.outlook.com (2603:10b6:a03:39e:cafe::3a) by SJ0PR03CA0275.outlook.office365.com (2603:10b6:a03:39e::10) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.92.7 via Frontend Transport; Tue, 2 Jun 2026 10:48:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 198.47.21.194) smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ti.com; Received-SPF: Pass (protection.outlook.com: domain of ti.com designates 198.47.21.194 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.21.194; helo=flwvzet200.ext.ti.com; pr=C Received: from flwvzet200.ext.ti.com (198.47.21.194) by SJ5PEPF000001D2.mail.protection.outlook.com (10.167.242.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.92.5 via Frontend Transport; Tue, 2 Jun 2026 10:48:26 +0000 Received: from DFLE207.ent.ti.com (10.64.6.65) by flwvzet200.ext.ti.com (10.248.192.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.37; Tue, 2 Jun 2026 05:48:20 -0500 Received: from DFLE209.ent.ti.com (10.64.6.67) by DFLE207.ent.ti.com (10.64.6.65) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.37; Tue, 2 Jun 2026 05:48:20 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE209.ent.ti.com (10.64.6.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.37 via Frontend Transport; Tue, 2 Jun 2026 05:48:20 -0500 Received: from moteen-ubuntu-desk.dhcp.ti.com (moteen-ubuntu-desk.dhcp.ti.com [10.24.50.20]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 652AmAhY3602223; Tue, 2 Jun 2026 05:48:17 -0500 From: Moteen Shah To: CC: , , , , , , , Subject: [meta-ti][master/wrynose][PATCH 2/2] initramfs: Add netsetup module for DHCP network configuration Date: Tue, 2 Jun 2026 16:18:10 +0530 Message-ID: <20260602104810.1068959-3-m-shah@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260602104810.1068959-1-m-shah@ti.com> References: <20260602104810.1068959-1-m-shah@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF000001D2:EE_|CY8PR10MB6825:EE_ X-MS-Office365-Filtering-Correlation-Id: f7459faf-1b4c-4a4e-ba91-08dec09479c7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|376014|1800799024|36860700016|6133799003|18002099003|22082099003|56012099006; X-Microsoft-Antispam-Message-Info: Z9zE3EBsYo2Cnnr1PMy9V+OJ9fIYGqZKyOTVxVjzdPMG4L5/bu+2P588PoYFp54EXCbFuT5aOqJgF9KBfBeZzpqa3BkwDzpb/pbe/Vyd27IyE+ojz53Lc//9m5qNMuuNQ44j0FG0+ssJr5WiCzl8rBqxLUBVgw+dD3MBRncP4R2RkxGESBsHuxoC3oogr2ccWfn5eKEbuHBsSWH1kLN9L0qaUe+AnINwm801/ZRZRmM3nxc0kxC2EBsCvc9p7zp58UTfUAmFUxjnZ9tJYiWRznV62iFoZZTmrv3Q70iSjPib152OjmC1DH056p2yHOQAgzVgLZgr13WNAtFkCk4R0bqeTG9yoKYnAw6/oPtyrAufmK1Os/s8saQHaPn9wWbK9ZGeOmVXAb/LyM1/sKfplvnBRPtnH/1XounZp40SBb9fULrZKSn8DVkRfxMUdch0XynZibJpkaXF4yQw1U9g6UwW2iCVE9MT4ygTYb+xhNHZ6djU8ACYSN+tFsnCwq/VGE7m38qeusETh2VZaSMcu6ZQHpelCghKUYdqeqyYUrg2CudnfF3G4Rn7oDfqXbMQgxynhNmPLlHDd6JqbapvDViQSN/4zLaat3BoGum7mYCRiVw19YmboniYom8+MclnWJ8VqBAvxgW9Pwa6axwWzScCzB1O/VFCE4u48IPKPmwdvBjqZ+0yp1b4Z0NWzKtboq4II687+Pk4/khMTuDgUL1h4pakSyf238SsZpCEKbk= X-Forefront-Antispam-Report: CIP:198.47.21.194;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:flwvzet200.ext.ti.com;PTR:ErrorRetry;CAT:NONE;SFS:(13230040)(82310400026)(376014)(1800799024)(36860700016)(6133799003)(18002099003)(22082099003)(56012099006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lyRblbFhv3tYFy1YZ/8NYaihvpxhc8SkeYJqYDG6ko2cJ5DiuJ+qiqiYj6rvrrBQFrBM4VcCLdE7MgJt0TWFT/b0Wwgu7XDJNKVJ9SxRlRGspb2r0A7tVh5mMWXApKv2WRTNzqsD4F6axy6+WSBb8qAR5nEMdHwiINkY356tBtBzQRFRD7fL0CvC2R/oHlKGUYrqTz16m/dPvFeHl082Ai6UFfEl0pMq3MTMJ9461kd2Mxqc0dL8i862EhuDlLN3/NNNCQYp7VKGQkuqNWylqDW1oJlueBTbbFpMM8oP233R3F0oBbIcbitKoX3PW66djJGpkaUwQHBTpKgDeWNmelEHasyM3ljC3AUa7l/vzPVXygkgP66LcBRpd0HBu32rfHWIJSwVqC2tiQvdYj0WmuJjNPq1/gOpcbGfbPw8gxrY5L6k1iXqHLgxDuAC8Won X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2026 10:48:26.2672 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f7459faf-1b4c-4a4e-ba91-08dec09479c7 X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.21.194];Helo=[flwvzet200.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF000001D2.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB6825 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 02 Jun 2026 10:48:35 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/19947 Add 83-netsetup, an initramfs-framework module that configures the network interface via DHCP before the NFS root mount. Needed when the Ethernet driver is a loadable module and the deferred probe chain requires time to settle after udev loads the modules. Also add dhcpcd to packagegroup-ti-core-initramfs to support DHCP configuration. Signed-off-by: Moteen Shah --- .../initramfs-framework/83-netsetup | 54 +++++++++++++++++++ .../initramfs-framework_%.bbappend | 15 ++++++ .../packagegroup-ti-core-initramfs.bb | 2 + 3 files changed, 71 insertions(+) create mode 100644 meta-ti-bsp/recipes-core/initramfs-scripts/initramfs-framework/83-netsetup create mode 100644 meta-ti-bsp/recipes-core/initramfs-scripts/initramfs-framework_%.bbappend diff --git a/meta-ti-bsp/recipes-core/initramfs-scripts/initramfs-framework/83-netsetup b/meta-ti-bsp/recipes-core/initramfs-scripts/initramfs-framework/83-netsetup new file mode 100644 index 00000000..b71bc3b3 --- /dev/null +++ b/meta-ti-bsp/recipes-core/initramfs-scripts/initramfs-framework/83-netsetup @@ -0,0 +1,54 @@ +#!/bin/sh +# Configure network via DHCP before NFS root mount. Polls for an Ethernet +# interface with sleep 1 per iteration to allow the Ethernet driver deferred +# probe chain to settle after udev loads the modules. + +netsetup_enabled() { + [ "${bootparam_root}" = "/dev/nfs" ] || return 1 + return 0 +} + +netsetup_run() { + local iface timeout devtype + + # Extract interface from ip= kernel param (format: client:server:gw:mask:host:device:autoconf) + iface="" + case "${bootparam_ip}" in + dhcp|on|any|"") + ;; + *) + iface=$(echo "${bootparam_ip}" | cut -d: -f6) + ;; + esac + + udevadm trigger --action=add --subsystem-match=net + udevadm settle --timeout=10 + + # Poll up to 60 seconds for an Ethernet interface (ARPHRD_ETHER = type 1). + msg "netsetup: waiting for ethernet interface..." + timeout=60 + while [ "${timeout}" -gt 0 ]; do + if [ -n "${iface}" ] && [ -d "/sys/class/net/${iface}" ]; then + break + fi + for dev in /sys/class/net/*; do + [ -f "${dev}/type" ] || continue + devtype=$(cat "${dev}/type") + [ "${devtype}" = "1" ] || continue + iface=$(basename "${dev}") + break + done + [ -n "${iface}" ] && [ -d "/sys/class/net/${iface}" ] && break + sleep 1 + timeout=$((timeout - 1)) + done + + if [ -z "${iface}" ] || [ ! -d "/sys/class/net/${iface}" ]; then + msg "netsetup: no ethernet interface found after 60s, skipping DHCP" + return + fi + + msg "netsetup: configuring ${iface} via DHCP" + + dhcpcd --waitip "${iface}" +} diff --git a/meta-ti-bsp/recipes-core/initramfs-scripts/initramfs-framework_%.bbappend b/meta-ti-bsp/recipes-core/initramfs-scripts/initramfs-framework_%.bbappend new file mode 100644 index 00000000..c8955689 --- /dev/null +++ b/meta-ti-bsp/recipes-core/initramfs-scripts/initramfs-framework_%.bbappend @@ -0,0 +1,15 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SUMMARY:initramfs-module-netsetup = "initramfs support for DHCP network setup before NFS root mount" + +SRC_URI:append = " file://83-netsetup" + +PACKAGES =+ "initramfs-module-netsetup" + +RDEPENDS:initramfs-module-netsetup = "${PN}-base" + +FILES:initramfs-module-netsetup = "/init.d/83-netsetup" + +do_install:append() { + install -m 0755 ${UNPACKDIR}/83-netsetup ${D}/init.d/83-netsetup +} 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..ede0639d 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 @@ -18,6 +18,8 @@ RDEPENDS:${PN} += "\ netbase \ base-files \ base-passwd \ + dhcpcd \ + initramfs-module-netsetup \ initramfs-framework-base \ initramfs-module-udev \ initramfs-module-nfsrootfs \