[bootlin/training-materials updates] master: labs/sysdev-u-boot-stm32: add details about the use of "parted" (d82a122b)
Michael Opdenacker
michael.opdenacker at bootlin.com
Tue Mar 28 18:44:24 CEST 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/d82a122b65ed36d73b93235d641c3215b9454de3
>---------------------------------------------------------------
commit d82a122b65ed36d73b93235d641c3215b9454de3
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Tue Mar 28 18:44:24 2023 +0200
labs/sysdev-u-boot-stm32: add details about the use of "parted"
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
d82a122b65ed36d73b93235d641c3215b9454de3
labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex b/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex
index 5786ce26..260044b6 100644
--- a/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex
+++ b/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex
@@ -314,6 +314,12 @@ Once done, quit:
(parted) quit
\end{verbatim}
+{\em Note: \code{parted} is definitely not very user friendly compared
+to other tools to manipulate partitions (such as \code{cfdisk}), but
+that's the only tool which supports assigning names to GPT partitions.
+In your projects, you could use \code{gparted}, which is a more
+friendly graphical front-end on top of \code{parted}.}
+
Now, format the boot partition as an ext4 filesystem. This is where
U-Boot saves its environment:
\bashcmd{$ sudo mkfs.ext4 -L boot -O ^metadata_csum /dev/mmcblk0p4}
More information about the training-materials-updates
mailing list