From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iE8kIv7TA2NiaQAAbAwnHQ (envelope-from ) for ; Mon, 22 Aug 2022 21:07:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SOdKIf7TA2NoJgAAG6o9tA (envelope-from ) for ; Mon, 22 Aug 2022 21:07:42 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0B0E9234A3 for ; Mon, 22 Aug 2022 21:07:41 +0200 (CEST) Received: from localhost ([::1]:56468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQClv-0005V3-5D for larch@yhetil.org; Mon, 22 Aug 2022 15:07:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQCce-0006r3-8p for guix-patches@gnu.org; Mon, 22 Aug 2022 14:58:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQCcc-0006hT-W4 for guix-patches@gnu.org; Mon, 22 Aug 2022 14:58:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQCcc-0003CL-Js for guix-patches@gnu.org; Mon, 22 Aug 2022 14:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57070] [PATCH] bootloader: extlinux: support for optional FDTDIR Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Aug 2022 18:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57070 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pavel Shlyak Cc: 57070@debbugs.gnu.org Received: via spool by 57070-submit@debbugs.gnu.org id=B57070.166119464012227 (code B ref 57070); Mon, 22 Aug 2022 18:58:02 +0000 Received: (at 57070) by debbugs.gnu.org; 22 Aug 2022 18:57:20 +0000 Received: from localhost ([127.0.0.1]:41758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQCbw-0003B6-1W for submit@debbugs.gnu.org; Mon, 22 Aug 2022 14:57:20 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:57292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQCbt-0003Av-9Q for 57070@debbugs.gnu.org; Mon, 22 Aug 2022 14:57:18 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by laurent.telenet-ops.be with bizsmtp id AixF2800D20ykKC01ixFFP; Mon, 22 Aug 2022 20:57:15 +0200 Message-ID: Date: Mon, 22 Aug 2022 20:57:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Content-Language: en-US References: <20220809145730.435ef8d0@pantherx.org> <483BAA4D-ADDE-43C2-B1E3-BADAD7C43E7D@pantherx.org> <85904cd4-576d-81d0-2cfc-05ff0ab802a6@telenet.be> From: Maxime Devos In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------jwJJ754AZez5d2AYYP520yJp" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1661194635; bh=m1yv8+DUlsNkQ3or2ORS/MVweDrpggeWOzMxVBxLwkk=; h=Date:To:Cc:References:From:Subject:In-Reply-To; b=dbKuvH2Gcwyh4MVt91BuBNAftLFmz43geM8su5SAZEJx3fUOjB9e6exDfPWfm0wxH Z48sgu9Y85b374FH3h7kFKV6bBcVX43yVUVoKS4F2uRGN1BKLXUUVjCOBc1RkAh6ns n/n+NxmB2r/TVMTNMhUng80J9RyERHuRJm+wb9eOumHYapTcBKv3BKMM7kB/cAZywW jKiwvTKnnfdWMJei0VGEYMCu3xKpWn8PYozNTQMoExqb7i8KwLG4FlkuZw6XUyw+wk GrnXcMf2M4PGbDxcAY41bDCMnUElTwNuTQQIRZG51dOBbWfApNSrC3tEy/IhOdVkje VpRIcsOoJoFMg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661195262; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=pDAMPATTx3oMzouX3Kz6+kjjd6LEUNIQwHI6Nrj2rP4=; b=gGczAQ/6D/8Nk81w5flTLOQX/1Fr6dXxF84yo8KwixC7QFV5VK/cq2KCsiAOJlBuFBhW9p UchiF2IjaxJZg+UGo+/RZPtnftuKwJMlExI7w5i0OqCeimcbQgujB7YTqhJwQbR8EAIWz3 C2M3XnNR5cdZhjNFPvh0bmPwXGN84wZnQ5QymlsIvwXJXXDPkXdNSh9GoqjoI7KI0XMk9S ikINS0+TLLUw2tHJm8tQpArd22FK7frjxVc1id9+n+77/1VIQsVrWDY7EIbf8QFEi/qBpL 7Gz5qfB6YsrucYnGMvXWkkVY1KrTFbz2SIHsIQB9KiLJUy7njHfnao6lSgxg3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661195262; a=rsa-sha256; cv=none; b=bjFp1MzvQHU3uvOhUMAmPPgyGBgp76YDgFcIo+mWnqyKQr0G9R+gk5bEPDU95Kd7ek35VD 5K7AiVsX3mqgzbwKbmRD1Vui7EppNL/ludm4TIsDKBs2QBAk1k6wuo+hmtBFYIkYGtM2iT UU7TOxOVxQak5QbIBR+7w5Uf1A7izQaJ5ehLxg2+TlZE8XvakNLnOC2qtIh/Mq7qSTZwxs erTHUq5QASktIFaqWXSlAv89IJ7Mi6h1GRDm9EJ+jRfjkwPgxgx/3gp3r1WaVBciluwUYU UaX9OiwReGh02wwON+ikw2fAeBwGnhm1csAsKR0e46FSJOK0ApCpX4KGYGkjRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=telenet.be header.s=r22 header.b=dbKuvH2G; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=telenet.be header.s=r22 header.b=dbKuvH2G; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0B0E9234A3 X-Spam-Score: 4.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0sSKWN748h+n This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------jwJJ754AZez5d2AYYP520yJp Content-Type: multipart/mixed; boundary="------------59O8iYKGGTkuJF9JNLeB7kF0"; protected-headers="v1" From: Maxime Devos To: Pavel Shlyak Cc: 57070@debbugs.gnu.org Message-ID: Subject: Re: [bug#57070] [PATCH] bootloader: extlinux: support for optional FDTDIR References: <20220809145730.435ef8d0@pantherx.org> <483BAA4D-ADDE-43C2-B1E3-BADAD7C43E7D@pantherx.org> <85904cd4-576d-81d0-2cfc-05ff0ab802a6@telenet.be> In-Reply-To: --------------59O8iYKGGTkuJF9JNLeB7kF0 Content-Type: multipart/mixed; boundary="------------KXhm0PwlB528tbZfKOQwTV40" --------------KXhm0PwlB528tbZfKOQwTV40 Content-Type: multipart/alternative; boundary="------------QjzU0K0AOURJl6NYk87Gm175" --------------QjzU0K0AOURJl6NYk87Gm175 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjItMDgtMjAyMiAxMjo1MiwgUGF2ZWwgU2hseWFrIHdyb3RlOg0KDQo+ID4gSWYgdGhl IHVzZXIgcmVhbGx5IHdhbnRzIHRvIGNob29zZSBhIGRpZmZlcmVudCBEVCwgdGhleSBjYW4g DQo+IGN1c3RvbWlzZSB0aGVpciBrZXJuZWwgYnkgb3ZlcnJpZGluZyB0aGUgc291cmNjZS4N Cj4gWWVzLCB1bmxlc3MgaXTigJlzIGdlbmVyYXRlZCBieSBib290bG9hZGVyLg0KQ291bGQg eW91IHBvaW50IG1lIGF0IHRoZSBkb2N1bWVudGF0aW9uIG9yIGNvZGUgdGhhdCBjbGFpbXMg b3IgZG9lcyANCnRoYXQ/IEkgYW0gbm90IGZpbmRpbmcgYW55IGV2aWRlbmNlIHRoYXQgZGV2 aWNlIHRyZWVzIGFyZSBnZW5lcmF0ZWQgYXQgYm9vdC4NCj4gPiB3aHkgbm90IHN1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Bwb3J0aW5nIG1vcmUgZGV2aWNlcyB3b3Vs ZCBiZSBuaWNlLCBidXQgdGhpcyBwYXRjaCANCmlzbid0IHRoZSB3YXkgdG8gZG8gaXQuDQoN CkFkZGl0aW9uYWxseSwgdGhlIHByb3BlciBjYXBpdGFsaXNhdGlvbiBpcyBHdWl4LCBHVUlY IGlzIGFub3RoZXIgdGhpbmcuDQoNCkdyZWV0aW5ncywNCk1heGltZS4NCg0K --------------QjzU0K0AOURJl6NYk87Gm175 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On 22-08-2022 12:52, Pavel Shlyak wrote:

>=C2=A0If the user really wants to choose a different DT, the= y can customise their kernel by overriding the sourcce.
Yes, unless it=E2= =80=99s generated by bootloader.
Could you point me at the documentation or code that claims or does that? I am not finding any evidence that device trees are generated at boot.
>=C2=A0why not submit the bootloader DT to the kernel?
Because it passes board-specific parameters. We cannot submit DTs for all board revisions, memory sizes etc.
If the bootloader can, surely the kernel can.
>=C2=A0You write that the system definition can both boot with the kernel-provided FDT and bootloader FDT, then why are you writing this patch if things work?
It can boot on R= PI4b, but not on RPI3b+ or Compute=C2=A0Module 4
I believe the kernel folks will appreciate a patch fixing the DT for RPI3b+ and Compute Module 4.
>=C2=A0The kernel has multiple DTs. I assume that, somehow,= the kernel can figure out which one.
DTs are loaded by the bootloader. Kernel cannot figure anything out.

DTs are a kernel thing, e.g. the Linux documentation https://www.kernel.org/doc/ht= ml/latest/devicetree/usage-model.html mentions DT, also, Linux.=C2=A0 I could not find any information on= bootloaders loading DTs.

>=C2=A0If you must go for this work-around, you could try porting the logic that the kernel
No, kernel does not include this logi= c
The page https://www.kernel.org/doc/html= /latest/devicetree/usage-model.html mentions various properties for specifying the model in the DT info, it has a section '2.2 Platform Identification' on how Linux decides which one is the right one. Plenty of logic there.
>=C2=A0AFAIK, device tree information is used by the kernel, not the bootloader.
Uboot uses DT on= some=C2=A0platforms
OK. Is the board you are trying to support one of them, and does for that case the pre-patch behaviour suffice there (Linux will load its own DT later anyway?).

This response makes me wonder where the boot failed -- did it fail in the bootloader, or in the kernel startup?

>=C2=A0I don't see the point if updating the DT in the kernel appears to be sufficient.
I hope dynamic DT with some data that only bootloader can know is sufficient for you.

It is neither sufficient nor insufficient for me -- it is you that is adding support for some boards, not me, GRUB+x86_64 works just nice here.

Besides, the bootloader/kernel distinction is just a matter of convention, bootloaders don't magically have access to more information than kernels. Anything a bootloader can determine, a kernel can as well, and vice-versa, they are both just software running on a CPU and various associated hardware.

Agai= n, this is how things work on Raspberry and some other boards on any distro. We don=E2=80=99t support that - we don=E2=80=99t support th= ese devices.

That's what I thought the patch was for -- adding support for some devices, turning the "it's not supported" into an "it's supported". Moving support from the bootloader to the kernel would accomplish that as well. Also, ad populum.

If you don't want to support new platforms, that's fine, but why are you sending a patch then?

I personally don=E2=80=99t loose much as we can apply this patch dire= ctly on pantherx channel, making pantherx richer in device support. However, I do not quite like the idea of me answering =C2=ABInstall= PantherX=C2=BB to the people who cannot get GUIX on their devices.<= /blockquote>

My point is that supporting more devices would be nice, but this patch isn't the way to do it.

Additionally, the proper capitalisation is Guix, GUIX is another thing.

Greetings,
Maxime.

--------------QjzU0K0AOURJl6NYk87Gm175-- --------------KXhm0PwlB528tbZfKOQwTV40 Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc" Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D =3DOVqp -----END PGP PUBLIC KEY BLOCK----- --------------KXhm0PwlB528tbZfKOQwTV40-- --------------59O8iYKGGTkuJF9JNLeB7kF0-- --------------jwJJ754AZez5d2AYYP520yJp Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYwPRiwUDAAAAAAAKCRBJ4+4iGRcl7lYJ AQDTNCjnOFUOSrcCf/6QCZDDlw8MMWqrANSul8Z7gVesXgEAmZUdgidvi0PibiQ7Vnt3pRps32np nR8R7qVOrJZv4QQ= =VbBc -----END PGP SIGNATURE----- --------------jwJJ754AZez5d2AYYP520yJp--