[bootlin/training-materials updates] master: yocto: lab2: upgrade to kirkstone (BBB boards) (98cddc1a)

Luca Ceresoli luca.ceresoli at bootlin.com
Thu Jul 14 11:48:24 CEST 2022


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

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

commit 98cddc1a23580c151cdc71fad48e117085f3c680
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Wed Jul 13 15:53:01 2022 +0200

    yocto: lab2: upgrade to kirkstone (BBB boards)
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


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

98cddc1a23580c151cdc71fad48e117085f3c680
 .../yocto-advanced-configuration.tex               | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/labs/yocto-advanced-configuration/yocto-advanced-configuration.tex b/labs/yocto-advanced-configuration/yocto-advanced-configuration.tex
index fc939ecb..61c46131 100644
--- a/labs/yocto-advanced-configuration/yocto-advanced-configuration.tex
+++ b/labs/yocto-advanced-configuration/yocto-advanced-configuration.tex
@@ -15,21 +15,19 @@ NFS. We will use Ethernet over USB device and therefore will only need
 the USB device cable that is already used to power up the board.
 
 First we need to set the kernel boot arguments U-Boot will pass to the
-Linux kernel at boot time:
-\begin{verbatim}
-setenv bootargs 'console=ttyS0,115200 root=/dev/nfs rw
-  nfsroot=192.168.0.1:/nfs,nfsvers=3,tcp
-  ip=192.168.0.100:::::usb0 g_ether.dev_addr=f8:dc:7a:00:00:02
-  g_ether.host_addr=f8:dc:7a:00:00:01'
-setenv bootcmd 'mmc dev 0; devnum=${mmcdev}; setenv devtype mmc;
-  mmc rescan; run loadimage; run findfdt; run mmcloados'
-saveenv
-\end{verbatim}
+Linux kernel at boot time. For that, mount the \code{bootfs} partition
+of the SD card on your PC and edit the extlinux configuration file:
+\code{extlinux/extlinux.conf}.
+
+Change the \code{APPEND} line to be (in just 1 line):
 
-If you later want to make changes to this setting, you can use:
+{\small
 \begin{verbatim}
-editenv bootargs
+APPEND root=/dev/nfs rw nfsroot=192.168.0.1:/nfs,nfsvers=3,tcp ip=192.168.0.100:::::usb0
+       g_ether.dev_addr=f8:dc:7a:00:00:02 g_ether.host_addr=f8:dc:7a:00:00:01
+       rootwait rw console=${console},${baudrate}
 \end{verbatim}
+}
 
 \section{Set up the Ethernet communication on the workstation}
 




More information about the training-materials-updates mailing list