How to modify Jailhouse memory layout for i.MX93 with 1GB RAM?

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

How to modify Jailhouse memory layout for i.MX93 with 1GB RAM?

915 次查看
zhang_rui
Contributor II

The imx-jailhouse/configs/arm64/imx93.c file defines the root cell configuration for the i.MX93 platform. 

The default configuration works on the i.MX93 EVK board with 2GB RAM. However, my custom i.MX93 board has only 1GB RAM, so I need to modify the Jailhouse memory layout accordingly.

After modifying the Jailhouse memory layout, I conducted tests but encountered a kernel hang during execution.

 

LOG:

root@imx93evk:~# cd /mnt/nxp/imx93/real-time_edge_v3_1/
root@imx93evk:/mnt/nxp/imx93/real-time_edge_v3_1# insmod imx-jailhouse/driver/jailhouse.ko
[ 44.897222] jailhouse: loading out-of-tree module taints kernel.
root@imx93evk:/mnt/nxp/imx93/real-time_edge_v3_1# ./modules/usr/local/sbin/jailhouse enable imx-jailhouse/configs/arm64/imx93.cell

......

The kernel entered an unresponsive state during operation

 

0 项奖励
回复
5 回复数

815 次查看
zhang_rui
Contributor II

I have determined that modifying the hypervisor_memory parameter consistently results in a kernel hang during execution. This issue has been verified through testing on the i.MX93 EVK platform. 

Why is it not possible to modify the hypervisor_memory parameter?

zhang_rui_0-1753327391215.pngzhang_rui_1-1753327422803.png


software version: real-time_edge_v3_1

imx-jailhouse version: lf-6.6.36-2.1.0

0 项奖励
回复

912 次查看
zhang_rui
Contributor II

The test device tree source files (DTS) are included as attachments.

0 项奖励
回复

888 次查看
joanxie
NXP TechSupport
NXP TechSupport

mail to you, pls check, sent to you a internal old test version, which couldn't be shared in the public community

0 项奖励
回复

816 次查看
zhang_rui
Contributor II

I have replied to the email, but have not received any response yet.

0 项奖励
回复

778 次查看
joanxie
NXP TechSupport
NXP TechSupport

sorry, internal team still under checking, any update, I will tell you

0 项奖励
回复