From patchwork Wed Mar 8 12:13:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 47786 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 48B5616E3B; Wed, 8 Mar 2023 12:15:44 +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,URIBL_BLOCKED autolearn=unavailable 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 5251F16E31 for ; Wed, 8 Mar 2023 12:15:42 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZshL-0005to-C1; Wed, 08 Mar 2023 07:15:11 -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 1pZshC-0005sU-Nj for guix-patches@gnu.org; Wed, 08 Mar 2023 07:15: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 1pZshC-0008Hy-8R 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-0007tZ-35 for guix-patches@gnu.org; Wed, 08 Mar 2023 07:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61959] [PATCH v4 1/7] gnu: Add m1n1. 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.167827765030206 (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]:47976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsgL-0007r7-UZ for submit@debbugs.gnu.org; Wed, 08 Mar 2023 07:14:10 -0500 Received: from mail-ed1-f50.google.com ([209.85.208.50]:33388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsgI-0007pj-2L for 61959@debbugs.gnu.org; Wed, 08 Mar 2023 07:14:06 -0500 Received: by mail-ed1-f50.google.com with SMTP id a25so65098539edb.0 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=Q4Pa9TeWp4LcpO0dDrymevEd2F3vne1KM/SHiSfkzL8=; b=fG2CDQ+Ri68dIEsbJ2CxGn1EC/EFch9ryCsY9+LOahH1620M1xt/HQ9jI2iWYPWljp tSlv2EnaiLcQgW0kOai7Pik7gdH4TKhjgyjGmoaCiLgQOR0QS0eE9nRCZsUCComa86HT rafEZKuVc8g8YyLA8RGBw4mt+S05sshbBEWmUlBBGFAePdnMr+KxN59JDi883a5mD3Yp cpJ/8h9jd2//6PKVfS4GW91rzqoUT/fwdNln2EBSQv05navJTiYR5jk57TnH1OGAvHRm 2CFWC2GIDxS9hXzaTYmL4kP34DNY3V7nKkx9SJ4KZ0mNFhLhv6uk1+lYzxQWBH63G8Pv SZig== 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=Q4Pa9TeWp4LcpO0dDrymevEd2F3vne1KM/SHiSfkzL8=; b=njv+ZOaoxDfVlGX4FBUyNKEfxxIxsyRXD1PLMgWclaEk+7k0aSLRSL90jt3JFBeA6h Ppw6PPJgJTb14SqJAd9B5vtB9bEWCiINeIH9WagFEJHLt1XnlMyoOxmLfK9V0L8zV2on AGly18GhtU+LTCQLd7WRmn+yRJvsc7wTLZpXWSmmRdgXse9RRwfPdyJ+kaENhNmC466d +ZMk1HiVvMDibMgbWkrCWU0/ikxHjirKQ5BCMV/LU2gDZSbykCbu/B+/bEBG4KmPr8d9 y1f8sY/JdwWbVRE7d8yaoDWBfVb0iJB7kXhE+gHS+qdfCSykR7iOmU5E5O9Y73IBG8P6 q8Lw== X-Gm-Message-State: AO0yUKVp2yJexdR+L6tYqubXZ2Q/7uLshaLy+sloLHxuqlN/xGIGsKeG IZNFAdh4S6BRq5SzGvUPlQsWDocfw0N36imhO9Y= X-Google-Smtp-Source: AK7set/+BSXOV37zvLfVZE+9+uILxEe5xe6qdqRZmgvyxeS4xR//LP+cWjhkd4jKNn5XZMFRgEX3GQ== X-Received: by 2002:a17:907:7a86:b0:90b:167e:304b with SMTP id mm6-20020a1709077a8600b0090b167e304bmr18267638ejc.45.1678277639843; Wed, 08 Mar 2023 04:13:59 -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:13:59 -0800 (PST) From: Roman Scherer Date: Wed, 8 Mar 2023 13:13:44 +0100 Message-Id: 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 (m1n1): New variable. --- gnu/packages/bootloaders.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index ee47a9fad7..aa2fcc03dd 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -623,6 +623,42 @@ (define-public dtc tree binary files. These are board description files used by Linux and BSD.") (license license:gpl2+))) +(define-public m1n1 + (let ((commit "46f2811351806aafb3d56e02c107f95ac2ea85e3")) + (package + (name "m1n1") + (version (git-version "1.2.4" "0" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AsahiLinux/m1n1") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14chrqbs57v6i5vmf643svbi3s7h4fxrxly0bby7brf3w114nmpk")))) + (build-system gnu-build-system) + (supported-systems (list "aarch64-linux")) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (setenv "RELEASE" "1"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((dir (string-append (assoc-ref outputs "out") "/libexec/"))) + (mkdir-p dir) + (copy-file "build/m1n1.bin" (string-append dir "m1n1.bin"))))) + ;; There are no tests + (delete 'check)))) + (home-page "https://github.com/AsahiLinux/m1n1") + (synopsis "Boot loader and experimentation playground for Apple Silicon") + (description "m1n1 is the bootloader developed by the Asahi Linux project to bridge +the Apple (XNU) boot ecosystem to the Linux boot ecosystem.") + (license license:expat)))) + (define %u-boot-rockchip-inno-usb-patch ;; Fix regression in 2020.10 causing freezes on boot with USB boot enabled. ;; See https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64/-/issues/4