From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id NHu0JOV0BGRr5gAAbAwnHQ (envelope-from ) for ; Sun, 05 Mar 2023 11:54:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8GlyJOV0BGR9dwAA9RJhRA (envelope-from ) for ; Sun, 05 Mar 2023 11:54:29 +0100 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 5B1AFF949 for ; Sun, 5 Mar 2023 11:54:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYm0C-0005Kn-Bu; Sun, 05 Mar 2023 05:54:04 -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 1pYm0B-0005KG-3L for guix-patches@gnu.org; Sun, 05 Mar 2023 05:54: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 1pYm0A-0006ru-MV for guix-patches@gnu.org; Sun, 05 Mar 2023 05:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYm0A-0002H1-HU for guix-patches@gnu.org; Sun, 05 Mar 2023 05:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61959] [PATCH v2 1/7] gnu: Add m1n1. References: <20230304144415.9644-1-roman@burningswell.com> In-Reply-To: <20230304144415.9644-1-roman@burningswell.com> Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Mar 2023 10:54: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.16780136158651 (code B ref 61959); Sun, 05 Mar 2023 10:54:02 +0000 Received: (at 61959) by debbugs.gnu.org; 5 Mar 2023 10:53:35 +0000 Received: from localhost ([127.0.0.1]:38581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYlzi-0002FF-O9 for submit@debbugs.gnu.org; Sun, 05 Mar 2023 05:53:35 -0500 Received: from mail-ed1-f53.google.com ([209.85.208.53]:42841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYlzg-0002Ee-FE for 61959@debbugs.gnu.org; Sun, 05 Mar 2023 05:53:33 -0500 Received: by mail-ed1-f53.google.com with SMTP id o12so27228470edb.9 for <61959@debbugs.gnu.org>; Sun, 05 Mar 2023 02:53:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; t=1678013606; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hDGe82VfDoNswPmO5u9keuIIZCQIwiK81SJRdVIqqB0=; b=D2iRIi3W2ov8qOQoeXWQqvwDXA+FNW1Sqof9f5OBmH+L4bd2Wopu72wIyjN+2H/eSW Rr7NTg6AL6F3l8AO7RFUbon7OLE4pnWTbRPF3GtzRkFshilA15sgALMNoVp7ABaUmwI8 6a2IJf8eevh4791LV2v9z6ygFa7nhDDOjzJpBlscai+pgPp7O0xcnqYe3zgwJaonM4fk +Re+xGblA2sRY9jSVAGa5b1uYvBeJ6MFlorPQDTy66hjVZW5gmT7s9Xmj3a6e3mdbQ9d iskRk5wyybhp7UnikV0L+5e4tanq+n+zXhAykTcbQI5igKrwVadYHXEXjvWrF+f5CmLm +Plw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678013606; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hDGe82VfDoNswPmO5u9keuIIZCQIwiK81SJRdVIqqB0=; b=pkE5g6pBJ+mSXILFU2DaAVuGAc68fG55+txHXjtrJwTmS5HJFe5vK4LBJ44v6m6ZE3 s3CkgeBAgRADtee+KDNhB9h8hNXMcGgzOGELw38T58wYX++pW23DuJOvofagO5xPwmPS LetXUStDXhU6ZI/H5h//mjwtmh/37pmVNVTkrayRG3QX9rPJEvyQeGbQb0RHtG86k7z8 a5IsqRS79GZzgo2v/8c8h9dQbL9bH3kruS/hP2LLFWNgYs+h46bva5gKULLqtk75BONi jYPBi0cCkuvsLxTPynv6L+vzFtN9iByYpeLYcoDNzWtoB2+ZJuNNp7G1ymMju6Hx9YRR 1VyA== X-Gm-Message-State: AO0yUKWyP+3Da12onJaBGw/77uw0DYcAq9d4SB2Zlm6Yd2ph1jdIXOKO RGpIZ/Iesw0pMBVOZFxCCAw7q7h559PQekVVARs= X-Google-Smtp-Source: AK7set91VxhvhctlTqpUhMDP+2o9zIuvfDI86RC8lUuUmb6m0tz9Lyzms0MLt81RqjrwlwNAugDHjg== X-Received: by 2002:a17:906:f8c8:b0:8b1:16b3:303e with SMTP id lh8-20020a170906f8c800b008b116b3303emr8000576ejb.65.1678013606145; Sun, 05 Mar 2023 02:53:26 -0800 (PST) Received: from localhost.localdomain ([2a01:598:b1ad:1fff:8e8b:b210:246d:cd7a]) by smtp.gmail.com with ESMTPSA id f3-20020a170906738300b008cf377e8795sm3085959ejl.199.2023.03.05.02.53.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Mar 2023 02:53:25 -0800 (PST) From: Roman Scherer Date: Sun, 5 Mar 2023 11:53:09 +0100 Message-Id: X-Mailer: git-send-email 2.39.1 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678013669; 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=hDGe82VfDoNswPmO5u9keuIIZCQIwiK81SJRdVIqqB0=; b=dMkRR1dLtI5WkhnHoA4iicNzxQiLLXs5/M4s2ruYnP90SsY+JvHwxy4k+ETUUNu6rD0Adr sUKAmBPvzeavh3UJkvk8IZZOIyA2IN3Cmu+VT78617i1qjfVShxrsJdw/W/SwZHQK4wzn8 7AxMlwxmpuhYdw/rp1sRj4xre80R9EWwZi+8RuTTFYCMqgwc8esdKGfvHaJtJ8qE7smcw7 S9qnz59M4isP0Ab8y2u/sPzkXlcpd5rbAy4oj+ww3gyU2LRXht99BZ6QRraPd0byMghJXH nLn0IuBWLhxneI3mkuyRyoG3yEUii9u6IuGaPs7oM6m+nM51TujSAk2/8Tn+Og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b=D2iRIi3W; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678013669; a=rsa-sha256; cv=none; b=ibW30kN0T6buc5ktw17FdFnNfLn2+PoJPPqTbV8HLK8+1k/3Frb7S0F8CxTpqmsL8fPYz/ 2hqyAvQ6xkxRHi5E2AG4JNY+cQNLQbpFI49++9fE7hF8sSMePNbaX6RB5evOBC9X2eS6On Mftm1yruZLs5LtmF0i0qp4Kf0okAas3Pd+OyYdP+FvCZ2eDLpWa+3aSpjmWlFqUTqipyIj +aUHg/jmtf6RBNCidOZl/IT146uaTLhsYcwERDjvQLJqVoFS75jSYLFKcKXiwQC8z64Wra 4pelRo0A73/e+S5/oJVb/yOMNqxZmbhei0L6ddy1UKmKzY/StzCocr4EcV+JFA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 0.79 X-Spam-Score: 0.79 X-Migadu-Queue-Id: 5B1AFF949 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b=D2iRIi3W; 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=none X-TUID: SbS3xuMJ3K1V * 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 base-commit: 1b07f397dc17e31ad55b80a4efd34fdcb5b3c690 -- 2.39.1