From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 06 Feb 2026 13:29:29 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f185.google.com (mail-lj1-f185.google.com [209.85.208.185]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 616CTRW7024629 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 6 Feb 2026 13:29:28 +0100 Received: by mail-lj1-f185.google.com with SMTP id 38308e7fff4ca-38310a79f92sf13972961fa.3 for ; Fri, 06 Feb 2026 04:29:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1770380962; cv=pass; d=google.com; s=arc-20240605; b=SrV9J7slo5wrLNpI57Y6qeeDpLV3buEql/ZoVUzf8dq5L3SOo2v2zaR8RlR2un4OZQ ++dlbuzo9csiO8Vi45uZzm4hPmVKn9VIwUOkr3OVxxLgQIHg8eyj3pAI7m5k5K2u9x1d Zdj9Ih+q1jL+wH2JQG1+99M4GVHrjcbf9BmXZTbmC9xaWTjR3rSECvWeUtL1DHt2XXo0 KxOb4cvO4xotLr/RmladmkwMoKHidsvMNBsoxMqGkvWpxrfcer8JIzjryh4Jzpo3v7R0 4r3W4OiYC27xNUmiGircwEsoS724Z6rc/2RDO9AdQEk9KLAem1VA9LKX0A2dO3RW7UTk M3hQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=j8gu7f7TdTrJMG4IHySvJSzh3QfzGzjZ16t528XQPN8=; fh=Oy9TS00NF0eWluo/pPzEfm0+RdaXsAxShOjbPZI/Ft8=; b=gnK9XRGvl8D7LxCYADQYC96AcXP2ywpwVpr6AoWY9gJipKrRf5f5KYiBtpatBSRybb loXnCBveqD0Gc0+Cg7rvEoDTvhtkXbC5Bm1Va+d0LGo+Ra+etHov0VybsneoOndKLQFI Rap7KErVlls1/ZShTrHSYZ2rqTCJUWApSdAsg+BoTVvPpK0GYrE+OAeyYVcRUwaecVa8 DFYu+knyE+BDoi4cFHWJc9SviXgYkp+juQmoFoXBOy0SBhvi2xKCrV4jnbIRyLMRURco cTaYNdUYBCGBynarfDE8ZHZSVopEFsRYn1ZZZ6R87hQGVwDUf0pUuQzzaoYcHcVJ2Isr rvJw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1770380962; x=1770985762; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=j8gu7f7TdTrJMG4IHySvJSzh3QfzGzjZ16t528XQPN8=; b=h4l+RBlWxbg38IHFNlJCLYkroSPAQtrvTkwuUa/kBrPfcDw1of+cR5DMGIj/YFqdJX Gpfn+Z8dYWo5cpjarMCyaKIBkH2zmLdCusaD26+chbtWFCwtoObwbNYBXMkSjzAoSf2L wEzUOT43+41tKHXmU7LDnJd4WubpHO6xZSoGbnN+gNB5Fqht/6SAwU2feQy8e8wotJfJ 5DNeHxtJ4sj3N+UdT6VfVHtEan/QVaS4Bn8/ksIfr6zuUs2ecyHM/1NxzJuyavWBUL8M PlZ+Kbf/CgqLQilrmNUy+2AORJeFr1tWoZCLSq+UxvP5rxVZU770JpFuveJhUWqPlXmR TpgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770380962; x=1770985762; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=j8gu7f7TdTrJMG4IHySvJSzh3QfzGzjZ16t528XQPN8=; b=a5tNL8KMYXALJ7KAli8Z1pBkS1ieKbrF0IA69JhhnKJIIXh5LX2hmslGbfXPfiZ++h hsu1u2hG9EWhvYjDgZCL529X0BV8N1VYpNRJmQuzt975sdCsOBksM6AlYuXpjp0g9wDW aWj5BC9PPhnv91ILbbPtrBCuiSpwaHB95BUeDzpOkQhFLawHkYwFMZWIsFX0xGNoJwjI gflDJqwEj9PuMvmK8L54B4EK7SHwh9uDXHX2iwuJmMo74V0U8CziPA9wl3taGJVuI2Ib PBctG0fOCTY3edXC6bjOvjQlsBobjp+t3tfmAKeGgz+NHMzQxFLkigSx/sG3qsAxfsJY aiGQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWozOOLZZZDrFLu2/nQJE4V+fJxsgWMivOW2K88dT4F9HywmALveKYTDIvcJ7EVVQTqpw1/@ilbers.de X-Gm-Message-State: AOJu0YzDsoQ2wzcRl+WJWqlrucuCWOQ0bpHWP5CWQr67rfJcvRiL4FWZ qNbJNlHiQwcWKXMs6/YBU3z134aDjY8JlCfeUeCW7ghni82FQV1kjxsO X-Received: by 2002:a05:651c:f09:b0:37f:d511:c54a with SMTP id 38308e7fff4ca-386b515f12fmr9889751fa.33.1770380961899; Fri, 06 Feb 2026 04:29:21 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="AV1CL+FijFwS7XcfCht7/4VE08PYrW5qwjuEiA5QCL8zF7xWUg==" Received: by 2002:a2e:a16f:0:b0:37f:b4e0:a50c with SMTP id 38308e7fff4ca-386a05f6587ls3708941fa.0.-pod-prod-03-eu; Fri, 06 Feb 2026 04:29:19 -0800 (PST) X-Received: by 2002:a05:651c:50d:b0:383:21aa:60a0 with SMTP id 38308e7fff4ca-386b4f14317mr9803641fa.14.1770380959193; Fri, 06 Feb 2026 04:29:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770380959; cv=none; d=google.com; s=arc-20240605; b=BUs/opOMCl283KBOx4T2nnB9hl3IMeXwBbxvtLwda9Mu8TWkg1AIM+uEcxqrfjsRHu VEw7LBwASR0p0zEKdf/QLMRlSM3SNspraSWwshx1hx/CXj0C6l5UGTWDLfXZwpTRqskT wRB+J7zewISx9ZdPiJbAeYG1EJ+TVQJAQrZ0CySvR9YGYFkcRP7m5cn4X1ZVHMBD1Rzl Ut+p/AVPtRf9j/RmnjELJAP3iSl82k2wSkFq0d1z/QkI9saaH+N187ZeFT4cbE8x7TYX LpOaX8gaTkK+B1J/6ATjAtCvmxthTmZ7RePNEFCjqYkzWzGZSHQGrsdwGFNigJu+EZon lHmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=G52jHdlJuo0Gtk+L4cW69ZNw8pMPb140nOy7+Flw7Gg=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=C5eTJH+C3aQ0xG1b15sbW6OPZpHEA6KUOwkp6HYwjgM58ja5KgincpI3da9yd1xvu6 KEWmPb+qNU4L8t+2tU3i560xqlnDBxEv/OAV9Zg0tzQBe6I7m9ZSdIxmnaeTIBG2vhd/ OGzJMjpfDbrQgXQo8e0sq8ycMqpO1iqj1Bao7Ba2b2gYarPIkLPhbDlxg7TGxfGwQeSD 7RC81k31Cq91SOmEJ6Pk4zCHfzJhMxQ6tBoKvRz+dFRDoT4h0Aq+zDUSyObvChQwoFJ3 cAIm4/f5oo1KGPWPD6sbyBuaLhIQL4tKjSGegyUBpw02DKMbi+GxUpeDYdxdaOjjhvD3 Wn5w==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-386b62494f4si511531fa.3.2026.02.06.04.29.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Feb 2026 04:29:19 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from headcrash-nb.. ([81.198.135.230]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 616CTH1M024605 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 6 Feb 2026 13:29:17 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v5 0/3] Deploy DTBs with separate recipe Date: Fri, 6 Feb 2026 14:27:23 +0200 Message-ID: <20260206122910.248334-1-amikan@ilbers.de> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: eDNzMePojfok 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 a separate recipe responsible for the DTB deployment. DTBs are extracted from the kernel package (provided by distro or self-built). The recipe 'dtb-files' is MACHINE-dependent, so different DTB_FILES may be deployed for different machines. At the same time, all these 'dtb-files-${MACHINE}' targets depend on the same kernel package, so it is built only once. The case when different distros (e.g., bullseye/bookworm) are using the same name for DTB binaries is covered by the patch 1. It also covers the case when image uses different kernel suffix (e.g., "realtime" option for the kernel in some downstreams). Related topics on maillist: https://groups.google.com/g/isar-users/c/ht3YmKZcJlM 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 https://groups.google.com/g/isar-users/c/ixzytHYnTmI Changes since v4: - Rebase on next. - Squash latest patch to first one. - Fix deploy paths in initrd tests. Changes since v3: - Rebase on next. - Fix target deploy dir path for installer. Changes since v2: - Patch 1: Consider also kernel suffix. - Patch 2: Use separate testcase for possible dtb clashes. - Minor cosmetic fixes. Changes since v1: - Separate `dtb-files` recipe used instead of linux one - Included older "[PATCH] Fix do_copy_boot_files error" into the series ( https://groups.google.com/g/isar-users/c/Va0Ue-ISYeA ) Anton Mikanovich (1): testsuite: Add test to check dtb deployment Ilia Skochilov (1): meta: Fix do_copy_boot_files error for different distros of same machine Uladzimir Bely (1): meta: Move DTB deployment to a separate dtb-files recipe RECIPE-API-CHANGELOG.md | 15 +++++++ .../installer-add-rootfs.bbclass | 4 +- meta/classes-recipe/image.bbclass | 15 +++---- meta/conf/bitbake.conf | 2 +- meta/recipes-kernel/dtb-files/dtb-files.bb | 41 +++++++++++++++++++ testsuite/citest.py | 30 ++++++++++++-- 6 files changed, 92 insertions(+), 15 deletions(-) create mode 100644 meta/recipes-kernel/dtb-files/dtb-files.bb -- 2.43.0 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260206122910.248334-1-amikan%40ilbers.de.