public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
From: Sai Sree Kartheek Adivi <s-adivi@ti.com>
To: Jan Kiszka <jan.kiszka@siemens.com>, <cip-dev@lists.cip-project.org>
Cc: Biju Das <biju.das.jz@bp.renesas.com>
Subject: Re: [isar-cip-core][PATCH 3/6] arm64: Switch to cip_merged_defconfig
Date: Wed, 26 Nov 2025 15:55:10 +0530	[thread overview]
Message-ID: <b6cd2368-e868-4667-ad0e-321a468dbcb0@ti.com> (raw)
In-Reply-To: <f842cf21-f6a5-4e0e-97b0-00f3e6761ae3@siemens.com>



On 11/24/25 16:35, Jan Kiszka wrote:
> On 24.11.25 11:36, Sai Sree Kartheek Adivi wrote:
>>
>>
>> On 11/24/25 15:27, Jan Kiszka wrote:
>>> On 24.11.25 10:31, Sai Sree Kartheek Adivi wrote:
>>>>
>>>>
>>>> On 11/17/25 22:45, Jan Kiszka wrote:
>>>>> From: Jan Kiszka <jan.kiszka@siemens.com>
>>>>>
>>>>> Allows to use the same kernel for all arm64 targets.
>>>>>
>>>>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>>>>> ---
>>>>>     conf/machine/hihope-rzg2m.conf | 4 ++--
>>>>>     conf/machine/ti-am62px-sk.conf | 2 +-
>>>>>     2 files changed, 3 insertions(+), 3 deletions(-)
>>>>>
>>>>> diff --git a/conf/machine/hihope-rzg2m.conf b/conf/machine/hihope-
>>>>> rzg2m.conf
>>>>> index 0b3acf49..485683b2 100644
>>>>> --- a/conf/machine/hihope-rzg2m.conf
>>>>> +++ b/conf/machine/hihope-rzg2m.conf
>>>>> @@ -1,7 +1,7 @@
>>>>>     #
>>>>>     # CIP Core, generic profile
>>>>>     #
>>>>> -# Copyright (c) Siemens AG, 2019
>>>>> +# Copyright (c) Siemens AG, 2019-2025
>>>>>     #
>>>>>     # Authors:
>>>>>     #  Quirin Gylstorff <quirin.gylstorff@siemens.com>
>>>>> @@ -13,7 +13,7 @@ DISTRO_ARCH = "arm64"
>>>>>       IMAGE_FSTYPES ?= "wic"
>>>>>     -KERNEL_DEFCONFIG = "cip-kernel-config/${KERNEL_DEFCONFIG_VERSION}/
>>>>> arm64/renesas_defconfig"
>>>>> +KERNEL_DEFCONFIG = "cip-kernel-config/${KERNEL_DEFCONFIG_VERSION}/
>>>>> arm64/cip_merged_defconfig"
>>>>>     USE_CIP_KERNEL_CONFIG = "1"
>>>>>     DTB_FILES = "r8a774a1-hihope-rzg2m-ex.dtb"
>>>>>     IMAGE_BOOT_FILES = "${KERNEL_IMAGE} ${DTB_FILES}"
>>>>> diff --git a/conf/machine/ti-am62px-sk.conf b/conf/machine/ti-am62px-
>>>>> sk.conf
>>>>> index 589f071e..bf3cf9ab 100644
>>>>> --- a/conf/machine/ti-am62px-sk.conf
>>>>> +++ b/conf/machine/ti-am62px-sk.conf
>>>>> @@ -23,6 +23,6 @@ IMAGE_BOOT_FILES = " \
>>>>>         /usr/lib/u-boot/${MACHINE}/tiboot3-am62px-hs-fs-
>>>>> evm.bin;tiboot3.bin"
>>>>>       USE_CIP_KERNEL_CONFIG = "1"
>>>>> -KERNEL_DEFCONFIG = "cip-kernel-config/${KERNEL_DEFCONFIG_VERSION}/
>>>>> arm64/ti_defconfig"
>>>>> +KERNEL_DEFCONFIG = "cip-kernel-config/${KERNEL_DEFCONFIG_VERSION}/
>>>>> arm64/cip_merged_defconfig"
>>>>
>>>> Jan, I'm seeing a boot issue after this change. The boot stops at
>>>> initramfs with the following log
>>>>
>>>> No tpm device exists or supports pcr_hash 'sha256' or 'ecc' - cannot
>>>> create a encrypted device!
>>>>
>>>> But the tpm2 device is available and the `tpm2 getcap algorithms`
>>>> command confirms that the device supports sha256 and ecc.
>>>>
>>>> It's working with ti_defconfig. So looks like there is some timing
>>>> issue / race condition when the tpm support is built as inbuilt instead
>>>> of module.
>>>
>>> And there is no other module missing in the initramfs that might be
>>> built-in with your config? If you re-run the encryption hook manually
>>> from the initramfs later, that will work then?
>>
>> yes. Once after the boot stops at initramfs with above error, running
>> `/scripts/local-top/crypt` manually starts encryption without any issues.
>>
>>>
>>>>
>>>> I'll run some more tests to properly identify the issue and post a fix
>>>> in here or cip-kernel-config repo.
>>>>
>>>>>       WDOG_TIMEOUT = "0"
>>>>
>>>
>>> Thanks for reporting. Finding the root cause will be important to avoid
>>> that other users will run into similar issues later on.
>>
>> Yup, actively working on it.
>>
> 
> Is initramfs-tee-ftpm-hook included in the build? That is supposed to
> wait for the ftpm to appear.

Just found out that it's not included in the build. The recipe itself is 
built but the local-top is not added to the SRC_URI.

There are 2 issues.
1. TEE_SUPPLICANT_IN_USERLAND is not set.
2. the initramfs-tee-ftpm-hook recipe has an issue. There is a missing : 
while adding supp-user to the OVERRIDES.

I'll send a patch fixing [1] in sometime. I've sent a PATCH on 
isar-users for [2] but I don't see it on the list. Will try to repost in 
sometime if I still don't find it.

Kartheek

> 
> Jan
> 



  reply	other threads:[~2025-11-26 10:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-17 17:15 [isar-cip-core][PATCH 0/6] Switch to cip_merged_defconfig, clean up ti-am62px-sk recipes Jan Kiszka
2025-11-17 17:15 ` [isar-cip-core][PATCH 1/6] linux-cip: Add lz4 as build dependency when using cip-kernel-config Jan Kiszka
2025-11-17 17:15 ` [isar-cip-core][PATCH 2/6] arm: Switch to cip_merged_defconfig Jan Kiszka
2025-11-17 17:15 ` [isar-cip-core][PATCH 3/6] arm64: " Jan Kiszka
2025-11-24  9:31   ` Sai Sree Kartheek Adivi
2025-11-24  9:57     ` Jan Kiszka
2025-11-24 10:36       ` Sai Sree Kartheek Adivi
2025-11-24 11:05         ` Jan Kiszka
2025-11-26 10:25           ` Sai Sree Kartheek Adivi [this message]
2025-11-27 13:37             ` Jan Kiszka
2025-11-27 14:35               ` Jan Kiszka
2025-12-02  6:58                 ` Sai Sree Kartheek Adivi
2025-12-02  7:19                   ` Jan Kiszka
2025-11-17 17:15 ` [isar-cip-core][PATCH 4/6] linux-cip: Refactor KERNEL_DEFCONFIG initialization Jan Kiszka
2025-11-17 17:15 ` [isar-cip-core][PATCH 5/6] u-boot-ti-am62px-sk: Drop redundant or unused DEBIAN_BUILD_DEPENDS Jan Kiszka
2025-11-17 17:15 ` [isar-cip-core][PATCH 6/6] ti-am62px-sk: Switch wks files to gpt-hybrid Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b6cd2368-e868-4667-ad0e-321a468dbcb0@ti.com \
    --to=s-adivi@ti.com \
    --cc=biju.das.jz@bp.renesas.com \
    --cc=cip-dev@lists.cip-project.org \
    --cc=jan.kiszka@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox