Jiyong Park | 89e81cb | 2021-04-13 13:13:55 +0900 | [diff] [blame] | 1 | # Static u-boot environment variables for microdroid. See b/180481192 |
| 2 | |
| 3 | # Boot the device following the Android boot procedure |
Jiyong Park | f6503cf | 2021-06-16 18:36:18 +0900 | [diff] [blame] | 4 | # `0` is the disk number of os_composite.img |
| 5 | # `a` and `_a` are the slot index for A/B |
Jiyong Park | 855e6f9 | 2021-09-04 01:45:22 +0900 | [diff] [blame] | 6 | bootcmd=verified_boot_android virtio 0 a |
Jiyong Park | 89e81cb | 2021-04-13 13:13:55 +0900 | [diff] [blame] | 7 | |
| 8 | bootdelay=0 |
| 9 | |
| 10 | # U-Boot in x86_64 by defaults loads kernel at 0x20000000 (512MB), which is |
| 11 | # out of the physical memory when the VM is launched with the default memory |
| 12 | # size of 256MB. To avoid that, explicitly set the kernel load addresss using |
| 13 | # loadaddr variable. |
| 14 | loadaddr=0x02000000 |
| 15 | fdtaddr=0x40000000 |
Jiyong Park | 1096ef8 | 2022-01-06 14:31:22 +0900 | [diff] [blame] | 16 | |
| 17 | # Microdroid doesn't use keymint yet |
| 18 | android_keymint_needed=N |