Skip to content

Commit

Permalink
yocto-first-build-stm32: update paths
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
  • Loading branch information
alexandrebelloni committed Dec 14, 2021
1 parent 2468c9f commit 940bc0d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions labs/yocto-first-build-stm32/yocto-first-build-stm32.tex
Expand Up @@ -35,7 +35,8 @@ \section{Download Yocto}
\begin{verbatim}
git clone -b dunfell https://git.openembedded.org/meta-openembedded
git clone https://github.com/STMicroelectronics/meta-st-stm32mp
git checkout -b dunfell a95cc1ec39b60a1dc50d0902c91675935959e6d2
cd meta-st-stm32mp
git checkout a95cc1ec39b60a1dc50d0902c91675935959e6d2
\end{verbatim}
\section{Set up the build environment}
Expand Down Expand Up @@ -81,13 +82,13 @@ \section{Set up the SD card}
Execute it:
\begin{verbatim}
sudo ./create_sdcard_from_flashlayout.sh \
../flashlayout_core-image-minimal/trusted/FlashLayout_sdcard_stm32mp157d-dk1-basic.tsv
../flashlayout_core-image-minimal/trusted/FlashLayout_sdcard_stm32mp157d-dk1-trusted.tsv
\end{verbatim}
Flash the SD card with that image:
\begin{verbatim}
umount /dev/mmcblk0p*
sudo dd if=../flashlayout_core-image-minimal_FlashLayout_sdcard_stm32mp157d-dk1-basic.raw \
sudo dd if=../FlashLayout_sdcard_stm32mp157d-dk1-trusted.raw \
of=/dev/mmcblk0 bs=8M conv=fdatasync status=progress
\end{verbatim}
Expand Down

0 comments on commit 940bc0d

Please sign in to comment.