[bootlin/training-materials updates] master: Revert "break long lines with listing environment" (c4ea0f77)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Mar 17 19:35:28 CET 2021


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

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

commit c4ea0f77b3a2780ac7ee59b1b1cf19438f83bb1e
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Mar 17 19:35:28 2021 +0100

    Revert "break long lines with listing environment"
    
    This reverts commit 51801d26dde51de02a3c33ba6c7d3f35e381daeb.


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

c4ea0f77b3a2780ac7ee59b1b1cf19438f83bb1e
 labs/sysdev-tinysystem/sysdev-tinysystem.tex | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/labs/sysdev-tinysystem/sysdev-tinysystem.tex b/labs/sysdev-tinysystem/sysdev-tinysystem.tex
index 654eeb0d..88ed84f4 100644
--- a/labs/sysdev-tinysystem/sysdev-tinysystem.tex
+++ b/labs/sysdev-tinysystem/sysdev-tinysystem.tex
@@ -57,9 +57,10 @@ package if you don't have it yet. Once installed, edit the
 \code{/etc/exports} file as root to add the following line, assuming that the
 IP address of your board will be \code{192.168.0.100}:
 
-\begin{ubootinput}
+\footnotesize
+\begin{verbatim}
 /home/<user>/__SESSION_NAME__-labs/tinysystem/nfsroot 192.168.0.100(rw,no_root_squash,no_subtree_check)
-\end{ubootinput}
+\end{verbatim}
 \normalsize
 
 Of course, replace \code{<user>} by your actual user name.
@@ -84,9 +85,10 @@ NFS, by setting some kernel parameters.
 So add settings to the \code{bootargs} environment variable,
 {\bf in just 1 line}:
 
-\begin{ubootinput}
-setenv bootargs ${bootargs} root=/dev/nfsip=192.168.0.100:::::eth0 nfsroot=192.168.0.1:/home/<user>/__SESSION_NAME__-labs/tinysystem/nfsroot,nfsvers=3,tcp rw
-\end{ubootinput}
+\begin{verbatim}
+setenv bootargs ${bootargs} root=/dev/nfs ip=192.168.0.100:::::eth0
+   nfsroot=192.168.0.1:/home/<user>/__SESSION_NAME__-labs/tinysystem/nfsroot,nfsvers=3,tcp rw
+\end{verbatim}
 
 Once again, replace \code{<user>} by your actual user name.
 
@@ -121,10 +123,11 @@ create a \code{dev} directory under \code{nfsroot} and reboot.
 Now, the kernel should complain for the last time, saying that it can't
 find an init application:
 
-\begin{terminaloutput}
+\footnotesize
+\begin{verbatim}
 Kernel panic - not syncing: No working init found.  Try passing init= option to kernel.
   See Linux Documentation/init.txt for guidance.
-\end{terminaloutput}
+\end{verbatim}
 \normalsize
 
 Obviously, our root filesystem being mostly empty, there isn't such an




More information about the training-materials-updates mailing list