16 lines
588 B
Plaintext
16 lines
588 B
Plaintext
# Static u-boot environment variables for microdroid. See b/180481192
|
|
|
|
# Boot the device following the Android boot procedure
|
|
# `0` is the disk number of os_composite.img
|
|
# `a` and `_a` are the slot index for A/B
|
|
bootcmd=avb init virtio 0 && avb verify _a && boot_android virtio 0 a
|
|
|
|
bootdelay=0
|
|
|
|
# U-Boot in x86_64 by defaults loads kernel at 0x20000000 (512MB), which is
|
|
# out of the physical memory when the VM is launched with the default memory
|
|
# size of 256MB. To avoid that, explicitly set the kernel load addresss using
|
|
# loadaddr variable.
|
|
loadaddr=0x02000000
|
|
fdtaddr=0x40000000
|