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 | ff3391e | 2021-04-14 16:45:16 +0900 | [diff] [blame] | 4 | bootcmd=avb init virtio 0 && avb verify _a && boot_android virtio 0#misc |
Jiyong Park | 89e81cb | 2021-04-13 13:13:55 +0900 | [diff] [blame] | 5 | |
| 6 | bootdelay=0 |
| 7 | |
| 8 | # U-Boot in x86_64 by defaults loads kernel at 0x20000000 (512MB), which is |
| 9 | # out of the physical memory when the VM is launched with the default memory |
| 10 | # size of 256MB. To avoid that, explicitly set the kernel load addresss using |
| 11 | # loadaddr variable. |
| 12 | loadaddr=0x02000000 |
| 13 | fdtaddr=0x40000000 |