[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>


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

508d49d7785edf3f7074d1ba8091232506fcff11
 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:
 
 \begin{bashinput}
-mount -t ext4 /dev/mmcblk0p4 /mnt/
+# mount -t ext4 /dev/mmcblk0p4 /mnt/
 \end{bashinput}
 
 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:
 
 \begin{bashinput}
-$ 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=192.168.0.100:::::eth0
   nfsroot=192.168.0.1:/srv/nfs/stm32_debug,nfsvers=3,tcp rw console=ttySTM0
   maxcpus=1 reset_devices"




More information about the training-materials-updates mailing list