From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 cByQFbI91GJR7QAAbAwnHQ (envelope-from ) for ; Sun, 17 Jul 2022 18:49:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gOxfFbI91GLYsQAA9RJhRA (envelope-from ) for ; Sun, 17 Jul 2022 18:49:54 +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 E6C0738BFB for ; Sun, 17 Jul 2022 18:49:09 +0200 (CEST) Received: from localhost ([::1]:55868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oD7S9-0007am-1m for larch@yhetil.org; Sun, 17 Jul 2022 12:49:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oD7S2-0007Zg-JZ for guix-patches@gnu.org; Sun, 17 Jul 2022 12:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50680) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oD7S2-00080W-B2 for guix-patches@gnu.org; Sun, 17 Jul 2022 12:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oD7S2-0000TO-77 for guix-patches@gnu.org; Sun, 17 Jul 2022 12:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48314] Patches to install guix system on Raspberry Pi Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Jul 2022 16:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Vagrant Cascadian Cc: Danny Milosavljevic , 48314@debbugs.gnu.org Received: via spool by 48314-submit@debbugs.gnu.org id=B48314.16580764971733 (code B ref 48314); Sun, 17 Jul 2022 16:49:02 +0000 Received: (at 48314) by debbugs.gnu.org; 17 Jul 2022 16:48:17 +0000 Received: from localhost ([127.0.0.1]:48432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oD7RJ-0000Rr-8u for submit@debbugs.gnu.org; Sun, 17 Jul 2022 12:48:17 -0400 Received: from mr6.vodafonemail.de ([145.253.228.166]:45322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oD7RH-0000RJ-24 for 48314@debbugs.gnu.org; Sun, 17 Jul 2022 12:48:15 -0400 Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr6.vodafonemail.de (Postfix) with ESMTPS id 4Lm9yK52kCz1xy4; Sun, 17 Jul 2022 16:48:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1658076489; bh=W/hUwFds2+w70Zq0BCdw7BfLfdyhhVZM2YWzmuSrpVo=; h=Content-Type:Subject:From:In-Reply-To:Date:Message-Id:References: To:X-Mailer:From; b=bej7t9N4KM3sWbUKWm10fhY+hf0kT/SR+voHP8m/jpcSXDTOOODKj9ez3DXUkdQsl in/6VcyOPYD9YCVEiLHW5fIwN6KjM25hdiuBxMjJid4mOml36Nc7/L6oekOCC/TbvA 9+JpDuTJi0rBOltgvlsygUWRxLzebwWWseGZ0BDY= Received: from smtpclient.apple (aftr-62-216-210-100.dynamic.mnet-online.de [62.216.210.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4Lm9yC3jVNz9v2S; Sun, 17 Jul 2022 16:48:00 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) In-Reply-To: <87a6i7c3sw.fsf@ponder> Date: Sun, 17 Jul 2022 18:47:52 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <86D908EE-955D-4EA1-AE2A-4072BB40468D@vodafonemail.de> References: <20210619211026.5eb44073@scratchpost.org> <897B7FF7-24C1-4B96-8441-415596267E99@vodafonemail.de> <87a6i7c3sw.fsf@ponder> X-Mailer: Apple Mail (2.3696.100.31) X-purgate-type: clean X-purgate: clean X-purgate-size: 2222 X-purgate-ID: 155817::1658076489-C6602208-3EE4B9FD/0/0 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" Reply-to: Stefan X-ACL-Warn: , Stefan via Guix-patches From: Stefan via Guix-patches via 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=1658076549; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=W/hUwFds2+w70Zq0BCdw7BfLfdyhhVZM2YWzmuSrpVo=; b=A16vmua9+HhqsQ0OrwGGIzeUAKnK9sexf9syEyLRb77GEUZJa7/mBcZwFkQCrbeVc45Nk7 TAhW09oklN6fJKks6JTma2p12BEkroWcsD3756LBqE0dpousUZGMtWTvLS2/r9nSdgvsXV CNauyJj8/+bmKQKUuV5HspMP20WVxk76Ti0YQnIlUiNEaIWkn34QCS4dwxZmG5IvIIo7Iw uiY+c+T/8tSBTih2ihdYvXFlxXWSZmPdX0eaQoS9l82YbcGsp50JVq79f1z7xxzZLlW74L +Aj9FQnXOl3FxfaFfezOiU0M7Il04nHrAcy2B7+nJLIgz6NOD3KMhm+sJXZK5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658076549; a=rsa-sha256; cv=none; b=bCFMpjrFgYiD0e3TeAMNgOMFvTBDMQ5Rj0TE18DXxwL/dK+6Y3GCmo+0eAox0emDMQj/uY CQsXvl6mAXqytM18aIJhBge0PjE8Tt7HZLVYgK8rTwXG01pB7EehFujHYGbW5QheOoDtua GrBRj/72y+nCiupzTdOYikRR1L0k6rMDmC0aEyVqWbYnd33bEV9IZPcySOw1xt7y/cRHtr mUpDtI9fMY1fuin6RCc+JBWhMnV05/GM9it9ivLMwrFJCGn//qkse94/gjSPoj36nvcawB efCWTI4Rx9CebUuTiuDdkcdi9PL0sU4oKt7XmAhDvj05CPHh6qZYLxYmiKkHuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=bej7t9N4; 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: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=bej7t9N4; 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: E6C0738BFB X-Spam-Score: -1.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: dfOkecmUjctF Hi Vagrant! > u-boot-file appears to be hard-coded; there may be other boards which = use a different u-boot artifact. If you build U-Boot, there is also u-boot-nodtb.bin. Therefore the = u-boot-file is a function argument to the public = make-preinstalled-u-boot-package to allow a selection. > Also, why return a single file, rather than just building a package = and then allowing other functions to pick the appropriate file out of = the resulting package? The reason is in the patch set 1: There is (already in master) a = bootloader-profile which is able to collect a chain of bootloaders. The = version in master allows a collection of files from packages, but = requires a special installer. I figured out that the usage of the = bootloader-profile gets much easier if the packages to chain only = contain preselected files. =46rom a user perspective the content of a = complete bootloader-package is kind of a blackbox. When writing an = operating-system configuration it is easy to figure out the right U-Boot = package name, but no one expects to be required to install U-Boot in his = profile to figure out that the u-boot.bin is below the libexec directory = and that he is even required to care about moving the file around in = directory hierarchies.=20 However, you are right that the make-preinstalled-u-boot-package could = take another U-Boot package as argument, being that other function to = pick the appropriate file. Then it might be useful for other boards, = too. The only trouble to solve then is a proper package name. Currently = using make-preinstalled-u-boot-package the result of make-u-boot-package = is only an intermediate package prefixed with =E2=80=9C-complete=E2=80=9D.= Then a preinstalled package needs a suffix like =E2=80=9C-bin=E2=80=9D. = I think this makes sense, I will change it. > I wondered "why does it have to be cross-compiled" but then realized = that came from the existing make-u-boot-package function.=20 Yes, that=E2=80=99s right, it is a copy from the other function. It will = be gone with the re-work. > I've mostly been building u-boot natively these days. :) Me too, exclusively. :-) Bye Stefan