[bootlin/training-materials updates] master: debugging: labs: add # characters for root command in kexec lab (508d49d7)

Clément Léger clement.leger at bootlin.com
Mon Nov 28 10:56:28 CET 2022

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


commit 508d49d7785edf3f7074d1ba8091232506fcff11
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Mon Nov 28 10:56:28 2022 +0100

    debugging: labs: add # characters for root command in kexec lab
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


 labs/debugging-kernel-debugging/debugging-kernel-debugging.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex b/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
index 9a743cf7..794d53b5 100644
--- a/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
+++ b/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
@@ -300,7 +300,7 @@ booted on crash. In order to do that, we will need to mount the sdcard boot
 partition that contains the zImage and dtb:
-mount -t ext4 /dev/mmcblk0p4 /mnt/
+# mount -t ext4 /dev/mmcblk0p4 /mnt/
 Note: normally, one would recompile a custom slim kernel to be as lightweight
@@ -311,7 +311,7 @@ To load the crash kernel into the previously reserved memory zone, run the
 following command:
-$ kexec --type zImage -p /mnt/boot/zImage --dtb=/mnt/boot/stm32mp157a-dk1.dtb
+# kexec --type zImage -p /mnt/boot/zImage --dtb=/mnt/boot/stm32mp157a-dk1.dtb
   --command-line="root=/dev/nfs ip=
   nfsroot=,nfsvers=3,tcp rw console=ttySTM0
   maxcpus=1 reset_devices"

More information about the training-materials-updates mailing list