From 39550bd9ea86090e5fa05f61c36e701ce740487f Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Fri, 18 Mar 2011 14:13:12 +0100 Subject: added stripped down crossdevel chapter Signed-off-by: Manuel Traut --- .../cross-devel/pres_cross-devel_de-userspace.tex | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 application-devel/cross-devel/pres_cross-devel_de-userspace.tex (limited to 'application-devel') diff --git a/application-devel/cross-devel/pres_cross-devel_de-userspace.tex b/application-devel/cross-devel/pres_cross-devel_de-userspace.tex new file mode 100644 index 0000000..6ab48d2 --- /dev/null +++ b/application-devel/cross-devel/pres_cross-devel_de-userspace.tex @@ -0,0 +1,64 @@ +\input{configpres} + +\subsection{ARM Cross Development} + +\title{\lq ARM Cross Development\rq} +\maketitle + +\begin{frame} +\frametitle{Übersicht} +\tableofcontents +\end{frame} + +\subsubsection{Cross Übersetzen} +\begin{frame}[containsverbatim] +\frametitle{Cross ''Hello world''} +\begin{lstlisting}[language=c] +/* cross_hello.c */ +#include + +int main(void) +{ + printf("Hello cross compiling world\n"); + return 0; +} +\end{lstlisting} +\end{frame} + +\begin{frame}[containsverbatim] +\frametitle{Übersetzen für das Zielsystem} +\begin{lstlisting}[language=bash] +# Uebersetzen +$ arm-none-linux-gnueabi-gcc -static \ +-o cross_hello cross_hello.c +\end{lstlisting} +\begin{lstlisting}[language=bash] +# Executable ueberpruefen +$ file cross_hello +cross_hello: ELF 32-bit LSB executable, ARM, +version 1 (SYSV), dynamically +linked (uses shared libs), +for GNU/Linux 2.6.14, not stripped +\end{lstlisting} +\end{frame} + +\subsubsection{Testing auf dem Host} + +\begin{frame} +\frametitle{Qemu als Werkzeug zur Cross Entwicklung} +\begin{alertblock}{Was ist Qemu?} +Qemu ist eine sehr performante Emulations- und Virtualisierungsumgebung für alle +gängigen CPU Architekturen. +\end{alertblock} +\end{frame} + +\begin{frame}[containsverbatim] +\frametitle{Testen eines Executables mit der Qemu user emulation} +\begin{lstlisting}[language=bash] +$ ./cross_hello + : ./cross_hello: cannot execute binary file +$ qemu-arm ./cross_hello +Hello cross compiling world +\end{lstlisting} +\end{frame} +\input{tailpres} -- cgit v1.2.3 From eaec0855c2db22b0a8ae8c745235ea29bce21a56 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Wed, 6 Apr 2011 00:31:42 +0200 Subject: added vorl4 Signed-off-by: Manuel Traut --- Makefile | 8 +-- .../pres_devel-environment_de_short.tex | 70 ++++++++++++++++++++++ handout.tex | 5 ++ handout4.tex | 7 +++ vorl.tex | 6 ++ vorl4.tex | 8 +++ 6 files changed, 100 insertions(+), 4 deletions(-) create mode 100644 application-devel/devel-environment/pres_devel-environment_de_short.tex create mode 100644 handout4.tex create mode 100644 vorl4.tex (limited to 'application-devel') diff --git a/Makefile b/Makefile index 258a5b1..7608a6b 100644 --- a/Makefile +++ b/Makefile @@ -24,8 +24,8 @@ vorlesung:: touch configpres.tex mv tailpres.tex _tailpres.tex touch tailpres.tex - pdflatex vorl3.tex - pdflatex vorl3.tex + pdflatex vorl4.tex + pdflatex vorl4.tex pdflatex vorl.tex pdflatex vorl.tex rm configpres.tex tailpres.tex @@ -35,8 +35,8 @@ vorlesung:: touch confighandout.tex mv tailhandout.tex _tailhandout.tex touch tailhandout.tex - TEXINPUTS=`pwd`/wise:.:$(TEXINPUTS) pdflatex handout3.tex - TEXINPUTS=`pwd`/wise:.:$(TEXINPUTS) pdflatex handout3.tex + TEXINPUTS=`pwd`/wise:.:$(TEXINPUTS) pdflatex handout4.tex + TEXINPUTS=`pwd`/wise:.:$(TEXINPUTS) pdflatex handout4.tex TEXINPUTS=`pwd`/wise:.:$(TEXINPUTS) pdflatex handout.tex TEXINPUTS=`pwd`/wise:.:$(TEXINPUTS) pdflatex handout.tex rm confighandout.tex tailhandout.tex diff --git a/application-devel/devel-environment/pres_devel-environment_de_short.tex b/application-devel/devel-environment/pres_devel-environment_de_short.tex new file mode 100644 index 0000000..1feb253 --- /dev/null +++ b/application-devel/devel-environment/pres_devel-environment_de_short.tex @@ -0,0 +1,70 @@ +\input{configpres} + +\subsection{Entwicklungsumgebungen} +\title{Entwicklungsumgebungen} +\maketitle + +\subsubsection{Grundlagen} +\begin{frame} +\frametitle{Bestandteile} +Eine Entwicklungsumgebung besteht mindestens aus: +\begin{itemize} +\item Editor +\item Buildsystem +\end{itemize} +\end{frame} + +\subsubsection{Editoren} + +\begin{frame} +\frametitle{beliebte Editoren} +\begin{itemize} +\item vim +\item emacs +\item kate +\item \dots +\end{itemize} +\end{frame} + +\begin{frame} +\frametitle{vim Editor} +\begin{figure}[h] +\centering +\includegraphics[width=8cm]{images/vim.png} +\end{figure} +\end{frame} + +\begin{frame} +\frametitle{emacs Editor} +\begin{figure}[h] +\centering +\includegraphics[width=8cm]{images/emacs.png} +\end{figure} +\end{frame} + +\subsubsection{Tools} + +\begin{frame} +\frametitle{praktische, kleine Helfer} +\begin{itemize} +\item ctags +\item screen +\item ssh +\item mc +\item quilt +\end{itemize} +\end{frame} + +\subsubsection{Buildsysteme} + +\begin{frame} +\frametitle{h\"aufig eingesetzte Buildsysteme} +\begin{itemize} +\item KConfig (Linux Kernel) +\item Autotools / GNU Build System +\item CMake +\item Ant +\item \dots +\end{itemize} +\end{frame} +\input{tailpres} diff --git a/handout.tex b/handout.tex index ab5033f..abb85de 100644 --- a/handout.tex +++ b/handout.tex @@ -5,4 +5,9 @@ \section{Kernel-Grundlagen} \input{./kernel-devel/kernel-basics/handout_kernel-basics_de.tex} \input{./kernel-devel/kernel-best-practices/handout_kernel-best-practices_en.tex} +\section{Kernelentwicklung} +\input{./kernel-devel/kernel-build/handout_kernel-build_de.tex} +\section{Dateisysteme} +\input{./flash-memory/mtd/handout_mtd_de.tex} +\input{./flash-memory/ubi/handout_ubi_de.tex} \input{tailmasterhandout} diff --git a/handout4.tex b/handout4.tex new file mode 100644 index 0000000..1cd2862 --- /dev/null +++ b/handout4.tex @@ -0,0 +1,7 @@ +\input{configmasterhandout} +\section{Kernelentwicklung} +\input{./kernel-devel/kernel-build/handout_kernel-build_de.tex} +\section{Dateisysteme} +\input{./flash-memory/mtd/handout_mtd_de.tex} +\input{./flash-memory/ubi/handout_ubi_de.tex} +\input{tailmasterhandout} diff --git a/vorl.tex b/vorl.tex index 06f144b..afff0fb 100644 --- a/vorl.tex +++ b/vorl.tex @@ -2,9 +2,15 @@ \input{./linux-basics/section} \input{./linux-basics/what-is-linux/pres_what-is-linux_de.tex} \input{./linux-basics/boot-process/pres_boot-process_de.tex} +\input{./linux-basics/filesystems/pres_filesystems_en.tex} +\input{./flash-memory/section} +\input{./flash-memory/mtd/pres_mtd_en.tex} +\input{./flash-memory/ubi/pres_ubi_en.tex} \input{./basics/section} \input{./basics/cpu-arch/pres_cpu-arch.tex} \input{./application-devel/cross-devel/pres_cross-devel_de-userspace.tex} \input{./kernel-devel/section} \input{./kernel-devel/kernel-basics/pres_kernel-basics_de.tex} +\input{./application-devel/section} +\input{./application-devel/devel-environment/pres_devel-environment_de_short.tex} \input{tailmasterpres} diff --git a/vorl4.tex b/vorl4.tex new file mode 100644 index 0000000..be5a0b8 --- /dev/null +++ b/vorl4.tex @@ -0,0 +1,8 @@ +\input{configmasterpres} +\input{./application-devel/section} +\input{./application-devel/devel-environment/pres_devel-environment_de_short.tex} +\input{./linux-basics/section} +\input{./linux-basics/filesystems/pres_filesystems_en.tex} +\input{./flash-memory/mtd/pres_mtd_en.tex} +\input{./flash-memory/ubi/pres_ubi_en.tex} +\input{tailmasterpres} -- cgit v1.2.3