imx6: bootscript: use partition UUID for rootfs if possible
authorTim Harvey <tharvey@gateworks.com>
Wed, 1 Apr 2020 17:23:12 +0000 (10:23 -0700)
committerPetr Štetiar <ynezz@true.cz>
Fri, 3 Apr 2020 10:17:45 +0000 (12:17 +0200)
commitff6b092121ba96745553584f5a5b0897805edfc6
tree1ca056a6965c210d66e4d02e9bcfad46607a831d
parent4298339b238ae9be0692e800042cc25a61f87fad
imx6: bootscript: use partition UUID for rootfs if possible

Specifying root filesystem by device is non-deterministic for several
reasons:
 - USB device unmeration order is not garunteeed for USB storage devs
 - MMC devs ordering is determined by the instance of the MMC host
   controller including non-storage SDIO devices which can throw off
   numbering depending on kernel versions.

It is recommended to use partition UUID

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
target/linux/imx6/image/bootscript-ventana