From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CFhoLWy+rmQ7sgAASxT56A (envelope-from ) for ; Wed, 12 Jul 2023 16:53:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WFhKLWy+rmTw5QAA9RJhRA (envelope-from ) for ; Wed, 12 Jul 2023 16:53:32 +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 87952549DE for ; Wed, 12 Jul 2023 16:53:32 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=kwi4Yyto; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689173612; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=W9/BkMRUiRPxBhw3nTfwg7+s2egnteI+mnF42ttDWYo=; b=l4AHO+y3cVL/59KH2LacInaQMSj3zj3dcRTCyKU0ibiwHUUSE9jCXBKWgRdzq6MKNBHS3J jk0IK8MW4J1c7rSn6wRKXv3ThxBRmNiBl0aJr5MOI3Nm/Gh6sWsW8eZGEW6+lY6tQyfWe0 c93Kylhjkal8X9VmfZVMFcQM6py0tMrjWbGIz3t5HyF1s9XKSwpEZI6qudJrR2Hn8jLrHf eQmo4BIzP3iqX3KQraHVgrlO1SwkRBd/LJVMAxLUekSb7p+sSsZqFOXPG6XWDADnOccuSi W7qCUPy5K+1Eu9tKoy/N5S/r72wB+1uKSrcWySnxuXg9AF5zOc97vVeTMZt62w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=kwi4Yyto; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689173612; a=rsa-sha256; cv=none; b=PKFdki/ZecqcftyZ17zaGGAgUwNxZznh8u9Q6rEWoSsuhVFDwIVgC/CJVxVORRKbtewqH/ I/hxmZbbxfKR518y04V86JkU8KqtpDC/5MJvlj0R+u1W3tdxlR2J2ii7c0T/iJTkTQljSt 7aTE0yZ/D8sTLDFYg+2URYOHt9zBhYCZpYg9epm41j6GAU+Ca+aVHb5REg709Ne/wV6RO5 GOP9pJ9RqHdqK6BFIVj2cYh13nSDWNsyOtlv9xkssfk9JXoXEpKaGjNyNr688UHLy6ivVK jzoHy15m4m+0kQqVouBBLw7APV3BuGL3alubkemJdsF6Qe7oapgLaoOjEquUGQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJbDE-00063Q-TC; Wed, 12 Jul 2023 10:53:04 -0400 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 1qJbDC-00062C-Uc for guix-patches@gnu.org; Wed, 12 Jul 2023 10:53:02 -0400 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 1qJbDC-0003b1-LE for guix-patches@gnu.org; Wed, 12 Jul 2023 10:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qJbDC-0001cM-Gx for guix-patches@gnu.org; Wed, 12 Jul 2023 10:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64149] [PATCH v3 3/6] gnu: u-boot: Add crust firmware to pinebook, pine64_plus and pine64-lts. Resent-From: vagrant@debian.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 12 Jul 2023 14:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64149 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 64149@debbugs.gnu.org Cc: vagrant@debian.org, ludo@gnu.org, efraim@flashner.co.il, maxim.cournoyer@gmail.com Received: via spool by 64149-submit@debbugs.gnu.org id=B64149.16891735526123 (code B ref 64149); Wed, 12 Jul 2023 14:53:02 +0000 Received: (at 64149) by debbugs.gnu.org; 12 Jul 2023 14:52:32 +0000 Received: from localhost ([127.0.0.1]:52755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJbCh-0001ah-LQ for submit@debbugs.gnu.org; Wed, 12 Jul 2023 10:52:32 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:54168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJbCg-0001aG-PI for 64149@debbugs.gnu.org; Wed, 12 Jul 2023 10:52:31 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 448D01AD24; Wed, 12 Jul 2023 07:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1689173542; bh=9oglz+WR/Nl3nkdBYzf1Idk9++oejs9sk6tqAeJVVr4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kwi4YytoSw5ObyJOqqbQ+zVWIg7jBIyoK2t7yxqvtqaanzZyk83OFqfULIknm4UJH nfDr1Zst5I/Pit5rq5UlCS4h4sjsBc0ZlvIKbjWlLtcgo2NZNtQ3BHgyFyfz3aKDPV ZMjGlq9P7ttefLAjs9RLJt5Mt00IWOXQSTpxijq29hav41atyorabVIZjIG6mgl66W 3TkZtjBeh1n59TNhFoSaBxP1apCVe1NDah5W14zQZKIfzrwYpmy/rz4JO13EGHTGAa 24AuzvqzX4aj5j3oXiaU8Eb1qCpIjub6PzVdSaKGzQp93j/ICnhM/c5nQSDKh1IZTN 27PLAu2mSHxeA== From: vagrant@debian.org Date: Wed, 12 Jul 2023 07:52:03 -0700 Message-Id: <20230712145206.298746-3-vagrant@debian.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230712145206.298746-1-vagrant@debian.org> References: <874jm95gmz.fsf@wireframe> <20230712145206.298746-1-vagrant@debian.org> MIME-Version: 1.0 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 X-Migadu-Queue-Id: 87952549DE X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -0.81 X-Spam-Score: -0.81 X-TUID: j1v2NaKz6Zkz From: Vagrant Cascadian * gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): Take argument for System Control Processor (SCP) firmware. [native-inputs]: Add SCP firmware. [phases]: Adjust 'set-environment to also set SCP variable. (u-boot-pine64-plus, u-boot-pine64-lts, u-boot-pinebook): Pass appropriate crust firmware as the SCP firmware. --- gnu/packages/bootloaders.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index d1633b2b70..afea47b457 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -1009,7 +1009,7 @@ (define-public u-boot-am335x-boneblack (define-public u-boot-am335x-evm (make-u-boot-package "am335x_evm" "arm-linux-gnueabihf")) -(define*-public (make-u-boot-sunxi64-package board triplet +(define*-public (make-u-boot-sunxi64-package board triplet scpfirmware #:key defconfig configs) (let ((base (make-u-boot-package board triplet #:defconfig defconfig #:configs configs))) @@ -1021,22 +1021,24 @@ (define*-public (make-u-boot-sunxi64-package board triplet #~(modify-phases #$phases (add-after 'unpack 'set-environment (lambda* (#:key native-inputs inputs #:allow-other-keys) - ;; Avoid dependency on crust-firmware https://issues.guix.gnu.org/48371 - (setenv "SCP" "/dev/null") + (setenv "SCP" (search-input-file native-inputs "libexec/scp.bin")) (setenv "BL31" (search-input-file inputs "bl31.bin")))))))) + (native-inputs + (modify-inputs (package-native-inputs base) + (append scpfirmware))) (inputs (modify-inputs (package-inputs base) (append arm-trusted-firmware-sun50i-a64)))))) (define-public u-boot-pine64-plus - (make-u-boot-sunxi64-package "pine64_plus" "aarch64-linux-gnu")) + (make-u-boot-sunxi64-package "pine64_plus" "aarch64-linux-gnu" crust-pine64-plus)) (define-public u-boot-pine64-lts - (make-u-boot-sunxi64-package "pine64-lts" "aarch64-linux-gnu")) + (make-u-boot-sunxi64-package "pine64-lts" "aarch64-linux-gnu" crust-pine64-plus)) (define-public u-boot-pinebook (make-u-boot-sunxi64-package - "pinebook" "aarch64-linux-gnu" + "pinebook" "aarch64-linux-gnu" crust-pinebook ;; Fix regression with LCD video output introduced in 2020.01 ;; https://patchwork.ozlabs.org/patch/1225130/ #:configs '("CONFIG_VIDEO_BPP32=y"))) -- 2.39.2