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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

905件の閲覧回数
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 返答(返信)

805件の閲覧回数
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 件の賞賛
返信

902件の閲覧回数
zhang_rui
Contributor II

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

0 件の賞賛
返信

878件の閲覧回数
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 件の賞賛
返信

806件の閲覧回数
zhang_rui
Contributor II

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

0 件の賞賛
返信

768件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信