From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cCwKHayVzGbYJgEAqHPOHw:P1 (envelope-from ) for ; Mon, 26 Aug 2024 14:48:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cCwKHayVzGbYJgEAqHPOHw (envelope-from ) for ; Mon, 26 Aug 2024 16:48:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=M7K6dx+8; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=Dp0udDcf; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724683692; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=+U5JQq3Nyo4EVKT0dGN6QBE21ML/gkWPN/BIbine+N8=; b=JAI8gkWC51tELcSdbVokvdLxhrPGeg2Z5sKZmcTrBQUs9eJoUusIz714RO/zkDk2wg5cHv ggABsiH296FspCoixU1WULRyTxyznuhv+Nt5ECjfpAoNN+gM6uVr3ZnVeXGqPrEdXNVX0R dczu00AFkFruK1DF7BMdyqxDcMMEt8FmdQrDiTIfe27VQ6mfDGA+Ar6uyyHsVb0kiFoi6Z IvoroyDws+B+PLqlJ40usJngrd/P/hrR8sEU7WYgf8B4S77D3krvAkaZxeniN8rcDL3pE2 nTiamI6YEFoask2nxzxIALixCSzWiHV1ITsomRhC0D9SmQHfxA9p8Q071cjCoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=M7K6dx+8; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=Dp0udDcf; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724683692; a=rsa-sha256; cv=none; b=Cr+ZJbPUc8TKcYOkjws1xilxGGwdC97nTQ+fL9HluE+XUS0AArhI9Ty9KZSWbK2MVCm/M+ PObwGj/i25Qk5tRYD3pFC02sWHuUmccNiT5plS2MUdisDsl+p6QVZ6GE8hVkq27eyeL/dA S2uS1GZLGRFulFc6/HuyPFNYvcgMZ68hBSchGEMsa4xDX7+qkiH4M0XWTpdFXRmFdMZpJW I3cQUJOGypPyVw+3SuBHZEU1jf8H6B/X0HYm8lkLGxjmMXv4eBEZjejPI7sk2TlAshcm1L djWnJian7j5Xe+g5byMmz7pMOe8CXSVrDsl0GFOw2ZWYEEx0pNUCr4PRty3LAQ== 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 3BB183F8F1 for ; Mon, 26 Aug 2024 16:48:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sib02-0004g9-0d; Mon, 26 Aug 2024 10:47:18 -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 1siazy-0004fF-4E for guix-patches@gnu.org; Mon, 26 Aug 2024 10:47:14 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1siazx-0005ta-QL for guix-patches@gnu.org; Mon, 26 Aug 2024 10:47:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=+U5JQq3Nyo4EVKT0dGN6QBE21ML/gkWPN/BIbine+N8=; b=M7K6dx+8ZoB26TXS1Q6eW7YVm4Qn3ABi8jW11txHLwXF6ebtncSE2CtzYO9hYSHKc0dZKWz3STu8BTcgkWlvrkbDZN64UuNEMJ+6Mfhj9fKfd7U/jBAYBPSO3KtTBL3dxmzWO5ekQkvmErwhdwdJjEJk92j6acGY1bGwUYS0zlig/EQIHpqwsJyeLwv+QER39NTa6Q25Ec5Gclm6uyoiOJaR6UdTev+V/RIoUWxFCNRbSzJZmbW2Wt3pizOqtYGMbjQySQDbf4F0a51tjCKWZzpLbI4zxbMWt8HJd2B4Mzdl5tbDSoTwzE4OwcCyhC4jXJIuUKJg0e43LostG19+hA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sib0n-0008Bj-4P for guix-patches@gnu.org; Mon, 26 Aug 2024 10:48:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70131] [PATCH v2 8/8] gnu: bootloader: Add orangepi-zero2w bootloader. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Aug 2024 14:48:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70131@debbugs.gnu.org Received: via spool by 70131-submit@debbugs.gnu.org id=B70131.172468363131350 (code B ref 70131); Mon, 26 Aug 2024 14:48:05 +0000 Received: (at 70131) by debbugs.gnu.org; 26 Aug 2024 14:47:11 +0000 Received: from localhost ([127.0.0.1]:45057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siazu-00089U-TZ for submit@debbugs.gnu.org; Mon, 26 Aug 2024 10:47:11 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:34317 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siazp-00087B-EL for 70131@debbugs.gnu.org; Mon, 26 Aug 2024 10:47:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1724683558; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+U5JQq3Nyo4EVKT0dGN6QBE21ML/gkWPN/BIbine+N8=; b=Dp0udDcfbVaCOoU9RcCeD+IS3RbC2XBCH+OCerhVFHbQOHZ8ZFpj97+vwXqDlbqBYiqopg 9GTahUezJgN2QKMnSbqWSwDbJBlEKR1ckLn6UGNnOqmkzs3kna2rus0E3IX+RDKJC/iJxG riT93ja+RuNAilMGfgJtlVHbvssQCx4RSmPrXuV9SyZMYCge5rkDzgGkl9URJYLQWf1Wc2 ZSyvKIa/UUxfU8GYI4wXpgRIT4v5yXfypuqqeMrnNdADexbxQ7xdqAvV3446E09dXuC3ec T6UZvj/ItUgOQcClqsP4XIFNcZIUZiIXWQb4Q2xg+Xdd9GgG/bhYT3ArqQxofg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 801bef4a (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <70131@debbugs.gnu.org>; Mon, 26 Aug 2024 14:45:58 +0000 (UTC) Date: Mon, 26 Aug 2024 16:45:07 +0200 Message-ID: <20240826144511.3770-8-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240826144511.3770-1-herman@rimm.ee> References: <20240826144511.3770-1-herman@rimm.ee> 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via 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: 3BB183F8F1 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.48 X-Spam-Score: -6.48 X-TUID: qWmWXJf/hX5z * gnu/bootloader/u-boot.scm (u-boot-orangepi-zero2w-bootloader): Add variable. * gnu/packages/bootloaders.scm (u-boot-orangepi-zero2w): Add variable. * gnu/packages/firmware.scm (arm-trusted-firmware-sun50i-h616): Add variable. Change-Id: Idb43fdabac51b3301f3bea24fec72bfa29636489 --- gnu/bootloader/u-boot.scm | 6 ++++++ gnu/packages/bootloaders.scm | 18 ++++++++++++++++++ gnu/packages/firmware.scm | 6 ++++++ 3 files changed, 30 insertions(+) diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm index 7888a4e030..7fd7288854 100644 --- a/gnu/bootloader/u-boot.scm +++ b/gnu/bootloader/u-boot.scm @@ -41,6 +41,7 @@ (define-module (gnu bootloader u-boot) u-boot-nintendo-nes-classic-edition-bootloader u-boot-novena-bootloader u-boot-orangepi-r1-plus-lts-rk3328-bootloader + u-boot-orangepi-zero2w-bootloader u-boot-pine64-plus-bootloader u-boot-pine64-lts-bootloader u-boot-pinebook-bootloader @@ -296,6 +297,11 @@ (define u-boot-orangepi-r1-plus-lts-rk3328-bootloader (package u-boot-orangepi-r1-plus-lts-rk3328) (disk-image-installer install-orangepi-r1-plus-lts-rk3328-u-boot))) +(define u-boot-orangepi-zero2w-bootloader + (bootloader + (inherit u-boot-allwinner-bootloader) + (package u-boot-orangepi-zero2w))) + (define u-boot-pine64-plus-bootloader (bootloader (inherit u-boot-allwinner64-bootloader) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 69c0e0fcfd..3befa1adfd 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -1178,6 +1178,24 @@ (define*-public (make-u-boot-sunxi64-package board triplet scp-firmware (modify-inputs (package-inputs base) (append arm-trusted-firmware-sun50i-a64)))))) +(define-public u-boot-orangepi-zero2w + (let ((base (make-u-boot-package + "orangepi_zero2w" "aarch64-linux-gnu"))) + (package + (inherit base) + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'set-environment + (lambda* (#:key native-inputs inputs #:allow-other-keys) + (setenv "SCP" "/dev/null") + (setenv "BL31" (search-input-file inputs "bl31.bin")))))))) + (inputs + (modify-inputs (package-inputs base) + ;; The Zero 2W uses the slightly revised Allwinner H618. + (append arm-trusted-firmware-sun50i-h616)))))) + (define-public u-boot-pine64-plus (make-u-boot-sunxi64-package "pine64_plus" "aarch64-linux-gnu" (delay crust-pine64-plus))) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 14fa72bf7e..8af5867dfd 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -1165,6 +1165,12 @@ (define-public arm-trusted-firmware-sun50i-a64 (inherit base) (name "arm-trusted-firmware-sun50i-a64")))) +(define-public arm-trusted-firmware-sun50i-h616 + (let ((base (make-arm-trusted-firmware "sun50i_h616"))) + (package + (inherit base) + (name "arm-trusted-firmware-sun50i-h616")))) + (define-public arm-trusted-firmware-rk3328 (make-arm-trusted-firmware "rk3328")) -- 2.45.2