switch_root from initramfs is failing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

switch_root from initramfs is failing

1,388 Views
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 Kudos
Reply
1 Reply

1,322 Views
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 Kudos
Reply