Commit Graph

2 Commits

Author SHA1 Message Date
Jiyong Park ff3391e973 Enable verified boot for microdroid
Bug: 181923506
Test: atest MicrodroidHostTestCases
crosvm: U-Boot 2021.01-07985-g67ec634914 (Mar 25 2021 - 16:16:08 +0000)
crosvm:
crosvm: DRAM:  256 MiB
crosvm: Loading Environment from Raw Disk... OK
crosvm: Hit any key to stop autoboot:  0
crosvm: ## Android Verified Boot 2.0 version 1.1.0
crosvm: read_is_device_unlocked not supported yet
crosvm: read_rollback_index not supported yet
crosvm: read_rollback_index not supported yet
crosvm: read_rollback_index not supported yet
crosvm: read_is_device_unlocked not supported yet
crosvm: Verification passed successfully
crosvm: ANDROID: reboot reason: "(none)"

Change-Id: I6b0cca80d00351f6e0062541818971e761f1b67b
2021-04-14 16:48:27 +09:00
Jiyong Park 89e81cb889 Microdroid runs on cuttlefish_x86_64
This CL includes x86_64 specific changes that are required to run
microdroid on cuttlefish_x86_64.

1) Unsigned bootloader is used. (b/185115783)
2) androidboot.boot_devices is correctly set for the architecture
3) uboot-env.txt is customized to set loadaddr
4) MicrodroidTestCase is revised to handle the case when multiple
devices are connected.

Bug: 185115783
Bug: 185082754
Test: atest MicrodroidHostTests with aosp_cf_x86_64_phone

Change-Id: I1baebedd392f742f9a9cd064d63a8c3741e46daa
2021-04-14 01:01:18 +09:00