switch_root from initramfs is failing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

switch_root from initramfs is failing

1,994件の閲覧回数
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

ラベル(3)
0 件の賞賛
返信
1 返信

1,928件の閲覧回数
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 件の賞賛
返信