Use devnum#partname format instead of the part number

The first and the second parameters of the `boot_android` command are
dev_iface and dev_part_str. The former selects the device interface like
`virtio` and the latter selects a specific partition. The format for the
latter is devnum#partname. ex) 0#misc. When the second parameter is not
given, u-boot falls back to read the environment variable `bootdevice`,
whose format is `devnum:partnum`.

For microdroid (and cuttlefish as well), we have been relying on the
fallback behavior. With this change, we stop doing that. The second
parameter is correctly set to "0#misc" and the variable `bootdevice`
is dropped.

Bug: 181635258
Test: microdroid boots

Change-Id: Ib572d0149765ee93d780837216e6a1c8eafaad03
1 file changed
tree: 77099e344b3725a71a45bec916dddf537fedba83
  1. apex/
  2. authfs/
  3. docs/
  4. microdroid/
  5. tests/
  6. virtmanager/
  7. .clang-format
  8. PREUPLOAD.cfg