From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IPDvJ66iXGeUeQAAqHPOHw:P1 (envelope-from ) for ; Fri, 13 Dec 2024 21:10:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IPDvJ66iXGeUeQAAqHPOHw (envelope-from ) for ; Fri, 13 Dec 2024 22:10:06 +0100 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=rhtWSyRy; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b="Y9g/XOUI"; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734124206; a=rsa-sha256; cv=none; b=G+K1Xs0K2RBwgytlDVUB10DigUyWCNp9MtmD0LQOXCT/DbdKiO521v1aR8Z6mS51FCwnI7 CsEiYxJZQJHwfmKgDzN3VxG2JHGyQnZghYt3npxcKwmVf58wsnjhakuzkr+Z0UCUFhMeZ9 jizQSh7JS5dMZ+pXMfQ8xTlmHgJyUPP8dll4//jNdNkaLD+4axxl4MRe5BZB9RzlBaZ6r6 EeCHORosQR29xtUabWRdV0Lfxz0EeF5GLkfZYjPHETCdCpDHgEfgpZlrRNx42FIg2Brp0S hYCwCW4DxqkMdI2IJ8eKALahPiqduTTHeMo/fi6JNvFCWsg1j2GLiCwS1dWcng== 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=rhtWSyRy; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b="Y9g/XOUI"; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734124206; 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-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=RFA3Xqoplfqznc+txqIkONvUSeIdlQhkiPxIm165gMY=; b=WBZC+3gK+WgByZpuenpojNKU938jjSnmOxeOUFJTYek/QvXbx2t9oV+PvhcYTY7X/sQOuM xiNeeInYjCye80DdT0YPYhTPSYZOsXyebd/uE+xHUTFhf4Jrp+hctiZHQ1HPQnNxX0/4xh NYpxSFmDT/RyTEdnXEeXqGy0Cy/i20U9soRWsZb5HUHoBpQjnzrU6/3GTzzoM3aDXa/d7n sb49NXLgUv7op474Otvpb00zODWJFC0fs4gg+HQ5luB1twz4lICU7IiewJ9ZykqMAPldAE OI44q3PLr5uTWNvTgbiH6VQblpOBIlG5+lFe+n0y4bfrOj0VpcUqjePjh45hUg== 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 7379576E7 for ; Fri, 13 Dec 2024 22:10:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMCum-00088o-Cp; Fri, 13 Dec 2024 16:09:36 -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 1tMCuJ-0007tG-Hh for guix-patches@gnu.org; Fri, 13 Dec 2024 16:09:09 -0500 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 1tMCuJ-00057R-9m for guix-patches@gnu.org; Fri, 13 Dec 2024 16:09:07 -0500 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=RFA3Xqoplfqznc+txqIkONvUSeIdlQhkiPxIm165gMY=; b=rhtWSyRyIumraFcebrgwWM1hI+7C0i7A8lWrulISQ+VCDrC7LnAT0zhch9h46mgwxd4nY+yP4f9F4x3GkrwxtgFn86imR89DgEP+0ivyycxK86xqNanlartqk17gRMTcWNmR0YN8Np7CiyFVj86txbF+N2D2NHiGg9G6lJ4rz1TwY03obxBTtAl6mUspggCxrZ9oh15hhqrP/o2OgzeH64oTmjcTHZdMyr6X4Drw+Mlm+KIAOE2fJ15bGPcFXThyWItfE7muKAg1K5lLhVL6UUxF+KouTkq5ThpXoao3w9Wc4kSQYrUDHFhaCFfNBDnO6+0LdwGLcqiTGbrMCAbnUg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMCuG-0004De-Mg; Fri, 13 Dec 2024 16:09:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#72987] [PATCH v3 4/5] gnu: bootloader: Add orangepi-zero2w bootloader. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Fri, 13 Dec 2024 21:09:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72987 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72987@debbugs.gnu.org Cc: Efraim Flashner , Vagrant Cascadian X-Debbugs-Original-Xcc: Efraim Flashner , Vagrant Cascadian Received: via spool by 72987-submit@debbugs.gnu.org id=B72987.173412413916162 (code B ref 72987); Fri, 13 Dec 2024 21:09:04 +0000 Received: (at 72987) by debbugs.gnu.org; 13 Dec 2024 21:08:59 +0000 Received: from localhost ([127.0.0.1]:44356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMCuB-0004Cc-DY for submit@debbugs.gnu.org; Fri, 13 Dec 2024 16:08:59 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:59747 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMCtm-0004Ae-Im for 72987@debbugs.gnu.org; Fri, 13 Dec 2024 16:08:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1734124101; 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=RFA3Xqoplfqznc+txqIkONvUSeIdlQhkiPxIm165gMY=; b=Y9g/XOUIqJo5A4H+fW/7AnqGcyXtoYPXScumc3vBCBn6XXdAOvIMOM+4GPX54ZxkW1OhwZ KVXVycQd1bZA911NfWtakB/MJq6t/Lg+0mENGgicNY7pkRIAQgsTPcbQUavKXUtFxcfOSg 6w/gocyKF/0/hy2WZFCh8eGziNOeT1E2c9OZVVT/FaWVM+IJBB7kx+TOv6RkybbA3iFcGP Mk2qxDVcU4LFy94Fn7wMPm9MutwmdYUZja9Wy1YO6ewSOcbvllOw/hBJdFyVPOh5JzhWHA 6e1f1xb6XjqkJqlcsbZp91DnSJfv8+OnwRUT6dkVwCjDKO0ga+/W9B+PtweaHA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id a441c7b0 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <72987@debbugs.gnu.org>; Fri, 13 Dec 2024 21:08:21 +0000 (UTC) Date: Fri, 13 Dec 2024 22:07:35 +0100 Message-ID: <88ebf15a930627469311be3126a20234e4051710.1734122005.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.17 X-Spam-Score: -2.17 X-Migadu-Queue-Id: 7379576E7 X-Migadu-Scanner: mx12.migadu.com X-TUID: JvDXmk4WR2sp * 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 | 3 +++ 3 files changed, 27 insertions(+) diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm index 9c7df3b40f..52527ab0db 100644 --- a/gnu/bootloader/u-boot.scm +++ b/gnu/bootloader/u-boot.scm @@ -42,6 +42,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 @@ -231,6 +232,11 @@ (define u-boot-orangepi-r1-plus-lts-rk3328-bootloader (inherit u-boot-rockchip-bootloader) (package u-boot-orangepi-r1-plus-lts-rk3328))) +(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 d946270317..b91ff00e28 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -1204,6 +1204,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 868be8488c..d89b136c86 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -1168,6 +1168,9 @@ (define-public arm-trusted-firmware-sun50i-a64 (inherit base) (name "arm-trusted-firmware-sun50i-a64")))) +(define-public arm-trusted-firmware-sun50i-h616 + (make-arm-trusted-firmware "sun50i_h616")) + (define-public arm-trusted-firmware-rk3328 (make-arm-trusted-firmware "rk3328")) -- 2.45.2