Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] asahi-base: force load module in tinyramfs
@ 2025-04-03 20:42 dkwo
  2025-04-16 15:09 ` dkwo
  2025-04-22 16:09 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: dkwo @ 2025-04-03 20:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

There is a new pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages asahi-base
https://github.com/void-linux/void-packages/pull/54963

asahi-base: force load module in tinyramfs
- I tested the changes in this PR: yes

This lets tinyramfs use keyboard on mac mini to e.g. decrypt luks.
The reference dracut implementation in asahi-scripts does the same btw.

A patch file from https://github.com/void-linux/void-packages/pull/54963.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-asahi-base-54963.patch --]
[-- Type: text/x-diff, Size: 1191 bytes --]

From e3b7bd742d589faaeb7afd1e7b4a4aa72992b02a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Thu, 3 Apr 2025 16:37:53 -0400
Subject: [PATCH] asahi-base: force load module in tinyramfs

---
 srcpkgs/asahi-base/files/tinyramfs-hook-asahi.init | 1 +
 srcpkgs/asahi-base/template                        | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/asahi-base/files/tinyramfs-hook-asahi.init b/srcpkgs/asahi-base/files/tinyramfs-hook-asahi.init
index 7f77e8d7493f3c..80b779fa4950ea 100644
--- a/srcpkgs/asahi-base/files/tinyramfs-hook-asahi.init
+++ b/srcpkgs/asahi-base/files/tinyramfs-hook-asahi.init
@@ -1,5 +1,6 @@
 modprobe apple-mailbox
 modprobe nvme-apple
+modprobe -f xhci-plat-hcd
 
 for i in $(seq 0 50); do
 	[ -e /sys/bus/platform/drivers/nvme-apple/*.nvme/nvme/nvme*/nvme*n1/ ] && break
diff --git a/srcpkgs/asahi-base/template b/srcpkgs/asahi-base/template
index dddf229785da8c..88c8bb31163316 100644
--- a/srcpkgs/asahi-base/template
+++ b/srcpkgs/asahi-base/template
@@ -1,6 +1,6 @@
 # Template file for 'asahi-base'
 pkgname=asahi-base
-version=20250205
+version=20250403
 revision=1
 archs="aarch64*"
 build_style=meta

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: asahi-base: force load module in tinyramfs
  2025-04-03 20:42 [PR PATCH] asahi-base: force load module in tinyramfs dkwo
@ 2025-04-16 15:09 ` dkwo
  2025-04-22 16:09 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: dkwo @ 2025-04-16 15:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/54963#issuecomment-2809897770

Comment:
@classabbyamp this one as well, please?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: asahi-base: force load module in tinyramfs
  2025-04-03 20:42 [PR PATCH] asahi-base: force load module in tinyramfs dkwo
  2025-04-16 15:09 ` dkwo
@ 2025-04-22 16:09 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2025-04-22 16:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

There's a merged pull request on the void-packages repository

asahi-base: force load module in tinyramfs
https://github.com/void-linux/void-packages/pull/54963

Description:
- I tested the changes in this PR: yes

This lets tinyramfs use keyboard on mac mini to e.g. decrypt luks.
The reference dracut implementation in asahi-scripts does the same btw.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-22 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-03 20:42 [PR PATCH] asahi-base: force load module in tinyramfs dkwo
2025-04-16 15:09 ` dkwo
2025-04-22 16:09 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).