[bootlin/training-materials] 2c7af3: yocto: lab1: clarify eCryptFS requirement

Luca Ceresoli noreply at github.com
Thu Jul 14 11:47:59 CEST 2022


  Branch: refs/heads/master
  Home:   https://github.com/bootlin/training-materials
  Commit: 2c7af3f28746bd43fafb05dcee8e85a58220f3e1
      https://github.com/bootlin/training-materials/commit/2c7af3f28746bd43fafb05dcee8e85a58220f3e1
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M labs/yocto-first-build-stm32/yocto-first-build-stm32.tex
    M labs/yocto-first-build/yocto-first-build.tex

  Log Message:
  -----------
  yocto: lab1: clarify eCryptFS requirement

Builds work on a home encrypted by dm_crypt.

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: 64efb20a5ba3b6c57caf74fa18c4e95aa4c5005d
      https://github.com/bootlin/training-materials/commit/64efb20a5ba3b6c57caf74fa18c4e95aa4c5005d
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M labs/yocto-first-build-stm32/yocto-first-build-stm32.tex

  Log Message:
  -----------
  yocto: lab1: upgrade to kirkstone (stm32 boards)

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: eca0915c0536df92e137d584d0609f6ade590a35
      https://github.com/bootlin/training-materials/commit/eca0915c0536df92e137d584d0609f6ade590a35
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M labs/yocto-add-application/yocto-add-application.tex

  Log Message:
  -----------
  yocto: lab3: remove space before exclamation mark

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: 58ae1c78c1f590dc1454c79e307d95f36d9ae3d1
      https://github.com/bootlin/training-materials/commit/58ae1c78c1f590dc1454c79e307d95f36d9ae3d1
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M labs/yocto-add-application/yocto-add-application.tex

  Log Message:
  -----------
  yocto: lab3: add explanation to solve "multiple definition of" with GCC 10

This started appearing after upgrading to yocto kirkstone.

Suggested-by: Théo Lebrun <theo.lebrun at bootlin.com>
Suggested-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: 12ecb60f8af1619966518d30b7fa3d6b4f88e76b
      https://github.com/bootlin/training-materials/commit/12ecb60f8af1619966518d30b7fa3d6b4f88e76b
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M labs/yocto-layer/yocto-layer.tex

  Log Message:
  -----------
  yocto: lab4: clarify path where the new layer should be added

Avoid the creation inside the build directory.

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: 84adc71763d3b58836342527c1640f1f681c3fad
      https://github.com/bootlin/training-materials/commit/84adc71763d3b58836342527c1640f1f681c3fad
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0001-Add-nunchuk-driver.patch
    A lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157a-dk1-add-description-of-Nunchuk-o.patch
    R lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157a-dk1-add-nunchuk.patch
    R lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157d-dk1-add-nunchuk.patch
    A lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0003-ARM-dts-stm32mp157d-dk1-add-description-of-Nunchuk-o.patch
    M lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/defconfig
    M lab-data/yocto/bootlin-lab-data/nunchuk/linux/0001-Add-nunchuk-driver.patch
    M labs/yocto-extend-recipe/yocto-extend-recipe.tex

  Log Message:
  -----------
  yocto: lab5: upgrade to kirkstone (stm32 boards)

The current patches don't build on the 5.15 kernel used in the kirkstone
branch of meta-st-stm32mp.

Upgrade with these steps:

 * copy the kernel patch from the Buildroot labs
 * copy the STM32MP157A DT patch from the Buildroot labs
 * rewrite the STM32MP157D DT patch taking the 157A patch as an example
 * replace the defconfig with the default one from meta-st + nunchuk driver
   - bitbake virtual/kernel -c menuconfig
   - enable the JOYSTICK_WIICHUCK driver
   - bitbake virtual/kernel -c savedefconfig

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: e54496f34fe26259a6afb0ae21b324995a550dc0
      https://github.com/bootlin/training-materials/commit/e54496f34fe26259a6afb0ae21b324995a550dc0
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M labs/yocto-custom-machine/yocto-custom-machine.tex

  Log Message:
  -----------
  yocto: lab6: upgrade to kirkstone (stm32 boards)

Update the required MACHINE configuration variables, taking the minimum
required from the ST layer.

Let's stop having a shared feature list because for ST boards we now need
the m4copro MACHINE_FEATURE to avoid this nasty error:

  ERROR: st-image-userfs-1.0-r0 do_rootfs: Could not invoke dnf. Command '[...]' returned 1:
  DNF version: 4.11.1
  cachedir: .../tmp/work/bootlinlabs-poky-linux-gnueabi/st-image-userfs/1.0-r0/rootfs/var/cache/dnf
  Added oe-repo repo from .../tmp/work/bootlinlabs-poky-linux-gnueabi/st-image-userfs/1.0-r0/oe-rootfs-repo
  User-Agent: falling back to 'libdnf': could not detect OS or basearch
  repo: using cache for: oe-repo
  oe-repo: using metadata from Tue 12 Jul 2022 03:07:21 PM UTC.
  --> Starting dependency resolution
  --> Finished dependency resolution
  Error:
   Problem: conflicting requests
    - nothing provides /bin/sh needed by linux-examples-stm32mp1-userfs-5.4+0+8e1c0b246c-r0.bootlinlabs
  (try to add '--skip-broken' to skip uninstallable packages)

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: b3cb04108f44a5484616d32eb68af4620ce3442c
      https://github.com/bootlin/training-materials/commit/b3cb04108f44a5484616d32eb68af4620ce3442c
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M labs/yocto-sdk/yocto-sdk.tex

  Log Message:
  -----------
  yocto: lab8: add fixes required to build ctris with kirkstone

With GCC 11 it has 2 new errors.

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: 368b824ec162aae437774d42278594b5cbb7301c
      https://github.com/bootlin/training-materials/commit/368b824ec162aae437774d42278594b5cbb7301c
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M slides/yocto-advanced/yocto-advanced.tex
    M slides/yocto-bsp/yocto-bsp.tex
    M slides/yocto-image/yocto-image.tex
    M slides/yocto-layer-distro/yocto-layer-distro.tex
    M slides/yocto-overview/yocto-overview.tex
    M slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
    M slides/yocto-recipe-basics/yocto-recipe-basics.tex
    M slides/yocto-recipe-extra/yocto-recipe-extra.tex

  Log Message:
  -----------
  yocto: slides: upgrade to kirkstone

Upgrade the slides to focus on the Yocto kirkstone release.

Main changes:

 * Document the ':' syntax for overrides, but keep a note of the old syntax
   for reference
 * Use ':' for overrides in variable assignments
 * Use ':' for overrides in 'bitbake -e' output
 * Mention kirkstone in examples

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: 5f0d1b50db28a212cc02b6116d8849845f3c8642
      https://github.com/bootlin/training-materials/commit/5f0d1b50db28a212cc02b6116d8849845f3c8642
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M slides/yocto-bsp/yocto-bsp-overview.dia
    M slides/yocto-bsp/yocto-bsp.tex
    M slides/yocto-layer-distro/yocto-layer-distro.dia
    M slides/yocto-layer/yocto-layer-create.dia
    M slides/yocto-layer/yocto-layer-intro.dia
    M slides/yocto-overview/yocto-overview-poky.dia
    M slides/yocto-overview/yocto-overview.tex
    M slides/yocto-overview/yocto-project-overview.dia
    M slides/yocto-recipe-advanced/yocto-recipe-advanced-extend.dia
    M slides/yocto-recipe-basics/yocto-recipe-basics-organisation.dia
    M slides/yocto-recipe-basics/yocto-recipe-basics-overview.dia

  Log Message:
  -----------
  yocto: slides: meta-ti has moved to meta-ti-bsp, update to that

In kirkstone the TI repo has a new organisation.

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: 31ac0c05c71d9bdb001868b1578c4e0dc09ffb8e
      https://github.com/bootlin/training-materials/commit/31ac0c05c71d9bdb001868b1578c4e0dc09ffb8e
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M slides/yocto-overview/yocto-overview.tex

  Log Message:
  -----------
  yocto: slides: don't suggest editing meta-ti

For all normal yocto usages, editing the vendor layer is a no-go as much as
editing poky, and that's also what we wisely teach in the labs.

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: d693ed9c661589387f74b6493e2c06fc8916abe2
      https://github.com/bootlin/training-materials/commit/d693ed9c661589387f74b6493e2c06fc8916abe2
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M slides/course-information/course-information.tex

  Log Message:
  -----------
  Revert "course-information.tex: "Raise you hand" is not Jitsi-specific"

This reverts commit b4464c9570eb04a5524f812637b38211f3c29280.

That commit was wrong, we have no "raise hand" button in Meet.

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: e941f57b0082b9d240bd2481da0ac307f3f28ec0
      https://github.com/bootlin/training-materials/commit/e941f57b0082b9d240bd2481da0ac307f3f28ec0
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    R lab-data/yocto/bootlin-lab-data/0001-Simplify-linux-ti-staging-5.4-recipe.patch
    A lab-data/yocto/bootlin-lab-data/0001-Simplify-linux-ti-staging-recipe-for-the-Bootlin-lab.patch
    M labs/yocto-first-build/yocto-first-build.tex

  Log Message:
  -----------
  yocto: lab1: upgrade to kirkstone (BBB boards)

Also upgrade the patchto enable NFS booting, which whil be needed for Lab2.

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: 98cddc1a23580c151cdc71fad48e117085f3c680
      https://github.com/bootlin/training-materials/commit/98cddc1a23580c151cdc71fad48e117085f3c680
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M labs/yocto-advanced-configuration/yocto-advanced-configuration.tex

  Log Message:
  -----------
  yocto: lab2: upgrade to kirkstone (BBB boards)

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: 9ea4008e6773eb0652ca360dc01dfcb5c6c450b5
      https://github.com/bootlin/training-materials/commit/9ea4008e6773eb0652ca360dc01dfcb5c6c450b5
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M lab-data/yocto/bootlin-lab-data/nunchuk/linux/0002-Add-i2c1-and-nunchuk-nodes-in-dts.patch
    M labs/yocto-extend-recipe/yocto-extend-recipe.tex

  Log Message:
  -----------
  yocto: lab5: upgrade to kirkstone (BBB boards)

Update the DT patch for the 5.10 kernel (taken from the Buildroot labs, as
suggested by Hervé) and update lab notes.

Suggested-by: Hervé Codina <herve.codina at bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: 8c3263f8d2db2ce9e95836dc00bc7695bac2382c
      https://github.com/bootlin/training-materials/commit/8c3263f8d2db2ce9e95836dc00bc7695bac2382c
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M labs/yocto-custom-machine/yocto-custom-machine.tex

  Log Message:
  -----------
  yocto: lab6: add back support for the BeagleBone (non-wireless)

Even though we use the BeagleBone Wireless for our trainings, the labs have
photos of the classic version with Ethernet, and some online trainees own
one that they can use. Thus add back support for it, which is merely a
matter of building its device tree.

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


  Commit: 2d91eed53553b04986b0e203e315b391d2ef4ccb
      https://github.com/bootlin/training-materials/commit/2d91eed53553b04986b0e203e315b391d2ef4ccb
  Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M labs/yocto-custom-machine/yocto-custom-machine.tex

  Log Message:
  -----------
  yocto: lab6: upgrade to kirkstone (BBB boards)

Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


Compare: https://github.com/bootlin/training-materials/compare/83cf5e350a35...2d91eed53553


More information about the training-materials-updates mailing list