mbox series

[RFC,0/3] Deploy DTBs with kernel recipe

Message ID 20240613043635.21239-1-ubely@ilbers.de
Headers show
Series Deploy DTBs with kernel recipe | expand

Message

Uladzimir Bely June 13, 2024, 4:19 a.m. UTC
Image task "do_copy_boot_files" is used to deploy kernel, initrd and
devicetree binaries to deploy directory.

When different images for the same target are built (e.g., "-base" and
"-debug") in parallel, this causes issues with DTB deployment since
they have no any image name specific stuff in the path, unlike kernel
and initrd.

Here we make kernel recipes (that are original source of these files)
responcible for DTB deployment.

Related topics on maillist:

https://groups.google.com/g/isar-users/c/4BRDM02xC40
https://groups.google.com/g/isar-users/c/qAnjahjjfsw
https://groups.google.com/g/isar-users/c/ZMD4XY4dKWQ
https://groups.google.com/g/isar-users/c/PSGU_AcdPZ8
https://groups.google.com/g/isar-users/c/Va0Ue-ISYeA

To fix the case when different distro use same namings for DTB, this
patchset should be merged with "[PATCH] Fix do_copy_boot_files error":

https://groups.google.com/g/isar-users/c/Va0Ue-ISYeA

Uladzimir Bely (3):
  Don't deploy devicetree files with image
  linux-distro: Deploy devicetree files
  linux-custom: Deploy devicetree files

 meta/classes/image.bbclass                 | 11 --------
 meta/recipes-kernel/linux/linux-custom.inc | 13 +++++++++
 meta/recipes-kernel/linux/linux-distro.bb  | 31 ++++++++++++++++++++++
 3 files changed, 44 insertions(+), 11 deletions(-)