From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7257586578133876736 X-Received: by 2002:a05:6512:2038:b0:4f8:72fd:ed95 with SMTP id s24-20020a056512203800b004f872fded95mr6457544lfs.22.1690292643935; Tue, 25 Jul 2023 06:44:03 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6402:1349:b0:522:17b3:a113 with SMTP id y9-20020a056402134900b0052217b3a113ls660300edw.1.-pod-prod-06-eu; Tue, 25 Jul 2023 06:43:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlED3tmBkiU/g19rEe/uTmAauc3F7Ydy0/VAcSiT+LHNf3qXl/8mtgclQVg6a4hF6nzZOSUL X-Received: by 2002:a17:907:75f7:b0:982:89b3:8650 with SMTP id jz23-20020a17090775f700b0098289b38650mr13102996ejc.64.1690292626643; Tue, 25 Jul 2023 06:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690292626; cv=none; d=google.com; s=arc-20160816; b=ujddpY9hem7o0fdhax699+OZxMouBA1w+JizFzFZh3A3e0KsIVZZx6wPuQRJSb0AEL zwhOoupIOrW9zeZHNg8v/6HIvcZrRrr7hFm3+bk/fGoD2tqM5ZtiWAtzHiD7QzNexYGN N0/9AC+/g2uOh7xvMayh7AVxFoTGJ1sIcoJB5D0iMmnWVv7lZPcqVRR51bnkUshDyBDI 40mV1u1tPdMqQY+LOptaFHWxXiFrjqKS/IR9jGtuJthsVbo3rauMEKyizRv2zG+dTsH3 wqYD7tIvwmRhDECf+dJJ0FXo7+jckhLtix0/y11fIUeH2fx93kBpUpWAVYnHM5qiee3b dcQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=1T1UxgOvv/6nPLvgBpyOWvfS9lGGnvWO+sbqzDwe15Y=; fh=2bTUopgBKmEw36QWN2Tr4nystpnda9lxuoNiIayCmr4=; b=h4I0+xZ+9YhW/D9pddpU5iqcyndc8dLNjJGGhmRXogPgdG7tmchnB/7qHJKknmRPyy wQA1zg4CCxk+02o2FNUguEzKKYShlaXLz6ifgGhuxu6ET6SMpXhhrMVMGgBGortybvlM yxWxHOR7BUysElRrLezzAoRXGHVWj/3JvQs0KBaR9Fd3lTS68RRWWqH+vyrU7Xvczcqs NFlhZzUImw1i2tERrc7EWN6n7Gf0rgcSmSWH8Coi+wNqBP836rIYv0EytFffPSXHT/NR lctp9JXxRL9xu/NyN9kKqVtLQtOb7bteXF7lmisfWUmUHj9+uFV9DVYrcqq0nSpG+UX4 eXHQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id ta7-20020a1709078c0700b00991ee378a7csi716380ejc.2.2023.07.25.06.43.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Jul 2023 06:43:46 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 36PDhiQT018287 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Jul 2023 15:43:45 +0200 Message-ID: Subject: Re: [PATCH v3 04/11] linux-mainline: Add fTPM support From: Uladzimir Bely To: Jan Kiszka , isar-users Date: Tue, 25 Jul 2023 16:43:52 +0300 In-Reply-To: <241b689507a6e8933d2d92046f5cbda6d125b3ec.1689872892.git.jan.kiszka@siemens.com> References: <241b689507a6e8933d2d92046f5cbda6d125b3ec.1689872892.git.jan.kiszka@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.3 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: j8FMyAlzejDB On Thu, 2023-07-20 at 19:08 +0200, 'Jan Kiszka' via isar-users wrote: > From: Jan Kiszka >=20 > Needed for the stm32mp15x demo of fTPM. >=20 > Signed-off-by: Jan Kiszka > --- > =C2=A0meta-isar/recipes-kernel/linux/files/ftpm-module.cfg=C2=A0=C2=A0=C2= =A0=C2=A0 | 3 +++ > =C2=A0meta-isar/recipes-kernel/linux/linux-mainline_5.4.203.bb | 2 ++ > =C2=A02 files changed, 5 insertions(+) > =C2=A0create mode 100644 meta-isar/recipes-kernel/linux/files/ftpm- > module.cfg >=20 > diff --git a/meta-isar/recipes-kernel/linux/files/ftpm-module.cfg > b/meta-isar/recipes-kernel/linux/files/ftpm-module.cfg > new file mode 100644 > index 00000000..f47620bc > --- /dev/null > +++ b/meta-isar/recipes-kernel/linux/files/ftpm-module.cfg > @@ -0,0 +1,3 @@ > +CONFIG_TEE=3Dm > +CONFIG_OPTEE=3Dm > +CONFIG_TCG_FTPM_TEE=3Dm > diff --git a/meta-isar/recipes-kernel/linux/linux-mainline_5.4.203.bb > b/meta-isar/recipes-kernel/linux/linux-mainline_5.4.203.bb > index 76f73f02..27ebf131 100644 > --- a/meta-isar/recipes-kernel/linux/linux-mainline_5.4.203.bb > +++ b/meta-isar/recipes-kernel/linux/linux-mainline_5.4.203.bb > @@ -14,6 +14,8 @@ SRC_URI +=3D " \ > =C2=A0=C2=A0=C2=A0=C2=A0 file://x86_64_defconfig=C2=A0\ > =C2=A0=C2=A0=C2=A0=C2=A0 file://no-ubifs-fs.cfg=C2=A0\ > =C2=A0=C2=A0=C2=A0=C2=A0 file://no-root-nfs.cfg;apply=3Dno" > +SRC_URI:append:stm32mp15x =3D " \ > +=C2=A0=C2=A0=C2=A0 file://ftpm-module.cfg" > =C2=A0 > =C2=A0SRC_URI[sha256sum] =3D > "fc933f5b13066cfa54aacb5e86747a167bad1d8d23972e4a03ab5ee36c29798a" > =C2=A0 > --=20 > 2.35.3 >=20 This patch seems to make CI fail at "CrossTest.test_cross" build. In this test we build in parallel two "armhf" targets that both use "mainline" kernel - stm32mp15x-bullseye and de0-nano-soc-bullseye. Due to the same distro/kernel/arch they are both build in parallel in the same workdir (build/tmp/work/debian-bullseye-armhf/linux- mainline/5.4.203-r0) but due to "append:stm32mp15x" they should use different kernel config. This causes two parallel confliction builds and results in some weird error: ``` cat: /workspace/build/isar_ub_devel_fast/469/build/tmp/work/debian- bullseye-armhf/linux-mainline/5.4.203-r0/rootfs/dpkg_partial.log: No such file or directory ``` By the way, NoCrossTest.test_nocross doesn't fail since it doesn't build another bullseye/armhf linux-mainline in parallel with one for stm32mp15x.