... to make it easier to read and add new checks
Also made a change that json files have absolute path to the image files
so that we don't need to copy the files to the test root directory.
Bug: N/A
Test: atest MicrodroidHostTestCases
Change-Id: I7803be1ec6ec6fa68723a230aee2251f27a8a7b5
u-boot is updated to look for the environment partition in the second
disk.
Bug: 183006588
Test: atest MicrodroidHostTestCases
Change-Id: I2e716bb85d4762f700ea7479c68ffbcfd150857c
All files to run microdroid is now included to the com.android.virt
APEX:
- super image
- boot images
- vbmeta images
- bootloader
- uboot_env image
- cdisk json config
Also the documentation README.md and microdroid host tests are updated
too.
Bug: 184803590
Test: follow instructions on README.md
Test: atest MicrodroidHostTestCases
Change-Id: I71f0e32ca774b351d9f49af2754f0a1c786c2400
mk_cdisk is a tool to create a composite disk image. It can be used to
create other kinds of composite disks as well as os_composite.os which
was created by assemble_cvd before.
For example, if we want to pass host apexes to microdroid we can pass
them via a composite disk referencing host apex files.
Bug: 181093750
Test: running microdroid VM following updated microdroid/README.md
TEst: MicrodroidTestCase
Change-Id: Ief6468564da9eb78c6729ae64a218811919b3ae0