jaihouse

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

jaihouse

936 Views
3517884267
Contributor I

我使用 IMX8MP 来部署 jailhouse。我可以通过命令行运行 run jh_mmcboot 来正常启动它。但是,在保存 setenv bootcmd 'run jh_mmcboot' 并启动 Linux 后,我发现 /run/media/mmcblk1p1 无法挂起。多次重新启动后,setenv bootcmd “run jh_mmcboot” 失败。部署 jaihouse 时,有没有其他方法可以跳过 run jh_mmcboot 或用其他方法替换?

 

 

Labels (2)
0 Kudos
Reply
4 Replies

855 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @3517884267 

你可以在 Linux 启动后通过其他方式启动 Jailhouse, 你可以在 Linux 启动后手动执行启动脚本。将启动命令放入一个脚本文件,例如 start_jailhouse.sh,然后在终端中执行脚本.

B.R

0 Kudos
Reply

918 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @3517884267 

你可以尝试直接在Linux启动后手动启动Jailhouse

  • 你可以在Linux启动后手动运行启动命令,而不是通过U-Boot自动启动。这样可以确保所有文件系统都已正确挂载。
jailhouse enable /path/to/jailhouse-config.cell

B.R 

0 Kudos
Reply

878 Views
3517884267
Contributor I
Hello, to start jailhouse, you need to execute the run jh_mmcboot command, the purpose is jh_mmcboot=setenv fdtfile ${jh_root_dtb};setenv jh_clk clk_ignore_unused mem=1920MB; if run loadimage; then run mmcboot; else run jh_netboot; fi;
jh_netboot=setenv fdtfile ${jh_root_dtb}; setenv jh_clk clk_ignore_unused mem=1920MB; run netboot;
jh_root_dtb=imx8mp-evk-root.dtb Can I achieve it in other ways after Linux starts?
0 Kudos
Reply

824 Views
3517884267
Contributor I
你好,执行jh_mmcboot=setenv fdtfile ${jh_root_dtb};setenv jh_clk clk_ignore_unused mem=1920MB; if run loadimage; then run mmcboot; else run jh_netboot; fi;
jh_netboot=setenv fdtfile ${jh_root_dtb}; setenv jh_clk clk_ignore_unused mem=1920MB; run netboot;
jh_root_dtb=imx8mp-evk-root.dtb 需要加载特定设备树文件,linux启动后设备树默认加载imx8mp-evk.dtb,能否启动后再启动jailhouse
0 Kudos
Reply