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

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

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

1,415 次查看
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

标签 (2)
0 项奖励
回复
2 回复数

1,387 次查看
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 项奖励
回复

1,338 次查看
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 项奖励
回复