SK-AM62B-P1: Running Android as inmate cell using Jailhouse Hypervisor.

Part Number: SK-AM62B-P1
Other Parts Discussed in Thread: AM62P

Tool/software:

Hello,

I am working on a project where I want to run Android OS in an inmate cell using the Jailhouse hypervisor. I am currently using the TI AM62B-P1  platform, which supports Jailhouse. I have successfully set up the root cell with a Linux OS, but I'm wondering if anyone has experience or can provide guidance on configuring an inmate cell for Android OS.

Some specific points I am curious about:

  1. How to allocate necessary resources like CPU, memory, and peripherals for Android?
  2. Are there any changes needed in the Device Tree or Jailhouse configuration files for Android?
  3. Has anyone successfully booted Android in a Jailhouse inmate cell, and if so, what steps or modifications were required?
  4. Any potential challenges or limitations I should be aware of?

Any pointers or references to similar work would be greatly appreciated!

Thanks,
Vasavi

  • Hello Vasavi,

    The team member who covers Jailhouse is unavailable for the rest of September. For now I am going to send your thread to the Android guy to see if they have any input.

    Regards,

    Nick

  • Hello,

    unfortunetly we never try to do this , i don't have any input for helping you.

    Regards
    Guillaume

  • As Guillaume stated this hasn't been tried yet.

    I think generally since you have Linux running in an inmate, you should be able to run Android as well.

    Some things that come to mind however...

    • The point of running Android is usually for its' graphical interface / UX. For this, you will need to statically allocate the GPU and DSS to the inmate OS, that means this capability will not be available to the root cell
    • Android UX performance isn't all that great/fast on a regular AM62, so I expect this to be even more so if you only dedicated a part of the SOC resources to Android. You should consider other more powerful platforms such as AM62P (for which we also offer a Jailhouse demo as part of the SDK) if you want to try running Android in such a hypervisor setup
    • Yes you'll need to update config files and DTS files appropriately for the desired resource partitioning specifically around GPU/DSS. But since this hasn't been tried here I don't have any specific guidance at this time.

    Regards, Andreas