[BL training-materials-updates] Kernel porting: enlarge font when possible
Michael Opdenacker
michael.opdenacker at bootlin.com
Fri Nov 30 11:04:32 CET 2018
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=48d4a23aca3e3f92fb8a312309ae7756422b6dd6
>---------------------------------------------------------------
commit 48d4a23aca3e3f92fb8a312309ae7756422b6dd6
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Fri Nov 30 11:04:32 2018 +0100
Kernel porting: enlarge font when possible
- Some text was tiny and difficult to read from the
back of the training room
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
48d4a23aca3e3f92fb8a312309ae7756422b6dd6
.../kernel-porting-content.tex | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/slides/kernel-porting-content/kernel-porting-content.tex b/slides/kernel-porting-content/kernel-porting-content.tex
index 6e2ef71..11cc5f9 100644
--- a/slides/kernel-porting-content/kernel-porting-content.tex
+++ b/slides/kernel-porting-content/kernel-porting-content.tex
@@ -133,22 +133,22 @@
\frametitle{Crystalfontz CFA-10036 Device Tree, header}
\begin{itemize}
\item Mandatory Device Tree language definition\\
- \begin{block}{} \mint[fontsize=\tiny]{perl}+/dts-v1/+ \end{block}
+ \begin{block}{} \mint[fontsize=\small]{perl}+/dts-v1/+ \end{block}
\item Include the \code{.dtsi} file describing the SoC\\
\begin{block}{}
- \mint[fontsize=\tiny]{perl}+#include "imx28.dtsi"+
+ \mint[fontsize=\small]{perl}+#include "imx28.dtsi"+
\end{block}
\item Start the root of the tree\\
- \begin{block}{} \mint[fontsize=\tiny]{perl}+/ {+ \end{block}
+ \begin{block}{} \mint[fontsize=\small]{perl}+/ {+ \end{block}
\item A human-readable string to describe the machine\\
\begin{block}{}
- \mint[fontsize=\tiny]{perl}+model = "Crystalfontz CFA-10036 Board";+
+ \mint[fontsize=\small]{perl}+model = "Crystalfontz CFA-10036 Board";+
\end{block}
\item A list of {\em compatible} strings, from the most specific one
to the most general one. Can be used by kernel code to do a SoC or
board-specific check.\\
\begin{block}{}
- \mint[fontsize=\tiny]{perl}+compatible = "crystalfontz,cfa10036", "fsl,imx28";+
+ \mint[fontsize=\small]{perl}+compatible = "crystalfontz,cfa10036", "fsl,imx28";+
\end{block}
\end{itemize}
\end{frame}
@@ -183,7 +183,7 @@ memory {
\begin{itemize}
\item Start of the internal SoC peripherals.
\begin{block}{}
- \begin{minted}[fontsize=\tiny]{perl}
+ \begin{minted}[fontsize=\small]{perl}
apb at 80000000 {
apbh at 80000000 {
apbx at 80040000 {
@@ -192,7 +192,7 @@ apb at 80000000 {
\item The CFA-10036 has one debug UART, so the corresponding
controller is enabled:
\begin{block}{}
- \begin{minted}[fontsize=\tiny]{perl}
+ \begin{minted}[fontsize=\small]{perl}
duart: serial at 80074000 {
pinctrl-names = "default";
pinctrl-0 = <&duart_pins_b>;
@@ -241,7 +241,7 @@ pinctrl at 80018000 {
\item One LED is connected to this platform. Note the reference to the
\code{led_pins_cfa10036} muxing configuration.
\begin{block}{}
- \begin{minted}[fontsize=\tiny]{perl}
+ \begin{minted}[fontsize=\small]{perl}
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
@@ -262,7 +262,7 @@ leds {
\begin{itemize}
\item The platform also has a USB port
\begin{block}{}
- \begin{minted}[fontsize=\tiny]{perl}
+ \begin{minted}[fontsize=\small]{perl}
usb0: usb at 80080000 {
pinctrl-names = "default";
pinctrl-0 = <&usb0_otg_cfa10036>;
@@ -272,7 +272,7 @@ usb0: usb at 80080000 {
\end{block}
\item and an SD Card slot:
\begin{block}{}
- \begin{minted}[fontsize=\tiny]{perl}
+ \begin{minted}[fontsize=\small]{perl}
ssp0: ssp at 80010000 {
compatible = "fsl,imx28-mmc";
pinctrl-names = "default";
@@ -322,7 +322,7 @@ i2c0: i2c at 80058000 {
device tree also allows us to describe this, using includes. For
example, the CFA-10057:
\begin{block}{}
- \mint[fontsize=\tiny]{perl}+#include "imx28-cfa10036.dts"+
+ \mint[fontsize=\small]{perl}+#include "imx28-cfa10036.dts"+
\end{block}
\item This allows to have a layered description. This can also be
done for boards that have a lot in common, like the BeagleBone and
More information about the training-materials-updates
mailing list