From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7257586578133876736 X-Received: by 2002:aa7:c68c:0:b0:522:216a:28cd with SMTP id n12-20020aa7c68c000000b00522216a28cdmr1241788edq.7.1690441680216; Thu, 27 Jul 2023 00:08:00 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:c6c3:0:b0:522:58af:deb5 with SMTP id b3-20020aa7c6c3000000b0052258afdeb5ls266823eds.0.-pod-prod-06-eu; Thu, 27 Jul 2023 00:07:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlG4BJOsJ4Vc8aVvwsCo56WfsUNXigLPLdYbH3UGus0ncVn+/jnIAs6fABSiI4ezRMif3nGD X-Received: by 2002:aa7:d0c9:0:b0:522:6e3f:b63 with SMTP id u9-20020aa7d0c9000000b005226e3f0b63mr1034369edo.31.1690441677843; Thu, 27 Jul 2023 00:07:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690441677; cv=none; d=google.com; s=arc-20160816; b=c5LlR19hHrEqG/W3HmyzCy6+11VLcpauNIWLQIhMI8DYMRxSxeiYFHh5o/L6Y6BECx 0QzRrGrpaBc3lxvwxyYvbSfAxv6w/FYho/w/ZQNnjPtB+aPsA0+YPVET5lFx+x37rYPW iU37KcNGs1zYYR5htJL1e1LnWqzNaO3+eg+NBhncWyL+cVDRxDOOBr5apcQUEMlyzjgq 8AcUnLuvBXVSi6YOyT8ct4C0olaQ1hGTuUqxZOTvxEdHJWa0bMFyI6D1H6af549CWYtX Sz13p6XtGB6WwVdGhO+0FZVpLJjXGNl/nuoGcm1J3PprPXaHjvmitN3T24dLNy8shRAO 0XRg== 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=OP5vWuUzpmZyVfZX6F8tthsfeKbm+jG1f8dU3z9EwwI=; fh=2bTUopgBKmEw36QWN2Tr4nystpnda9lxuoNiIayCmr4=; b=oIUV5aFlrI944egcU4zgyu4Wk+z8k7Q/DkMQ3W6PsNv3voWAxbAE/rLS/72+qplTOH z9EcbAyBtRJzmf319Q5AvHWTK3Qs2VVm6PRh6X/wpdrGB+e1ucgD7vmDl/QnXTEBs8mm MwSeBKwbfLhZHYSViz/+n2GTk7yEHGAC0W+Fla29HHc39bRDNfJHYL6WBdKb8elXaAsv 7t0jXQRkZ7fY5ocwAEfY+po36r/C4xgQaV4HBlItnARYVoT1Ug3ncDpbhfrnvuGF9p5Z XBABV/Ed/RgtI6nDpvhBS+WsW9lSZVAjDPVxj4PwYZehb4dU8wmvOvSFl6lt1bUh12U7 9Ybw== 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 d25-20020a056402401900b005222b2cd106si44789eda.3.2023.07.27.00.07.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Jul 2023 00:07:57 -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 [IPv6:::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 36R77thH025944 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 09:07:56 +0200 Message-ID: <2c5b752f5c9478f6ef24ca1530c5c5940a622a32.camel@ilbers.de> Subject: Re: [PATCH v3 04/11] linux-mainline: Add fTPM support From: Uladzimir Bely To: Jan Kiszka , isar-users Date: Thu, 27 Jul 2023 10:07:56 +0300 In-Reply-To: <66eabbc1-80e7-68d0-4bc4-00e77467d394@siemens.com> References: <241b689507a6e8933d2d92046f5cbda6d125b3ec.1689872892.git.jan.kiszka@siemens.com> <5ae9c7e257fce7443ee786d68f6ea51e570a61a4.camel@ilbers.de> <66eabbc1-80e7-68d0-4bc4-00e77467d394@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: 0zNi2RY9qbQU On Wed, 2023-07-26 at 11:32 +0200, Jan Kiszka wrote: > On 26.07.23 10:31, Uladzimir Bely wrote: > > On Tue, 2023-07-25 at 16:43 +0300, Uladzimir Bely wrote: > > > 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 > > > > "fc933f5b13066cfa54aacb5e86747a167bad1d8d23972e4a03ab5ee36c2979 > > > > 8a" > > > > =C2=A0 > > > > --=20 > > > > 2.35.3 > > > >=20 > > >=20 > > > This patch seems to make CI fail at "CrossTest.test_cross" build. > > >=20 > > > In this test we build in parallel two "armhf" targets that both > > > use > > > "mainline" kernel - stm32mp15x-bullseye and de0-nano-soc- > > > bullseye. > > >=20 > > > 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: > > >=20 > > > ``` > > > 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 > > > ``` > > >=20 > > > 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. > > >=20 > >=20 > > There are two possible ways to fix the issue: > > =C2=A01. use "ftpm-module" config fragment not only for stm32mp15x > > (either > > globally, either only for armhf targets) > > =C2=A02. split "linux-mainline" build > >=20 > > We would actually prefer way [1] since it doesn't increase build > > time > > in CI. Some additional modules should not be a problem even if they > > are > > not really used/required. > >=20 > > I'm going to make a local fix (e.g., use ftpm fragment for all > > targets) > > and to check if it works. >=20 > Thanks, fine with me. >=20 > Jan >=20 Fast CI passed now, when I added ftpm-module fragment globally. But suddenly I again got full CI failed with the older "No rule to make target 'lib/wolf/wolf_symlink/wolfcrypt/src/aes.c" problem. E.g., patch 11 (fix parallel build issues) was applied, but didn't help this time.=20