[bootlin/training-materials updates] master: Embedded Linux: use Buildroot 2022.02 in app debugging lab (baaca7be)
Michael Opdenacker
michael.opdenacker at bootlin.com
Fri Apr 1 09:55:48 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/baaca7be9f94c5e2b8b1b008077cbb522f8a9065
>---------------------------------------------------------------
commit baaca7be9f94c5e2b8b1b008077cbb522f8a9065
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Fri Apr 1 09:55:48 2022 +0200
Embedded Linux: use Buildroot 2022.02 in app debugging lab
Tested on BeagleBone Black
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
baaca7be9f94c5e2b8b1b008077cbb522f8a9065
.../sysdev-application-debugging/sysdev-application-debugging.tex | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/labs/sysdev-application-debugging/sysdev-application-debugging.tex b/labs/sysdev-application-debugging/sysdev-application-debugging.tex
index 8955c56a..5442ff9e 100644
--- a/labs/sysdev-application-debugging/sysdev-application-debugging.tex
+++ b/labs/sysdev-application-debugging/sysdev-application-debugging.tex
@@ -18,7 +18,7 @@ it looks like a good idea to do your application debugging work
with a {\em glibc} toolchain first, and then switch to lighter libraries
once your application and software stack is production ready.
-Extract the Buildroot 2021.08.<n> sources into the current directory.
+Extract the Buildroot 2022.02.<n> sources into the current directory.
Then, in the \code{menuconfig} interface, configure the target
architecture as done previously but configure the toolchain and
@@ -46,7 +46,7 @@ target packages differently:
Now, build your root filesystem.
Go back to the \code{$HOME/__SESSION_NAME__-labs/debugging} directory
-and extract the \code{buildroot-2021.08.<n>/output/images/rootfs.tar}
+and extract the \code{buildroot-2022.02.<n>/output/images/rootfs.tar}
archive in the \code{nfsroot} directory.
Add this directory to the \code{/etc/exports} file and run
@@ -69,7 +69,7 @@ you don't have the source code.
Update the PATH:
%\footnotesize
\begin{bashinput}
-$ export PATH=$HOME/__SESSION_NAME__-labs/debugging/buildroot-2021.08.<n>/output/host/bin:$PATH
+$ export PATH=$HOME/__SESSION_NAME__-labs/debugging/buildroot-2022.02.<n>/output/host/bin:$PATH
\end{bashinput}
\normalsize
@@ -134,7 +134,7 @@ variable (on one line):
\begin{bashinput}
(gdb) set sysroot /home/<user>/__SESSION_NAME__-labs/debugging/\
- buildroot-2021.08.<n>/output/staging
+ buildroot-2022.02.<n>/output/staging
\end{bashinput}
Of course, replace \code{<user>} by your actual user name.
More information about the training-materials-updates
mailing list