From patchwork Wed Mar 8 12:13:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 10791 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 11E8916E3D; Wed, 8 Mar 2023 12:16:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EAE1316E3B for ; Wed, 8 Mar 2023 12:16:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZshM-0005x1-0G; Wed, 08 Mar 2023 07:15:12 -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 1pZshD-0005sd-BV for guix-patches@gnu.org; Wed, 08 Mar 2023 07:15:04 -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 1pZshC-0008Ib-KY for guix-patches@gnu.org; Wed, 08 Mar 2023 07:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZshC-0007tg-GD for guix-patches@gnu.org; Wed, 08 Mar 2023 07:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61959] [PATCH v4 2/7] gnu: Add u-boot-apple-m1. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Mar 2023 12:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61959 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61959@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 61959-submit@debbugs.gnu.org id=B61959.167827765030213 (code B ref 61959); Wed, 08 Mar 2023 12:15:02 +0000 Received: (at 61959) by debbugs.gnu.org; 8 Mar 2023 12:14:10 +0000 Received: from localhost ([127.0.0.1]:47978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsgM-0007r9-9R for submit@debbugs.gnu.org; Wed, 08 Mar 2023 07:14:10 -0500 Received: from mail-ed1-f52.google.com ([209.85.208.52]:36593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsgI-0007pk-BZ for 61959@debbugs.gnu.org; Wed, 08 Mar 2023 07:14:07 -0500 Received: by mail-ed1-f52.google.com with SMTP id da10so64949513edb.3 for <61959@debbugs.gnu.org>; Wed, 08 Mar 2023 04:14:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; t=1678277640; 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=EaLCblxJu7mJ231cd+CGCTQN98M8/d7RtaQPZIheIDc=; b=4nelbP7za+DcIH4iTJotieOjDveFhe1zhscK3SxBg2rQR71ZS7AZnRsWLPuXL6+jKw udPRNmw7zVuCsxAYlR+EdVoy8HMOg6YFGj12p/ZjVefAURg9LLjXeWe7C6AioWB4rpi9 lAFtj1+9P7YdJAo9yfWbU+/zEJFei5mSnOzz5WmWSOqg7jJjDEUpUJHdqJAuxUVB+cut hZfRcCYLsQ24tHpG4XGrVVLF6slmmcjI+TEhSwyjCX9AFRdk/okrzJJz+OVclr62+ZKs mCEkNYNotlEPn3gkTwbbaF2K1Y28YXbWq4QOJtaptKmJkPko+WGGJINQNM+uBQQUBTLT /EnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678277640; 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=EaLCblxJu7mJ231cd+CGCTQN98M8/d7RtaQPZIheIDc=; b=Dffsq94hmhwWvO4Zt1Lnj7dbcsXmBOzl3N2vrQO+JcqQj1yfupJsZtX01uI9zUZw+M 2pBrotK07VHKwHoqU2ROSK/M7CsnK/S6JkRQZmfLIPO3rQ9XIiY2TWEsTUTuPY352Sdz j9TDEEbh99d59HYaiDkLKLxNXkKzqiiMC4c7b37HovEPjeb61iavEjvLgrr2nqA4xkvw aHovfd9FiVJM02EUfSLgvOGe65lToM+9XbFJaFiA1CUP4QD6ghP9kiVHiqtX5I7e+qdr p1ROnEDTFzHqmY39pHM5oH13aGa6n/zRQDesRzFxjgfaIQzo6u0jWAb75VEvx9D5kIs8 7M3Q== X-Gm-Message-State: AO0yUKXAl9ww/Rh3vQ1biuv8T5ncZkg7tSdT7OJT4H7prH0sFJgDjjuZ Y+DEUDx7g8sk38HPEatNtH7Ys7ESDgANGcT603Q= X-Google-Smtp-Source: AK7set+GY/J+fEX6syJ5QzSGp8XkdBvQ3SPktbU4vnxsM5ySfoQ2RyEvdaj0B6HWnOv/cykv2XyYJQ== X-Received: by 2002:a17:906:4fd5:b0:8b1:78b8:4208 with SMTP id i21-20020a1709064fd500b008b178b84208mr21118106ejw.1.1678277640406; Wed, 08 Mar 2023 04:14:00 -0800 (PST) Received: from localhost.localdomain ([2a01:598:b1a6:a6ef:9056:798a:7775:63bc]) by smtp.gmail.com with ESMTPSA id q2-20020a50cc82000000b004acbda55f6bsm8024473edi.27.2023.03.08.04.13.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 04:14:00 -0800 (PST) From: Roman Scherer Date: Wed, 8 Mar 2023 13:13:45 +0100 Message-Id: <222fe3be44b74b914e974eceb9d2543fbef63bc4.1678277362.git.roman@burningswell.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/bootloaders.scm (u-boot-apple-m1): New variable. --- gnu/packages/bootloaders.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index aa2fcc03dd..fc4ce4d908 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -1032,6 +1032,29 @@ (define-public u-boot-am335x-boneblack (define-public u-boot-am335x-evm (make-u-boot-package "am335x_evm" "arm-linux-gnueabihf")) +(define-public u-boot-apple-m1 + (let ((base (make-u-boot-package "apple_m1" "aarch64-linux-gnu")) + (commit "54409548c3aa8cf4820f1bda69a26bb603a0a5a4")) + (package/inherit base + (version (git-version "2022.10-1" "0" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AsahiLinux/u-boot") + (commit commit))) + (file-name (git-file-name (package-name base) version)) + (sha256 + (base32 "1m1w6ajzsfpb59abncz3sa9b1waqjsnh2vm7js2n22xiw4km7nzx")))) + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases '%standard-phases) + #~(modify-phases #$phases + (delete 'disable-tools-libcrypto))))) + (native-inputs + (modify-inputs (package-native-inputs base) + (prepend libressl)))))) + (define*-public (make-u-boot-sunxi64-package board triplet #:key defconfig configs) (let ((base (make-u-boot-package