From c6faa6cb7414cf8b21b792c2a5a846b251e8d20a Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Fri, 29 Nov 2024 13:35:11 +0100 Subject: [PATCH] labs: yocto: stm32: lab1: fix device in example We tell to umount mmcblk0p* so we should instruct to flash on mmcblk0. Signed-off-by: Antonin Godard --- labs/yocto-first-build-stm32/yocto-first-build-stm32.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labs/yocto-first-build-stm32/yocto-first-build-stm32.tex b/labs/yocto-first-build-stm32/yocto-first-build-stm32.tex index d959a1a82f..86453532cd 100644 --- a/labs/yocto-first-build-stm32/yocto-first-build-stm32.tex +++ b/labs/yocto-first-build-stm32/yocto-first-build-stm32.tex @@ -98,7 +98,7 @@ \section{Set up the SD card} Flash the SD card with that image: \begin{bashinput} umount /dev/mmcblk0p* -sudo dd if=../FlashLayout_sdcard_stm32mp157d-dk1-extensible.raw of=/dev/sdc bs=8M conv=fdatasync status=progress +sudo dd if=../FlashLayout_sdcard_stm32mp157d-dk1-extensible.raw of=/dev/mmcblk0 bs=8M conv=fdatasync status=progress \end{bashinput} \section{Setting up serial communication with the board}