[U-Boot] [PATCH v2] pico-imx6ul, pico-imx7d: Explain how to use eMMC user partition

Otavio Salvador otavio at ossystems.com.br
Fri Mar 22 17:53:30 UTC 2019


The default U-Boot environment expects the use of eMMC user
partition. To ensure we are using the proper eMMC partition for boot
we need to run the `mmc partconf` command.

This patch updates the README instructions to avoid users to follow
misleading instructions.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

Changes in v2:
- fix typo

 board/technexion/pico-imx6ul/README | 9 ++++++++-
 board/technexion/pico-imx7d/README  | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/board/technexion/pico-imx6ul/README b/board/technexion/pico-imx6ul/README
index bb8ee3f463..cbcb480ba1 100644
--- a/board/technexion/pico-imx6ul/README
+++ b/board/technexion/pico-imx6ul/README
@@ -50,7 +50,14 @@ Use the default environment variables:
 
 2. Flashing U-Boot into the eMMC
 
-Run the DFU agent so we can flash the new images using dfu-util tool:
+The  default  U-Boot   environment  expects  the  use   of  eMMC  user
+partition. To ensure we are using  the proper eMMC partition for boot,
+please run:
+
+=> mmc partconf 0 0 0 0
+
+Next, run the DFU agent so we can flash the new images using dfu-util
+tool:
 
 => dfu 0 mmc 0
 
diff --git a/board/technexion/pico-imx7d/README b/board/technexion/pico-imx7d/README
index 24eb97e82c..5c0f212de2 100644
--- a/board/technexion/pico-imx7d/README
+++ b/board/technexion/pico-imx7d/README
@@ -47,7 +47,14 @@ Use the default environment variables:
 
 2. Flashing U-Boot into the eMMC
 
-Run the DFU agent so we can flash the new images using dfu-util tool:
+The  default  U-Boot   environment  expects  the  use   of  eMMC  user
+partition. To ensure we are using  the proper eMMC partition for boot,
+please run:
+
+=> mmc partconf 0 0 0 0
+
+Next, run the DFU agent so we can flash the new images using dfu-util
+tool:
 
 => dfu 0 mmc 0
 
-- 
2.21.0



More information about the U-Boot mailing list