[FE training-materials-updates] Mention the kernel integration into Androdi
Maxime Ripard
maxime.ripard at free-electrons.com
Wed Apr 16 17:44:04 CEST 2014
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=112a31722c058849f33b4a9ee1771bed898554a4
>---------------------------------------------------------------
commit 112a31722c058849f33b4a9ee1771bed898554a4
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date: Wed Apr 16 16:37:26 2014 +0200
Mention the kernel integration into Androdi
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
>---------------------------------------------------------------
112a31722c058849f33b4a9ee1771bed898554a4
.../android-build-system-advanced-product.tex | 30 ++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/slides/android-build-system-advanced-product/android-build-system-advanced-product.tex b/slides/android-build-system-advanced-product/android-build-system-advanced-product.tex
index d07e28d..2e6c016 100644
--- a/slides/android-build-system-advanced-product/android-build-system-advanced-product.tex
+++ b/slides/android-build-system-advanced-product/android-build-system-advanced-product.tex
@@ -174,3 +174,33 @@ USE_CAMERA_STUB := true
\end{itemize}
\end{itemize}
\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Kernel Integration into Android}
+ \begin{itemize}
+ \item Android is just a user-space, the build system isn't designed
+ to build the kernel
+ \item However, there is some facilities to integrate a precompiled
+ kernel kernel into the Android images
+ \item To do so, you need to:
+ \begin{itemize}
+ \item In \code{BoardConfig.mk}
+ \begin{itemize}
+ \item Remove \code{TARGET_NO_KERNEL} if set
+ \item Set \code{BOARD_KERNEL_BASE} to the load address of your
+ kernel
+ \end{itemize}
+ \item In your device Makefile, have something like
+\begin{minted}[fontsize=\scriptsize]{make}
+ifeq ($(TARGET_PREBUILT_KERNEL),)
+LOCAL_KERNEL := device/ti/panda/kernel
+else
+LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
+endif
+
+PRODUCT_COPY_FILES := \
+ $(LOCAL_KERNEL):kernel
+\end{minted}
+ \end{itemize}
+ \end{itemize}
+\end{frame}
\ No newline at end of file
More information about the training-materials-updates
mailing list