Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rootfs encryption issue on advanced PG2 device #555

Open
rakeshk7097 opened this issue Jul 9, 2024 · 1 comment
Open

rootfs encryption issue on advanced PG2 device #555

rakeshk7097 opened this issue Jul 9, 2024 · 1 comment

Comments

@rakeshk7097
Copy link

rakeshk7097 commented Jul 9, 2024

Hi all,

I am trying to encrypt the rootfs partition on PG2 advanced device with adding below line in cip-core/recipes-initramfs/initramfs-crypt-hook/initramfs-crypt-hook.bb as mentioned in doc isar-cip-core

CRYPT_PARTITIONS ??= "${ABROOTFS_PART_UUID_A}::reencrypt ${ABROOTFS_PART_UUID_B}::reencrypt"

But it's not working and getting below error while booting the board.

Begin: Mounting root file system ... Begin: Running /scripts/local-top ... ERROR:tcti:src/tss2-tcti/tcti-device.c:452:Tss2_Tcti_Device_Init() Fai ERROR:tcti:src/tss2-tcti/tctildr-dl.c:154:tcti_from_file() Could not initialize TCTI file: device ERROR:tcti:src/tss2-tcti/tctildr.c:428:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI ERROR: Could not load tcti, got: "device:/dev/tpm*" No tpm device exists or supports pcr_hash 'sha256' or 'ecc' - cannot create a encrypted device!

I am using the cip-core commit 6c24d487e3df0107756487e8a0dfd0a880644b02 and isar commit d2d3b3e94874d62d48c0cafb99d.

Please give any suggestions on this.

thanks!

@sbobade
Copy link

sbobade commented Jul 9, 2024

with same setup we have now Secure Boot working well #542 along with encryption for default partitions i. /var and ii /home works well. only issue we are seeing with now rootfs partition encryption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants