From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0Km6G2q0AGP9mAAAbAwnHQ (envelope-from ) for ; Sat, 20 Aug 2022 12:16:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gMbuGmq0AGMfAgEAG6o9tA (envelope-from ) for ; Sat, 20 Aug 2022 12:16:10 +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 B4BC93A9E0 for ; Sat, 20 Aug 2022 12:16:09 +0200 (CEST) Received: from localhost ([::1]:48178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPLWS-00022U-Oj for larch@yhetil.org; Sat, 20 Aug 2022 06:16:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPLWM-00022K-Fo for guix-patches@gnu.org; Sat, 20 Aug 2022 06:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPLWM-0001Uc-70 for guix-patches@gnu.org; Sat, 20 Aug 2022 06:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPLWL-00071J-No for guix-patches@gnu.org; Sat, 20 Aug 2022 06:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57070] [PATCH] bootloader: extlinux: support for optional FDTDIR References: <20220809145730.435ef8d0@pantherx.org> In-Reply-To: <20220809145730.435ef8d0@pantherx.org> Resent-From: Pavel Shlyak Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Aug 2022 10:16:01 +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: 57070@debbugs.gnu.org Received: via spool by 57070-submit@debbugs.gnu.org id=B57070.166099055326967 (code B ref 57070); Sat, 20 Aug 2022 10:16:01 +0000 Received: (at 57070) by debbugs.gnu.org; 20 Aug 2022 10:15:53 +0000 Received: from localhost ([127.0.0.1]:59640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPLWD-00070t-3j for submit@debbugs.gnu.org; Sat, 20 Aug 2022 06:15:53 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:50007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPLWA-00070f-Oj for 57070@debbugs.gnu.org; Sat, 20 Aug 2022 06:15:51 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id CA3AE32002E8 for <57070@debbugs.gnu.org>; Sat, 20 Aug 2022 06:15:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 20 Aug 2022 06:15:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1660990544; x=1661076944; bh=cUHs8I5e33 F80mC+QUH5Tmi6OCFX0KWoB/Is2ZakZWY=; b=aHVV/09SfYW8nOc32iZhE2Utus n7AfnqZtiJWHHHKQlMwbbK8FJbDPKdQzhwUjCNXBaXuoODZq/EhezNvQKQKOYCnk cTjJjVVrGid+znXdS+UNnZehKQn/9CQmOWDCSn/mcFZ3i6ho5nlAgHwn7y/fNzY0 9WSB8onHKYSchQi2tLk3Z9EQ+Mnl0TDD8KA652ccPaqIOiQrp6RCRmPdryPxMotX ChTTDcln3T/PKqSVP3OopcwCj9efaQLXs2v/bbplBwNEbF5xsbQ3pKeFKl55Nlky mT4VNUa0o/VuZbxuqZTCvPRQMS+DklFBckKly1GmBsWtu3MUJJv7DpMUOSBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1660990544; x=1661076944; bh=cUHs8I5e33F80mC+QUH5Tmi6OCFX 0KWoB/Is2ZakZWY=; b=cSgohrjxoVM2KTZ1w96NeIpQehnNn53MkQ2yxX99xqiI iRioQdJ3Mb+WxYHnVtxt6/OlAypeQf3gWRLcL0VigZ+eimDxpYB/rBnRolyAI9iY aO/lgdC32Vr9cOYC/zAHwlGgs7ORlNbHBWitKFJyuCdDFLZZJkmSI3mMb1/8Ho6P FztFvjKBs5ZvAu39a/z5ydpEbucXKfMh6MgCdJBDyC5XgflVfdVj7NA+sRZq3L2M eVwe1y89gVNij583ILUygJ+dBfiRxe9aOJR8rtOPYUWNhSfzDXpA9eZd23bC8dIf YN+CpqkUJLJz8EsJfd63K+vFB45RSjMYj5U3gPo5rQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeifedgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtd hhtdejnecuhfhrohhmpefrrghvvghlucfuhhhlhigrkhcuoehprdhshhhlhigrkhesphgr nhhthhgvrhigrdhorhhgqeenucggtffrrghtthgvrhhnpefgieffleefuedvteektdduhf ekheejgeejtdekveefheekhfdvkeejleefgfdttdenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehprdhshhhlhigrkhesphgrnhhthhgvrhigrd horhhg X-ME-Proxy: Feedback-ID: idda946d0:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <57070@debbugs.gnu.org>; Sat, 20 Aug 2022 06:15:43 -0400 (EDT) From: Pavel Shlyak Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Message-Id: <483BAA4D-ADDE-43C2-B1E3-BADAD7C43E7D@pantherx.org> Date: Sat, 20 Aug 2022 13:15:38 +0300 X-Mailer: Apple Mail (2.3696.120.41.1.1) 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=1660990570; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=cUHs8I5e33F80mC+QUH5Tmi6OCFX0KWoB/Is2ZakZWY=; b=fZcVmAXL9mHUTkKMkrG2qoaZLf9wbVwzCejwvKOYK7d4rII0lUtnnCP2sBT1Dc5HFokMeG zlnM+UDy/QJockP75JYrkOGbNAb1yQeOp0XIvaUWkoH/5QRlZ02+havnLfHZMryyEz76GC Fj7FKh1urP7JM9Rk6SsmppXS/gM7MghlUuUR9ePpFjl/4xlOiqdFBJUeWmiDa5YnFVFlqv 0uDGZWDwJrbd43diG7e8bHdAhYm3FUA8Dl4Ng2yVKRviLAXSxwpTI5hbwLZhoVNZAadjeZ jb9tZIMZBe5uN3UCURrItGYCJ0n//2TOVTxtg88p70TEnTcwoLYNQNl/x/t1EQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660990570; a=rsa-sha256; cv=none; b=HZQ7OX1FAwfKB8VIFpF7M/4UtpzlLLjFXJW0Om9v04RhKMx6hk72C7aM3bq+DGvQP0+1L+ PDgZ6KXnjvAT519yiapMWOZ0FJCOnpGj9ju7bXLp6MjCt6/rBCWd2J8q3omLsrttpF6wnn WKGT27d907jAyY1tREAnQsuiAmvm65xWNSHPMb48eMwgx1qtu3wCL6tv+HAhia78rqY9XW u/Y4dC1hDzCFPXEU4O7o603dKSGfeQCT+ptsIfiTwkBzterH3Xa5YAk8lJ/MgnNW7gjHdN fku0uB/qRf14zXy6vk6A8rlMOczOrA9Q0EuvxoWEYgwJkUGLCvvKd7BoQdcVgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pantherx.org header.s=fm2 header.b="aHVV/09S"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=cSgohrjx; dmarc=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: -0.25 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pantherx.org header.s=fm2 header.b="aHVV/09S"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=cSgohrjx; dmarc=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: B4BC93A9E0 X-Spam-Score: -0.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: l4SIoAPhs3mP Dear Maxime, I do not think I can agree that =C2=ABa relevant code could check what = the hardware is=C2=BB as it=E2=80=99s not hardware-defined, but also = user-defined. It=E2=80=99s not just about detection, it=E2=80=99s also = about choice. The same system definition I have on RPI4, for example, = can boot both with kernel-provided FDT (loaded with uboot) and = bootloader-provided FDT (loaded with RPI bootloader). There are also a = lot of different devices out there on the market and there=E2=80=99s no = common way to know how OS definition is written for it. If you have = ideas - you=E2=80=99re welcome to propose your way to do it. It does not appear to =C2=ABbe simply a kernel bug=C2=BB to me. Kernel = does not pass configuration to the bootloader and we=E2=80=99re = configuring a bootloader entry here. It=E2=80=99s simple as that: = bootloader entry may include or not include that line and that=E2=80=99s = user-defined. Of course, you=E2=80=99re always welcome to suggest your ideas how the = automation you like to have could be implemented. Also, please, keep in = mind this change doesn=E2=80=99t change anything on current = boards/systems and most users won=E2=80=99t even notice this change is = merged. Sincerely, Pavel Shlyak=