[jailhouse] boot from linux sd card, root cell from mmc

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

[jailhouse] boot from linux sd card, root cell from mmc

1,206 Views
Ahelion
Contributor IV

Hello all,

is it possible to boot the root cell linux from mmc and run the inmae from sdcard? Using jailhouse?

if yes, what are the steps needed?

imx8mp processor.

br, Mircea

Labels (2)
0 Kudos
Reply
2 Replies

1,178 Views
Peng_Fan
NXP Employee
NXP Employee

You need modify imx8mp-evk-root.dts to disable SD and enable eMMC. Then the root cell should be able to use eMMC when you booting from eMMC.

Then you need update jailhouse cell configs/arm64/imx8mp-inmate-linux.c to assign emmc sdhc controller to it, not sd sdhc controller to it, the memory map and irq map.

Then you need modify imx8mp-evk-inmate.dts to add sd sdhc in it. since there is no gpio, no regulator as of now, you need force it non-removable and configure regulator ready in root cell, but I guess should not impact.

Needs some jailhouse knowledge to make it work, hope this hepls

Kernel & Virtualization Engineer
0 Kudos
Reply

1,129 Views
Ahelion
Contributor IV
Is there any imx8* that has some form of android+linux thing in jailhouse? so that I can use as reference? I realy do not know how to do the steps you said above, I am a Noob at jailhouse.
0 Kudos
Reply