From patchwork Tue Mar 22 17:47:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5702 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 A774BC43219 for ; Tue, 22 Mar 2022 17:48:20 +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.13481.1647971299600822291 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=kOZuThjr; 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 22MHmAHG116235; Tue, 22 Mar 2022 12:48:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971290; bh=s1s58gZ4DEwrM+IYyIexTkSGV+Dsnhjr1AA/yhHlc+s=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kOZuThjr49lArWXAyPGfo/9WV9empgHE0vEgxuFlugA1cUBJ+W+e80RPptYmERE4J 8DiY0xF1Yt4gCsfa//zgG99EyQv6UyET00X/fHgCJB8SEUWX5WN4QPIpL6b51Go0yb KaBAQ+qIX1l8eSaIQEXV7RhVWCww6gPQClnaMtjo= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22MHmABA024988 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:10 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) 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; Tue, 22 Mar 2022 12:48:10 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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 via Frontend Transport; Tue, 22 Mar 2022 12:48:10 -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 22MHmAgn000490; Tue, 22 Mar 2022 12:48:10 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon , Denys Dmytriyenko Subject: [master/dunfell PATCH V5 01/12] Revert "tisdk-tiny-image: remove packagedata task breaking initramfs packaging" Date: Tue, 22 Mar 2022 12:47:57 -0500 Message-ID: <20220322174808.16341-2-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13700 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 V4: None V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-2-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 Tue Mar 22 17:47:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5709 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 05DDDC3527A for ; Tue, 22 Mar 2022 17:48:22 +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.13256.1647971299623283046 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=lot/E6Kb; 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 22MHmAJf116243; Tue, 22 Mar 2022 12:48:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971291; bh=yberVrm/iOQkEOR3VgzIDcoLckBssKtIY5PoQTnVlpA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lot/E6Kb9zt0c3m+kYbUx9k/WAMYNKTufmhT2Nu/K06+AcdobBYOEPe18BxYKYJUu R2I8iKp5JgeIP/Jx1fumbvLs74IUoT6vSe4UqqSrRsmR6TbraSw94W/EuG+WMPTOFB nFMku389MrCZwJ2kr1ylpgqndAMcadtRCqdC9waI= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22MHmA1O069002 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:10 -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; Tue, 22 Mar 2022 12:48:10 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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; Tue, 22 Mar 2022 12:48:10 -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 22MHmAKK005406; Tue, 22 Mar 2022 12:48:10 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon Subject: [master/dunfell PATCH V5 02/12] tisdk-tiny-image: Split common components into include file Date: Tue, 22 Mar 2022 12:47:58 -0500 Message-ID: <20220322174808.16341-3-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:22 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13706 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 V4: * IMAGES_FEATURES_remove has been split up allowing for follow on images to control package-management differently. V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-3-nm@ti.com/ .../recipes-core/images/arago-tiny-image.inc | 9 +++++++++ .../recipes-core/images/tisdk-tiny-image.bb | 11 ++++------- 2 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 meta-arago-distro/recipes-core/images/arago-tiny-image.inc diff --git a/meta-arago-distro/recipes-core/images/arago-tiny-image.inc b/meta-arago-distro/recipes-core/images/arago-tiny-image.inc new file mode 100644 index 000000000000..958dd8bb9399 --- /dev/null +++ b/meta-arago-distro/recipes-core/images/arago-tiny-image.inc @@ -0,0 +1,9 @@ +ARAGO_SYSVINIT = "1" + +require arago-image.inc + +IMAGE_FEATURES_remove = "splash" + +IMAGE_INSTALL = " \ + packagegroup-arago-sysvinit-boot \ +" 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..0500964695a8 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,12 @@ -ARAGO_SYSVINIT = "1" +ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= "" -require arago-image.inc +require arago-tiny-image.inc -IMAGE_FEATURES_remove = "package-management splash" +IMAGE_FEATURES_remove = "package-management" 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 Tue Mar 22 17:47:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5710 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 00C7CC4167E for ; Tue, 22 Mar 2022 17:48:22 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web09.13300.1647971299622110211 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=Drr3lxls; 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 22MHmASt060093; Tue, 22 Mar 2022 12:48:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971290; bh=o9LzCvIyr5qy0VgTsepBOLZGcYPJbn8iMakv9tpnsjo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Drr3lxls4Cae6Lgrxchj9jK6EP2L6Wnt3nPtP1HT7l4TfWAxUuyJ9Ul2ksNwKXH9A pvo4gKfx5VoqNA7zrFvFxiWWaWvDyqGM+SxpT4o2wZsO0bFi4NNpWI9ZJVYgl1R0eS SKIEn1rLKPcw3fSj7LAg0KliIk8NBgqpryQcGceI= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22MHmAwE025000 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:10 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) 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; Tue, 22 Mar 2022 12:48:10 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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 via Frontend Transport; Tue, 22 Mar 2022 12:48:10 -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 22MHmAlR113952; Tue, 22 Mar 2022 12:48:10 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon Subject: [master/dunfell PATCH V5 03/12] tisdk-tiny-image: Add some usability notes Date: Tue, 22 Mar 2022 12:47:59 -0500 Message-ID: <20220322174808.16341-4-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:21 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13705 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 V4: None V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-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 0500964695a8..528efa2746b4 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 Tue Mar 22 17:48:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5703 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 8B1CFC433F5 for ; Tue, 22 Mar 2022 17:48:20 +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.13365.1647971299603170518 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=jFVEyg7i; 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 22MHmApY116239; Tue, 22 Mar 2022 12:48:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971290; bh=SKDBfQrXHB80Ey6I8uEORrenEOCtq5VidNr8J8vL2sY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=jFVEyg7ix7oQa/0tI+Ve3e4coMY4E6tNPQ+aKomFn7VTp2TyoN2Xwjblfa9U3zkTD PrrUTW5Xjwys06Ff0pEuLj3ylneoz+sAuIPoTTquz5c71PZYMmTOZQl+yncGt+KaxF d1tgs+F+EbyD4ewluEEzNRqhoD578bvRtuYAn6MY= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22MHmA4M072532 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:10 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) 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; Tue, 22 Mar 2022 12:48:10 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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 via Frontend Transport; Tue, 22 Mar 2022 12:48:10 -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 22MHmAut000508; Tue, 22 Mar 2022 12:48:10 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon Subject: [master/dunfell PATCH V5 04/12] tisdk-base-image: Reformat documentation and clarify usage Date: Tue, 22 Mar 2022 12:48:00 -0500 Message-ID: <20220322174808.16341-5-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13702 Reformat the documentation to indicate the summary and description in a standardized manner. Signed-off-by: Nishanth Menon --- Changes since V4: None V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-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 Tue Mar 22 17:48:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5707 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 CA789C4167D for ; Tue, 22 Mar 2022 17:48:20 +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.13251.1647971299343930204 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=eEvqQmZX; spf=pass (domain: ti.com, ip: 198.47.23.248, mailfrom: nm@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22MHmBeU093518; Tue, 22 Mar 2022 12:48:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971291; bh=ds5P255OYp/hV02jXCf/4cpE/RgKUFKVa9dDx9WSC8M=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eEvqQmZXDbP2w5DO0pjTaCO3LaZ1hiYaXTULP+d3rMvugMV/yihpx2a2U1XC0G1CC 1C5peddu2xgqzkOoUZf4eMsoG4d5LGYg/yJsOYow9lOEyZ7Ont6AafGr9KlPu4TFEE L4OfrDyeJBBviptMCTcz8BzaFcQ6oEL6qtTqBPU8= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22MHmAj8003583 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:11 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) 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; Tue, 22 Mar 2022 12:48:10 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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; Tue, 22 Mar 2022 12:48:10 -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 22MHmAVX005419; Tue, 22 Mar 2022 12:48:10 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon Subject: [master/dunfell PATCH V5 05/12] tisdk-default-image: Reformat documentation and clarify usage Date: Tue, 22 Mar 2022 12:48:01 -0500 Message-ID: <20220322174808.16341-6-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13697 Reformat the documentation to indicate the summary and description in a standardized manner. Signed-off-by: Nishanth Menon --- Changes since V4: None V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-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 Tue Mar 22 17:48:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5699 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 6876DC433FE for ; Tue, 22 Mar 2022 17:48:20 +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.13453.1647971299571655820 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=AiI4O9CB; 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 22MHmB7U060097; Tue, 22 Mar 2022 12:48:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971291; bh=4aBjTOxVlZ1yZUqUe3+e3yxjujD98ES5rwMPk9Vkfog=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=AiI4O9CBy/OBLrw70Pb8VwYGs9Te8snGuHkiWGPDFJOSNs6RhDjyUeXzeT01o9zF9 Y4SeUS17T7/aOVKg35NBMEwlg8+a+y5d/2bGJzc3YKbZFapYxReYP2UFhORMor29Bn 9Tu7cj7Ax2hLVPSmYBUCgK6eCl4XXiPVKpJqTlD8= 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 22MHmB1Z003591 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:11 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) 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; Tue, 22 Mar 2022 12:48:10 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE110.ent.ti.com (157.170.170.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; Tue, 22 Mar 2022 12:48:10 -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 22MHmAsT032018; Tue, 22 Mar 2022 12:48:10 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon Subject: [master/dunfell PATCH V5 06/12] tisdk-thinlinux-image: Reformat documentation Date: Tue, 22 Mar 2022 12:48:02 -0500 Message-ID: <20220322174808.16341-7-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13703 Reformat the documentation to indicate the summary and description in a standardized manner. Signed-off-by: Nishanth Menon --- Changes since V4: None V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-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 Tue Mar 22 17:48:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5704 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 CA5C9C4167B for ; Tue, 22 Mar 2022 17:48:20 +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.13362.1647971299344451428 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=xrAdggs9; 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 22MHmBNG123130; Tue, 22 Mar 2022 12:48:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971291; bh=rzRW/kIvno+rJSVLU+dfSczdapxRYw2C7JOei2WOXSU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xrAdggs9Bse0pzK8zlT2qxcyLhI84DKg9G/DSXlx+ksW7STp9syJZhyi64+Vw3vy3 BjzMLzsMGtQZJzjsDfue++AdPxKbd3D2uS3fQ+MjBiudGdI8ialQvj40BIGFu6M2uW J1adzzdERoGfHANScb7vt2o/tnbyHtzNS57d5a9M= 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 22MHmB1a003591 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:11 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) 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; Tue, 22 Mar 2022 12:48:10 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE100.ent.ti.com (157.170.170.30) 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; Tue, 22 Mar 2022 12:48:10 -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 22MHmA5O113968; Tue, 22 Mar 2022 12:48:10 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon Subject: [master/dunfell PATCH V5 07/12] tisdk-core-bundle: Add documentation to clarify usage Date: Tue, 22 Mar 2022 12:48:03 -0500 Message-ID: <20220322174808.16341-8-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13698 Add documentation to the core-bundle to explain the usage and intent of the build configuration. Signed-off-by: Nishanth Menon --- Changes since V4: * Added EoL \ to ensure that the documentation is proper (oops..) V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-8-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..9ebcbb0e7e69 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 Tue Mar 22 17:48:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5701 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 94984C4332F for ; Tue, 22 Mar 2022 17:48:20 +0000 (UTC) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by mx.groups.io with SMTP id smtpd.web08.13364.1647971299479720362 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=OxFqrTxn; 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 22MHmBqc093522; Tue, 22 Mar 2022 12:48:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971291; bh=kXu9fUPoRpK1KuqI/EkCaSAwZCH4ZGvQO6D3Ec6uzFQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OxFqrTxnwFo5oXj43VPB+3LOJ9HMvooEKTlezu1zPbla+FeibfzdMgTrHlD4m2P0q UwfKVoYKekElLNHubmMYXyGLhsiORRk16hWufx94hqsQDCxC3K1Cc524KvWx6UOzDO UBL2BmflPm9hGko03mtarbdrbT418e21zaY+V8Bs= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22MHmBDj025020 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:11 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 22 Mar 2022 12:48:10 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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; Tue, 22 Mar 2022 12:48:11 -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 22MHmAOh000522; Tue, 22 Mar 2022 12:48:10 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon Subject: [master/dunfell PATCH V5 08/12] packagegroups: Add a new bootstrap package group Date: Tue, 22 Mar 2022 12:48:04 -0500 Message-ID: <20220322174808.16341-9-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13701 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 V4: None V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-9-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 Tue Mar 22 17:48:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5708 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 EEA70C41535 for ; Tue, 22 Mar 2022 17:48:21 +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.13254.1647971299592028165 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=ljWFc4q9; 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 22MHmBjF116247; Tue, 22 Mar 2022 12:48:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971291; bh=+M51nFMlNxzDHbUsfvfPGTjNFXviDmyyWgESK+HEjl8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ljWFc4q9c/fAyQDex3A/8idJDF3v45a3ddyVxyyq2/2mmXIyfIveoBVgtaeAmo2FM MM3QKzll8ZsUvJpz6xDlPk79AkmbaC+lVfLgmd7p59+GP1odiB6AJ8X1AeWW/yvM+W 5B5CwyT1I9mfkW8xyrKuhromCShg8IQJaHA/9k5E= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22MHmBRs069008 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:11 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) 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; Tue, 22 Mar 2022 12:48:10 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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; Tue, 22 Mar 2022 12:48:10 -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 22MHmAm5005429; Tue, 22 Mar 2022 12:48:10 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon Subject: [master/dunfell PATCH V5 09/12] recipes-core: images: Add a basic bootstrap base image Date: Tue, 22 Mar 2022 12:48:05 -0500 Message-ID: <20220322174808.16341-10-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:21 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13707 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 V4: None V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-10-nm@ti.com/#t .../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 Tue Mar 22 17:48:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5705 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 B8226C43217 for ; Tue, 22 Mar 2022 17:48:20 +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.13452.1647971299470245402 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=t7I/0LTH; 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 22MHmBlG123134; Tue, 22 Mar 2022 12:48:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971291; bh=u1NbJnzLqvG1SHqIb6H5pRCs+dYxhykcvcgTi7Z8wOY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=t7I/0LTHWEKQD+qK2F6zS58q8uX8m+AC0PEpIbA+DX3tu709xvD7oXrxMPLbKnxJt +NWmvtAcCTPfNSP2sS3izdnpX/8APp6BgP3rmM1mr/JU/UZIAS9kg17vlpH04lOiun L4bGe6GYeHvimGQMBnWG24bjDYCjMBbiODYzuSgg= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22MHmB5V025029 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:11 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 22 Mar 2022 12:48:10 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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; Tue, 22 Mar 2022 12:48:10 -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 22MHmAH2032024; Tue, 22 Mar 2022 12:48:10 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon Subject: [master/dunfell PATCH V5 10/12] recipes-bsp: Create a bootstrap-initrd package Date: Tue, 22 Mar 2022 12:48:06 -0500 Message-ID: <20220322174808.16341-11-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13699 Lets create an bootstrap-initrd package that installs the cpio generated in the correct locations. Signed-off-by: Nishanth Menon --- Changes since V4: None V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-11-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 Tue Mar 22 17:48:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5706 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 B5B23C4321E for ; Tue, 22 Mar 2022 17:48:21 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web12.13253.1647971299575441299 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=OGrREuRQ; 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 22MHmBtL060101; Tue, 22 Mar 2022 12:48:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971291; bh=lCFL/ZYyQPab1RD/esWZEagmIO1+sw79vAj/tleUrHg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OGrREuRQLZy9tmnyVqO5XbOupDqpZK6AtnV7npteCvUi2JPO13e7o+U8ixI6kjWqx uGJKyo/WzzhnR7GcZ0k+L8vJjhO4O5fmkBlPWPiQOrPMIr8ULpRfd6wlO8L8XYpLaJ cqhTIRNnqBtY82OAX1etf9fI8pMNEufU8joNmdCI= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22MHmBYO025030 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:11 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) 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; Tue, 22 Mar 2022 12:48:11 -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; Tue, 22 Mar 2022 12:48:11 -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 22MHmAuG113985; Tue, 22 Mar 2022 12:48:10 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon Subject: [master/dunfell PATCH V5 11/12] recipes-core: images: Introduce tisdk-bootstrap-image Date: Tue, 22 Mar 2022 12:48:07 -0500 Message-ID: <20220322174808.16341-12-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:21 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13708 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 V4: None V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-12-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..b41f09fb0ec7 --- /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-base \ + bootstrap-initrd \ + ${ARAGO_BOOTSTRAP_IMAGE_EXTRA_INSTALL} \ +" + +export IMAGE_BASENAME = "tisdk-bootstrap-image" From patchwork Tue Mar 22 17:48:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 5700 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 66FE5C433EF for ; Tue, 22 Mar 2022 17:48:20 +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.13363.1647971299479502011 for ; Tue, 22 Mar 2022 10:48:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=OvFRqxGa; 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 22MHmB6m123138; Tue, 22 Mar 2022 12:48:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1647971291; bh=w+km/QH7f90qVYX0143a13pw+8ZhhapVJb04ZB9zyF8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OvFRqxGaT6SiVgK8lL+3xWwlN9LZpBsi8+e36Db/8l3D4dlMF0binbwivxkamxRZG 3WiEo4mBAYB+oZ4TshDyGn5rHnG5+tCHvqrxhoUMliY79HBUkaLPxfDkkqzlOAwosd cICryniukpZYjRs/vdYV6CdPCBNT4nN+z6mg/7+A= 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 22MHmBVk072547 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Mar 2022 12:48:11 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) 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; Tue, 22 Mar 2022 12:48:11 -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; Tue, 22 Mar 2022 12:48:11 -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 22MHmBC5000532; Tue, 22 Mar 2022 12:48:11 -0500 From: Nishanth Menon To: , CC: , , , , , , , , Nishanth Menon Subject: [master/dunfell PATCH V5 12/12] images: Build tisdk-bootstrap-image with tisdk-core-bundle Date: Tue, 22 Mar 2022 12:48:08 -0500 Message-ID: <20220322174808.16341-13-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220322174808.16341-1-nm@ti.com> References: <20220322174808.16341-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 ; Tue, 22 Mar 2022 17:48:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/13704 Add tisdk-bootstrap-image to the list of TARGET_IMAGES for tisdk-core-bundle. Signed-off-by: Nishanth Menon --- Changes since V4: None * Note the change required for this to work is done in #2 in the series. should address https://lore.kernel.org/yocto-meta-arago/20220322134750.4tragiw5vpxdxko7@outrank/ V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-13-nm@ti.com/ 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"