2026-02-20
00:03hdbngr has joined #asahi-dev
00:12hdbngr has quit [Ping timeout: 480 seconds]
00:12pb17 has joined #asahi-dev
00:21hdbngr has joined #asahi-dev
00:29hdbngr has quit [Ping timeout: 480 seconds]
00:37hdbngr has joined #asahi-dev
00:46mixi has quit [Ping timeout: 480 seconds]
00:46hdbngr has quit [Ping timeout: 480 seconds]
00:51hdbngr has joined #asahi-dev
00:56mixi has joined #asahi-dev
01:00hdbngr has quit [Ping timeout: 480 seconds]
01:13Rock has joined #asahi-dev
01:14Guest3216 has quit [Read error: Connection reset by peer]
01:14Rock is now known as Guest3223
01:28Guest3223 has quit [Remote host closed the connection]
01:28Sai_ has joined #asahi-dev
01:32andymandias_ has joined #asahi-dev
01:40andymandias has quit [Ping timeout: 480 seconds]
01:48andymandias_ is now known as andymandias
01:54Sai__ has joined #asahi-dev
01:54Sai_ has quit [Read error: Connection reset by peer]
03:09tobhe has joined #asahi-dev
03:16tobhe_ has quit [Ping timeout: 480 seconds]
03:18pb17 has quit [Ping timeout: 480 seconds]
03:21pb17 has joined #asahi-dev
03:22deanrock0978 has joined #asahi-dev
03:26deanrock097 has quit [Ping timeout: 480 seconds]
03:26deanrock0978 is now known as deanrock097
03:28lukeleppan has quit [Read error: Connection reset by peer]
03:28lukeleppan has joined #asahi-dev
03:36hexdump02 has joined #asahi-dev
03:37hexdump0815 has quit [Ping timeout: 480 seconds]
04:04mesa has joined #asahi-dev
04:12mesa has quit [Ping timeout: 480 seconds]
04:22nora_ has joined #asahi-dev
04:24nora has quit [Ping timeout: 480 seconds]
04:24Rock has joined #asahi-dev
04:24Sai__ has quit [Read error: Connection reset by peer]
04:25Rock is now known as Guest3238
04:44Guest3238 has quit [Read error: Connection reset by peer]
04:44Sai_ has joined #asahi-dev
05:21pb17 has quit [Ping timeout: 480 seconds]
05:40pb17 has joined #asahi-dev
06:43Sai_ has quit [Read error: Connection reset by peer]
06:44Rock has joined #asahi-dev
06:44Rock is now known as Guest3244
06:46Sai_ has joined #asahi-dev
06:46Guest3244 has quit [Read error: Connection reset by peer]
06:50ravikant_ has joined #asahi-dev
07:17billak has joined #asahi-dev
07:17billak has quit []
07:21chadmed has quit [Quit: Konversation terminated!]
07:21chadmed has joined #asahi-dev
07:25ralim has quit [Quit: The Lounge - https://thelounge.chat]
07:28Sai_ has quit [Remote host closed the connection]
07:28Sai_ has joined #asahi-dev
07:42Sai_ has quit [Remote host closed the connection]
07:43Sai_ has joined #asahi-dev
08:12pb17 has quit [Ping timeout: 480 seconds]
08:19vulpes2 has quit [Quit: Ping timeout (120 seconds)]
08:19vulpes2 has joined #asahi-dev
08:21pb17 has joined #asahi-dev
08:21Sai_ has quit [Remote host closed the connection]
08:21Rock has joined #asahi-dev
08:22Rock is now known as Guest3249
08:27Sai_ has joined #asahi-dev
08:27Guest3249 has quit [Remote host closed the connection]
08:52mesa has joined #asahi-dev
09:00mesa has quit [Ping timeout: 480 seconds]
09:28Sai_ has quit [Remote host closed the connection]
09:29Rock has joined #asahi-dev
09:30Rock is now known as Guest3252
09:46siirko[m]Hi !, I've managed to boot up partially linux kernel on my m3, but it is blocked with "waiting for root device /dev/nvme....", I put this string into the boot bin 'chosen.bootargs=earlycon debug root=/dev/nvme0n1p6 rootwait rw' with other information. The only thing that came to my mind is that it might be because I didn't gave it a initramfs and at this stage it can't load nvme
09:47chaos_princessyou are correct. give it an initramfs
09:50jannauinitramfs shouldn't be necessary when everything is buit-in (apple nvme and sart for nvme
09:52Guest3252 has quit [Remote host closed the connection]
09:52Sai_ has joined #asahi-dev
09:53siirko[m]I choose the path of booting a linux kernel directly like explained in https://asahilinux.org/docs/sw/m1n1-user-guide/#configuring-to-boot-linux-directly
09:53chaos_princessthat assumes that nvme works. it probably does, but having an initramfs will help with figuring out if everything is ok, or something went wrong
09:54Sai_ has quit [Remote host closed the connection]
09:55Sai_ has joined #asahi-dev
10:05Sai_ has quit [Remote host closed the connection]
10:05Sai_ has joined #asahi-dev
10:12Sai__ has joined #asahi-dev
10:12Sai_ has quit [Read error: Connection reset by peer]
10:19[KongrooParadox] has joined #asahi-dev
10:20joe-schmuck has joined #asahi-dev
10:21KongrooParadox has quit [Ping timeout: 480 seconds]
10:24chaos_princess has quit [Quit: chaos_princess]
10:24chaos_princess has joined #asahi-dev
10:43Sai__ has quit [Remote host closed the connection]
10:44Rock has joined #asahi-dev
10:45Rock is now known as Guest3257
10:47Guest3257 has quit [Read error: Connection reset by peer]
10:47Sai_ has joined #asahi-dev
10:51Sai_ has quit [Read error: Connection reset by peer]
10:52Sai_ has joined #asahi-dev
11:31KongrooParadox has joined #asahi-dev
11:32Sai__ has joined #asahi-dev
11:32Sai_ has quit [Read error: Connection reset by peer]
11:34[KongrooParadox] has quit [Ping timeout: 480 seconds]
11:42Sai_ has joined #asahi-dev
11:42Sai__ has quit [Read error: Connection reset by peer]
11:55mesa has joined #asahi-dev
11:55Sai_ has quit [Remote host closed the connection]
11:56joe-schmuck has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:56Rock has joined #asahi-dev
11:57Rock is now known as Guest3262
12:00integralpilot has joined #asahi-dev
12:00Guest3262 has quit [Remote host closed the connection]
12:01Sai_ has joined #asahi-dev
12:01integralpilot has quit []
12:03mesa has quit [Ping timeout: 480 seconds]
12:10gargantua has quit [Ping timeout: 480 seconds]
12:10Sai_ has quit [Remote host closed the connection]
12:11Sai_ has joined #asahi-dev
12:15gargantua has joined #asahi-dev
12:23Sai_ has quit [Remote host closed the connection]
12:23Sai_ has joined #asahi-dev
12:30crabbedhaloablut has quit []
12:32gargantua has quit [Ping timeout: 480 seconds]
12:32Sai_ has quit [Read error: Connection reset by peer]
12:32Sai_ has joined #asahi-dev
12:33crabbedhaloablut has joined #asahi-dev
12:35Sai_ has quit [Remote host closed the connection]
12:37Sai_ has joined #asahi-dev
12:44deanrock097 has quit [Ping timeout: 480 seconds]
12:56mesa has joined #asahi-dev
12:56Sai_ has quit [Remote host closed the connection]
13:02Rock has joined #asahi-dev
13:02Rock is now known as Guest3269
13:04mesa has quit [Ping timeout: 480 seconds]
13:06Guest3269 has quit [Read error: Connection reset by peer]
13:06Sai_ has joined #asahi-dev
13:09Sai_ has quit [Remote host closed the connection]
13:09Sai_ has joined #asahi-dev
13:11Sai__ has joined #asahi-dev
13:11Sai_ has quit [Read error: Connection reset by peer]
13:16siirko[m]I tried to go the other way around and do the m1n1 -> u-boot, but it seems that I'm stuck on asahi logo. This happens juste before it prepare to load kernel. Is anyone have a clue of what I might did wrong ? I see within the log that it loads correct device tree blob and pcie initialisation goes alright
13:32siirko[m]fl0_id: nevermind about that it was bad english , I meaned that while I tried to boot a kernel directly through m1n1 stage 1 I tried with m1n1 -> uboot
13:35fl0_idah. yeah not sure about u-boot. did you install that manually or via (modified) installer?
13:38siirko[m]fl0_id: I compiled it from source like explained here https://asahilinux.org/docs/sw/u-boot/#prerequisites I put the right dtb from https://github.com/AsahiLinux/linux/pull/445 and applied https://github.com/AsahiLinux/m1n1/pull/538
13:42Sai__ has quit [Remote host closed the connection]
13:44Sai_ has joined #asahi-dev
13:50Sai_ has quit [Read error: Connection reset by peer]
13:50Sai_ has joined #asahi-dev
13:53siirko[m]* I compiled it from source like explained here https://asahilinux.org/docs/sw/u-boot/#prerequisites I put the right dtb from https://github.com/AsahiLinux/linux/pull/445 and applied https://github.com/AsahiLinux/m1n1/pull/538
13:53siirko[m]edit : I've looked at m1n1 code and I think this is closely related to u-boot or something else that I've not done correctly on u-boot code
13:55fl0_idmaybe someone else can weigh in, haven't used uboot much. so it hangs after loading kernel, but before you can give it commands?
13:57Sai_ has quit [Remote host closed the connection]
13:57Sai_ has joined #asahi-dev
14:06simvalue6 has quit [Quit: The Lounge - https://thelounge.chat]
14:07simvalue6 has joined #asahi-dev
14:08simvalue6 has quit []
14:17Sai_ has quit [Remote host closed the connection]
14:17Rock has joined #asahi-dev
14:17Rock is now known as Guest3275
14:26siirko[m]https://github.com/AsahiLinux/u-boot/blob/asahi/arch/arm/mach-apple/board.c#L21 Seeing this might explain why it get stucked, there just no implementation yet for m3
14:53MikeM64 has quit [Read error: Connection reset by peer]
14:55MikeM64 has joined #asahi-dev
14:58Guest3275 has quit [Remote host closed the connection]
14:59Sai_ has joined #asahi-dev
15:03john-cabaj has joined #asahi-dev
15:04fl0_idin some cases for specific devices, if the older compatible still works, it would still work. but if it only checks the machine, yes. you could just try adding t8122
15:10Sai__ has joined #asahi-dev
15:11Sai_ has quit [Read error: Connection reset by peer]
15:14pb17 has quit [Ping timeout: 480 seconds]
15:14Sai__ has quit [Read error: Connection reset by peer]
15:14pb17 has joined #asahi-dev
15:15Sai_ has joined #asahi-dev
15:16Sai__ has joined #asahi-dev
15:16Sai_ has quit [Read error: Connection reset by peer]
15:21Sai__ has quit [Read error: Connection reset by peer]
15:23Rock has joined #asahi-dev
15:23Rock is now known as Guest3283
15:24Sai_ has joined #asahi-dev
15:25Guest3283 has quit [Read error: Connection reset by peer]
15:40Sai_ has quit [Remote host closed the connection]
15:40Sai_ has joined #asahi-dev
15:45Sai_ has quit [Remote host closed the connection]
15:46ravikant_ has quit []
15:46Sai_ has joined #asahi-dev
15:58Sai_ has quit [Remote host closed the connection]
15:59Sai_ has joined #asahi-dev
16:05Sai_ has quit [Remote host closed the connection]
16:06Sai_ has joined #asahi-dev
16:15Sai__ has joined #asahi-dev
16:15Sai_ has quit [Read error: Connection reset by peer]
16:20mesa has joined #asahi-dev
16:28mesa has quit [Ping timeout: 480 seconds]
17:00mesa has joined #asahi-dev
17:03hdbngr has joined #asahi-dev
17:08mesa has quit [Ping timeout: 480 seconds]
17:17mesa has joined #asahi-dev
17:25mesa has quit [Ping timeout: 480 seconds]
17:47pb17 has quit [Ping timeout: 480 seconds]
17:51pb17 has joined #asahi-dev
18:01mesa has joined #asahi-dev
18:09mesa has quit [Ping timeout: 480 seconds]
18:10hamr8 has quit [Quit: Ping timeout (120 seconds)]
18:10hamr8 has joined #asahi-dev
18:13hdbngr has quit [Ping timeout: 480 seconds]
18:16hdbngr has joined #asahi-dev
18:37hdbngr has quit [Ping timeout: 480 seconds]
18:40hdbngr has joined #asahi-dev
18:53lynndotpy7 has quit [Quit: bye bye]
18:54lynndotpy7 has joined #asahi-dev
18:57hdbngr has quit [Ping timeout: 480 seconds]
19:02mesa has joined #asahi-dev
19:04hdbngr has joined #asahi-dev
19:10mesa has quit [Ping timeout: 480 seconds]
19:13hdbngr has quit [Ping timeout: 480 seconds]
19:20hdbngr has joined #asahi-dev
19:29hdbngr has quit [Ping timeout: 480 seconds]
19:36hdbngr has joined #asahi-dev
19:45hdbngr has quit [Ping timeout: 480 seconds]
19:52hdbngr has joined #asahi-dev
19:59pb17 has quit [Ping timeout: 480 seconds]
20:00nickchan has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
20:00nickchan has joined #asahi-dev
20:02mesa has joined #asahi-dev
20:02pb17 has joined #asahi-dev
20:05hdbngr has quit [Ping timeout: 480 seconds]
20:11mesa has quit [Ping timeout: 480 seconds]
20:13hdbngr has joined #asahi-dev
20:21mesa has joined #asahi-dev
20:22hdbngr has quit [Ping timeout: 480 seconds]
20:23hdbngr has joined #asahi-dev
20:29mesa has quit [Ping timeout: 480 seconds]
20:32hdbngr has quit [Ping timeout: 480 seconds]
20:39mesa has joined #asahi-dev
20:41hdbngr has joined #asahi-dev
20:47mesa has quit [Ping timeout: 480 seconds]
20:54hdbngr has quit [Ping timeout: 480 seconds]
21:02ipatch has quit [Ping timeout: 480 seconds]
21:02hdbngr has joined #asahi-dev
21:05ipatch has joined #asahi-dev
21:07ipatch has quit []
21:11hdbngr has quit [Ping timeout: 480 seconds]
21:12abrenderQuick data point: M2 Macbook Air 14 inch (J413) - in January I tested and it lost 1.5% battery per hour on suspend. Now that the cpuidle driver was added in 6.18 I measured a 33% reduction in battery use - 1% per hour instead. I notice there was no mention of cpuidle in the progress reports - maybe it slipped through, or maybe it wasn't expected to make any difference?
21:12ipatch has joined #asahi-dev
21:13abrender(I basically put the laptop into suspend, then closed the lid, and opened it a few hours later and checked the loss of battery %)
21:13chaos_princessare you using upstream kernel?
21:14chaos_princessthat is not the upstream kernel
21:14chaos_princessand we had cpuidle since forever
21:14jgoyvaerts has quit [Quit: The Lounge - https://thelounge.chat]
21:14jgoyvaerts has joined #asahi-dev
21:14abrenderoh sorry then maybe I misunderstood by upstream? It's just regular Asahi Fedora and I ran the `dnf upgrade` command
21:14abrenderIt looked to me like cpuidle wasn't added until Dec 2025: https://github.com/AsahiLinux/linux/commit/4c135ef5c4c15479593b86a6da1b7abf87ffa6e7
21:15chaos_princess"commited" means "last changed"
21:16j`eyfor example https://github.com/AsahiLinux/linux/commit/cbf1c41a00095679a216896cc0bbf8a1d3db0d8a
21:19hdbngr has joined #asahi-dev
21:19abrender@chaos_princess: can you help me to understand what you mean by upstream kernel? Sorry for the ignorance - just trying to learn the lingo
21:20chaos_princessthe linus tree
21:21chaos_princessas in the main one that is _the_ linux kernel
21:21abrenderI thought it was impossible to run linux on Apple Silicon using the upstream linus kernel without all of the asahi patches?
21:21chaos_princessit is possible, just mostly useless on not-m1-mini
21:22abrenderI said "yeah" because I thought you were referring to the official kernel released by Asahi rather than me custom compiling a kernel from a branch in the repo. Thank you very much for clarifying
21:23abrenderThanks for pointing out that the commit I linked to was a rebase. I should have looked closer.
21:25abrenderfl0_id - are you sure? I don't see apple silicon here: https://github.com/torvalds/linux/tree/master/drivers/cpuidle - maybe it's somewhere else?
21:25fl0_idno I'm not, but if you read about it being added, then it was added to that upstream, not asahi
21:26chaos_princessyea, upstream kernel will not have apple cpuidle any time soon
21:27chaos_princessi wouldn't describe it using those specific words, but something like that, yes
21:27hdbngr has quit [Ping timeout: 480 seconds]
21:37hdbngr has joined #asahi-dev
21:37abrenderFor anyone interested in the context of the past discussions: https://lore.kernel.org/lkml/5f741a4f-f37d-079b-d464-59045ebef1ce@marcan.st/t/#u
21:45hdbngr has quit [Ping timeout: 480 seconds]
21:47hdbngr has joined #asahi-dev
21:55hdbngr has quit [Ping timeout: 480 seconds]
21:57andi1[m] has joined #asahi-dev
22:01andi1[m]How do I test a newer kernel requiring devicetree changes with still being able to just boot the know working one afterwards without any problems by just selecting the known-working one in grub?
22:03hdbngr has joined #asahi-dev
22:04chaos_princessback up m1n1.bin on the ESP. if the new device trees are so bad that they completely break the old kernel, you can use macos to restore it
22:08chaos_princesstry adding the memory map for your device into board.c and see how it goes
22:09andi1[m]ok, I check if I understand that correctly. I am used to kernel development on arm (upstreamed a dozen drivers) but do not know the special stuff about the boot process in asahi well
22:12hdbngr has quit [Ping timeout: 480 seconds]
22:13siirko[m]fl0_id: I will try to do that, but I have the impression that it hangs before doing things device tree. I’m trying to reads more about u-boot for understanding how can i toy with it for debugging
22:13ajj37 has quit [Quit: The Lounge - https://thelounge.chat]
22:13jannausiirko[m]: not that demanding. I think it's mostly adding new compatibles and a new mem-layout in arch/arm/mach-apple/board.c since m3's physical mem also starts at 1 << 40
22:14fl0_idsiirko[m] it is not using. the DT. but afaik the memory layout gets output during m1n1 boot log
22:14chaos_princessandi1[m]: the dtbs are inside m1n1.bin on your ESP. so back it up before running update-m1n1 (it also does a backup, but another one can't hurt). And if you completely break that file, macos is capable of mounting fat32
22:14jannauI haven't yet added the new "apple,t8103-*" base compatibles to u-boot so those have to be added as well
22:20hdbngr has joined #asahi-dev
22:28hdbngr has quit [Ping timeout: 480 seconds]
22:38hdbngr has joined #asahi-dev
22:54k70 has quit [Quit: gone]
22:56hdbngr has quit [Ping timeout: 480 seconds]
22:58k70 has joined #asahi-dev
23:02k70 has quit []
23:04hdbngr has joined #asahi-dev
23:05k70 has joined #asahi-dev
23:06mesa has joined #asahi-dev
23:06joe-schmuck has joined #asahi-dev
23:11andi1[m]chaos_princess: found it. updated to fairydust to notice I can get a display with USB-C type connector to work which does not work with macOS from Ventura I think. It needed some USB-C ->HDMI->USB-C adapter chain
23:12chaos_princesshahaha
23:13hdbngr has quit [Ping timeout: 480 seconds]
23:13chaos_princessi think the reason it works is because asahi is pretending to be macos 13.5
23:14chaos_princessso if apple broke your monitor with new dcp firmware - the reason it works is because we are using old one
23:14mesa has quit [Ping timeout: 480 seconds]
23:18john-cabaj has quit [Ping timeout: 480 seconds]
23:22hdbngr has joined #asahi-dev
23:32skipwich has joined #asahi-dev
23:34hdbngr has quit [Ping timeout: 480 seconds]
23:42hdbngr has joined #asahi-dev
23:52mesa has joined #asahi-dev
23:57hdbngr has quit [Ping timeout: 480 seconds]