Android on ACRN on QEMU


Kishore Kanala
 

Hi,

     We are looking for a platform to develop our applications (and native services) on Android that involve inter VM communication.
     This has to be on emulator (QEMU).
     Has anyone got Android up on ACRN on QEMU? If yes, can you please direct me to procedure?
     Thanks!

Regards,
Kishore


Zou, Terry
 

Hi Kishore, do you mean enable ACRN over QEMU, then launch an AaaG (Android as a Guest) in ACRN right.

So for first step, there is guide doc of 'Enable ACRN over QEMU/KVM': https://projectacrn.github.io/latest/tutorials/acrn_on_qemu.html. but be aware, we only verified on KabyLake and Skylake platform (prefer to KBL NUC), and known issue on TGL (6256 - [TGL][qemu] Cannot launch qemu on TGL), that we are still working on the fix.

Secondly, for AaaG launch, actually it was legacy feature on ACRN 1.0 SDC (software-defined cockpit), we did not test with latest ACRN release for sometimes. so issue maybe expected, but encourage you to try and just let us know the specific failure step and see if we can help, thanks.

Best & Regards
Terry


Kishore Kanala
 

Hi Terry,

    Thanks for response.

    >do you mean enable ACRN over QEMU, then launch an AaaG (Android as a Guest) in ACRN right.
     Yes.

      I have setup SoS and UoS based on guide https://projectacrn.github.io/latest/tutorials/acrn_on_qemu.html
      Can you please help me with the guide that is used for AaaG that was used with ACRN 1.0 SDC? I will try and let you know if I face any issue.

Regards,
Kishore

On Thu, Jul 1, 2021 at 6:49 PM Zou, Terry <terry.zou@...> wrote:
Hi Kishore, do you mean enable ACRN over QEMU, then launch an AaaG (Android as a Guest) in ACRN right.

So for first step, there is guide doc of 'Enable ACRN over QEMU/KVM': https://projectacrn.github.io/latest/tutorials/acrn_on_qemu.html. but be aware, we only verified on KabyLake and Skylake platform (prefer to KBL NUC), and known issue on TGL (6256 - [TGL][qemu] Cannot launch qemu on TGL), that we are still working on the fix.

Secondly, for AaaG launch, actually it was legacy feature on ACRN 1.0 SDC (software-defined cockpit), we did not test with latest ACRN release for sometimes. so issue maybe expected, but encourage you to try and just let us know the specific failure step and see if we can help, thanks.

Best & Regards
Terry


Zou, Terry
 

Good to see you already enabled ACRN over QEMU : ).
Yes, it is not easy to find AaaG guide doc in ACRN home page now, you know we retired some old doc during homepage refresh. I need to check if we have any archive doc to help you. Stay tuned and back to you later.


Kinder, David B
 

All the ACRN release documentation are archived and available online.  If you click on the version selector icon (where it says v:latest under the search box in the left navigation pane, you can then click on any of the listed versions (such as 1.0) and get to the v1.0 ACRN documentation.  (You can also manually enter the URL for the version of ACRN documentation, for example for v1.0: https://projectacrn.github.io/1.0/  or for v1.5: https://projectacrn.github.io/1.5/   

 

I do see this Celadon document in the v1.5 archive that might be relevant, but maybe Terry has a specific document in mind: Using Celadon as the User OS — Project ACRN™ v 1.6-unstable documentation

 

-- david

 

 

From: acrn-users@... <acrn-users@...> On Behalf Of Zou, Terry
Sent: Friday, July 2, 2021 6:54 PM
To: acrn-users@...
Subject: Re: [acrn-users] Android on ACRN on QEMU

 

Good to see you already enabled ACRN over QEMU : ).
Yes, it is not easy to find AaaG guide doc in ACRN home page now, you know we retired some old doc during homepage refresh. I need to check if we have any archive doc to help you. Stay tuned and back to you later.


Zou, Terry
 

Thanks David, 'Using Celadon as UOS' is the right AaaG doc in my mind :)  https://projectacrn.github.io/1.5/tutorials/using_celadon_as_uos.html

Best & Regards
Terry


Kishore Kanala
 

Thanks David and Terry.
It will be very helpful if doc was available for AaaG on ACRN on QEMU. Is it possible for someone to help me with this?

On Sat, Jul 3, 2021 at 7:51 AM Zou, Terry <terry.zou@...> wrote:
Thanks David, 'Using Celadon as UOS' is the right AaaG doc in my mind :)  https://projectacrn.github.io/1.5/tutorials/using_celadon_as_uos.html

Best & Regards
Terry


Kishore Kanala
 

Hi,

    Did anyone try AaaG on ACRN on QEMU? We are in bad need of this. 

Regards,
Kishore

On Sat, Jul 3, 2021, 19:49 Kishore Kanala via lists.projectacrn.org <kishorekanala=gmail.com@...> wrote:
Thanks David and Terry.
It will be very helpful if doc was available for AaaG on ACRN on QEMU. Is it possible for someone to help me with this?

On Sat, Jul 3, 2021 at 7:51 AM Zou, Terry <terry.zou@...> wrote:
Thanks David, 'Using Celadon as UOS' is the right AaaG doc in my mind :)  https://projectacrn.github.io/1.5/tutorials/using_celadon_as_uos.html

Best & Regards
Terry


Zou, Terry
 

Hi Kishore, ‘AaaG on ACRN on QEMU’, do you mean first run ACRN on QEMU/KVM, then launch AaaG/celadon on ACRN right.

Actually there maybe some version mis-match in this scenario, especially for AaaG/Celedon, we only verified with ACRN 1.0/5,  and QEMU/KVM was started with ACRN 2.0.

 

You can find reference documents below, you may find some bugs (report git-issue please) if you try with legacy/latest release, especially for Celedon, there is not much effort/support in ACRN now.

 

1.       Run ACRN on QEMU/KVM : https://projectacrn.github.io/2.0/tutorials/acrn_on_qemu.html?highlight=qemu

2.       Launch AaaG/Celedon on ACRN:  https://projectacrn.github.io/1.5/tutorials/using_celadon_as_uos.html

 

Best & Regards

Terry

 

From: acrn-users@... <acrn-users@...> On Behalf Of Kishore Kanala
Sent: Tuesday, July 27, 2021 7:57 PM
To: acrn-users@...
Subject: Re: [acrn-users] Android on ACRN on QEMU

 

Hi,

 

    Did anyone try AaaG on ACRN on QEMU? We are in bad need of this. 

 

Regards,

Kishore

 

On Sat, Jul 3, 2021, 19:49 Kishore Kanala via lists.projectacrn.org <kishorekanala=gmail.com@...> wrote:

Thanks David and Terry.

It will be very helpful if doc was available for AaaG on ACRN on QEMU. Is it possible for someone to help me with this?

 

On Sat, Jul 3, 2021 at 7:51 AM Zou, Terry <terry.zou@...> wrote:

Thanks David, 'Using Celadon as UOS' is the right AaaG doc in my mind :)  https://projectacrn.github.io/1.5/tutorials/using_celadon_as_uos.html

Best & Regards
Terry