[bootlin/training-materials updates] master: Revert "format breaklines in U-Boot chapter" (e7f00fa7)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Mar 17 19:34:56 CET 2021


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

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

commit e7f00fa7e2ad8d53a46653d7565afd66d472f2b1
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Mar 17 19:34:56 2021 +0100

    Revert "format breaklines in U-Boot chapter"
    
    This reverts commit ebf3900da293727038cd048017edcc0f397a1a87.


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

e7f00fa7e2ad8d53a46653d7565afd66d472f2b1
 labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex | 17 +++++++++++------
 labs/sysdev-u-boot/sysdev-u-boot.tex           | 14 ++++++++------
 2 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex b/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
index d11a9b75..4ef17b49 100644
--- a/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
+++ b/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
@@ -184,9 +184,11 @@ sudo losetup -d /dev/loop<x>
 Start QEMU again, but this time with the emulated SD card
 (you can type the command in a single line):
 
-\begin{terminalinput}
-qemu-system-arm -M vexpress-a9 -m 128M -nographic -kernel u-boot-2020.04/u-boot -sd sd.img
-\end{terminalinput}
+\begin{verbatim}
+qemu-system-arm -M vexpress-a9 -m 128M -nographic \
+	-kernel u-boot-2020.04/u-boot \
+	-sd sd.img
+\end{verbatim}
 
 Now, in the U-Boot prompt, make sure that you can set and store an environment variable:
 
@@ -229,9 +231,12 @@ local network.
 Then, you will need root privileges to run QEMU this time,
 because of the need to bring up the network interface:
 
-\begin{terminalinput}
-sudo qemu-system-arm -M vexpress-a9 -m 128M -nographic -kernel u-boot-2020.04/u-boot -sd sd.img -net tap,script=./qemu-myifup -net nic
-\end{terminalinput}
+\begin{verbatim}
+sudo qemu-system-arm -M vexpress-a9 -m 128M -nographic \
+-kernel u-boot-2020.04/u-boot \
+-sd sd.img \
+-net tap,script=./qemu-myifup -net nic
+\end{verbatim}
 
 Note the new net options:
 \begin{itemize}
diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index 1bc5c638..b1038968 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -191,15 +191,17 @@ NAND flash before writing images to it:
 
 Then flash the U-Boot SPL:
 
-\begin{terminalinput}
-./sam-ba_3.3.1/sam-ba -p serial -b sama5d3-xplained -a nandflash -c writeboot:u-boot/spl/u-boot-spl.bin
-\end{terminalinput}
+\begin{verbatim}
+./sam-ba_3.3.1/sam-ba -p serial -b sama5d3-xplained -a nandflash \
+-c writeboot:u-boot/spl/u-boot-spl.bin
+\end{verbatim}
 
 Then flash the U-Boot binary:
 
-\begin{terminalinput}
-./sam-ba_3.3.1/sam-ba -p serial -b sama5d3-xplained -a nandflash -c write:u-boot/u-boot.bin:0x40000
-\end{terminalinput}
+\begin{verbatim}
+./sam-ba_3.3.1/sam-ba -p serial -b sama5d3-xplained -a nandflash \
+-c write:u-boot/u-boot.bin:0x40000
+\end{verbatim}
 
 \section{Testing U-Boot}
 




More information about the training-materials-updates mailing list