[bootlin/training-materials updates] master: kernel: building: Update the configuration slides (0b55aa0a)

Miquel Raynal miquel.raynal at bootlin.com
Thu Jun 2 10:54:21 CEST 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/0b55aa0a90b06859bd217238a59fa41cc09874e9

>---------------------------------------------------------------

commit 0b55aa0a90b06859bd217238a59fa41cc09874e9
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Wed Jun 1 11:39:07 2022 +0200

    kernel: building: Update the configuration slides
    
    - Use a single slide for xconfig and another one for menuconfig.
    - Update the examples.
    - Show the similarities between tools by including a menuconfig
      screenshot.
    - Stop mentioning useless tools.
    
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


>---------------------------------------------------------------

0b55aa0a90b06859bd217238a59fa41cc09874e9
 slides/sysdev-kernel-building/iso-example.png      | Bin 9012 -> 0 bytes
 slides/sysdev-kernel-building/iso-example.svg      | 422 +++++++++++++++++++++
 .../sysdev-kernel-building/menuconfig-example.png  | Bin 0 -> 35467 bytes
 .../sysdev-kernel-building.tex                     | 101 +++--
 slides/sysdev-kernel-building/xconfig-example.png  | Bin 0 -> 9012 bytes
 .../sysdev-kernel-building/xconfig-iso-example.svg | 302 ---------------
 slides/sysdev-kernel-building/xconfig-search.png   | Bin 105585 -> 0 bytes
 7 files changed, 465 insertions(+), 360 deletions(-)

diff --git a/slides/sysdev-kernel-building/iso-example.png b/slides/sysdev-kernel-building/iso-example.png
deleted file mode 100644
index 730876ff..00000000
Binary files a/slides/sysdev-kernel-building/iso-example.png and /dev/null differ
diff --git a/slides/sysdev-kernel-building/iso-example.svg b/slides/sysdev-kernel-building/iso-example.svg
new file mode 100644
index 00000000..27629912
--- /dev/null
+++ b/slides/sysdev-kernel-building/iso-example.svg
@@ -0,0 +1,422 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   width="46.108734cm"
+   height="9.7159777cm"
+   viewBox="352 165 886.08958 187.03258"
+   version="1.1"
+   id="svg57"
+   sodipodi:docname="iso-example.svg"
+   inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:dc="http://purl.org/dc/elements/1.1/">
+  <metadata
+     id="metadata63">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs61">
+    <marker
+       inkscape:stockid="Arrow1Lend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Lend"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         id="path903"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
+         transform="matrix(-0.8,0,0,-0.8,-10,0)"
+         inkscape:connector-curvature="0" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Lstart"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Lstart"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         id="path900"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
+         transform="matrix(0.8,0,0,0.8,10,0)"
+         inkscape:connector-curvature="0" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Lstart"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Lstart-6"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path900-5"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
+         transform="matrix(0.8,0,0,0.8,10,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Lend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Lend-8"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path903-8"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
+         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Lend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="marker1756"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1754"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
+         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
+    </marker>
+  </defs>
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1920"
+     inkscape:window-height="1011"
+     id="namedview59"
+     showgrid="false"
+     inkscape:zoom="0.78684783"
+     inkscape:cx="914.40806"
+     inkscape:cy="227.48998"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="svg57"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:document-rotation="0"
+     inkscape:pagecheckerboard="0"
+     inkscape:document-units="cm">
+    <inkscape:grid
+       type="xygrid"
+       id="grid896"
+       originx="19.255657"
+       originy="39.054335" />
+  </sodipodi:namedview>
+  <text
+     id="text4"
+     y="174.0368"
+     x="350.91537"
+     style="font-style:normal;font-weight:normal;font-size:12.8px;font-family:'Latin Modern Sans';text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
+     font-size="12.8"><tspan
+       id="tspan2"
+       y="174.0368"
+       x="350.91537">Compiled as a module:</tspan></text>
+  <text
+     id="text8"
+     y="225.09274"
+     x="350.91537"
+     style="font-style:normal;font-weight:normal;font-size:12.8px;font-family:'Latin Modern Sans';text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
+     font-size="12.8"><tspan
+       id="tspan6"
+       y="225.09274"
+       x="350.91537">Additional driver options:</tspan></text>
+  <text
+     id="text12"
+     y="301.09274"
+     x="350.91537"
+     style="font-style:normal;font-weight:normal;font-size:12.8px;font-family:'Latin Modern Sans';text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
+     font-size="12.8"><tspan
+       id="tspan10"
+       y="301.09274"
+       x="350.91537">Statically built:</tspan></text>
+  <text
+     id="text16"
+     y="190.0368"
+     x="371.2883"
+     style="font-style:normal;font-weight:500;font-size:12.8px;font-family:Inconsolata;text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
+     font-size="12.8"><tspan
+       id="tspan14"
+       y="190.0368"
+       x="371.2883">CONFIG_ISO9660_FS=m</tspan></text>
+  <text
+     id="text20"
+     y="241.09274"
+     x="371.2883"
+     style="font-style:normal;font-weight:500;font-size:12.8px;font-family:Inconsolata;text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
+     font-size="12.8"><tspan
+       id="tspan18"
+       y="241.09274"
+       x="371.2883">CONFIG_JOLIET=y</tspan></text>
+  <text
+     id="text24"
+     y="261.09274"
+     x="371.2883"
+     style="font-style:normal;font-weight:500;font-size:12.8px;font-family:Inconsolata;text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
+     font-size="12.8"><tspan
+       id="tspan22"
+       y="261.09274"
+       x="371.2883">CONFIG_ZISOFS=y</tspan></text>
+  <text
+     id="text28"
+     y="313.09274"
+     x="371.2883"
+     style="font-style:normal;font-weight:500;font-size:12.8px;font-family:Inconsolata;text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
+     font-size="12.8"><tspan
+       id="tspan26"
+       y="313.09274"
+       x="371.2883">CONFIG_UDF_FS=y</tspan></text>
+  <line
+     id="line30"
+     y2="216.35132"
+     x2="511.39746"
+     y1="193.85223"
+     x1="476.98877"
+     style="fill:none;stroke:#cc1f1a;stroke-width:2.12527;stroke-opacity:1" />
+  <polygon
+     id="polygon32"
+     points="491.652,213.751 498.037,222.929 486.864,222.53 491.453,219.338 "
+     style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+     transform="translate(19.28833,-2.9072731)" />
+  <polygon
+     id="polygon32-6"
+     points="491.652,213.751 498.037,222.929 486.864,222.53 491.453,219.338 "
+     style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+     transform="rotate(180,487.78613,208.6324)" />
+  <g
+     id="g17342"
+     transform="matrix(1,0,0,-1,7.5533304,401.62626)">
+    <line
+       id="line30-2"
+       y2="119.27068"
+       x2="504.83929"
+       y1="96.771599"
+       x1="470.4306"
+       style="fill:none;stroke:#cc1f1a;stroke-width:2.12527;stroke-opacity:1" />
+    <polygon
+       id="polygon32-9"
+       points="498.037,222.929 486.864,222.53 491.453,219.338 491.652,213.751 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="translate(12.730155,-99.987904)" />
+    <polygon
+       id="polygon32-6-1"
+       points="498.037,222.929 486.864,222.53 491.453,219.338 491.652,213.751 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="rotate(180,484.50705,160.09208)" />
+  </g>
+  <line
+     id="line36"
+     y2="237.09273"
+     x2="509.55234"
+     y1="237.09273"
+     x1="475.02756"
+     style="fill:none;stroke:#cc1f1a;stroke-width:2.74978;stroke-opacity:1" />
+  <polygon
+     id="polygon38"
+     points="487.764,235 497.764,240 487.764,245 490.264,240 "
+     style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+     transform="translate(19.28833,-2.9072731)" />
+  <polygon
+     id="polygon38-3"
+     points="490.264,240 487.764,235 497.764,240 487.764,245 "
+     style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+     transform="rotate(180,486.21102,238.54637)" />
+  <g
+     id="g25871"
+     transform="translate(19.641061,2.4927328)">
+    <line
+       id="line36-5"
+       y2="254.66727"
+       x2="490.1015"
+       y1="254.66727"
+       x1="455.57669"
+       style="fill:none;stroke:#cc1f1a;stroke-width:2.74978;stroke-opacity:1" />
+    <polygon
+       id="polygon38-3-5"
+       points="497.764,240 487.764,245 490.264,240 487.764,235 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="rotate(180,476.48559,247.33363)" />
+    <polygon
+       id="polygon44"
+       points="487.764,255 497.764,260 487.764,265 490.264,260 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="translate(-0.35273118,-5.4000059)" />
+  </g>
+  <image
+     xlink:href="xconfig-example.png"
+     x="522.74829"
+     y="207.88074"
+     width="290.18677"
+     height="83.2836"
+     id="image54" />
+  <g
+     id="g25871-2"
+     transform="translate(358.28317,-15.506033)">
+    <line
+       id="line36-5-7"
+       y2="254.66727"
+       x2="490.1015"
+       y1="254.66727"
+       x1="455.57669"
+       style="fill:none;stroke:#cc1f1a;stroke-width:2.74978;stroke-opacity:1" />
+    <polygon
+       id="polygon38-3-5-0"
+       points="487.764,245 490.264,240 487.764,235 497.764,240 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="rotate(180,476.48559,247.33363)" />
+    <polygon
+       id="polygon44-9"
+       points="497.764,260 487.764,265 490.264,260 487.764,255 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="translate(-0.35273118,-5.4000059)" />
+  </g>
+  <g
+     id="g25871-2-3"
+     transform="translate(358.28822,-33.875569)">
+    <line
+       id="line36-5-7-6"
+       y2="254.66727"
+       x2="490.1015"
+       y1="254.66727"
+       x1="455.57669"
+       style="fill:none;stroke:#cc1f1a;stroke-width:2.74978;stroke-opacity:1" />
+    <polygon
+       id="polygon38-3-5-0-0"
+       points="497.764,240 487.764,245 490.264,240 487.764,235 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="rotate(180,476.48559,247.33363)" />
+    <polygon
+       id="polygon44-9-6"
+       points="487.764,255 497.764,260 487.764,265 490.264,260 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="translate(-0.35273118,-5.4000059)" />
+  </g>
+  <g
+     id="g25871-2-9"
+     transform="translate(357.91148,23.536491)">
+    <line
+       id="line36-5-7-2"
+       y2="254.66727"
+       x2="490.1015"
+       y1="254.66727"
+       x1="455.57669"
+       style="fill:none;stroke:#cc1f1a;stroke-width:2.74978;stroke-opacity:1" />
+    <polygon
+       id="polygon38-3-5-0-02"
+       points="497.764,240 487.764,245 490.264,240 487.764,235 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="rotate(180,476.48559,247.33363)" />
+    <polygon
+       id="polygon44-9-3"
+       points="487.764,255 497.764,260 487.764,265 490.264,260 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="translate(-0.35273118,-5.4000059)" />
+  </g>
+  <g
+     id="g25871-2-2"
+     transform="translate(358.47787,4.1884285)">
+    <line
+       id="line36-5-7-61"
+       y2="254.66727"
+       x2="490.1015"
+       y1="254.66727"
+       x1="455.57669"
+       style="fill:none;stroke:#cc1f1a;stroke-width:2.74978;stroke-opacity:1" />
+    <polygon
+       id="polygon38-3-5-0-8"
+       points="497.764,240 487.764,245 490.264,240 487.764,235 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="rotate(180,476.48559,247.33363)" />
+    <polygon
+       id="polygon44-9-7"
+       points="487.764,255 497.764,260 487.764,265 490.264,260 "
+       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1"
+       transform="translate(-0.35273118,-5.4000059)" />
+  </g>
+  <text
+     id="text4-8"
+     y="380.13849"
+     x="367.20593"
+     style="font-style:normal;font-weight:normal;font-size:12.8px;font-family:'Latin Modern Sans';text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none;stroke-width:1"
+     font-size="12.8"><tspan
+       style="stroke-width:1"
+       id="tspan2-8"
+       y="380.13849"
+       x="367.20593" /></text>
+  <text
+     xml:space="preserve"
+     style="font-style:normal;font-weight:normal;font-size:8.82826px;line-height:125%;font-family:Sans;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.509323px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+     x="362.99435"
+     y="350.21396"
+     id="text876"><tspan
+       sodipodi:role="line"
+       id="tspan874"
+       x="362.99435"
+       y="350.21396"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8.82826px;font-family:'Latin Modern Sans';-inkscape-font-specification:'Latin Modern Sans';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.509323px">Values in resulting .config file </tspan></text>
+  <text
+     xml:space="preserve"
+     style="font-style:normal;font-weight:normal;font-size:8.82826px;line-height:125%;font-family:Sans;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.509323px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+     x="579.50586"
+     y="350.11862"
+     id="text876-8"><tspan
+       sodipodi:role="line"
+       id="tspan874-9"
+       x="579.50586"
+       y="350.11862"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8.82826px;font-family:'Latin Modern Sans';-inkscape-font-specification:'Latin Modern Sans';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.509323px">Parameter values as displayed by xconfig</tspan></text>
+  <text
+     xml:space="preserve"
+     style="font-style:normal;font-weight:normal;font-size:8.82826px;line-height:125%;font-family:Sans;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.509323px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+     x="932.95312"
+     y="350.10367"
+     id="text876-8-6"><tspan
+       sodipodi:role="line"
+       id="tspan874-9-7"
+       x="932.95312"
+       y="350.10367"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8.82826px;font-family:'Latin Modern Sans';-inkscape-font-specification:'Latin Modern Sans';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.509323px">Parameter values as displayed by menuconfig</tspan></text>
+  <image
+     width="380.09256"
+     height="82.4776"
+     preserveAspectRatio="none"
+     xlink:href="menuconfig-example.png"
+     id="image635"
+     x="858.77435"
+     y="206.35349" />
+</svg>
diff --git a/slides/sysdev-kernel-building/menuconfig-example.png b/slides/sysdev-kernel-building/menuconfig-example.png
new file mode 100644
index 00000000..548ca1ec
Binary files /dev/null and b/slides/sysdev-kernel-building/menuconfig-example.png differ
diff --git a/slides/sysdev-kernel-building/sysdev-kernel-building.tex b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
index 30f9b3c7..67b0d4bb 100644
--- a/slides/sysdev-kernel-building/sysdev-kernel-building.tex
+++ b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
@@ -113,25 +113,6 @@
   \end{itemize}
 \end{frame}
 
-\begin{frame}
-  \frametitle{Kernel configuration details}
-  \begin{itemize}
-  \item The configuration is stored in the \code{.config} file at the
-    root of kernel sources
-    \begin{itemize}
-    \item Simple text file, \code{CONFIG_PARAM=value} (included by the kernel Makefile)
-    \end{itemize}
-  \item As options have dependencies, typically never edited by hand,
-    but through graphical or text interfaces:
-    \begin{itemize}
-    \item \code{make xconfig}, \code{make gconfig} (graphical)
-    \item \code{make menuconfig}, \code{make nconfig} (text)
-    \item You can switch from one to another, they all load/save the
-      same \code{.config} file, and show the same set of options
-    \end{itemize}
-  \end{itemize}
-\end{frame}
-
 \begin{frame}
   \frametitle{Initial configuration}
   Difficult to find which kernel configuration will work
@@ -258,45 +239,23 @@
   \end{itemize}
 \end{frame}
 
-\begin{frame}
-  \frametitle{make xconfig}
-  \code{make xconfig}
-  \begin{itemize}
-  \item The most common graphical interface to configure the kernel.
-  \item File browser: easier to load configuration files
-  \item Search interface to look for parameters
- \item Required Debian / Ubuntu packages: \code{qt5-default}
-  \end{itemize}
-\end{frame}
-
-\begin{frame}
-  \frametitle{make xconfig screenshot}
-  \begin{center}
-    \includegraphics[height=0.8\textheight]{slides/sysdev-kernel-building/xconfig-screenshot.png}
-  \end{center}
-\end{frame}
-
-\begin{frame}
-  \frametitle{make xconfig search interface}
-  Looks for a keyword in the parameter name (shortcut: \code{[Ctrl]} + \code{[f]}).
-  \newline Allows to set values to found parameters.
-  \begin{center}
-    \includegraphics[height=0.7\textheight]{slides/sysdev-kernel-building/xconfig-search.png}
-  \end{center}
-\end{frame}
-
-\begin{frame}
-\frametitle{Kernel configuration options}
-  \begin{center}
-    \includegraphics[width=\textwidth]{slides/sysdev-kernel-building/xconfig-iso-example.pdf}
-  \end{center}
-\end{frame}
-
 \begin{frame}[fragile]
-  \frametitle{Corresponding .config file excerpt}
-  Options are grouped by sections and are prefixed with
-  \code{CONFIG_}.
-\footnotesize
+  \frametitle{Kernel configuration details}
+  \begin{columns}
+    \column{0.65\textwidth}
+    \begin{itemize}
+    \item The configuration is stored in the \code{.config} file at the
+      root of kernel sources
+      \begin{itemize}
+      \item Simple text file, \code{CONFIG_PARAM=value}
+      \item Options are grouped by sections and are prefixed with
+        \code{CONFIG_}
+      \item Included by the top-level kernel Makefile
+      \item Typically not edited by hand because of the dependencies
+      \end{itemize}
+    \end{itemize}
+    \column{0.35\textwidth}
+    \footnotesize
 \begin{verbatim}
 #
 # CD-ROM/DVD Filesystems
@@ -316,10 +275,27 @@ CONFIG_MSDOS_FS=y
 CONFIG_FAT_DEFAULT_CODEPAGE=437
 # CONFIG_EXFAT_FS is not set
 \end{verbatim}
+  \end{columns}
 \end{frame}
 
 \begin{frame}
-  \frametitle{make menuconfig}
+  \frametitle{xconfig}
+  \begin{columns}
+    \column{0.5\textwidth}
+    \code{make xconfig}
+    \begin{itemize}
+    \item The most common graphical interface to configure the kernel.
+    \item File browser: easy to load configuration files
+    \item Search interface to look for parameters (\code{[Ctrl]} + \code{[f]})
+    \item Required Debian/Ubuntu packages: \code{qt5-default}
+    \end{itemize}
+    \column{0.5\textwidth}
+    \includegraphics[width=\textwidth]{slides/sysdev-kernel-building/xconfig-screenshot.png}
+  \end{columns}
+\end{frame}
+
+\begin{frame}
+  \frametitle{menuconfig}
   \begin{columns}
     \column{0.5\textwidth}
     \code{make menuconfig}
@@ -334,6 +310,15 @@ CONFIG_FAT_DEFAULT_CODEPAGE=437
   \end{columns}
 \end{frame}
 
+\begin{frame}
+  \frametitle{Kernel configuration options}
+  You can switch from one tool to another, they all load/save the same
+  \code{.config} file, and show the same set of options
+  \begin{center}
+    \includegraphics[width=\textwidth]{slides/sysdev-kernel-building/iso-example.pdf}
+  \end{center}
+\end{frame}
+
 \begin{frame}
   \frametitle{make oldconfig}
   \code{make oldconfig}
diff --git a/slides/sysdev-kernel-building/xconfig-example.png b/slides/sysdev-kernel-building/xconfig-example.png
new file mode 100644
index 00000000..730876ff
Binary files /dev/null and b/slides/sysdev-kernel-building/xconfig-example.png differ
diff --git a/slides/sysdev-kernel-building/xconfig-iso-example.svg b/slides/sysdev-kernel-building/xconfig-iso-example.svg
deleted file mode 100644
index 54b50b7c..00000000
--- a/slides/sysdev-kernel-building/xconfig-iso-example.svg
+++ /dev/null
@@ -1,302 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/"
-   xmlns:cc="http://creativecommons.org/ns#"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:xlink="http://www.w3.org/1999/xlink"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   width="22.933607cm"
-   height="9.6187849cm"
-   viewBox="352 165 440.7241 185.16161"
-   version="1.1"
-   id="svg57"
-   sodipodi:docname="xconfig-iso-example.svg"
-   inkscape:version="1.0.1 (0767f8302a, 2020-10-17)">
-  <metadata
-     id="metadata63">
-    <rdf:RDF>
-      <cc:Work
-         rdf:about="">
-        <dc:format>image/svg+xml</dc:format>
-        <dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title />
-      </cc:Work>
-    </rdf:RDF>
-  </metadata>
-  <defs
-     id="defs61">
-    <marker
-       inkscape:stockid="Arrow1Lend"
-       orient="auto"
-       refY="0"
-       refX="0"
-       id="Arrow1Lend"
-       style="overflow:visible"
-       inkscape:isstock="true">
-      <path
-         id="path903"
-         d="M 0,0 5,-5 -12.5,0 5,5 Z"
-         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
-         transform="matrix(-0.8,0,0,-0.8,-10,0)"
-         inkscape:connector-curvature="0" />
-    </marker>
-    <marker
-       inkscape:stockid="Arrow1Lstart"
-       orient="auto"
-       refY="0"
-       refX="0"
-       id="Arrow1Lstart"
-       style="overflow:visible"
-       inkscape:isstock="true">
-      <path
-         id="path900"
-         d="M 0,0 5,-5 -12.5,0 5,5 Z"
-         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
-         transform="matrix(0.8,0,0,0.8,10,0)"
-         inkscape:connector-curvature="0" />
-    </marker>
-    <marker
-       inkscape:stockid="Arrow1Lstart"
-       orient="auto"
-       refY="0"
-       refX="0"
-       id="Arrow1Lstart-6"
-       style="overflow:visible"
-       inkscape:isstock="true">
-      <path
-         inkscape:connector-curvature="0"
-         id="path900-5"
-         d="M 0,0 5,-5 -12.5,0 5,5 Z"
-         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
-         transform="matrix(0.8,0,0,0.8,10,0)" />
-    </marker>
-    <marker
-       inkscape:stockid="Arrow1Lend"
-       orient="auto"
-       refY="0"
-       refX="0"
-       id="Arrow1Lend-8"
-       style="overflow:visible"
-       inkscape:isstock="true">
-      <path
-         inkscape:connector-curvature="0"
-         id="path903-8"
-         d="M 0,0 5,-5 -12.5,0 5,5 Z"
-         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
-         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
-    </marker>
-    <marker
-       inkscape:stockid="Arrow1Lend"
-       orient="auto"
-       refY="0"
-       refX="0"
-       id="marker1756"
-       style="overflow:visible"
-       inkscape:isstock="true">
-      <path
-         inkscape:connector-curvature="0"
-         id="path1754"
-         d="M 0,0 5,-5 -12.5,0 5,5 Z"
-         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
-         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
-    </marker>
-  </defs>
-  <sodipodi:namedview
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1"
-     objecttolerance="10"
-     gridtolerance="10"
-     guidetolerance="10"
-     inkscape:pageopacity="0"
-     inkscape:pageshadow="2"
-     inkscape:window-width="1848"
-     inkscape:window-height="983"
-     id="namedview59"
-     showgrid="false"
-     inkscape:zoom="0.78684783"
-     inkscape:cx="620.74458"
-     inkscape:cy="222.96582"
-     inkscape:window-x="1992"
-     inkscape:window-y="27"
-     inkscape:window-maximized="1"
-     inkscape:current-layer="svg57"
-     fit-margin-top="0"
-     fit-margin-left="0"
-     fit-margin-right="0"
-     fit-margin-bottom="0"
-     inkscape:document-rotation="0">
-    <inkscape:grid
-       type="xygrid"
-       id="grid896"
-       originx="-0.54913826"
-       originy="36.561606" />
-  </sodipodi:namedview>
-  <text
-     id="text4"
-     y="174.60001"
-     x="351.44992"
-     style="font-style:normal;font-weight:normal;font-size:12.8px;font-family:'Latin Modern Sans';text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
-     font-size="12.8"><tspan
-       id="tspan2"
-       y="174.60001"
-       x="351.44992">Compiled as a module (separate file)</tspan></text>
-  <text
-     id="text8"
-     y="222.60001"
-     x="351.44992"
-     style="font-style:normal;font-weight:normal;font-size:12.8px;font-family:'Latin Modern Sans';text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
-     font-size="12.8"><tspan
-       id="tspan6"
-       y="222.60001"
-       x="351.44992">Driver options</tspan></text>
-  <text
-     id="text12"
-     y="298.60001"
-     x="351.44992"
-     style="font-style:normal;font-weight:normal;font-size:12.8px;font-family:'Latin Modern Sans';text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
-     font-size="12.8"><tspan
-       id="tspan10"
-       y="298.60001"
-       x="351.44992">Compiled statically into the kernel</tspan></text>
-  <text
-     id="text16"
-     y="190.60001"
-     x="351.44992"
-     style="font-style:normal;font-weight:500;font-size:12.8px;font-family:Inconsolata;text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
-     font-size="12.8"><tspan
-       id="tspan14"
-       y="190.60001"
-       x="351.44992">CONFIG_ISO9660_FS=m</tspan></text>
-  <text
-     id="text20"
-     y="238.60001"
-     x="351.44992"
-     style="font-style:normal;font-weight:500;font-size:12.8px;font-family:Inconsolata;text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
-     font-size="12.8"><tspan
-       id="tspan18"
-       y="238.60001"
-       x="351.44992">CONFIG_JOLIET=y</tspan></text>
-  <text
-     id="text24"
-     y="258.60001"
-     x="351.44992"
-     style="font-style:normal;font-weight:500;font-size:12.8px;font-family:Inconsolata;text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
-     font-size="12.8"><tspan
-       id="tspan22"
-       y="258.60001"
-       x="351.44992">CONFIG_ZISOFS=y</tspan></text>
-  <text
-     id="text28"
-     y="310.60001"
-     x="351.44992"
-     style="font-style:normal;font-weight:500;font-size:12.8px;font-family:Inconsolata;text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none"
-     font-size="12.8"><tspan
-       id="tspan26"
-       y="310.60001"
-       x="351.44992">CONFIG_UDF_FS=y</tspan></text>
-  <g
-     id="g34"
-     transform="translate(-0.55007003,-5.3999999)">
-    <line
-       id="line30"
-       y2="219.338"
-       x2="491.453"
-       y1="200"
-       x1="456"
-       style="fill:none;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1" />
-    <polygon
-       id="polygon32"
-       points="486.864,222.53 491.453,219.338 491.652,213.751 498.037,222.929 "
-       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1" />
-  </g>
-  <g
-     id="g40"
-     transform="translate(-0.55007003,-5.3999999)">
-    <line
-       id="line36"
-       y2="240"
-       x2="490.26401"
-       y1="240"
-       x1="472"
-       style="fill:none;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1" />
-    <polygon
-       id="polygon38"
-       points="487.764,245 490.264,240 487.764,235 497.764,240 "
-       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1" />
-  </g>
-  <g
-     id="g46"
-     transform="translate(-0.55007003,-5.3999999)">
-    <line
-       id="line42"
-       y2="260"
-       x2="490.26401"
-       y1="260"
-       x1="472"
-       style="fill:none;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1" />
-    <polygon
-       id="polygon44"
-       points="487.764,265 490.264,260 487.764,255 497.764,260 "
-       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1" />
-  </g>
-  <g
-     id="g52"
-     transform="translate(-0.55007003,-5.3999999)">
-    <line
-       id="line48"
-       y2="282.798"
-       x2="486.67499"
-       y1="292"
-       x1="456"
-       style="fill:none;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1" />
-    <polygon
-       id="polygon50"
-       points="485.717,288.305 486.675,282.798 482.843,278.727 493.858,280.643 "
-       style="fill:#cc1f1a;fill-opacity:1;fill-rule:evenodd;stroke:#cc1f1a;stroke-width:2;stroke-opacity:1" />
-  </g>
-  <image
-     sodipodi:absref="/home/mike/training-materials/slides/sysdev-kernel-building/iso-example.png"
-     xlink:href="iso-example.png"
-     x="502.90991"
-     y="205.388"
-     width="290.18701"
-     height="83.2836"
-     id="image54" />
-  <text
-     id="text4-8"
-     y="377.64575"
-     x="347.36755"
-     style="font-style:normal;font-weight:normal;font-size:12.8px;font-family:'Latin Modern Sans';text-anchor:start;fill:#cc1f1a;fill-opacity:1;stroke:none;stroke-width:1"
-     font-size="12.8"><tspan
-       style="stroke-width:1"
-       id="tspan2-8"
-       y="377.64575"
-       x="347.36755" /></text>
-  <text
-     xml:space="preserve"
-     style="font-style:normal;font-weight:normal;font-size:8.82826px;line-height:125%;font-family:Sans;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.509323px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-     x="351.30515"
-     y="347.72122"
-     id="text876"><tspan
-       sodipodi:role="line"
-       id="tspan874"
-       x="351.30515"
-       y="347.72122"
-       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8.82826px;font-family:'Latin Modern Sans';-inkscape-font-specification:'Latin Modern Sans';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.509323px">Values in resulting .config file </tspan></text>
-  <text
-     xml:space="preserve"
-     style="font-style:normal;font-weight:normal;font-size:8.82826px;line-height:125%;font-family:Sans;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.509323px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-     x="528.09039"
-     y="347.62589"
-     id="text876-8"><tspan
-       sodipodi:role="line"
-       id="tspan874-9"
-       x="528.09039"
-       y="347.62589"
-       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8.82826px;font-family:'Latin Modern Sans';-inkscape-font-specification:'Latin Modern Sans';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.509323px">Parameter values as displayed in make xconfig</tspan></text>
-</svg>
diff --git a/slides/sysdev-kernel-building/xconfig-search.png b/slides/sysdev-kernel-building/xconfig-search.png
deleted file mode 100644
index de08c466..00000000
Binary files a/slides/sysdev-kernel-building/xconfig-search.png and /dev/null differ




More information about the training-materials-updates mailing list