Android Automotive OS 12.0.0_2.1.0 CAR2 XEN Support

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

Android Automotive OS 12.0.0_2.1.0 CAR2 XEN Support

361 Views
efecancebel
Contributor IV

Hello,

I compiled Android Automotive OS 12.0.0_2.1.0 for iMX8QM.

I used "mek_8q_car2" as product name in compilation.(lunch mek_8q_car2-userdebug)

Compilation completed successfully and all ".img"s are created.

I want to run Android Automotive OS 12.0.0_2.1.0 CAR2 on XEN hypervisor.

Compiling Android Automotive OS 12.0.0_2.1.0 CAR2 created all XEN related files.

I tried to restore my Yocto image and Android Automotive OS 12.0.0_2.1.0 CAR2 on XEN by following the steps below.

1) I formatted my 32 GB SD card with fat16 label=boot configuration.
2) I started to write my image with the command "sudo ./uuu_imx_android_flash.sh -f imx8qm -u xen -d xen -e -y imx-image-full.wic".
3) The writing process is complete and I put my board's boot switches into SD card mode.
4) I powered up the Board and ran "run xenmmcboot" on the U-Boot but got an "unknown command" error.

I have a few questions regarding this subject.

Android Automotive OS 12.0.0_2.1.0 CAR2 does not support XEN?

If there is XEN support, how will I integrate it and what procedure will I follow?

Could you please help me with this problem?

Best regards,
Efecan

0 Kudos
2 Replies

347 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

androidboot.xen_boot it is used to configure which environment automotive works at, normal environment or Xen environment,

Normal environment:
androidboot.xen_boot=default

Xen environment:
androidboot.xen_boot=xen

 

Regards

0 Kudos

335 Views
efecancebel
Contributor IV

Hello @Bio_TICFSL,

I added the "BOARD_KERNEL_CMDLINE += androidboot.xen_boot=xen" parameter to the "BoardConfig.mk" file located in the "imx-automotive-12.0.0_2.1.0/android_build/device/nxp/imx8q/mek_8q" directory and got the build again.

However, there was no change.

I still get "unknown command" error when I run "run xenmmcboot" on U-Boot.

What else should I do to integrate XEN in Android Automotive OS 12.0.0_2.1.0?

Best regards,

Efecan

0 Kudos