[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61959] [PATCH 1/7] gnu: Add m1n1.
From: |
Roman Scherer |
Subject: |
[bug#61959] [PATCH 1/7] gnu: Add m1n1. |
Date: |
Sat, 4 Mar 2023 15:46:34 +0100 |
From: r0man <roman@burningswell.com>
* gnu/packages/bootloaders.scm (m1n1): New variable.
---
gnu/packages/bootloaders.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index ee47a9fad7..d02161ab1f 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -623,6 +623,38 @@ (define-public dtc
tree binary files. These are board description files used by Linux and BSD.")
(license license:gpl2+)))
+(define-public m1n1
+ (package
+ (name "m1n1")
+ (version "1.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/AsahiLinux/m1n1/archive/v"
+ version ".tar.gz"))
+ (sha256
+ (base32 "1pymb7ip77z8md1pxqm3micq2yns1v6b97mayaa2q1s8sinv00jg"))))
+ (build-system gnu-build-system)
+ (supported-systems (list "aarch64-linux"))
+ (arguments
+ `(#: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
--
2.39.1
- [bug#61959] [PATCH 0/7] Add some Asahi Linux packages, Roman Scherer, 2023/03/04
- [bug#61959] [PATCH 1/7] gnu: Add m1n1.,
Roman Scherer <=
- [bug#61959] [PATCH 2/7] gnu: Add u-boot-apple-m1., Roman Scherer, 2023/03/04
- [bug#61959] [PATCH 5/7] gnu: Add asahi-mesa., Roman Scherer, 2023/03/04
- [bug#61959] [PATCH 6/7] gnu: Add asahi-mesa-headers., Roman Scherer, 2023/03/04
- [bug#61959] [PATCH 3/7] gnu: Add asahi-fwextract., Roman Scherer, 2023/03/04
- [bug#61959] [PATCH 4/7] gnu: libdrm: Update to 2.4.114., Roman Scherer, 2023/03/04
- [bug#61959] [PATCH 7/7] gnu: Add asahi-mesa-utils., Roman Scherer, 2023/03/04
- [bug#61959] [PATCH 0/7] Add some Asahi Linux packages, Ricardo Wurmus, 2023/03/04
- [bug#61959] [PATCH 0/7] Add some Asahi Linux packages, Winter, 2023/03/04