[bootlin/training-materials updates] master: slides/buildroot-rootfs/buildroot-rootfs: fix genimage syntax (1de3c03a)

Giulio Benetti giulio.benetti at benettiengineering.com
Mon Feb 21 23:26:14 CET 2022


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

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

commit 1de3c03a915fef4dce61e502ec41f3f9256760d3
Author: Giulio Benetti <giulio.benetti at benettiengineering.com>
Date:   Fri Feb 11 01:00:07 2022 +0100

    slides/buildroot-rootfs/buildroot-rootfs: fix genimage syntax
    
    genimage syntax has been defined in Buildroot manual[1] during last version
    2021.11, so let's align with that.
    
    [1]: https://buildroot.org/downloads/manual/manual.html#writing-genimage-cfg
    Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>


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

1de3c03a915fef4dce61e502ec41f3f9256760d3
 slides/buildroot-rootfs/buildroot-rootfs.tex | 45 +++++++++++++++-------------
 1 file changed, 24 insertions(+), 21 deletions(-)

diff --git a/slides/buildroot-rootfs/buildroot-rootfs.tex b/slides/buildroot-rootfs/buildroot-rootfs.tex
index c184f82b..622f7ee7 100644
--- a/slides/buildroot-rootfs/buildroot-rootfs.tex
+++ b/slides/buildroot-rootfs/buildroot-rootfs.tex
@@ -413,16 +413,17 @@ test         8000  wheel   -1    =          -         /bin/sh -           Test u
 {\tiny
   \begin{verbatim}
 image boot.vfat {
-  vfat {
-    files = {
-      "bcm2708-rpi-b.dtb",
-      "rpi-firmware/bootcode.bin",
-      "rpi-firmware/cmdline.txt",
-      "kernel-marked/zImage"
-      [...]
-    }
-  }
-  size = 32M
+        vfat {
+                files = {
+                        "bcm2708-rpi-b.dtb",
+                        "rpi-firmware/bootcode.bin",
+                        "rpi-firmware/cmdline.txt",
+                        "kernel-marked/zImage"
+                        [...]
+                }
+        }
+
+        size = 32M
 }
 \end{verbatim}
 }
@@ -430,17 +431,19 @@ image boot.vfat {
 {\tiny
 \begin{verbatim}
 image sdcard.img {
-  hdimage {
-  }
-  partition boot {
-    partition-type = 0xC
-    bootable = "true"
-    image = "boot.vfat"
-  }
-  partition rootfs {
-    partition-type = 0x83
-    image = "rootfs.ext4"
-  }
+        hdimage {
+        }
+
+        partition boot {
+                partition-type = 0xC
+                bootable = "true"
+                image = "boot.vfat"
+        }
+
+        partition rootfs {
+                partition-type = 0x83
+                image = "rootfs.ext4"
+        }
 }
  \end{verbatim}
 }




More information about the training-materials-updates mailing list