imx8qm jailhouse

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

imx8qm jailhouse

34,789 Views
Ahelion
Contributor IV

Hi all,

Is there any document showing all the steps to have a demo running on imx8qm mek board with jailhouse?

I was going over this: L5.4.70_2.3.3_LINUX_DOCS

but all I could find is a reference to device trees:

Hypervisor Jailhouse Enables the Jailhouse Hypervisor device trees.
• imx8qxp-mek-root.dtb: DTB for root-cell

I do not know what to do with this info. That is why I need a step by step instruction list.

Br, Mircea

 

Tags (1)
0 Kudos
Reply
15 Replies

2,039 Views
Shivu_Guru_24
Contributor I

hi @Ahelion

i am planning to use MCIMX8QM-CPU soc  i need to bringup freertos and Android on top on this do we need hypervisor here,

and also Jailhouse is already present in the latest version of android ?

0 Kudos
Reply

2,001 Views
Ahelion
Contributor IV
Waste of time. Nothing works out of the box on nxp imx8qm, at least not with the software provided by nxp. Android does not run in jailhouse, on imx95 they have a small android demo running in xen. freertos can run on the second core m3 core, you can flash the emmc with android and have it like that running. no hypervisor needed.
0 Kudos
Reply

34,769 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Which version BSP are you want to use?

0 Kudos
Reply

1,997 Views
Shivu_Guru_24
Contributor I

Hi @Rita_Wang 

I am using MCIMX8QM soc I need to run android and freertos on top of hypervisor.

Which hypervisor i can use ?

0 Kudos
Reply

34,765 Views
Ahelion
Contributor IV

L5.4.70_2.3.3, i was following this quide, so all bsp-s mentioned here I am using.

0 Kudos
Reply

34,762 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

OK, I will help confirm.

0 Kudos
Reply

34,678 Views
Ahelion
Contributor IV

any ideea? 

Found out that the latest linux kernel does support the lates XEN

How can I get Linux and Android running at the same time?

 

0 Kudos
Reply

34,658 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

Yes, the xen is supported on the i.MX8QM.

You can refer to the attach document.

Wish you have a nice day

Best Regards

Rita

0 Kudos
Reply

1,563 Views
Shivu_Guru_24
Contributor I

@Rita_Wang Xen willl support on latest kernal 6x?

0 Kudos
Reply

1,559 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi @Shivu_Guru_24 ,

Sorry for late reply. For the XEN the on latest kernal 6x do not support it.

If customer want to use, they can do porting themself. In our BSP 4.14.98 support it. Customer and refer it:

Embedded Linux for i.MX Applications Processors | NXP Semiconductors

 

图像.png

Hope this can do help for you

Wish you have a nice day

Best Regards

Rita

0 Kudos
Reply

1,549 Views
Shivu_Guru_24
Contributor I

@Rita_Wang i have one more we are buying MCIMX8QM soc 

i need to run android and freertos as guest which hypervisor support on this latest kernel?

jailhouse supports on latest kernel for my requirement 

0 Kudos
Reply

1,490 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi @Shivu_Guru_24 ,

Jailhouse is a Type 1 hypervisor for i.MX 8. Xen is not support in the latest version BSP.

Wish you have a nice day

Best Regards

Rita

0 Kudos
Reply

34,652 Views
Ahelion
Contributor IV
I can tell you right now, it is not supported. I could not get jailhouse or xen to work on imx8qm. Whatever documentation i find is referencing linux4.9, which can not be build anymore.
0 Kudos
Reply

34,156 Views
Jerry137207
Contributor I

Hi, Ahelion:

I'm interested in runing multiple OS based on jailhouse, but related information is lack. I've sucessfully run jailhouse test demo in Imx8qm mek board. If you would like share info each other, plz email me: 1372071341@qq.com.

0 Kudos
Reply

1,992 Views
Shivu_Guru_24
Contributor I

@Jerry137207 

Hi,

Are you running jailhouse on top of hw ?

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1816185%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1816185%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EIs%20there%20any%20document%20showing%20all%20the%20steps%20to%20have%20a%20demo%20running%20on%20imx8qm%20mek%20board%20with%20jailhouse%3F%3C%2FP%3E%3CP%3EI%20was%20going%20over%20this%3A%20L5.4.70_2.3.3_LINUX_DOCS%3C%2FP%3E%3CP%3Ebut%20all%20I%20could%20find%20is%20a%20reference%20to%20device%20trees%3A%3C%2FP%3E%3CP%3EHypervisor%20Jailhouse%20Enables%20the%20Jailhouse%20Hypervisor%20device%20trees.%3CBR%20%2F%3E%E2%80%A2%20imx8qxp-mek-root.dtb%3A%20DTB%20for%20root-cell%3C%2FP%3E%3CP%3EI%20do%20not%20know%20what%20to%20do%20with%20this%20info.%20That%20is%20why%20I%20need%20a%20step%20by%20step%20instruction%20list.%3C%2FP%3E%3CP%3EBr%2C%20Mircea%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2326076%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2326076%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F223593%22%20target%3D%22_blank%22%3E%40Jerry137207%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EAre%20you%20running%20jailhouse%20on%20top%20of%20hw%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2326070%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2326070%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57740%22%20target%3D%22_blank%22%3E%40Rita_Wang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20MCIMX8QM%20soc%20I%20need%20to%20run%20android%20and%20freertos%20on%20top%20of%20hypervisor.%3C%2FP%3E%3CP%3EWhich%20hypervisor%20i%20can%20use%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2326003%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2326003%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EWaste%20of%20time.%20Nothing%20works%20out%20of%20the%20box%20on%20nxp%20imx8qm%2C%20at%20least%20not%20with%20the%20software%20provided%20by%20nxp.%20Android%20does%20not%20run%20in%20jailhouse%2C%20on%20imx95%20they%20have%20a%20small%20android%20demo%20running%20in%20xen.%20freertos%20can%20run%20on%20the%20second%20core%20m3%20core%2C%20you%20can%20flash%20the%20emmc%20with%20android%20and%20have%20it%20like%20that%20running.%20no%20hypervisor%20needed.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2325687%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2325687%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F225423%22%20target%3D%22_blank%22%3E%40Ahelion%3C%2FA%3E%3C%2FP%3E%3CP%3Ei%20am%20planning%20to%20use%26nbsp%3B%3CSTRONG%3EMCIMX8QM-CPU%20%3C%2FSTRONG%3Esoc%26nbsp%3B%20i%20need%20to%20bringup%20freertos%20and%20Android%20on%20top%20on%20this%20do%20we%20need%20hypervisor%20here%2C%3C%2FP%3E%3CP%3Eand%20also%20%3CSTRONG%3EJailhouse%20is%3C%2FSTRONG%3E%26nbsp%3Balready%20present%20in%20the%20latest%20version%20of%20android%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1861271%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1861271%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20Ahelion%3A%3C%2FP%3E%3CP%3EI'm%20interested%20in%20runing%20multiple%20OS%20based%20on%20jailhouse%2C%20but%20related%20information%20is%20lack.%20I've%20sucessfully%20run%20jailhouse%20test%20demo%20in%20Imx8qm%20mek%20board.%20If%20you%20would%20like%20share%20info%20each%20other%2C%20plz%20email%20me%3A%201372071341%40qq.com.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1825137%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1825137%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EI%20can%20tell%20you%20right%20now%2C%20it%20is%20not%20supported.%20I%20could%20not%20get%20jailhouse%20or%20xen%20to%20work%20on%20imx8qm.%20Whatever%20documentation%20i%20find%20is%20referencing%20linux4.9%2C%20which%20can%20not%20be%20build%20anymore.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1825130%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1825130%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EYes%2C%20the%20xen%20is%20supported%20on%20the%20i.MX8QM.%3C%2FP%3E%0A%3CP%3EYou%20can%20refer%20to%20the%20attach%20document.%3C%2FP%3E%0A%3CP%3EWish%20you%20have%20a%20nice%20day%3C%2FP%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3ERita%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1824117%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1824117%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Eany%20ideea%3F%26nbsp%3B%3C%2FP%3E%3CP%3EFound%20out%20that%20the%20latest%20linux%20kernel%20does%20support%20the%20lates%20XEN%3C%2FP%3E%3CP%3EHow%20can%20I%20get%20Linux%20and%20Android%20running%20at%20the%20same%20time%3F%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1819428%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1819428%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EOK%2C%20I%20will%20help%20confirm.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1819291%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1819291%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EL5.4.70_2.3.3%2C%20i%20was%20following%20this%20quide%2C%20so%20all%20bsp-s%20mentioned%20here%20I%20am%20using.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1819245%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1819245%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWhich%20version%20BSP%20are%20you%20want%20to%20use%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2330480%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2330480%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57740%22%20target%3D%22_blank%22%3E%40Rita_Wang%3C%2FA%3E%26nbsp%3BXen%20willl%20support%20on%20latest%20kernal%206x%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2330554%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2330554%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57740%22%20target%3D%22_blank%22%3E%40Rita_Wang%3C%2FA%3E%26nbsp%3Bi%20have%20one%20more%20we%20are%20buying%20MCIMX8QM%20soc%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20need%20to%20run%20android%20and%20freertos%20as%20guest%20which%20hypervisor%20support%20on%20this%20latest%20kernel%3F%3C%2FP%3E%3CP%3Ejailhouse%20supports%20on%20latest%20kernel%20for%20my%20requirement%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2330504%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2330504%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F260363%22%20target%3D%22_blank%22%3E%40Shivu_Guru_24%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3ESorry%20for%20late%20reply.%20For%20the%20XEN%20the%26nbsp%3Bon%20latest%20kernal%206x%20do%20not%20support%20it.%3C%2FP%3E%0A%3CP%3EIf%20customer%20want%20to%20use%2C%20they%20can%20do%20porting%20themself.%20In%20our%20BSP%26nbsp%3B%3CSPAN%20data-teams%3D%22true%22%3E4.14.98%20support%20it.%20Customer%20and%20refer%20it%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-teams%3D%22true%22%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fembedded-software%2Fi-mx-software%2Fembedded-linux-for-i-mx-applications-processors%3AIMXLINUX%3Ftab%3DDesign_Tools_Tab%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EEmbedded%20Linux%20for%20i.MX%20Applications%20Processors%20%7C%20NXP%20Semiconductors%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorRita_Wang_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22%E5%9B%BE%E5%83%8F.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22%E5%9B%BE%E5%83%8F.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22%E5%9B%BE%E5%83%8F.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F378953i5960995A32F1E4B2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22%E5%9B%BE%E5%83%8F.png%22%20alt%3D%22%E5%9B%BE%E5%83%8F.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EHope%20this%20can%20do%20help%20for%20you%3C%2FP%3E%0A%3CP%3EWish%20you%20have%20a%20nice%20day%3C%2FP%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3ERita%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2331123%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8qm%20jailhouse%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2331123%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F260363%22%20target%3D%22_blank%22%3E%40Shivu_Guru_24%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EJailhouse%20is%20a%20Type%201%20hypervisor%20for%20i.MX%208.%20Xen%20is%20not%20support%20in%20the%20latest%20version%20BSP.%3C%2FP%3E%0A%3CP%3EWish%20you%20have%20a%20nice%20day%3C%2FP%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3ERita%3C%2FP%3E%3C%2FLINGO-BODY%3E