[bootlin/training-materials updates] master: labs/sysdev-tinysystem: support QEMU case too (204ecc3a)
Michael Opdenacker
michael.opdenacker at bootlin.com
Mon Jan 16 19:28:25 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/204ecc3a58590225b7987cabfcf56d0e33a8e353
>---------------------------------------------------------------
commit 204ecc3a58590225b7987cabfcf56d0e33a8e353
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Mon Jan 16 19:28:25 2023 +0100
labs/sysdev-tinysystem: support QEMU case too
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
204ecc3a58590225b7987cabfcf56d0e33a8e353
labs/sysdev-tinysystem/sysdev-tinysystem.tex | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/labs/sysdev-tinysystem/sysdev-tinysystem.tex b/labs/sysdev-tinysystem/sysdev-tinysystem.tex
index 6791671a..afd73829 100644
--- a/labs/sysdev-tinysystem/sysdev-tinysystem.tex
+++ b/labs/sysdev-tinysystem/sysdev-tinysystem.tex
@@ -82,18 +82,16 @@ NFS, by setting some kernel parameters.
So add settings to the \code{bootargs} environment variable,
{\bf in just 1 line}:
-\if\defstring{\labboard}{stm32mp1}
+\if\defstring{\labboard}{beaglebone}
\begin{ubootinput}
-=> setenv bootargs ${bootargs} root=/dev/nfs ip=192.168.0.100
+=> setenv bootargs ${bootargs} root=/dev/nfs 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
nfsroot=192.168.0.1:/home/<user>/__SESSION_NAME__-labs/tinysystem/nfsroot,
nfsvers=3,tcp rw
\end{ubootinput}
-\fi
-
-\if\defstring{\labboard}{beaglebone}
+\else
\begin{ubootinput}
-=> setenv bootargs ${bootargs} root=/dev/nfs 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 bootargs ${bootargs} root=/dev/nfs ip=192.168.0.100
nfsroot=192.168.0.1:/home/<user>/__SESSION_NAME__-labs/tinysystem/nfsroot,
nfsvers=3,tcp rw
\end{ubootinput}
More information about the training-materials-updates
mailing list