From patchwork Fri Mar 18 14:37:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5462 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 7BF41C433FE for ; Fri, 18 Mar 2022 14:37:43 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web12.10315.1647614261320108653 for ; Fri, 18 Mar 2022 07:37:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=H9XEbzeY; spf=pass (domain: ti.com, ip: 198.47.23.249, mailfrom: nm@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IEbbQQ028466; Fri, 18 Mar 2022 09:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614257; bh=yFkHTuAve+lajhg4ELqPjutKH+PR0btG52M7Gaza9yA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=H9XEbzeYa+W5QTLWA5ZIsPM8EJgWv1KFQgm2Q5qXXpLnP+cxO+clCYDSOsJTZKbzb 38sErzc/zFgeP2gT7oaP5RedCXBNO4xdmtFivbmKyKo/bIch4OD/Ysg+htCVQqUKco YEmd14cSpr0nrb05Eba5EMgX/zIncROYMdKoS88o= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbbgf040269 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:37 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE114.ent.ti.com (157.170.170.25) 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 09:37:37 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE102.ent.ti.com (157.170.170.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 09:37:37 -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 22IEbbob025897; Fri, 18 Mar 2022 09:37:37 -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 V2 01/12] Revert "tisdk-tiny-image: remove packagedata task breaking initramfs packaging" Date: Fri, 18 Mar 2022 09:37:24 -0500 Message-ID: <20220318143735.17642-2-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13644 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 --- Changes since v1: * New patch V1: did'nt exist. 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 14:37:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5460 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 60D6BC4332F for ; Fri, 18 Mar 2022 14:37:43 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web12.10318.1647614262327750126 for ; Fri, 18 Mar 2022 07:37:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=Gt4MJK6S; 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 22IEbbJT028470; Fri, 18 Mar 2022 09:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614257; bh=Lqf+P2HVFTu26paZ6z7/7yb3xXBT4z62LjCH/b6rG2k=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Gt4MJK6SykuzPSy+jUUPgRzDuO1ndSfKrWgOimnO9A1vhl0t2eEYg1l2TfV94m4KF eVEhQhSoVC1i/9+vTQx0z9ZmukgD83u0s83VSxnc3plN+vLZPcu6//cYHVHBLH/GTB 6nG+WEBpAZgHV4bZeWhoZ2miRt7UY8YAAXKKHT6k= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbbts007717 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:37 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) 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; Fri, 18 Mar 2022 09:37:37 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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 09:37:37 -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 22IEbbpv065659; Fri, 18 Mar 2022 09:37:37 -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 V2 02/12] tisdk-tiny-image: Split common components into include file Date: Fri, 18 Mar 2022 09:37:25 -0500 Message-ID: <20220318143735.17642-3-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13646 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 --- Changes since v1: * No change (just rebase) V1: https://lore.kernel.org/all/20220309021316.28370-2-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 14:37:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5467 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 C6DB3C3525B for ; Fri, 18 Mar 2022 14:37:44 +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.10591.1647614261665555217 for ; Fri, 18 Mar 2022 07:37:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=vZ4q1EiL; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: nm@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IEbbx9110651; Fri, 18 Mar 2022 09:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614257; bh=Do6HpBOQs/YaK6CivSgb5X3KlmImY21kMLX6CCPxCL0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=vZ4q1EiLJo7cyxatOE9LOFuwFZBGwKVjBEG1P5hEHMEtaz/gGknTSzbAJ061GUe3V miw3XfCwthPQDF2TT4fhj7TGh04vOv3sczFrWrPZEr96MY5uds+Bnum8P2TBozSxs0 bCCh85bVsfG+x9FmiuLx3RezVqC4PZETaOSU0Jrk= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbbKs013336 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:37 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE111.ent.ti.com (157.170.170.22) 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 09:37:37 -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 09:37:37 -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 22IEbbwR072424; Fri, 18 Mar 2022 09:37:37 -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 V2 03/12] tisdk-tiny-image: Add some usability notes Date: Fri, 18 Mar 2022 09:37:26 -0500 Message-ID: <20220318143735.17642-4-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13649 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 v1: * Review comments incorporated V1: https://lore.kernel.org/all/20220309021316.28370-3-nm@ti.com/ .../recipes-core/images/tisdk-tiny-image.bb | 9 +++++++++ 1 file changed, 9 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..352cc2d1aa44 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,12 @@ +# Arago TI SDK super minimal base image for initramfs +# +# 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 14:37:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5459 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 523D4C433F5 for ; Fri, 18 Mar 2022 14:37:43 +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.10532.1647614262380150070 for ; Fri, 18 Mar 2022 07:37:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=lBVEsmx4; 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 22IEbbQJ047991; Fri, 18 Mar 2022 09:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614257; bh=5XD3EghLx/n2/bfAMua5wfcxi9kkXo/nq8xRXiZrpeY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lBVEsmx44WXOhtMEFW9bnxPaVzgP1GLcvSSymeEC/PyQY1fz5azI1g9H641uMcw+m uABgVng+3EDqSDMrmOtedqBU0KtBwF1H6WAipt9OUGA+DfwF7+mC3WOPOXIU5IXACT hdEVZcYKE3bgCflgNOd+d8/qP8SSiucw1Me6ikZ8= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbbKH082458 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:37 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) 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; Fri, 18 Mar 2022 09:37:37 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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 09:37:37 -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 22IEbbtL094328; Fri, 18 Mar 2022 09:37:37 -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 V2 04/12] tisdk-base-image: Reformat documentation and clarify usage Date: Fri, 18 Mar 2022 09:37:27 -0500 Message-ID: <20220318143735.17642-5-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13647 Reformat the documentation to indicate the first line as summary for the image and the detailed description follows it with EoL separating the two. Signed-off-by: Nishanth Menon --- Changes since v1: * New patch V1: did'nt exist. meta-arago-distro/recipes-core/images/tisdk-base-image.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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..dfb8eaefe7da 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 +# +# Arago SDK base image suitable for initramfs containing comprehensive +# test tools. require arago-image.inc From patchwork Fri Mar 18 14:37:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5466 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 AAE49C4321E for ; Fri, 18 Mar 2022 14:37:43 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web12.10316.1647614261845721828 for ; Fri, 18 Mar 2022 07:37:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=lkKH+8jY; spf=pass (domain: ti.com, ip: 198.47.19.142, mailfrom: nm@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IEbcNj037436; Fri, 18 Mar 2022 09:37:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614258; bh=P3p+ESXZLoEYkwTU+vXaqPSVaMJpLS/ASnWKi8BbJK8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lkKH+8jYFsXN1lkkt80Rylgm15RFsl3NsyMT3Fp8KdI8helJEYnEW36tCkbPeUwF5 wUc8ORnU+Q6BHOQRbf5CV+H0SfB3JwbgDLFRo3JgaU9EJDtEZSyZWYNRHxtEl/RMik qS7KrMnMY4gizMYcFY/UE7X3m3lJVBYTP3eUbXmk= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbcip013342 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:38 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE107.ent.ti.com (157.170.170.37) 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 09:37:37 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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 via Frontend Transport; Fri, 18 Mar 2022 09:37:37 -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 22IEbbjT025902; Fri, 18 Mar 2022 09:37:37 -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 V2 05/12] tisdk-default-image: Reformat documentation and clarify usage Date: Fri, 18 Mar 2022 09:37:28 -0500 Message-ID: <20220318143735.17642-6-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13642 Reformat the documentation to indicate the first line as summary for the image and the detailed description follows it with EoL separating the two. Signed-off-by: Nishanth Menon --- Changes since v1: * New patch V1: did'nt exist. meta-arago-distro/recipes-core/images/tisdk-default-image.bb | 3 +++ 1 file changed, 3 insertions(+) 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..180718e731a9 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 +# +# Complete Arago TI SDK filesystem image containing complete applications +# and packages to entitle the SoC. require arago-image.inc From patchwork Fri Mar 18 14:37:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5464 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 B65C5C4167B for ; Fri, 18 Mar 2022 14:37:43 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web11.10526.1647614262331630714 for ; Fri, 18 Mar 2022 07:37:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=OSZ7636S; 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 22IEbbwt028474; Fri, 18 Mar 2022 09:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614257; bh=ewPYbG3n0+eUy7LVNiS9Nb8ooZKM+jW8xM+xFrYOyR0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OSZ7636SU97brcNFPoz0lIHQXakErWw53iltK5SP5MPZEC91QCaaKCfD5DQ28pUtc 3VzYD0RBGB31M0NtxVhHmkVbPQ7ophDig/ICjcF7uhiLaMU3IXFGUc57fKB2BleOmb L9t+0+HSS0f8mK844e+lU9LO16JmLMnd6ZTbyvMM= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbbsS082461 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:37 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE103.ent.ti.com (157.170.170.33) 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 09:37:37 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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 09:37:37 -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 22IEbbc0065668; Fri, 18 Mar 2022 09:37:37 -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 V2 06/12] tisdk-thinlinux-image: Reformat documentation Date: Fri, 18 Mar 2022 09:37:29 -0500 Message-ID: <20220318143735.17642-7-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13645 Reformat the documentation to indicate the first line as summary for the image and the detailed description follows it with EoL separating the two. Signed-off-by: Nishanth Menon --- Changes since v1: * New patch V1: did'nt exist. meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb | 1 + 1 file changed, 1 insertion(+) 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..ff53768bf56a 100644 --- a/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb +++ b/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb @@ -1,4 +1,5 @@ # Arago TI Thin Linux image +# # Minimal bootable image with container to start the next complex system up. require arago-image.inc From patchwork Fri Mar 18 14:37:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5463 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 9E47CC43219 for ; Fri, 18 Mar 2022 14:37:43 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web11.10523.1647614261088649898 for ; Fri, 18 Mar 2022 07:37:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=iLob29h5; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: nm@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IEbbW5110656; Fri, 18 Mar 2022 09:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614257; bh=JH0WZQYHODuUB0/wEHjfOXFgTE526QMqz8gkCwLB0vQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=iLob29h5OipCi9qJISJp8jl4jHH+g9+B6OJiQN/tNRiBlV3c15IL/jGeJgYyedfJ4 cq/HGbeszd4WTgtssnVpjf3ogOoNM6Edok7pqvjXlUWGvSVttQ09CAX9rkV7/M+Mzw uCPwrmq1VtvJ6XE7yrhOOBb7evljFSNOUOCF5XTg= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbbsT082461 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:37 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE103.ent.ti.com (157.170.170.33) 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 09:37:37 -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 09:37:37 -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 22IEbbKE072434; Fri, 18 Mar 2022 09:37:37 -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 V2 07/12] packagegroups: Add a new bootstrap package group Date: Fri, 18 Mar 2022 09:37:30 -0500 Message-ID: <20220318143735.17642-8-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13641 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 --- Changes since v1: * review comments incorporated V1: https://lore.kernel.org/all/20220309021316.28370-4-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 14:37:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5458 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 5238DC433EF for ; Fri, 18 Mar 2022 14:37:43 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web12.10317.1647614262120921058 for ; Fri, 18 Mar 2022 07:37:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=crD/9Swr; spf=pass (domain: ti.com, ip: 198.47.19.142, mailfrom: nm@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IEbcdI037444; Fri, 18 Mar 2022 09:37:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614258; bh=Z4exA8Dc3UVtLy0oMsLBacC6K+i7oEv1Z+TmHm3i9X4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=crD/9Swrf1z+Lahn2rbz1N+hSQ3WPGa0vBDdEhy5NpAAyFY43ivxksvoLK5R/3GqT dDC3P4L7/swsfb4BT27KdCQ2aI31AGB8eeuxcwwDwXiNu6R4kND9Jno3lnaDMOgoIi 9pjq3TM1rxESIBhrQSEjzZDGCZD84pK3oW69Ax7o= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbcSv013348 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:38 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE112.ent.ti.com (157.170.170.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 09:37:37 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE103.ent.ti.com (157.170.170.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 09:37:37 -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 22IEbb8q094340; Fri, 18 Mar 2022 09:37:37 -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 V2 08/12] recipes-core: images: Add a basic bootstrap base image Date: Fri, 18 Mar 2022 09:37:31 -0500 Message-ID: <20220318143735.17642-9-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13648 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 --- Changes since v1: * review comments incorporated. V1: https://lore.kernel.org/all/20220309021316.28370-5-nm@ti.com/ .../images/tisdk-bootstrap-base-image.bb | 21 +++++++++++++++++++ 1 file changed, 21 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..59cfaef1e642 --- /dev/null +++ b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-base-image.bb @@ -0,0 +1,21 @@ +# Arago TI SDK bootstrap base image for initramfs +# +# 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 14:37:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5461 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 6F08DC43217 for ; Fri, 18 Mar 2022 14:37:43 +0000 (UTC) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by mx.groups.io with SMTP id smtpd.web09.10529.1647614261383778135 for ; Fri, 18 Mar 2022 07:37:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=AeEi4yG3; 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 22IEbcY8028479; Fri, 18 Mar 2022 09:37:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614258; bh=u/n3qm71NFhhUc8Db/BsFX65h0L48QBEy/kOPdo6eDs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=AeEi4yG33zU7Toj24X/tUkn1/mMUwNjWvTUEcTrMPctJ04d9dx02LmJ93JYR0Xtu1 wBhOjx6A3v+N7DfSPlw4faT19xGSHOWftQw3YuVWI9Hz8jqDFMJOFQk+GpkGR7G7Qc etgONUQfJ/DtAoIimBwKxUjMnxbOatdFaFI9VNNU= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbchr007729 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:38 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE103.ent.ti.com (157.170.170.33) 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 09:37:37 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE106.ent.ti.com (157.170.170.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 09:37:37 -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 22IEbbLk025906; Fri, 18 Mar 2022 09:37:37 -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 V2 09/12] recipes-bsp: Create a bootstrap-initrd package Date: Fri, 18 Mar 2022 09:37:32 -0500 Message-ID: <20220318143735.17642-10-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13639 Lets create an bootstrap-initrd package that installs the cpio generated in the correct locations. Signed-off-by: Nishanth Menon --- Changes since v1: * renamed to bootstrap-initrd since this has nothing specific to do with k3. * review comments ^^ V1: https://lore.kernel.org/all/20220309021316.28370-6-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..452f88a35346 --- /dev/null +++ b/meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "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 14:37:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5469 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 D9CECC3527C for ; Fri, 18 Mar 2022 14:37:44 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web11.10527.1647614263029534843 for ; Fri, 18 Mar 2022 07:37:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=jP794WuB; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: nm@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IEbbQd110660; Fri, 18 Mar 2022 09:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614257; bh=DC9Cg5sLUnoxXuCvF3lklv0puxsu84cjqnV2avJb5SM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=jP794WuBU1JLPmmew2VS+cq60vr2dPFDx68hioLczKW2ID0KRwh6Ugc4Mh7xIEcqu Zx94yksObWtltH3yxkFemOF695vSo/0X9ZyBKUOAuEfVMHJFaQpG+G9wX3DAjZwZh4 6xKA1lFzqHdfN5DdTSk4QyS2pk2SNeYP5AaczzNo= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbbWN007724 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:37 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE114.ent.ti.com (157.170.170.25) 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 09:37:37 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE112.ent.ti.com (157.170.170.23) 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 09:37:37 -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 22IEbb03025909; Fri, 18 Mar 2022 09:37:37 -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 V2 10/12] recipes-core: images: Introduce tisdk-bootstrap-image Date: Fri, 18 Mar 2022 09:37:33 -0500 Message-ID: <20220318143735.17642-11-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13650 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 --- Changes since v1: * review comments (s/kernel/kernel-base) V1: https://lore.kernel.org/all/20220309021316.28370-7-nm@ti.com/ .../images/tisdk-bootstrap-image.bb | 20 +++++++++++++++++++ 1 file changed, 20 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..ce7a80c8a56e --- /dev/null +++ b/meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb @@ -0,0 +1,20 @@ +# Arago TI SDK bootstrap image usable for board bringup +# +# 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-base \ + bootstrap-initrd \ + ${ARAGO_BOOTSTRAP_IMAGE_EXTRA_INSTALL} \ +" + +export IMAGE_BASENAME = "tisdk-bootstrap-image" From patchwork Fri Mar 18 14:37: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: 5465 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 C0981C4167E for ; Fri, 18 Mar 2022 14:37:43 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web11.10524.1647614261504074422 for ; Fri, 18 Mar 2022 07:37:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=E2dcC4W+; 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 22IEbc0v037438; Fri, 18 Mar 2022 09:37:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614258; bh=OghXpSbVkb4yFjcehjEcu374D3oMFhVIHnAMhIVLPjA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=E2dcC4W+Fj9RCWRJWRSDjFGtzg+StP4Y9Hx4tb5VRmdS0m3QYBxbqr7uphiDtxYbx BwlnOK9DmeXslbTWJsfSgv8sfSSosR12740wmmZVVrECzr40ugRy8CV1QxwSkTdefy IaEHc9lXmdDl7x3TW9dEk9X2Gj6+1HetsQ/U1p0w= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbcm7040282 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:38 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) 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; Fri, 18 Mar 2022 09:37:37 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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 via Frontend Transport; Fri, 18 Mar 2022 09:37:37 -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 22IEbbgR065674; Fri, 18 Mar 2022 09:37:37 -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 V2 11/12] tisdk-core-bundle: Add documentation to clarify usage Date: Fri, 18 Mar 2022 09:37:34 -0500 Message-ID: <20220318143735.17642-12-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13643 Add documentation to the core-bundle to explain the usage and intent of the build configuration. Signed-off-by: Nishanth Menon --- Changes since v1: * New patch V1: did'nt exist. meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb | 6 ++++++ 1 file changed, 6 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..f7736b800547 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,9 @@ +# Installer package for TISDK - NOT for direct use on target +# +# 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 14:37: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: 5468 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 F04E2C4167D for ; Fri, 18 Mar 2022 14:37:43 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web08.10287.1647614261087135223 for ; Fri, 18 Mar 2022 07:37:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=iJaIBUph; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: nm@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22IEbc32110668; Fri, 18 Mar 2022 09:37:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647614258; bh=N8s+Cj3qVkmJK3SbMKnuAl3haTNjmjJSutayDHYKrZs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=iJaIBUph7Inst29ap1WcU9ZH0isDPXtl/iPzZYWjWd2aKhn/dCM7Wu6JV0FCIH6jH 3g33FHGGVLQ/GDDBFbYIGe5QCI3K37/Lp/QIDWn2Volf/68B1UtoBI3zgJbe5kOLqj Fi0kF+7uwKy6O1UBSgFb9Z9zWfnyizUbhhd/s21M= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22IEbcnB082470 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Mar 2022 09:37:38 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE107.ent.ti.com (10.64.6.28) 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 09:37:37 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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 09:37:37 -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 22IEbbNE072444; Fri, 18 Mar 2022 09:37:37 -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 V2 12/12] images: Build tisdk-bootstrap-image with tisdk-core-bundle Date: Fri, 18 Mar 2022 09:37:35 -0500 Message-ID: <20220318143735.17642-13-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220318143735.17642-1-nm@ti.com> References: <20220318143735.17642-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 14:37:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13640 Add tisdk-bootstrap-image to the list of TARGET_IMAGES for tisdk-core-bundle. Signed-off-by: Nishanth Menon --- Changes since v1: * New patch (inspired and dependent on https://lore.kernel.org/all/20220314202840.18904-1-reatmon@ti.com/) V1: did'nt exist. 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"