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 WPuYGHQEomOn+AAAbAwnHQ (envelope-from ) for ; Tue, 20 Dec 2022 19:52:36 +0100 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 KLyVF3QEomP9nQAAG6o9tA (envelope-from ) for ; Tue, 20 Dec 2022 19:52:36 +0100 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 17C03134CC for ; Tue, 20 Dec 2022 19:52:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7hGa-0000aV-OB; Tue, 20 Dec 2022 13:23:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7hGZ-0000Zn-Cy for guix-patches@gnu.org; Tue, 20 Dec 2022 13:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p7hGZ-00063D-4t for guix-patches@gnu.org; Tue, 20 Dec 2022 13:23:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p7hGY-0001pe-S8 for guix-patches@gnu.org; Tue, 20 Dec 2022 13:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59761] [PATCH v4 2/2] gnu: Add u-boot-ts7970-q-2g-1000mhz-c-bootloader. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Dec 2022 18:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59761 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59761@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 59761-submit@debbugs.gnu.org id=B59761.16715605747012 (code B ref 59761); Tue, 20 Dec 2022 18:23:02 +0000 Received: (at 59761) by debbugs.gnu.org; 20 Dec 2022 18:22:54 +0000 Received: from localhost ([127.0.0.1]:46398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7hGQ-0001p2-Cb for submit@debbugs.gnu.org; Tue, 20 Dec 2022 13:22:54 -0500 Received: from mail-qt1-f174.google.com ([209.85.160.174]:36661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7hGO-0001og-3V for 59761@debbugs.gnu.org; Tue, 20 Dec 2022 13:22:52 -0500 Received: by mail-qt1-f174.google.com with SMTP id bq12so1564144qtb.3 for <59761@debbugs.gnu.org>; Tue, 20 Dec 2022 10:22:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VB4pEJkf6N4DkYHXi2KpmARMky7B05R/ez/Wg6daR7c=; b=Qx2Hw9NE5YnWBZuaaVQURU/2+UR3nYAsn7MB4wqmXlYB7iQGkZLDEVavN7zCSBJTIL WKb/7RbK+DCbQ4PAASMNBcEP1v4jmvGdtawFt1DhcgqxUtIdGltk/Vr9QYEigJH8V/+e F7kDMODEkiNMYwLRZNhght3h40RHFo9Ap2Y77tE4fDknAJPE1GtXMsnfucWLSwdCgluD DW5sQ6+vAqCXjjoWpORH3ywSR90g2OdpjRy5C9X0m0yat9GokKxDRK/mdF+GhEdCwfux LOVt95o4acP2YLpFE1m7mduEtcZFxKs5QjHcLVFbt4S44S7cs4WYOnUSdnXlWNZ8wTQr iI7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VB4pEJkf6N4DkYHXi2KpmARMky7B05R/ez/Wg6daR7c=; b=fjBODrF/OjM6QK0ECc1MaLXj9PTsF/PgRLNug67jV4fGCsoqHZl297UT5s/ubt7E47 jjS4KtzJhWNBVjL5eawfV+jKahXRmZfyVaw4Un4d8ckV37yY5YI3/8xihztk6VSDXxTb E/KGD+4e/nO7aQqQOniYF1zwTJiE9XOT5OvlESEFmgubJy+iou06wzRi+mwvUN3ZRs7s 9KhGFmiuwdfY0zDXOiP/i6DnMMgwQ8mRpcadrdjJYXqdy74Kl07PeJifLbYyDOmK7/Gz 5whqJDVNQ40WdZMyv+sB1MU1z+NWNy+u8ONpN08SjWpGLcEBunAFTZ1eRiy1h0DU7a5T O37A== X-Gm-Message-State: AFqh2kozUDbUdEKiawzqT4Tv2KDy/WcTl+LkZxfMXxgMitPxhnBeBrOi SjsQp1FeQ2ZnhAVwEZ2EJ0sm74wAHFHtX7j+ X-Google-Smtp-Source: AMrXdXulR6BGZvzd7vFLygE38YNDPGwXoxYmODC23IHm/fSLl00KrFuMJ89kIhtOx/rBOnnYwsmVbw== X-Received: by 2002:a05:622a:1dcb:b0:3a7:e426:2892 with SMTP id bn11-20020a05622a1dcb00b003a7e4262892mr4426409qtb.28.1671560566481; Tue, 20 Dec 2022 10:22:46 -0800 (PST) Received: from localhost.localdomain ([2607:fad8:4:3::1002]) by smtp.gmail.com with ESMTPSA id bq17-20020a05622a1c1100b00397e97baa96sm7951370qtb.0.2022.12.20.10.22.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 10:22:46 -0800 (PST) From: Maxim Cournoyer Date: Tue, 20 Dec 2022 13:22:35 -0500 Message-Id: <20221220182236.30360-2-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221220182236.30360-1-maxim.cournoyer@gmail.com> References: <20221220182236.30360-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=Qx2Hw9NE; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671562356; a=rsa-sha256; cv=none; b=Ek5AOv/F5R8dQubfVon4GvlQhFjHULTTlW0tDYY2fCyTWWBbyR5wPH/uuUV8AxMyEcNloK 0IGTEOLQ9+QWUVHbjB7Si8Tol6oAk68cMqoou/EWe5D++INdLigOKqwweR1NY83EGNdiOy 7CrDZZ/SiIawV92R6J3Dmyxfk8QHrgvXD4nvi3Io+cIQmkMsiHck7+YYbqwoBkhU1I95ry bmEN3XHqNf4jGCQ1+eHNMGdfwoN1OYy1wFeafvwo7QevPBHxW6NMa3bfjEGCpfrq1I8wM9 hSj9mcN6g7k096UL9BXqNUaG16Zm2vETh9kANp1v0FryXwOiXhtOiA8x+taC3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671562356; 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: 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=xlORJSHY+ddJoazmV6euEpmj2yl8vg+Y7cgMdUKf2t4=; b=SDfa3KK7aJ8s0hV9RjtVtRaDl8lC7Wgl+c1Iug2kNwQC/uqDmVSsh1K62ozNZ5daG0tPxz MKBI2hXWOS+TnRWiWVjvWfAsrYpWv7piRHUrQhn695/k4xRt0HK/BNMf5h3o7RkMlzQquw S9DjPrgF5u4s9pJBk9ojHV+1dNlKk1tti6ShDlOgOd2ZYTx2EK6PdpbTZEZlMMsI109e2Z +wboXcEPp/AQhmuyt8lkixd/mg2rBqe3YbGOPiCzm3u0j2mj1Td+E3Q0fwzy4UIGqUXSjC bXiHkSGdnjtRFBUygNjIQaAH2EfKehHH+8FvnB2SmfIfyCpfKlzCTlTQFEahHQ== X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=Qx2Hw9NE; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Spam-Score: 4.71 X-Spam-Score: 4.71 X-Migadu-Queue-Id: 17C03134CC X-TUID: siutAeMCBTk4 * gnu/bootloader/u-boot.scm (u-boot-ts7970-q-2g-1000mhz-c-bootloader): New variable. --- Changes in v4: - Rebase on top of #60224 and master gnu/bootloader/u-boot.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm index 6cad33b741..65d7923465 100644 --- a/gnu/bootloader/u-boot.scm +++ b/gnu/bootloader/u-boot.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2017, 2019 Mathieu Othacehe ;;; Copyright © 2020 Julien Lepiller ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen +;;; Copyright © 2022 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -42,6 +43,7 @@ (define-module (gnu bootloader u-boot) u-boot-puma-rk3399-bootloader u-boot-rock64-rk3328-bootloader u-boot-rockpro64-rk3399-bootloader + u-boot-ts7970-q-2g-1000mhz-c-bootloader u-boot-wandboard-bootloader)) (define install-u-boot @@ -127,6 +129,12 @@ (define install-rockpro64-rk3399-u-boot (define install-pinebook-pro-rk3399-u-boot install-rockpro64-rk3399-u-boot) +(define install-u-boot-ts7970-q-2g-1000mhz-c-u-boot + #~(lambda (bootloader device mount-point) + (let ((u-boot.imx (string-append bootloader "/libexec/u-boot.imx")) + (install-dir (string-append mount-point "/boot"))) + (install-file u-boot.imx install-dir)))) + ;;; @@ -255,3 +263,13 @@ (define u-boot-pinebook-pro-rk3399-bootloader (inherit u-boot-bootloader) (package u-boot-pinebook-pro-rk3399) (disk-image-installer install-pinebook-pro-rk3399-u-boot))) + +(define u-boot-ts7970-q-2g-1000mhz-c-bootloader + ;; This bootloader doesn't really need to be installed, as it is read from + ;; an SPI memory chip, not the SD card. It is copied to /boot/u-boot.imx + ;; for convenience and should be manually flashed at the U-Boot prompt. + (bootloader + (inherit u-boot-bootloader) + (package u-boot-ts7970-q-2g-1000mhz-c) + (installer install-u-boot-ts7970-q-2g-1000mhz-c-u-boot) + (disk-image-installer #f))) -- 2.38.1