Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E1B4CD13CF for ; Mon, 2 Sep 2024 15:33:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 206C84000B; Mon, 2 Sep 2024 15:33:36 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id RT2Nrl7qxQQf; Mon, 2 Sep 2024 15:33:35 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org CFB49405A9 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id CFB49405A9; Mon, 2 Sep 2024 15:33:34 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6CA291BF292 for ; Mon, 2 Sep 2024 15:33:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 6774C80F50 for ; Mon, 2 Sep 2024 15:33:33 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id WpAWQGyRA4DZ for ; Mon, 2 Sep 2024 15:33:32 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.17.22; helo=mout.gmx.net; envelope-from=fiona.klute@gmx.de; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org F171E80F49 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org F171E80F49 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by smtp1.osuosl.org (Postfix) with ESMTPS id F171E80F49 for ; Mon, 2 Sep 2024 15:33:31 +0000 (UTC) X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.7.2] ([85.22.115.191]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N2Dx8-1s4cRE2dxO-010v3t; Mon, 02 Sep 2024 17:33:18 +0200 Message-ID: Date: Mon, 2 Sep 2024 17:33:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Michael Walle References: <20240902112735.728574-1-michael@walle.cc> <9640293d17286595101e07a82a66d44f@walle.cc> Content-Language: en-US, de-DE-1901, de-DE Autocrypt: addr=fiona.klute@gmx.de; keydata= xsFNBFrLsicBEADA7Px5KipL9zM7AVkZ6/U4QaWQyxhqim6MX88TxZ6KnqFiTSmevecEWbls ppqPES8FiSl+M00Xe5icsLsi4mkBujgbuSDiugjNyqeOH5iqtg69xTd/r5DRMqt0K93GzmIj 7ipWA+fomAMyX9FK3cHLBgoSLeb+Qj28W1cH94NGmpKtBxCkKfT+mjWvYUEwVdviMymdCAJj Iabr/QJ3KVZ7UPWr29IJ9Dv+SwW7VRjhXVQ5IwSBMDaTnzDOUILTxnHptB9ojn7t6bFhub9w xWXJQCsNkp+nUDESRwBeNLm4G5D3NFYVTg4qOQYLI/k/H1N3NEgaDuZ81NfhQJTIFVx+h0eT pjuQ4vATShJWea6N7ilLlyw7K81uuQoFB6VcG5hlAQWMejuHI4UBb+35r7fIFsy95ZwjxKqE QVS8P7lBKoihXpjcxRZiynx/Gm2nXm9ZmY3fG0fuLp9PQK9SpM9gQr/nbqguBoRoiBzONM9H pnxibwqg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3hFCHj/rsE9UXiFWxGqwvqFn2j0FGO1YCfFl87E5E8TpII/+nvFOHsT4jza2h0BGGJ 91u4oSh4aLS5M8z9FKQTRKd2T1Um5P2c1sRyeznoDKgpLmb+auvLBJoEJcDjXUbBqAj5SvejT 3y60SozlEPQMwb/uJN318+K15jFb5sNdaRBwrBGs2ZegXxvZ28xQ+AMW/HWZwJD2oppo7WXTK qny4BscG8VUzkLAESODh2O5nu6R4VUFlk5d19T1yYTZCS9w7Y/sTb/W0djqnqz2pAYkkstGj2 Pqt3H2PKAarfHhAHApJ+dUBpaaZPqy04paV7m+VMcxkqMdaQMJq90FtX0JF13heRHjMgrtkGC a80EvwphZLLi4A7pC4iDf98TebqBYXkWbhff8qV6lPG0wM7Vb9m4Y9PU+vuLkxPB6olXq/nVc U4ZiYG/8BSaI2zEpjAxFn/SA== X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1725291198; x=1725895998; i=fiona.klute@gmx.de; bh=IYuBhJQ9wIi/yQ2Z54982Md9kthe58vkessYiYKzWWY=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=nWBWLXUqJ8G1x3Bb38jtYvp/QxtN+yiwZK+BDof8seLduZ5PRI2+00lolg+dHLlp kHmCa+KD3rbKV4Afll+NdUSW67DSJDAeYk+JkhJhhy6wcLJt03xYKyhXE5O6IxZqA 6QysbQIXibfLgMoi0Xi/DCmbwTCeyAdvQ5Q4NBbzhAh3+514Z3QTgz4r2Tc6QuYKb gnmdUa082hMsrJ7Y1+tJ+fu00WCUA/K7/toFw7pfDkpkoCwrUepP/hrY0rvHrccKx 3ICtKXQUA+wE9/CiJMSPyE9rrRxn1pJwWkhrCGAPCzUMtN8Y8NYBQQBe4Bv4wL3r9 Zem9gBG+OQw0/7IQVQ== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmx.de header.i=fiona.klute@gmx.de header.a=rsa-sha256 header.s=s31663417 header.b=nWBWLXUq Subject: Re: [Buildroot] [PATCH v2] linux: add support for device tree overlays X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Fiona Klute via buildroot Reply-To: Fiona Klute Cc: Niklas Cassel , =?UTF-8?Q?Ga=C3=ABl_PORTAY?= , Julien Grossholtz , Damien Le Moal , Thomas Petazzoni , buildroot@buildroot.org, Martin Bark Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Am 02.09.24 um 17:02 schrieb Michael Walle: > Hi, > >> This looks like the DTBOs will be installed to $BINARIES_DIR along with >> the DTBs. At least on RPi platforms it'd be preferable to be able to put >> them in an overlays/ directory, to make it easier to create the >> structure expected by the firmware in a genimage config without >> templating. I don't know how common this is across other platforms that >> use DT overlays. >> >> Would it be practical to add an option to install DTBOs in a >> (configurable) subdirectory? > > Isn't that what is the BR2_ROOTFS_*_SCRIPT are for? I.e. to customize > the final image to your/the board likings? It's definitely possible, the configurable install dir would just make the post image script that builds a disk image from the rootfs and files in $BINARIES_DIR simpler: With all DTBOs installed into $BINARIES_DIR/overlays I only need to list that directory in the genimage config to be included in the boot partition (in the "files" list). Without a custom install dir I need to either move the files around in $BINARIES_DIR, or generate a relatively complex genimage config with a "file" entry for each DTBO to map it to the right path. The former is pretty simple, but might break anything that expects the DTBOs in the original location. There probably isn't anything that does for now because there have been no DTBOs installed by the kernel previously, but I can't know how future proof that'll be. That's why I wrote the option would make it *easier* to create the structure required by RPi firmware, it's not a necessity. If you choose not to add it I'll probably choose the "move files around in post image script" option and fix it if it breaks. :-) Best regards, Fiona _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot