[bootlin/training-materials updates] master: labs/sysdev-u-boot-qemu: clarify instructions (7da7f3a6)

Michael Opdenacker michael.opdenacker at bootlin.com
Tue Jan 17 18:57:07 CET 2023


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/7da7f3a632aae2503bdcb19080070ef6bb7a6641

>---------------------------------------------------------------

commit 7da7f3a632aae2503bdcb19080070ef6bb7a6641
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Tue Jan 17 18:56:31 2023 +0100

    labs/sysdev-u-boot-qemu: clarify instructions
    
    To use the partitions in loop devices
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

7da7f3a632aae2503bdcb19080070ef6bb7a6641
 labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex b/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
index 4a39e544..0454cee0 100644
--- a/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
+++ b/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
@@ -160,6 +160,14 @@ to emulate block devices from this image and its partitions:
     and creates additional \code{/dev/loop<x>p<y>} block devices.
 \end{itemize}
 
+Also run \code{sudo dmesg} to confirm that 3 partitions were
+detected for the loop device selected by \code{losetup}:
+
+\begin{verbatim}
+[62778.965018] loop13: detected capacity change from 0 to 2097152
+[62778.966862]  loop13: p1 p2 p3
+\end{verbatim}
+
 Last but not least, format the first partition as FAT16 with
 a \code{boot} label:
 




More information about the training-materials-updates mailing list