| Message ID | 20240712054327.9526-1-ubely@ilbers.de |
|---|---|
| Headers | show
Return-Path: <isar-users+bncBDMIDDH5TIOBBCEFYO2AMGQEVROEGXA@googlegroups.com>
Received: from shymkent.ilbers.de ([unix socket])
by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA;
Fri, 12 Jul 2024 07:43:43 +0200
X-Sieve: CMU Sieve 2.4
Received: from mail-wr1-f61.google.com (mail-wr1-f61.google.com
[209.85.221.61])
by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id
46C5hgTm020518
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
for <iupwgm@isar-build.org>; Fri, 12 Jul 2024 07:43:42 +0200
Received: by mail-wr1-f61.google.com with SMTP id
ffacd0b85a97d-3679e7eeda6sf981819f8f.3
for <iupwgm@isar-build.org>; Thu, 11 Jul 2024 22:43:42 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1720763017; cv=pass;
d=google.com; s=arc-20160816;
b=U5Hd3a1WTUq6T+HcNlAGb1UDG1C4dz2J5QM+kazeu/Bv7ERbPOLGuYwo05+Go3+naf
bdW/FH6YJvD9ECtxJr+YT2iSK3WSVZ0b+MKHue10MXb9DoxgYA/PZOz7PtKURFK5sJLQ
bHiK9pzMBk/OqHlxOtmEgEZ/vh7Ye1anWgDSt4eRMI6r+nq7N9Cim0szkUZpoFkbm5Hh
dOMb90sIeyTDo2qNjpVTZIgoVbp8MPNLv/g+ubYpIQhYO7r8gcOA9gVqY4NDLYxOklNx
VqqWqiyyRIc/5sbdPYH/S9yIHwg6cAGfWN6RUSXPvtHR3PQ0yNLXSIrnXZqg72uhanBo
z3vA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20160816;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:mime-version:message-id:date
:subject:to:from:sender:dkim-signature;
bh=HGSVmix7LM8Gyibp4GAPPeLKtPz0bUnvUVeZZOdA9Kg=;
fh=BrU6g6LPxkq1DUYU9lHsSJVu0D51OTE6TXnbxP3XmFo=;
b=cfGNqHQ7wxfxc0jSbXyIyVjKRTkZWk80FmZ/U+Pam+7qM6B4JMFAG+IFA6zUU+86gV
kPLhbWBuJERqBwskMkzvhDOgLZhAVyged5FXBU+CCkJbxX2Rbh3vTW3do/lCvWw+oNsK
6tMSGMtUQnd0v/bmgtHyOMmlNlTsQZBcXQ0QPdgO/AH2TtH1bWIjQ5HnctBSuJh+NGAV
WNCFfMivZWlgNRf45YOtLYD51tSo7T9VN8twEeohncHTz0GDvSrYigs3ReDdo8r9EQqw
sZh2qw3YEBCz3/sosXWCETVgDwUCKSpULS5TDbHZlANqha0h2TdpFk6QAtTv2aEgRlks
Bf3g==;
darn=isar-build.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
spf=pass (google.com: domain of ubely@ilbers.de designates
85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1720763017; x=1721367817;
darn=isar-build.org;
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:to:from
:sender:from:to:cc:subject:date:message-id:reply-to;
bh=HGSVmix7LM8Gyibp4GAPPeLKtPz0bUnvUVeZZOdA9Kg=;
b=bSe+RjlyPcS0uEz3cy49qSLBMRN7wfrENhn3mlCpRCEDGqSmbzdtIsWzIOCAP20I1m
0Li3YKfuExv4LjSrZSIh032UwrEOoPMnque/gg1nVqUIAG7xTI2cj60WnmdxdMJ1yRuW
uQehRrjj7pBnH1E2qnSk9nB+bbFhxWu0dRqqjA/J0QxZZQmPQYRBbHtVFAWbBkP8UZe+
4eRRsKAzG9ddSm740SEInnN6wIrtAu/BRyjJU4jHpdU/f9EVwk4qWyEnINWCTV4eFgAS
Cz01R/mCn8b5Dszq+JMpzuPVhASjC4AA7KcSri+83lKv4e+NmD0ziij2+ed8FsQ5zQTS
mjig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1720763017; x=1721367817;
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:to:from:x-beenthere:x-gm-message-state
:sender:from:to:cc:subject:date:message-id:reply-to;
bh=HGSVmix7LM8Gyibp4GAPPeLKtPz0bUnvUVeZZOdA9Kg=;
b=Z43q3MyzYvFd1ZswiFPWsyHx2rcRQJH783dP5lDMol37niPtgArx3hRTglt3WspBuz
5YwYzNUtgENPZ5MDjX/Jyddr2VOY0ynfrYw1nZz7ywn/PWEkS2iwPIIMy6NqnoMRMS35
W1ZEQ5GddPm227buKQMazHKWeqlNCb/4tWqsNSgTbWgAfGkD3GGoKHZWUtcTAekyemOo
KcfhGRIqyguZgOLtaUzZNzgbj68jOYpg7WXdyDbWtIyDF2DHPL2wE4UZE68CWzfSyW5q
oSVIIdVVbPku3yZtvru2lw7ydILmFGRAT3K/kfAYIy8cF84EaBUfjruB2G2Ik+s+91do
mhwA==
Sender: isar-users@googlegroups.com
X-Forwarded-Encrypted: i=2;
AJvYcCXIYubnHLMIjy+IKGfDoBKnHr2bTF5dm05BrOUwu6wyjScFCFjBu3fJc1GsDQEgzxm8S2czTb9EGWFliGjH4TPNvxP4YGw=
X-Gm-Message-State: AOJu0YwMgc7Lw7vrT/iEo6t7kjtKxNkmyG2tZmw7cwKzAHKrX08NYW6m
3BS/9pBRrhGkEhNXmPd6v3wIpomsSRLdmPaqYx22HFIYALRYq1vN
X-Google-Smtp-Source:
AGHT+IHfio2XwNEPGrn/V/X0bGnshfNzpTuaInnGmOCBIrlbf/FERn3uD6o5NFu5zX1KS1pl7Xq93Q==
X-Received: by 2002:a5d:5689:0:b0:366:efbd:8aae with SMTP id
ffacd0b85a97d-367cea45b8bmr6508077f8f.5.1720763016717;
Thu, 11 Jul 2024 22:43:36 -0700 (PDT)
X-BeenThere: isar-users@googlegroups.com
Received: by 2002:a5d:6da6:0:b0:367:9918:6c47 with SMTP id
ffacd0b85a97d-367f113dbadls819131f8f.2.-pod-prod-04-eu;
Thu, 11 Jul 2024 22:43:34 -0700 (PDT)
X-Received: by 2002:a5d:53d0:0:b0:367:958e:9822 with SMTP id
ffacd0b85a97d-367cea45b33mr6675736f8f.14.1720763014614;
Thu, 11 Jul 2024 22:43:34 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1720763014; cv=none;
d=google.com; s=arc-20160816;
b=DiLY50mgvUam/gt0+PUERCOca29WfCf2GAE2W+NXtMJuGrn7R16Ds7YYlNHi4B1EHg
vwFYJ37q6T0I1vEAgsSpAj1cs18gOtft201z9lg0PGThfk2/7sAxxXMbb4Fpl4XXceVF
OjRPEIBCicZj5huPWMnhbgF++eusMDHsXe8lba8TBPPwWDBNbq48eZPjPKcxykT2Uu/H
lAag2nQrhy29qYNeIAnZymAvkShUXf6w0Dy/1cOtzSB5IPq/461PwB468TUue2ipzF9n
8JJC1aZw08W3tvaYIyyq018c0VvtrRILipeiTUiOsI9lvclN/U1+u9WWXHEH+l2zpdFP
HkDg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20160816;
h=content-transfer-encoding:mime-version:message-id:date:subject:to
:from;
bh=q+w4kiPAAsNDcjvVwll/4Wqp8P0L0XcQyM0L4K+qAVg=;
fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=;
b=cfRAEydQWMI8i+IdqW3K8RjYPEE8OQvVkuH+RJBmgZW1mFBsOQmCeB5a7eNiO6+cX0
De5GHJzDKNbxx8xbswvT0YB4KIPk42GzeGP362AlyS6ZS0O+DSKcauoDdQ8B2jewH3Si
fGU0x8g8fbKhm/yFKLb0AjWWwJjNJ+gUyfLNNwXnheMYDVDJk1t1u9+0JIKBgKInDVPN
JjFZDy74R3BPT8T97JWtjkDOreOi5RI00Amms33OCJJFB6UhBBn6fh3LoN6kCBIJSiHM
uoCm6kmYyZFDu7kcDv+gWgtLnC+TsMg0BS1RUuTfP00njji3iay44EbqDFJjpKhAtTdm
OHVg==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
spf=pass (google.com: domain of ubely@ilbers.de designates
85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de
Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166])
by gmr-mx.google.com with ESMTPS id
ffacd0b85a97d-367cde7ce08si151920f8f.2.2024.07.11.22.43.34
for <isar-users@googlegroups.com>
(version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
Thu, 11 Jul 2024 22:43:34 -0700 (PDT)
Received-SPF: pass (google.com: domain of ubely@ilbers.de designates
85.214.156.166 as permitted sender) client-ip=85.214.156.166;
Received: from hp15.promwad.com (mm-89-47-121-178.gomel.dynamic.pppoe.byfly.by
[178.121.47.89])
(authenticated bits=0)
by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id
46C5hWxt020492
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
for <isar-users@googlegroups.com>; Fri, 12 Jul 2024 07:43:33 +0200
From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH v2 0/3] Deploy DTBs with separate recipe
Date: Fri, 12 Jul 2024 08:09:31 +0300
Message-ID: <20240712054327.9526-1-ubely@ilbers.de>
X-Mailer: git-send-email 2.44.2
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_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: ubely@ilbers.de
X-Original-Authentication-Results: gmr-mx.google.com; spf=pass
(google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted
sender) smtp.mailfrom=ubely@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: <isar-users.googlegroups.com>
X-Spam-Checked-In-Group: isar-users@googlegroups.com
X-Google-Group-Id: 914930254986
List-Post: <https://groups.google.com/group/isar-users/post>,
<mailto:isar-users@googlegroups.com>
List-Help: <https://groups.google.com/support/>,
<mailto:isar-users+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/isar-users
List-Subscribe: <https://groups.google.com/group/isar-users/subscribe>,
<mailto:isar-users+subscribe@googlegroups.com>
List-Unsubscribe:
<mailto:googlegroups-manage+914930254986+unsubscribe@googlegroups.com>,
<https://groups.google.com/group/isar-users/subscribe>
X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?=
|
| Series | Deploy DTBs with separate recipe | expand |
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 responcible for DTB deployment. DTBs are extracted from a kernel package (provided by distro or self-built). First (RFC) version of the patchset directly used linux recipes for this, but such approach still had "multiple execution" issues in case the same linux recipe was used by different machines. This required per-machine linux build splitting that increases build time and brings some other problems (e.g. with kernel modules dependencies). 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's built only once. The case when different distros (e.g., bullseye/bookworm) use the same name for DTB binaries is covered by a separate patch. 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 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 ) Ilia Skochilov (1): meta: Fix do_copy_boot_files error for different distros of same machine Uladzimir Bely (2): testsuite: Build also debug images for some targets meta: Move DTB deployment to a separate dtb-files recipe RECIPE-API-CHANGELOG.md | 8 ++++ meta/classes/image.bbclass | 16 +++----- meta/conf/bitbake.conf | 2 +- meta/recipes-kernel/dtb-files/dtb-files.bb | 45 ++++++++++++++++++++++ testsuite/citest.py | 3 ++ 5 files changed, 62 insertions(+), 12 deletions(-) create mode 100644 meta/recipes-kernel/dtb-files/dtb-files.bb