Skip to content

Commit

Permalink
debugging: labs: add detail about accessing uboot console
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Lothoré <[email protected]>
  • Loading branch information
Tropicao committed Mar 25, 2024
1 parent 47a5561 commit bd5a5bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions labs/debugging-setup/debugging-setup.tex
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ \section{U-Boot setup}
In order to use a rootfs on NFS, we will use an external rootfs. This can be
specified by passing bootargs to the kernel. To do so, we are going to set the
\code{bootargs} U-Boot variable and save the environment. On the target, enter
the following commands:
\code{bootargs} U-Boot variable and save the environment. To be able to edit
U-Boot variables, we need to interrupt its standard boot sequence: with the
serial console opened, maintain Enter key while pressing once the reset button,
and wait for U-Boot prompt to appear. Then, enter the following commands:
\begin{bashinput}
STM32MP1> env set bootargs root=/dev/nfs ip=192.168.0.100:::::eth0
Expand Down

0 comments on commit bd5a5bb

Please sign in to comment.