Good morning,
I need Android Auto as a 2nd OS with XEN, om imx8qm-mek, but I am not able to run it.
Below I make a list of the steps that I followed; probably someone is not correct or missing.
I have used Yocto Zeus 5.4.47 for creating the 1st domain, the correspondent should be Android Auto 11.0.0-1.1.0 (same kernel version).
Xen seems to be working ok with 2 Linux OS
In contrast, while trying Android as a 2nd OS, I cannot see nothing and I am not able to switch to user DomU console.
In this case, "xl list" shows anyway 2 domains: the first one and the user DomU.
Following the IMXVIRTUG_pdf guide, that make an example with prebuilt images (Android 9), I followed these steps for building my proper images:
.1. Burned the wic image in the sdcard; the wic image had been created wth Yocto Zeus 4.14.47.
(created adding : < DISTRO_FEATURES_append = " xen" > in conf/local.conf )
.2. Build Android images, starting from Android Auto 11.0.0-1.1.0, while selecting "mek_8q_car2-userdebug" in the launch menu.
As far as I understood, mek_8q_car2-userdebug should be the right choice for creating a 2nd OS to be used with Xen.
.3. Use UUU to burn images from the Android images into the board’s eMMC , with:
"sudo ./uuu_imx_android_flash.sh -f imx8qm -d xen" .
(by the way, Android auto 11 doesn't need to be patched with 0001-MLK-21443-dmaengine-fsl-edma-v3-clear-pending-irq-be.patch and 0001-MLK-21445-serial-fsl_lpuart-do-HW-reset-for-communic.patch, mentioned in the pdf document).
.4. Copy the spl-imx8qm-xen.bin file, created from Android building, into the SD card’s FAT partition (partition 1).
.5 Burn the u-boot-imx8qm-xen-dom0.imx in the non partitioned part of the sdcard, with the command:
"sudo dd if=u-boot-imx8qm-xen-dom0.imx of=/dev/mmcblk0 seek=32 bs=1k && sync".
.6. At this point, while booting the board from sdcard, I stop it soon, entering in U-Boot console and I execute:
. setenv domu-android-auto yes
. saveenv
. run xenmmcboot
.7 When finished, I try to craete the 2nd domain:
xl create /etc/xen/domu-imx8qm-mek-androidauto.cfg , with the configuration already present.
.8 At this point , running xl list, I see the 2 Domains.
Anyway, I cannot see nothing on the ldvs channel 0 (no signal) and if I try to switch to secondary domain console, I get stuck.
Executing: "xl console DomU " , then I get stuck.
So, what is wrong or missing in the above procedure?
Regards