From patchwork Fri Mar 18 18:40:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5497 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 75064C4167E for ; Fri, 18 Mar 2022 18:40:51 +0000 (UTC) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by mx.groups.io with SMTP id smtpd.web11.13629.1647628850018823429 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=xE6/9SDH; spf=pass (domain: ti.com, ip: 198.47.23.248, mailfrom: nm@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIekA1105255; Fri, 18 Mar 2022 13:40:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628846; bh=kT+eXkE8ehDkimss61vXndzhhBNOzrkZai4ttw79+jc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xE6/9SDHTkq7lIN8h+SwCR0daf20marOcDyBcpeCVkzSfQIZQLp3yfpYjGlzIkHR5 rGMRSYWsuQO/XHLe+ltK4wzkC9f6n1ol5UtW5dKfwEBMpHWduQ9W5rYkR4wEop3LC7 /Lu7r4819v2mWl3/iY1XrytPDyGfRG16T5M6HGeQ= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIekcn108915 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:46 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:46 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:46 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIekuj103510; Fri, 18 Mar 2022 13:40:46 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon , Denys Dmytriyenko Subject: [dunfell/master PATCH V3 01/12] Revert "tisdk-tiny-image: remove packagedata task breaking initramfs packaging" Date: Fri, 18 Mar 2022 13:40:34 -0500 Message-ID: <20220318184045.11246-2-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13665 This reverts commit a75e468a372d4f5c2c32a179d4d2219899b5190c. Commit a75e468a372d ("tisdk-tiny-image: remove packagedata task breaking initramfs packaging") as discussed in [1] is no longer necessary as the offending patches have been reverted in dunfell. [1] https://lists.yoctoproject.org/g/meta-arago/message/13624 Suggested-by: Denys Dmytriyenko Signed-off-by: Nishanth Menon --- no changes since V2 V2: https://lore.kernel.org/all/20220318143735.17642-3-nm@ti.com/ meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb index c0ef8f247ee7..28da0b60cc35 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb +++ b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb @@ -13,6 +13,4 @@ IMAGE_INSTALL = " \ ${ARAGO_TINY_IMAGE_EXTRA_INSTALL} \ " -deltask do_packagedata - export IMAGE_BASENAME = "tisdk-tiny-image" From patchwork Fri Mar 18 18:40:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5499 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 CDC2FC3527C for ; Fri, 18 Mar 2022 18:40:51 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web10.13613.1647628849672358597 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=VNOOF6MQ; spf=pass (domain: ti.com, ip: 198.47.19.142, mailfrom: nm@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIel5T101178; Fri, 18 Mar 2022 13:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628847; bh=5GZXKRk2OU7VGZCnneqp+xKZAZhBekYs+fQOo3US9BE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VNOOF6MQKLD5RA6c9iyWvcD6N0enIloTIdDozH5YNdkLat+utqiP9Z8tNLve4MKIl c1tyLgw4uWGSw8Q+mjXh/csJGrmZmnq3ssimgPguN3Sxbbzca9LqmkG2EFg2AmhAFC EutJTWn4dzbZAnnApMLy0+BVr9gz1huvt2od7EiQ= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIelGG024202 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:47 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:46 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:46 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIekCj110479; Fri, 18 Mar 2022 13:40:46 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon Subject: [dunfell/master PATCH V3 02/12] tisdk-tiny-image: Split common components into include file Date: Fri, 18 Mar 2022 13:40:35 -0500 Message-ID: <20220318184045.11246-3-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13664 Lets split the common pieces for creating a tiny image into an include file. This can then be used to incrementally build additional images as well. Signed-off-by: Nishanth Menon --- no changes since V2 V2: https://lore.kernel.org/all/20220318143735.17642-3-nm@ti.com/ .../{tisdk-tiny-image.bb => arago-tiny-image.inc} | 7 ------- .../recipes-core/images/tisdk-tiny-image.bb | 11 +++-------- 2 files changed, 3 insertions(+), 15 deletions(-) copy meta-arago-distro/recipes-core/images/{tisdk-tiny-image.bb => arago-tiny-image.inc} (50%) diff --git a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb b/meta-arago-distro/recipes-core/images/arago-tiny-image.inc similarity index 50% copy from meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb copy to meta-arago-distro/recipes-core/images/arago-tiny-image.inc index 28da0b60cc35..79c8f6075911 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb +++ b/meta-arago-distro/recipes-core/images/arago-tiny-image.inc @@ -4,13 +4,6 @@ require arago-image.inc IMAGE_FEATURES_remove = "package-management splash" -IMAGE_FSTYPES += "cpio cpio.xz" - -ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= "" - IMAGE_INSTALL = " \ packagegroup-arago-sysvinit-boot \ - ${ARAGO_TINY_IMAGE_EXTRA_INSTALL} \ " - -export IMAGE_BASENAME = "tisdk-tiny-image" diff --git a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb index 28da0b60cc35..85ae3728e86e 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb +++ b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb @@ -1,15 +1,10 @@ -ARAGO_SYSVINIT = "1" - -require arago-image.inc +ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= "" -IMAGE_FEATURES_remove = "package-management splash" +require arago-tiny-image.inc IMAGE_FSTYPES += "cpio cpio.xz" -ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= "" - -IMAGE_INSTALL = " \ - packagegroup-arago-sysvinit-boot \ +IMAGE_INSTALL += " \ ${ARAGO_TINY_IMAGE_EXTRA_INSTALL} \ " From patchwork Fri Mar 18 18:40:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5492 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 5CE77C4167B for ; Fri, 18 Mar 2022 18:40:51 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web09.13583.1647628849670383156 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=qor0w8um; spf=pass (domain: ti.com, ip: 198.47.19.142, mailfrom: nm@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelvG101174; Fri, 18 Mar 2022 13:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628847; bh=FwHQ2vf+iCh1IVvY31Vd8+054cZf2dG5UGrsbhVs/wg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=qor0w8um16eTY6dAcvYy6YbqVcBpOy2F0XXZz6RFzfORdDRMtXQOxpaKZj24rq2t6 D00E26rtInrlrfXU92VOKk/HwxHnlZX4GmpSJdGy0eZI3W0ySRMcMzX21iO9qVIj3m CDYtjByvEPksJIpHwEvWJUMQXCj0pSIAuImIZkhg= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIeliP024199 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:47 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:46 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:46 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIekUv006928; Fri, 18 Mar 2022 13:40:46 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon Subject: [dunfell/master PATCH V3 03/12] tisdk-tiny-image: Add some usability notes Date: Fri, 18 Mar 2022 13:40:36 -0500 Message-ID: <20220318184045.11246-4-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13662 Lets clarify the usage of tiny image as something meant as a building block and not something that folks can directly use. Signed-off-by: Nishanth Menon --- Changes since v2: summary and description V2: https://lore.kernel.org/all/20220318143735.17642-4-nm@ti.com/ .../recipes-core/images/tisdk-tiny-image.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb index 85ae3728e86e..210bc32444f9 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb +++ b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb @@ -1,3 +1,13 @@ +SUMMARY = "Arago TI SDK super minimal base image for initramfs" + +DESCRIPTION = "Image meant for basic boot of linux kernel. Intended as\ + bare system, this image does not package the kernel in the\ + standard /boot folder in rootfs. Instead, it provides a base\ + rootfs allowing kernel to be deployed elsewhere\ + (tftp/separate boot partition/jtag log etc..) and boot\ + the image.\ +" + ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= "" require arago-tiny-image.inc From patchwork Fri Mar 18 18:40:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5493 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 46139C43217 for ; Fri, 18 Mar 2022 18:40:51 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web10.13614.1647628850079619303 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=d3wwoMDj; spf=pass (domain: ti.com, ip: 198.47.23.249, mailfrom: nm@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelj9086927; Fri, 18 Mar 2022 13:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628847; bh=qnmNRIz2n+ztu+vGha0mEgHueJkQowzbWmfBYQq6uFg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=d3wwoMDjD1q1jIvgarsmL37xAw6mRnyyIqg83FWSNVPtM4jMBx8s/DWyV3JrhIKta eD23nKcUhp1LH8Pgw4TdtsCFsCA6CADAiE5yiHaS2aBIHGqIJK0hnmZ5Xs579UXN+Z Pr/YLWSyAfKmiCAtzh+x5Oo+aXDiVXvGltbv++ys= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIel0u083351 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:47 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:46 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:46 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIekH3008755; Fri, 18 Mar 2022 13:40:46 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon Subject: [dunfell/master PATCH V3 04/12] tisdk-base-image: Reformat documentation and clarify usage Date: Fri, 18 Mar 2022 13:40:37 -0500 Message-ID: <20220318184045.11246-5-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13668 Reformat the documentation to indicate the summary and description in a standardized manner. Signed-off-by: Nishanth Menon --- Changes since v2: Update to use SUMMARY and DESCRIPTION V2: https://lore.kernel.org/all/20220318143735.17642-5-nm@ti.com/ meta-arago-distro/recipes-core/images/tisdk-base-image.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-arago-distro/recipes-core/images/tisdk-base-image.bb b/meta-arago-distro/recipes-core/images/tisdk-base-image.bb index 76668831354f..8698816df52d 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-base-image.bb +++ b/meta-arago-distro/recipes-core/images/tisdk-base-image.bb @@ -1,5 +1,7 @@ -# Arago TI SDK base image with test tools -# Suitable for initramfs +SUMMARY = " Arago TI SDK base image with test tools" + +DESCRIPTION = "Arago SDK base image suitable for initramfs containing\ + comprehensive test tools." require arago-image.inc From patchwork Fri Mar 18 18:40:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5500 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 11503C3527D for ; Fri, 18 Mar 2022 18:40:52 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web10.13612.1647628849623124384 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=L21xiXMi; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: nm@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelXF044439; Fri, 18 Mar 2022 13:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628847; bh=wWBqKNUqACXkgDvHa1+k0gKpzAxj7QITIIs8txwwsSY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=L21xiXMijphTxMZffhikp6y9tdFOXSofA/OJM8KF7CCxSWxaAnwsj4ZxlWBd1tQ0w MDrpSJhzGJzmdsBSr91yk+nbQbkldbuIIVX2w0SbPgVyMgzgzL+uS1nqWKfX7er/dm SsZQrpgboHm9lh+dxWmZ56z/nM2eAJqaQUd7c/pA= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIelae108923 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:47 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:46 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:46 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIekeM103513; Fri, 18 Mar 2022 13:40:46 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon Subject: [dunfell/master PATCH V3 05/12] tisdk-default-image: Reformat documentation and clarify usage Date: Fri, 18 Mar 2022 13:40:38 -0500 Message-ID: <20220318184045.11246-6-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:52 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13661 Reformat the documentation to indicate the summary and description in a standardized manner. Signed-off-by: Nishanth Menon --- Changes since v2: Update to use SUMMARY and DESCRIPTION V2: https://lore.kernel.org/all/20220318143735.17642-6-nm@ti.com/ meta-arago-distro/recipes-core/images/tisdk-default-image.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb index 152f8572afcb..a84e752c0402 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb +++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb @@ -1,4 +1,7 @@ -# Arago TI SDK full filesystem image +SUMMARY = "Arago TI SDK full filesystem image" + +DESCRIPTION = "Complete Arago TI SDK filesystem image containing complete\ + applications and packages to entitle the SoC." require arago-image.inc From patchwork Fri Mar 18 18:40:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5494 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 69BE7C4321E for ; Fri, 18 Mar 2022 18:40:51 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web10.13615.1647628850079802565 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=YkfkuIC0; spf=pass (domain: ti.com, ip: 198.47.23.249, mailfrom: nm@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelC7086931; Fri, 18 Mar 2022 13:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628847; bh=p7mvlZuwXsZu3d3Dcc0nbuarsPF31oZ9ttD6GYcvTLA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YkfkuIC0hS9ZN89m3DYK1YV63YR4Vkp0XUSMzPH7jcHN/t5nS9Woku54WiavXGOLd 93/eHVCIz8YmSrP0XgtVvPedpRJGzzw1WrlxT4V34WXHClNP9A91AHueEhBRWQrbi1 JZB+fpxolr5egpQd29xKFHzH9fPyXfT67lLlQnTE= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIelmN024205 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:47 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:47 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:46 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIekRj110485; Fri, 18 Mar 2022 13:40:46 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon Subject: [dunfell/master PATCH V3 06/12] tisdk-thinlinux-image: Reformat documentation Date: Fri, 18 Mar 2022 13:40:39 -0500 Message-ID: <20220318184045.11246-7-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13666 Reformat the documentation to indicate the summary and description in a standardized manner. Signed-off-by: Nishanth Menon --- Changes since v2: Update to use SUMMARY and DESCRIPTION V2: https://lore.kernel.org/all/20220318143735.17642-7-nm@ti.com/ .../recipes-core/images/tisdk-thinlinux-image.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb b/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb index aa732df6b509..dc073d72d063 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb +++ b/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb @@ -1,5 +1,7 @@ -# Arago TI Thin Linux image -# Minimal bootable image with container to start the next complex system up. +SUMMARY = "Arago TI SDK Thin Linux image" + +DESCRIPTION = "Minimal bootable image with container to start the next\ + complex system up." require arago-image.inc From patchwork Fri Mar 18 18:40:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5495 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 5DE00C4167D for ; Fri, 18 Mar 2022 18:40:51 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web08.13298.1647628850013778932 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=zE6jIDcO; spf=pass (domain: ti.com, ip: 198.47.19.142, mailfrom: nm@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelYp101183; Fri, 18 Mar 2022 13:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628847; bh=Vooc0kAnD4Z3y7ANAd+PjuuQ9Y1p+9qlZf7Ox4waLpo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=zE6jIDcOFDy3Jnpwx4ol3f273CzYQnfGObimMIqD13cliWbZ3HSER9ETUvViKH+Rm 9GNhrceo4DVVCsZu47b30kFS6iuCMe0B7vs0O7cSPSqeTMyQrVZDHAzlVQg87oHETK 911g4smMGBoLZ3pMO/q80lG+l5blTrRI9w0eFJYo= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIelFl108926 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:47 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:47 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:47 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIeksH008758; Fri, 18 Mar 2022 13:40:46 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon Subject: [dunfell/master PATCH V3 07/12] tisdk-core-bundle: Add documentation to clarify usage Date: Fri, 18 Mar 2022 13:40:40 -0500 Message-ID: <20220318184045.11246-8-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13667 Add documentation to the core-bundle to explain the usage and intent of the build configuration. Signed-off-by: Nishanth Menon --- Changes since v2: Update to use SUMMARY and DESCRIPTION moved up in sequence to keep the documentation patches together. V2: https://lore.kernel.org/all/20220318143735.17642-12-nm@ti.com/ meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb b/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb index 253bfbb68657..0892a8a62d57 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb +++ b/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb @@ -1,3 +1,10 @@ +SUMMARY = "Installer package for TI SDK - NOT for direct use on target" + +DESCRIPTION = "This creates an installer including all the default images\ + recommended including source, binaries, filesystems, etc. + for TI SDK. This is meant to be used on the host system. +" + require tisdk-core-bundle.inc DEPLOY_SPL_NAME_omapl138 = "" From patchwork Fri Mar 18 18:40:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5498 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 976FEC3525B for ; Fri, 18 Mar 2022 18:40:51 +0000 (UTC) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by mx.groups.io with SMTP id smtpd.web12.13382.1647628849931123056 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=pJKlWPko; spf=pass (domain: ti.com, ip: 198.47.23.248, mailfrom: nm@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelh3105260; Fri, 18 Mar 2022 13:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628847; bh=vnAYbGvoEDig141ZnxeRnvveHzJh9TpFFOVo9SB7eo0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=pJKlWPkobQoXrgcW8GGuhDDskqM10b8EMMlqG8BB+r+ZAMuXB9yxW+dSdskuN53Ar a2xD3XwDbnOxsd+ZHZ88drthmHRMlwSk0U7M/jVdnYMc/FCiAZblx1fOl25m3XPLJO UkdnHsAOpfxCiJ+l9Zi/Md5Yhg/OSvl3dump6NhI= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIel4l083357 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:47 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:47 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:47 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelYm103519; Fri, 18 Mar 2022 13:40:47 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon Subject: [dunfell/master PATCH V3 08/12] packagegroups: Add a new bootstrap package group Date: Fri, 18 Mar 2022 13:40:41 -0500 Message-ID: <20220318184045.11246-9-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13663 Lets try and create a minimal package group for board bringup. Lets call this basic system necessary for board bringup as "bootstrap". Signed-off-by: Nishanth Menon --- no changes since V2 V2: https://lore.kernel.org/all/20220318143735.17642-8-nm@ti.com/ .../packagegroup-arago-bootstrap.bb | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb new file mode 100644 index 000000000000..9d961c282c5d --- /dev/null +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb @@ -0,0 +1,53 @@ +SUMMARY = "Task to install additional utilities for initial board bringup" +LICENSE = "MIT" +PR = "r0" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit packagegroup + +UTILS = " \ + arm-benchmarks \ + evtest \ + memtester \ + nbench-byte \ + pcitest \ + serialcheck \ + yavta \ + hdparm \ + i2c-tools \ + libdrm-tests \ + rt-tests \ + iozone3 \ + mtd-utils-ubifs-tests \ + net-tools \ + ethtool \ + pciutils \ + rng-tools \ + stress-ng \ + iperf \ + lmbench \ + usbutils \ + devmem2 \ + phytool \ +" + +UTILS_append_ti33x = " \ + omapconf \ +" + +UTILS_append_ti43x = " \ + omapconf \ +" + +UTILS_append_omap-a15 = " \ + omapconf \ +" + +UTILS_append_k3 = " \ + k3conf \ +" + +RDEPENDS_${PN} = "\ + ${UTILS} \ +" From patchwork Fri Mar 18 18:40:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5491 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 10664C433EF for ; Fri, 18 Mar 2022 18:40:51 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web08.13299.1647628850124482056 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=piM0dw8y; spf=pass (domain: ti.com, ip: 198.47.23.249, mailfrom: nm@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIemR2086944; Fri, 18 Mar 2022 13:40:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628848; bh=GQ0Q8CCR8aZUpdIMNDIBS6w5QGxpwZKC/PKKmERMBH4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=piM0dw8yLssT+PDquvNVxUN5aE6QAJZD9cokUuxshvUDhvJGemv3MzvZJJc/RqiYE T/dneoAtC5irQJmhzIpYGGWUmVSYUDy53Bl6h5jMG8Gxnq55yCef2Bpf0b8sGi2ynX GZ19To6BKF59/8fQoBCdCU3t9v1bgN7ZJwzx+5dY= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIemhl002675 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:48 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:48 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:47 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelT7110489; Fri, 18 Mar 2022 13:40:47 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon Subject: [dunfell/master PATCH V3 09/12] recipes-core: images: Add a basic bootstrap base image Date: Fri, 18 Mar 2022 13:40:42 -0500 Message-ID: <20220318184045.11246-10-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13672 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. Signed-off-by: Nishanth Menon --- no changes since V2 V2: https://lore.kernel.org/all/20220318143735.17642-9-nm@ti.com/ .../images/tisdk-bootstrap-base-image.bb | 22 +++++++++++++++++++ 1 file changed, 22 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..8b7f10c9f343 --- /dev/null +++ b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-base-image.bb @@ -0,0 +1,22 @@ +SUMMARY = "Arago TI SDK bootstrap base image for initramfs" + +DESCRIPTION = "Image meant for basic system verification of linux kernel.\ + Intended as basic test system, this image does not package the kernel\ + in the standard /boot folder in rootfs. Instead, it provides a base\ + rootfs with enough basic board bringup utilities allowing kernel to be\ + deployed elsewhere (tftp/separate boot partition/jtag log etc..) and\ + maybe used for basic platform bringup (bootstrap) activities.\ +" + +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} \ +" + +export IMAGE_BASENAME = "tisdk-bootstrap-base-image" From patchwork Fri Mar 18 18:40:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5490 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 361FBC433FE for ; Fri, 18 Mar 2022 18:40:51 +0000 (UTC) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by mx.groups.io with SMTP id smtpd.web09.13584.1647628850006110891 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=slTZ1TRS; spf=pass (domain: ti.com, ip: 198.47.23.248, mailfrom: nm@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelVa105262; Fri, 18 Mar 2022 13:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628847; bh=EtMeJwVI7bMaFn+iQoyme0qT/g9D5b2SGgVHeRqZcVU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=slTZ1TRSsmm8rL2ScUHilG8xQtAWanzJjBdtgkcCD2SeMQ9AMKYt8ahMjP5OF/lYz nK3+36efgPzMVkPCuNVgnTcwhirAazpRHWj5y2+CTNahQXcGbrQB91O0mLd04E6SVK UJHdxtRFbzJ/rtsZPEjyZGaEejnRY3hvEbNeQm3Y= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIeleE024215 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:47 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:47 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:47 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelqa006937; Fri, 18 Mar 2022 13:40:47 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon Subject: [dunfell/master PATCH V3 10/12] recipes-bsp: Create a bootstrap-initrd package Date: Fri, 18 Mar 2022 13:40:43 -0500 Message-ID: <20220318184045.11246-11-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13669 Lets create an bootstrap-initrd package that installs the cpio generated in the correct locations. Signed-off-by: Nishanth Menon --- no changes since V2 V2: https://lore.kernel.org/all/20220318143735.17642-10-nm@ti.com/ .../bootstrap-initrd/bootstrap-initrd_1.0.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb diff --git a/meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb b/meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb new file mode 100644 index 000000000000..2a53efcd9062 --- /dev/null +++ b/meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "Prebuilt initramfs with apps for bootstraping new board" + +LICENSE = "GPLv2" + +CLEANBROKEN = "1" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +S = "${WORKDIR}" + +BOOSTRAP_IMAGE="tisdk-bootstrap-base-image" + +TARGET = "bootstrap-rootfs-${MACHINE}.cpio" + +do_install() { + install -d ${D}/boot + install -m 0644 ${DEPLOY_DIR_IMAGE}/${BOOSTRAP_IMAGE}-${MACHINE}.cpio ${D}/boot/${TARGET} +} + +FILES_${PN} = "/boot" + +do_install[depends] = "${BOOSTRAP_IMAGE}:do_image_complete" From patchwork Fri Mar 18 18:40:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5496 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 8110AC3527A for ; Fri, 18 Mar 2022 18:40:51 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web09.13585.1647628850012703624 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=Oscrud0a; spf=pass (domain: ti.com, ip: 198.47.19.142, mailfrom: nm@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelNx101187; Fri, 18 Mar 2022 13:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628847; bh=pmM6Lm2KAcLRSfz8cC22pCAxL8syyhVCHvmit0fIR5Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Oscrud0aAmIeFT9Dj5jbPEPXh5mxGNGSl6+96zM2hlEoZfGgRZO/mWlKGI73SBQPg 9j1tpxQ3PWr4VnsuNtetH3JTOZcn37YWlijq9lQw0ajX62BDXmKTAE9I8/rmKSufJd vt6LpLZoxCu+3v9OcFkHA9l/cIxwoSnvPXBsBNEY= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIelXd108932 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:47 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:47 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:47 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelo6008767; Fri, 18 Mar 2022 13:40:47 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon Subject: [dunfell/master PATCH V3 11/12] recipes-core: images: Introduce tisdk-bootstrap-image Date: Fri, 18 Mar 2022 13:40:44 -0500 Message-ID: <20220318184045.11246-12-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13670 Lets introduce tisdk-bootstrap-image which now consists of a completely bootable system with minimal initramfs that can be used to boot up a system. We also will create a rootfs that matches with the initramfs to allow users who use mmc and other boot media to have access to the same debug tools for a new platform bringup Signed-off-by: Nishanth Menon --- no changes since V2 V2: https://lore.kernel.org/all/20220318143735.17642-11-nm@ti.com/ .../images/tisdk-bootstrap-image.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb diff --git a/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb new file mode 100644 index 000000000000..685916ca3f6a --- /dev/null +++ b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb @@ -0,0 +1,22 @@ +SUMMARY = "Arago TI SDK bootstrap image usable for board bringup" + +DESCRIPTION = "This image is a complete package containing a rootfs\ + and an initrd with platform test utilities that can be used for new\ + platform bringup activities. Typically one would use the bootstrap\ + initrd till the storage media access is debugged, following which one\ + would switch over to using the storage media of choice with the same\ + content.\ +" + +require arago-tiny-image.inc + +ARAGO_BOOTSTRAP_IMAGE_EXTRA_INSTALL ?= "" + +IMAGE_INSTALL += " \ + packagegroup-arago-bootstrap \ + kernel \ + bootstrap-initrd \ + ${ARAGO_BOOTSTRAP_IMAGE_EXTRA_INSTALL} \ +" + +export IMAGE_BASENAME = "tisdk-bootstrap-image" From patchwork Fri Mar 18 18:40:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5489 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 0B2E8C433F5 for ; Fri, 18 Mar 2022 18:40:51 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web10.13616.1647628850079981966 for ; Fri, 18 Mar 2022 11:40:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=gaG4Ngby; spf=pass (domain: ti.com, ip: 198.47.23.249, mailfrom: nm@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelo9086935; Fri, 18 Mar 2022 13:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647628847; bh=tHFhVNaLrSBxhiI2buO/BUU3GMIJIXtX/aE5PhTDmAY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=gaG4NgbytJPRNHY5A8s6nKCLzp1w+wdwk+3R8V80jS5tPZyylSUXfz6GtrdnA1dHv dhvahuQzYDyf+oNJBBqC+XKoaYql2z/58b8J/s3aSBYIETUQ6bfhJlVUrkOu7rRPLS 4XdfC7Q4biLitngAWlwABj2kI2bXV2irFZYLUDiA= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IIelJS083361 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 13:40:47 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 18 Mar 2022 13:40:47 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 18 Mar 2022 13:40:47 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22IIelE5103524; Fri, 18 Mar 2022 13:40:47 -0500 From: Nishanth Menon To: Denys Dmytriyenko , Ryan Eatmon CC: Dave Gerlach , "Humphreys, Jonathan" , praneeth , minas , "Hilman, Kevin" , "Patton, Schuyler" , "Devshatwar, Nikhil" , , Nishanth Menon Subject: [dunfell/master PATCH V3 12/12] images: Build tisdk-bootstrap-image with tisdk-core-bundle Date: Fri, 18 Mar 2022 13:40:45 -0500 Message-ID: <20220318184045.11246-13-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318184045.11246-1-nm@ti.com> References: <20220318184045.11246-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 18:40:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13671 Add tisdk-bootstrap-image to the list of TARGET_IMAGES for tisdk-core-bundle. Signed-off-by: Nishanth Menon --- no changes since V2 V2: https://lore.kernel.org/all/20220318161018.esa56i7lt24o55jo@album/ meta-arago-distro/recipes-core/images/tisdk-core-bundle.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arago-distro/recipes-core/images/tisdk-core-bundle.inc b/meta-arago-distro/recipes-core/images/tisdk-core-bundle.inc index 5ce688ef24b7..db73abd27fc2 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-core-bundle.inc +++ b/meta-arago-distro/recipes-core/images/tisdk-core-bundle.inc @@ -32,7 +32,7 @@ DTB_FILTER_am65xx = "am65" DTB_FILTER_j7 = "j721e" # List of target side images to build for the SDK -TARGET_IMAGES = "tisdk-base-image tisdk-default-image tisdk-thinlinux-image" +TARGET_IMAGES = "tisdk-base-image tisdk-default-image tisdk-thinlinux-image tisdk-bootstrap-image" # dra71 lcard requires an initramfs with modules for NFS boot TARGET_IMAGES_append_dra7xx-evm = " netboot-initrd"