From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IGZhBJPyA2OfcQEAbAwnHQ (envelope-from ) for ; Mon, 22 Aug 2022 23:18:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uJw4BJPyA2OTLQAAauVa8A (envelope-from ) for ; Mon, 22 Aug 2022 23:18:11 +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 727422F356 for ; Mon, 22 Aug 2022 23:18:10 +0200 (CEST) Received: from localhost ([::1]:33400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQEoD-0001yj-GT for larch@yhetil.org; Mon, 22 Aug 2022 17:18:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQEo7-0001yT-3u for guix-patches@gnu.org; Mon, 22 Aug 2022 17:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQEo6-0002rq-Qn for guix-patches@gnu.org; Mon, 22 Aug 2022 17:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQEo6-00073P-Dx for guix-patches@gnu.org; Mon, 22 Aug 2022 17:18: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 21:18: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: vagrant@debian.org, 57070@debbugs.gnu.org, Tobias Geerinckx-Rice Received: via spool by 57070-submit@debbugs.gnu.org id=B57070.166120304327066 (code B ref 57070); Mon, 22 Aug 2022 21:18:02 +0000 Received: (at 57070) by debbugs.gnu.org; 22 Aug 2022 21:17:23 +0000 Received: from localhost ([127.0.0.1]:41937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQEnS-00072T-JU for submit@debbugs.gnu.org; Mon, 22 Aug 2022 17:17:23 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:60374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQEnN-00072H-IE for 57070@debbugs.gnu.org; Mon, 22 Aug 2022 17:17:21 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by baptiste.telenet-ops.be with bizsmtp id AlHD2800620ykKC01lHDlb; Mon, 22 Aug 2022 23:17:14 +0200 Message-ID: Date: Mon, 22 Aug 2022 23:17:13 +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> <13223735-7417-4785-81F8-43715A135574@pantherx.org> From: Maxime Devos In-Reply-To: <13223735-7417-4785-81F8-43715A135574@pantherx.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------3MQq4iJyiBjf3j3lnkXOlwHU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1661203034; bh=Z/+ey6VimmfkCM7aQCreQcxu9RpC5DqMieaLm4J78qo=; h=Date:To:Cc:References:From:Subject:In-Reply-To; b=PSzdQjIu3RkyO6INfBIZ1lvXRicsRDHr42kKJfKUaQXpvfwr+we+B9ekz9AgbR41o BEK1EbV94UsGhuW/M7fcrxNsK+8mQbtCyjqBzf2yI+bZMUSpTsmiaVVZCJ5kJ85pzU i66s0KaMLzfG1ZE7L56Q6ISPElzwe4TpceUWeb5Hzep+hzbgxBwuTKgzyL/Yy9/TQT NSXZdU56Ezp+1lfHJHpiditab39W0zwJab5sEnP5LXwKsFQGSdemh1IhfL+4ZyI9xJ ihzsTE4YVLfRhjGkHwN24niB8z/RvxkiWjLuVdVw9JpnS8n+hMFh+XZN5gR+kJZx+6 tsfXuz9w9mDZA== 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=1661203090; 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=6BUsM8vvcEZN/AlVRujsOYdqikpOXNtVSCJOzjIz9Vs=; b=Ve3wjkqHJoTsdGdHH6PRw615jPXZ8rOqXZv0tFx3mJwdlevOCa4A/bsM8QHcM83IRI42DR xsvUMnf9zPmRglFC+MFcNSnP1pX+5pSknSc09tpJHdqKfFvETeT5Q9OCNQfM38JJnddP5+ tYJwPAra3XQOehrxSXNoBbLSMqia3g2nzPFWzlYFlfW5cZ3rc3MDS3xrzGS6+d5K5YcFXs EApq0rRZSLBBac2zP6teGL4xpEbtviguanzKtSh3nTdf3Sh3ARLe91pj41blHqU4jqV+AI RD3bvWxSHbWWqY5dofMwXOUTmB34HO79o0dmHcLjwc+GSj7YUYPm0Avj2Tp0SQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661203090; a=rsa-sha256; cv=none; b=UhXboypW08aw265LcaQkKHcZFxFLkrSUcnDjpXmG3U0NkUVmLT3e8KER3fOcpysp528Ten JBeFpihkaYi8nZbtEt5XCGz1N09LkN7jiCub6UWrTlrGoBm8PLfLosgt9q5RkGzyvjta3e 0WFIpCZGlauxGCEh3GSYmQ/lmepe5abrlxpVeyWRu1khKaZPdvDbjQzvPkGOUavo8N1vhX jSLW6MW5EHpuTN4hNRKrR3THBNUZzOIe9pSs7QP5MfnRsH3R2QvipHPUnMJ+irxtOvB9df f3CHTZ4nbmKWwVnma8bWyvksa6SZjjhp91gddXkYEUgzv7VyD/OriiGzmLLDYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=telenet.be header.s=r22 header.b=PSzdQjIu; 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=PSzdQjIu; 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: 727422F356 X-Spam-Score: 4.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: guKwam6RSecB This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------3MQq4iJyiBjf3j3lnkXOlwHU Content-Type: multipart/mixed; boundary="------------eR1OKklFJMw0nobR4a7POARw"; protected-headers="v1" From: Maxime Devos To: Pavel Shlyak Cc: 57070@debbugs.gnu.org, vagrant@debian.org, Tobias Geerinckx-Rice 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> <13223735-7417-4785-81F8-43715A135574@pantherx.org> In-Reply-To: <13223735-7417-4785-81F8-43715A135574@pantherx.org> --------------eR1OKklFJMw0nobR4a7POARw Content-Type: multipart/mixed; boundary="------------3YHSJjIlSwiHymjoqY8vCFeB" --------------3YHSJjIlSwiHymjoqY8vCFeB Content-Type: multipart/alternative; boundary="------------bBciqExNXhhUpF0eiumwpunl" --------------bBciqExNXhhUpF0eiumwpunl Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQpPbiAyMi0wOC0yMDIyIDIxOjE5LCBQYXZlbCBTaGx5YWsgd3JvdGU6DQo+IFN1YmplY3Q6 DQo+IFJlOiBbYnVnIzU3MDcwXSBbUEFUQ0hdIGJvb3Rsb2FkZXI6IGV4dGxpbnV4OiBzdXBw b3J0IGZvciBvcHRpb25hbCBGRFRESVINCj4gRnJvbToNCj4gUGF2ZWwgU2hseWFrIDxwLnNo bHlha0BwYW50aGVyeC5vcmc+DQo+IERhdGU6DQo+IDIyLTA4LTIwMjIgMjE6MTkNCj4NCj4g VG86DQo+IE1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW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lYy8g IHNwZWNpZmljYXRpb24gYW5kIG1ha2luZyBpcyBwZXJtYW5lbnQgd2UgYmFzaWNhbGx5IHZp b2xhdGUgaXQuDQoNCkFuZCBpcyB0aGlzIGEgYmFkIHRoaW5nLCBhbmQgaWYgc28sIHBlcmhh cHMgRkRURElSIGNvdWxkIGJlIGFkZGVkIHRvIHRoZSANCnNwZWNpZmljYXRpb24/IEd1aXgg YmVpbmcgaW4gdmlvbGF0aW9uIG9mIHNvbWUgc3BlY2lmaWNhdGlvbiBpcyBub3QgaW4gDQpp dHNlbGYgYSBidWcsIGZvciBleGFtcGxlIHRoZSBzdG9yZSBtb2RlbCBvZiBHdWl4IGlzIG5v dCAnTGludXggU3RhbmRhcmQgDQpCYXNlJy4NCg0KSXQgbWlnaHQgYmUgYSBiYWQgdGhpbmcs IGJ1dCB0aGVyZSdzIGEgc3RlcCBtaXNzaW5nIGluIHlvdXIgYXJndW1lbnQuDQoNCj4gU2lu Y2Ugd2XigJl2ZSBub3QgY29tZSB0byBhbnkgdW5kZXJzdGFuZGluZyBoZXJlLCBJIGtpbmRs eSBpbnZpdGUgVmFncmFudCBhbmQgVG9iaWFzIHRvIGpvaW4gdGhlIGRpc2N1c3Npb24uIFRo ZXkgc2VlbSB0byBiZSBmYW1pbGlhciB3aXRoIHRoZSByZWxldmFudCBwYXJ0cyBvZiBHVUlY Lg0KDQpTZWUgdGhlICdJZiBzbywgZmlndXJpbmcgb3V0IHRoZSBhcHByb3ByaWF0ZSBvcHRp b25zIC4uLicgYWJvdmUuDQoNCkFsc28sIGFnYWluLCBpdCdzIEd1aXgsIG5vdCBHVUlYLiBH VUlYIGlzIGEgTWljcm9zb2Z0IHRoaW5nLg0KDQpHcmVldGluZ3MsDQpNYXhpbWUNCg== --------------bBciqExNXhhUpF0eiumwpunl Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 22-08-2022 21:19, Pavel Shlyak wrote:
Subject:
Re: [bug#57070] [PATCH] bootloader: extlinux: support for optional FDTDIR
From:
Pavel Shlyak <p.shlyak@pantherx.org>
Date:
22-08-2022 21:19
To:
Maxime Devos <maximedevos@telenet.be>
CC:
57070@debbugs.gnu.org, vagrant@debian.org, Tobia= s Geerinckx-Rice <me@tobias.gr>

Could you point me at th=
e documentation or code that claims or does that? I am not finding any ev=
idence that device trees are generated at boot.
Google =C2=ABdevice tree r=
aspberry bootloader=C2=BB, 1st result https://forums.raspberrypi.com/viewtopic.php?t=3D329799<=
/a>

That web page does not claim that anywhere.

If the bootloader can, s=
urely the kernel can.
Bootloader runs on GPU on =
Raspberry. It cannot run kernel.=20
Also, check m1n1 on Apple. It has docs.

I have never claimed that the GPU can run the kernel.

What does m1n1 have to do with anything here? m1n1 isn't extlinux and isn't packaged in Guix.

Bootloaders running on the GPU is something I'm not used to at all, it's not something I had expected, see later.

I believe the kernel fol=
ks will appreciate a patch fixing the DT for RPI3b+ and Compute Module 4.=

And for other devices that=
 behave the same way? You=E2=80=99re literally promoting making GUIX not =
bootable on all devices alike.

I literally never wrote such a thing. In what sentences did I promote that?

Even if you meant 'implied' instead of 'literally', then that still doesn't make sense to me; I'm running Guix System, it's in my own interest to keep it bootable on my device.

DTs are a kernel thing, =
e.g. the Linux documentation https://www.kernel.org/doc/html/latest/devicetree/usag=
e-model.html mentions DT, also, Linux.  I could not find any informat=
ion on bootloaders loading DTs.
Because you didn=E2=80=99t=
 search for it.
I did search for it, figuring out an _appropriate_ query and finding relevant results is another matter.
 Google
No. It has monopoly and privacy problems.
 =C2=ABdevice tree raspber=
ry bootloader=C2=BB, the first link is about bootloader forming the devic=
e tree https://forums=
=2Eraspberrypi.com/viewtopic.php?t=3D329799.
Generating the DT is a different matter from loading the DT.=C2=A0 It= 's also about firmware, not the bootloader.
 Google =C2=ABuboot device=
 tree=C2=BB h=
ttps://u-boot.readthedocs.io/en/latest/usage/fdt_overlays.html to kno=
w how uboot manipulates them.
These overlays look rather manual, to be done by the user for individual models, I don't see the relevancy.
Moreover, Raspberry PI ubo=
ot uses DTB to boot on the board as in https://patchw=
ork.ozlabs.org/project/uboot/patch/20191106144104.28177-1-matthias.bgg@ke=
rnel.org/ (Instead of using the embedded DTB as done in RPi3 we use t=
he devicetree provided by the firmware.)
Going by the mention of 'defconfig' and 'arch/arm' and 'configs', this appears to be a patch to Linux, not uboot. As such, it appears that the device tree information is used by Linux here, there is no information there on whether it is used by U-Boot.
bootloaders don't magica=
lly have access to more information than kernels
They do, if they are run o=
n a separate core on the SOC that linux or arm core has no access to.  Ch=
eck https://github.com/christ=
inaa/rpi-open-firmware

That's a setup I would not have expected.

AFAIK nothing is stopping Linux from sending some code to the separate core to figure out the relevant information and sending it back to Linux. But given the unusual setup, I would consider it plausible that Linux people want to delegate such responsibility to the bootloader.

Was this (i.e. "they are run on a separate core on the SOC ...") the case for the Raspberry device you are trying to support?

If so, figuring out the appropriate options to let U-boot pass the device tree to Linux seems reasonable to me.

My point is that support=
ing more devices would be nice, but this patch isn't the way to do it.
Well, there is no other wa=
y to support devices that require DTB not to be loaded with uboot. The so=
lutions you suggest are not possible.

Moreover, keep in mind FDTDIR is not in the http://www.freedesktop.org/wiki/Specificati=
ons/BootLoaderSpec/ specification and making is permanent we basicall=
y violate it. 

And is this a bad thing, and if so, perhaps FDTDIR could be added to the specification? Guix being in violation of some specification is not in itself a bug, for example the store model of Guix is not 'Linux Standard Base'.

It might be a bad thing, but there's a step missing in your argument.

Since we=E2=80=99ve not co=
me to any understanding here, I kindly invite Vagrant and Tobias to join =
the discussion. They seem to be familiar with the relevant parts of GUIX.=

See the 'If so, figuring out the appropriate options ...' above.

Also, again, it's Guix, not GUIX. GUIX is a Microsoft thing.

Greetings,
Maxime
--------------bBciqExNXhhUpF0eiumwpunl-- --------------3YHSJjIlSwiHymjoqY8vCFeB 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----- --------------3YHSJjIlSwiHymjoqY8vCFeB-- --------------eR1OKklFJMw0nobR4a7POARw-- --------------3MQq4iJyiBjf3j3lnkXOlwHU Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYwPyWQUDAAAAAAAKCRBJ4+4iGRcl7kZW AQCUmfKLfWOf30qdBSE3+p5z25x/JaugfOGf8HzAPUeTLwEAiQBTm0B8yeya8pbFp+dB75H7j4On bdbDRvkp0Tx/xQg= =nuJf -----END PGP SIGNATURE----- --------------3MQq4iJyiBjf3j3lnkXOlwHU--