From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 CHYbOUSzB2OvDwAAbAwnHQ (envelope-from ) for ; Thu, 25 Aug 2022 19:37:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UP4yOESzB2NNywAAG6o9tA (envelope-from ) for ; Thu, 25 Aug 2022 19:37:08 +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 7410D3377 for ; Thu, 25 Aug 2022 19:37:08 +0200 (CEST) Received: from localhost ([::1]:42770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRGmx-0007sH-4W for larch@yhetil.org; Thu, 25 Aug 2022 13:37:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRGlw-0007rX-M5 for guix-patches@gnu.org; Thu, 25 Aug 2022 13:36:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRGlu-0001mJ-JI for guix-patches@gnu.org; Thu, 25 Aug 2022 13:36:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRGlu-0006sU-DN for guix-patches@gnu.org; Thu, 25 Aug 2022 13:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57070] [PATCH] bootloader: extlinux: support for optional FDTDIR Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Aug 2022 17:36: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: Reza Alizadeh Majd Cc: 57070@debbugs.gnu.org Received: via spool by 57070-submit@debbugs.gnu.org id=B57070.166144895526425 (code B ref 57070); Thu, 25 Aug 2022 17:36:02 +0000 Received: (at 57070) by debbugs.gnu.org; 25 Aug 2022 17:35:55 +0000 Received: from localhost ([127.0.0.1]:51198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRGln-0006s8-30 for submit@debbugs.gnu.org; Thu, 25 Aug 2022 13:35:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRGll-0006rw-Jd for 57070@debbugs.gnu.org; Thu, 25 Aug 2022 13:35:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRGlg-0001gc-7R; Thu, 25 Aug 2022 13:35:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=jmwhLmNZ1AEPVwc9Ev7PCCGVLBH9Q072doQquadt4Do=; b=SLXFL0poGm/Fw+h/yjo6 ynCx+bMsnAlwt0oYp7hzkjbijhHEf4ujNzu3hm++qL7Og2mci3VhmS4Wzb8lxxUSPo6jhFf4C5GP0 qYbDAm42n7Sp5aoXWeduhYIBf/miPiqbZ7ghetW+gHPuUiKOuRgfBeVA8Vf4attwVUwWhfnoJ8fG6 R57dou4g6bWNAEHGRMWH8QDGm1GQ+41fZO9kjavakekGM+7WHE0Y71bgeTkVEi9TTGlMUi8Lo50Z9 PCqARqaZ7mCluf8OS9sRhe1GhbNvuR79dmYqRq1eSxyasgOF8Qq6ln+UP/e+gVV1tHL85VKiLVOPh FEA81u/DLCwpbw==; Received: from [2001:b07:6473:5604:6777:3eba:ebea:f1b1] (port=38712 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRGlf-0001bo-Q2; Thu, 25 Aug 2022 13:35:48 -0400 From: Mathieu Othacehe References: <20220809103044.27964-1-r.majd@pantherx.org> <20220816224004.1744c1d5@pantherx.org> Date: Thu, 25 Aug 2022 19:35:45 +0200 In-Reply-To: <20220816224004.1744c1d5@pantherx.org> (Reza Alizadeh Majd's message of "Tue, 16 Aug 2022 22:40:04 +0430") Message-ID: <87lerc5iq6.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=1661449028; 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=jmwhLmNZ1AEPVwc9Ev7PCCGVLBH9Q072doQquadt4Do=; b=ud2fho5XaSJxZf+mmVNh/MbYhFu1okYyVesfi/43sK0y/WlNe/n9soEB3PacPpTSJfHq5O yrOvs+58howVpDmPiSKqf10LS2s1A7UReZnex+uY8oawUnE9zBzMN1C2RMQsQy7zDjKalu 4baaIfYJ1C+B6yZx6/5kToRFsp2jrya1fmmMSHWC5/YcSOtx9Zcx7rIBmxP7VW/uKP/gVW RPz75HEpG3bkcjmMRnXsSDahFamPWOHNtMiVxWgALS7APqcHIepyTd+0FEp6Yrx9MDCewW Zkz4lyudMW8/ch1KzFoigRrKPIR0/i53KnuRy5y7p/VkA764cRMrJZF02Uvh5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661449028; a=rsa-sha256; cv=none; b=uwQfuBpXsC/OKNaDla1KpmhlSYHd0S3sARJ2vS7/PYNpmvZSqhFLU5tNpXvXg+kgGHWf4j H30AolBYfZ46m3MqkDcs9hRAtMdsp39DH/3GLO2GVk7dPStU3CpGahuhRZDriFzeSnjrvN ze6IdLq3nj+B4YwpS6FbNvH83M7yVCjXoFN4Sv3b2aA3rLm65/ZZPh0tX+ugvftNaTdZks dW/QF703cVp6Gw5rjtAfW3DyszXrW8JN4WbdcpBBCy+jCH0tw+vm5pAc3U+ebxzQF80eFJ +HP0+W4CbG+hGJI2FUY/EapeK1yeqF1o0CsStdo4T9tE2B3t6myMUl6rRlWxdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=SLXFL0po; dmarc=pass (policy=none) header.from=gnu.org; 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.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=SLXFL0po; dmarc=pass (policy=none) header.from=gnu.org; 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: 7410D3377 X-Spam-Score: -4.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: 80UN8DfuAe/h Hey, OK, so I read the long thread. There's still something unclear to me. If FDTDIR is not passed, where is located the device tree that is loaded? Directly in the /boot partition? It looks like the corresponding code is in the label_boot function of the u-boot/boot/pxe_utils.c file. I quickly read this part hoping to find a way to define a priority between device trees located in the FDTDIR directory and device trees installed elsewhere. > * gnu/bootloader.scm ()[device-tree-support?]: new field. You need to document this new field in the "Bootloader Configuration" documentation section. > * gnu/tests/bootloader.scm: add tests for FDTDIR modification. This will test for regressions on an x86_64-linux machine that will probably never use this FDTDIR thing. As those tests are expensive to run an maintain we can probably remove the test. Thanks, Mathieu