From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 05 05:53:35 2023 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 To: 61959@debbugs.gnu.org Subject: [PATCH v2 1/7] gnu: Add m1n1. 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61959 Cc: Roman Scherer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * 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