[bootlin/training-materials updates] master: Embedded Linux on QEMU: minor fixes (5e2d8acf)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Jun 24 18:37:32 CEST 2020


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

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

commit 5e2d8acfb08c827a569500006c28fff9d9c70726
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Jun 24 18:37:32 2020 +0200

    Embedded Linux on QEMU: minor fixes
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

5e2d8acfb08c827a569500006c28fff9d9c70726
 .../sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex | 6 ++++--
 labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex                      | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
index 72e6b7bf..17da5d27 100644
--- a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
+++ b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
@@ -114,15 +114,17 @@ haven't provided a working root filesystem for our device yet.
 You can now automate all this every time the board is booted or
 reset. Reset the board, and customize \code{bootcmd}:
 
-\ifdefstring{\labboard}{qemu}{\scriptsize
+\scriptsize
+\ifdefstring{\labboard}{qemu}{
 \code{setenv bootcmd 'tftp 0x61000000 zImage; tftp 0x62000000
 vexpress-v2p-ca9.dtb; bootz 0x61000000 - 0x62000000'}\\
 \code{saveenv}
 }
-{\scriptsize
+{
 \code{setenv bootcmd 'tftp 0x21000000 zImage; tftp 0x22000000 at91-sama5d3_xplained.dtb; bootz 0x21000000 - 0x22000000'}\\
 \code{saveenv}
 }
+\normalsize
 
 Restart the board to make sure that booting the kernel is now automated.
 
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 133f9f75..e7650410 100644
--- a/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
+++ b/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
@@ -35,7 +35,7 @@ to further edit your bootloader features:
     machine won't have flash storage:
     \begin{itemize}
     \item Unset \code{Environment in flash memory} (\code{CONFIG_ENV_IS_IN_FLASH})
-    \item Set \code{Environment is in a FAT filesystem} (\code{CONFIG_ENV_IS_IN_FAT}
+    \item Set \code{Environment is in a FAT filesystem} (\code{CONFIG_ENV_IS_IN_FAT})
     \item Set \code{Name of the block device for the environment} (\code{CONFIG_ENV_FAT_INTERFACE}): \code{mmc}
     \item \code{Device and partition for where to store the environment in
         FAT} (\code{CONFIG_ENV_FAT_DEVICE_AND_PART}): \code{0:1}\newline




More information about the training-materials-updates mailing list