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

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

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

914 Views
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 Kudos
Reply
5 Replies

814 Views
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 Kudos
Reply

911 Views
zhang_rui
Contributor II

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

0 Kudos
Reply

887 Views
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 Kudos
Reply

815 Views
zhang_rui
Contributor II

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

0 Kudos
Reply

777 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply