Skip to contentSkip to conversation

colibri_imx6: use UUID for rootfs

PATCH New Igor Opaniuk 2 participants 2 messages Apr 15, 2019 – Apr 26, 2019 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 colibri_imx6: use UUID for rootfs

1. Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel.
2. Fix legacy USB command (both sdboot and usbboot can be used now).

---

v2:
- Fix alphabetic order in uboot env defines
- Add Marcel's R-b tag
- Add details about usbboot command fix to the commit message

 configs/colibri_imx6_defconfig |  1 +
 include/configs/colibri_imx6.h | 58 +++++++++++++++++++++++-----------
 2 files changed, 40 insertions(+), 19 deletions(-)
configs/colibri_imx6_defconfig +1 -0
index bf05c68807..083588e02d 100644
@@ -40,6 +40,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_UUID=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_USB_SDP=y
 CONFIG_CMD_USB_MASS_STORAGE=y
include/configs/colibri_imx6.h +39 -19

88 lines not on this page · raw message

Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 1/1 colibri_imx6: use UUID for rootfs

Quoted 6 lines

1. Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel.
2. Fix legacy USB command (both sdboot and usbboot can be used now).

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================