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, 12 Jul 2024 07:43:43 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f62.google.com (mail-wr1-f62.google.com [209.85.221.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 46C5hgq3020517 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 12 Jul 2024 07:43:42 +0200 Received: by mail-wr1-f62.google.com with SMTP id ffacd0b85a97d-3679e7eeda6sf981816f8f.3 for ; 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=w7WCzKEjiAthfQdUiCKGpzPoNpNfc+hmsq56o/yki/46o6wgw5XTm8CLJ9zetlnP8h wvgU9Hw28AyKCw6CfQ+ysr0wUcnsDwyHXuvUk6b+NCC1Vp0M5CUxkuBrV0dzqSqSP2Dh 4wFV9XNbb/60RovEkPcFYIoG8ySg0vygWbxRIlgbT7YjBdIznGrLnDbyv0LEt7It0t2I r7fW9gVZWIYj8w640XfZqK3ESCyVdTk4Wn11lyPSmZ53W7WfwE5MpWMHrCVVtRbjIFVZ nrH6GDSMWvUCnJiiYJ9k67bDebsYDhs6Qiwx8Je2cvAS4nwYTvmjyz8l0gN3QMbPaUxM MCTg== 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=HJrzX9QQQVDk4sEbUrQx4PQpixDpgvNuj2F2LBtMiT4=; b=ZNhoWsA4K26gGbJShsjdMdkenUFaOwI8lMj0GzLXlk4MW9WvhncDHIeitWiPXDym6B tcZoHCg/PQWwge70SpBeGMVVUo6tUv8OhXaCMb3f0XaBIui1bgx5qcii9AKLgm9lqNlH H6NQYlVSDLKs7zNrdSphFPjtmqvROq81GrompJDJaCG1KXTT3yZRH+DitC7XpMpEyY0L lPwGhwrz46QfK41yfQ8D3qhIPzl497FoBh/2/PEKW+Vq80mkINYxTzjBgduyPf0WQzUl 4X1EPZj8SJ1c9IVvxpUSQMh8900DiNjYYAOivxfG3JjAba9CXdUj4u++wjljS5334mf0 Gatg==; 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=g27pGq7R5SmDtWQbPFoAmp5Ljy0i0WO+v69puoi0DP8drUNPAH0w7Cjsj3FtKgXi9k xMVXdBNChmZnhCqyuByvLCe8dplJ9uf2r2L2gq1A/cPVI+nTxBqArNbUMfObLa34teev MsVO/Yxm73g41brEBKl4hglE1zaT2ypRPTW7+cYlbohNH3xePgpZ9otOaSUxj2kFRXT0 hfc3h7h3L97c6+WpOf5vwkYD2E+1uUk+ThMxiz/k7ZxXWEFUg/YtJcwW9sdnX+35c3V5 PRQGCBtybwbuNA96HxzlOJWjy9T/VvkubjIU8DaFNhgzOw8knZtK0lLJzPR2NazQLpPF /nxA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCV5EKZGOYxg52t0CTY1o9/z0MNtN3zWx0gXFlFge0RPBKpMJZHJznH6Y/b6mCOKUlcTwcae5JBq3/kTiDm0oSzU76s= X-Gm-Message-State: AOJu0YzL3JeAIFglzp3Md8SNJt6EhozZsSTWp0SUJDceAmxB1EOOZuTj G2DwXSbLv854o+U22Vcqq2vlG0CQTVZxK/MGb81unmQcy8Wi37Pl 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 (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 ; Fri, 12 Jul 2024 07:43:33 +0200 From: Uladzimir Bely 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: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: G+HXZZUrNTao 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 -- 2.44.2 -- 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 on the web visit https://groups.google.com/d/msgid/isar-users/20240712054327.9526-1-ubely%40ilbers.de.