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; Wed, 08 Oct 2025 10:55:26 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f62.google.com (mail-wm1-f62.google.com [209.85.128.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5988tPEa006666 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 8 Oct 2025 10:55:25 +0200 Received: by mail-wm1-f62.google.com with SMTP id 5b1f17b1804b1-46e39567579sf31308775e9.0 for ; Wed, 08 Oct 2025 01:55:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1759913720; cv=pass; d=google.com; s=arc-20240605; b=Fidr9S62c/bRBvanmZPMMkd+5ktC8/v1lGqHguhG20XFjPiAGjk8XlQtVgdhiphnrg +6Yb81pRYnfTDUcO/EISGdLtnfvPIewsBB1wowJVGx6hhBbASUxlFr2ohLZXbSCFc802 /AybC9zi8pTWPUWSSImQawR2gwIZuSUHa5KHCPA4y3HBi0Wz/KVxSC1r7wQH9J3YYQrU kvCRUYSn+by7TEw18DiQ8x0PLGd/brG5kHYZ5f5brbjtJtz1hl3IOl30UpYorfA8MY59 JhETmp1mbLYXMdhqjiu+5kFIIjyu08mbrRqmrkBeKVgD/jAbqUQWHARJreCaatqX5Ss0 JmMg== 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=D21ArxXDFDhqQSGRphApKa3ricgvxrZQbOGk9liMqCU=; fh=AyllEzws2f+b+6EHE9rfGwadRikJoEdCIZkHAVlG3lA=; b=aTM8bJwqriN+gq1HWOdrLKrvUiLJ3Le3Dg54SujsB4fmTdaObXz+tYZ9u/HQJTYNfb 339+oaCtBJ6QfHoSc5VyH+nfA0W7TQhLdyTe04nH1xm84DdpIAvelAmYZbnVN5X2mYO+ 9tVuUKmzj+BoaXYAF2kHhohtX18auYTj6A8woStQXcvD1ykXboH4F6gDXltOP1r2TQ1P cQB1nXjLbyCVBnC7l0DmEUmN8RZZqrops5ixnEnjJX2sK406BphNcv2o/dw6r/iR4F6L o0kIxePe8+brzN7iVa1DTzof+t/ZrKGVmvGqGqF+heCpbUNYfbU3jzXrlo+oqgCGlj6Q ukfg==; 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=1759913720; x=1760518520; 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=D21ArxXDFDhqQSGRphApKa3ricgvxrZQbOGk9liMqCU=; b=S53PtYbjTIjbS1aJkew/I8FI6DcCVIN6uohyzIJ5h99i3ASUfXVhkTcYa18s5+P0MV xNGKbrC0SCGMmlvDfqesavBmTEMNNiX3fNZC4kdzuHvftbu2xQW8u1wtiMxxtuvjMjSd opPrILhSqpLlPQzWlNZ6yVOc2ZDZALDSenRN0CbCIal/uf7jAcFlIqztwFZakPe/qaRI QC7AHBuKePeyORtks2BElltW3zS6UTunohmtzbcgxtYvBciR3zd5rCzZtaRcdSaSW72f PJoQVMJmVbjuvkDeYRssn1PiBz4JMGHAX+YACpwi0m4eGget2N4zbjP0acf+a1AnI4Lc Ul3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759913720; x=1760518520; 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=D21ArxXDFDhqQSGRphApKa3ricgvxrZQbOGk9liMqCU=; b=kbTp8q+boI4GwlpQ7KM7QO2v+IMwwKjdxLBR4+eiKovKbCATs+N7FfDHxin8Piq2pA Gzh5RT10GkwBcEqLv/gQ1ISNJmE7Orr1dTUQnj9isO1cnd0QQTrjiuxAoT1m+SmcpvnA wkTbun5BkkRh97aT/H8Ls/UsFFeEQ60xvHkYLPyiDfeSAjHpe/QTRX8YxA16BmegFXp1 BvttoGO82WzhoaM/T7WIsHIyvU8iYyteCKR8QLOoje2QzbpOancn8pyxlba4811qdFYC kMs8KYgyvvwqbV3fJdbb7F2mx/jJ20dwLWAtf6fpSohAs1/yVpHecTMzSG4shPiqD5Uw jYQQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVFl9QZZYwdn4mgdxUyJUxgNJyK8FaN9HfTbUWvJaYnKlvYP2uzFHnEu49QU6QnFsYTvyE5@ilbers.de X-Gm-Message-State: AOJu0YzN9n+zA+npI6sJO5njcc21/uqh3RDiV4RHAT1zhLMU6ufSYkmq l1/22uuml0CFwXvIyMos249eLWkCgf/ZjW7VcSsSYRImomupvwl7KobA X-Google-Smtp-Source: AGHT+IFzPHB/w1D6J8meuEbMO4Ua0xTn2t0q131alpoQ9Bet4feCwyCXevYSSy5KGbcdp+J/CaPQBw== X-Received: by 2002:a05:600c:4f08:b0:46e:3dcb:35b0 with SMTP id 5b1f17b1804b1-46fa9a94553mr16570975e9.2.1759913720021; Wed, 08 Oct 2025 01:55:20 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ARHlJd7DiW+G3w4cDehwn1OubvoB9bnz2UwgMWDWiV7C9LQxYw==" Received: by 2002:a05:600c:a406:b0:45b:6fba:90de with SMTP id 5b1f17b1804b1-46e68aa1b3bls32365315e9.2.-pod-prod-08-eu; Wed, 08 Oct 2025 01:55:15 -0700 (PDT) X-Received: by 2002:a05:600c:4752:b0:46e:4e6d:79f4 with SMTP id 5b1f17b1804b1-46fa9aa48d7mr18018865e9.15.1759913715383; Wed, 08 Oct 2025 01:55:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1759913715; cv=none; d=google.com; s=arc-20240605; b=VRS62ynVVxL0FYAkA/dClyfCm+XaXzEQIT2Vt+L4dVzttKOkWZS0LccCLNJ5B56tvR vLMZwjFvEpdGo3XZUJkhEgdL4LtdivE0bhO67vcqaUUVLmyta1P2xKI78mhe/kf7vGmr 1JWKzGkSwlb7nsCVaOGCgFFQRwyDUjysNdJpRDbu0g/pJmlesyd0xi8Popzl2GQzKEBl XDcnTnVBp/4tTfQ1EAk9uXTlEV0smNYJYyLjSDw/rsXPbIb4IYvHwGnwTcsMPKrE4Jf5 BoQN4N7oPX1/Ri/D+Wn1tuGrJPSEUbKpDtwRrWaVoBpg3SxnMlKTnwj0IpJfXsLG5pGS 3ZGw== 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=B/Kuvc6rcQAERZJbwncnC+9/0/NXo6nc/zv25evyye4=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=ho3Y819/aQf/2AWkkrdAvcrH5vACuDNoqely6ol/OSjqhUWqllVI928tyTKSk6rxVL WdfoBH4TYw5scChQwdckLHZG8gQZ7zBWGEUBxoF5SDeA0YpJgjeAUem3/GUGO3Ny+z9U vw+dAda2peAl83X23SGe28VvBI38b64M750c51qIiLfo6B/QtOIUvt3eDcIoPtMbA4ba oPqkrzWNi+X+Iiv3/WfhPw+gDIXZDMx4sCyg6zCsCoZv/Hi72Uf4s7IPNXDxKbJGVwzf 8c80/NTlad7hMzBVkge/S+LO10N93IJvuzMo+o+Ma3VMw2qmIzwa/tvBEmIFAVlumBkS DAbA==; 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 ffacd0b85a97d-4258396a19csi120707f8f.2.2025.10.08.01.55.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Oct 2025 01:55:15 -0700 (PDT) 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 user-B660.promwad.corp ([159.148.83.123]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 5988tE3p006643 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 8 Oct 2025 10:55:14 +0200 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v3 0/3] Deploy DTBs with separate recipe Date: Wed, 8 Oct 2025 11:55:04 +0300 Message-Id: <20251008085507.1017500-1-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 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: cQxfHeWaoWrm 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 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 ++++++++ meta/classes/image.bbclass | 15 +++----- meta/conf/bitbake.conf | 2 +- meta/recipes-kernel/dtb-files/dtb-files.bb | 41 ++++++++++++++++++++++ testsuite/citest.py | 23 ++++++++++++ 5 files changed, 85 insertions(+), 11 deletions(-) create mode 100644 meta/recipes-kernel/dtb-files/dtb-files.bb -- 2.34.1 -- 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/20251008085507.1017500-1-amikan%40ilbers.de.