switch_root from initramfs is failing

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

switch_root from initramfs is failing

1,976 次查看
pgentili
Contributor III

Hi everyone,

we're trying to implement an initramfs with the intent of:

  • Open a LUKS partition (using a key saved on TPM)
  • Mounting the partition RO
  • Mounting an OverlayFS
  • switch_root to the new system

The first part of the script seems to work fine. Our problem is in the "switch_root" part which ends in a kernel panic.

Please note that we have the same problem also without the encryption/overlay part. The problem seems strictly related to the switch_root.

We are using Yocto Sumo and the initramfs image is bundled with the kernel.

Please find attached the kernel panic log.

Thanks! 

Paolo Gentili

0 项奖励
回复
1 回复

1,910 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Paolo

I am afraid such configuration is not officially supported in nxp bsps described

on linux documentation link

i.MX Software and Development Tools | NXP 

May be recommended to proceed with extended help of

Commercial Support and Engineering Services | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复