[PATCH v3 1/4] imxrt1050-evk: README: change dd command destination

Giulio Benetti giulio.benetti at benettiengineering.com
Mon Apr 27 17:53:03 CEST 2020

Set dd "of=" to "of=/dev/sdX" to be generic and prevent host hard drive

Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
* change /dev/sdb to /dev/sdX as suggested by Fabio
 board/freescale/imxrt1050-evk/README | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/freescale/imxrt1050-evk/README b/board/freescale/imxrt1050-evk/README
index f7e2894025..a7e68fa9b3 100644
--- a/board/freescale/imxrt1050-evk/README
+++ b/board/freescale/imxrt1050-evk/README
@@ -11,11 +11,11 @@ This will generate the SPL image called SPL and the u-boot.img.
 - Flash the SPL image into the micro SD card:
-sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
+sudo dd if=SPL of=/dev/sdX bs=1k seek=1; sync
 - Flash the u-boot.img image into the micro SD card:
-sudo dd if=u-boot.img of=/dev/sdb bs=1k seek=128; sync
+sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128; sync
 - Jumper settings:

More information about the U-Boot mailing list