[bootlin/training-materials updates] master: Kernel debugging: improve instructions (d07b404a)

Michael Opdenacker michael.opdenacker at bootlin.com
Tue Sep 17 09:16:08 CEST 2019


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

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

commit d07b404a6684a09cd9e67af3a65b6fc753bf2e2e
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Fri Sep 13 17:13:42 2019 +0200

    Kernel debugging: improve instructions
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

d07b404a6684a09cd9e67af3a65b6fc753bf2e2e
 labs/kernel-debugging/kernel-debugging.tex | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/labs/kernel-debugging/kernel-debugging.tex b/labs/kernel-debugging/kernel-debugging.tex
index 5f6404b8..d999bb21 100644
--- a/labs/kernel-debugging/kernel-debugging.tex
+++ b/labs/kernel-debugging/kernel-debugging.tex
@@ -27,7 +27,11 @@ Now, recompile your kernel with the following options:
   it now will allow to avoid recompiling the whole kernel again.
 \end{itemize}
 
-Once this is done, boot your updated kernel.
+Once this is done, in U-Boot, add \code{loglevel=8} to the kernel
+command line to get the debugging messages directly in the console
+(otherwise you will only see them in \code{dmesg}.
+
+Now boot your updated kernel.
 
 The dynamic debug feature can be configured using \code{debugfs}, so you'll have
 to mount the \code{debugfs} filesystem first. Then, after reading the dynamic




More information about the training-materials-updates mailing list