#
…

2022-02-06

00:40chadmedGlanzmann: on virtually all platforms, PCI is "turned on" by the firmware and kernel mode drivers just probe the bus for devices hanging off the root hub. neither openbsd nor the linux kernel have to have a specific system for "turning on" the bus
00:40m6wiq has quit []
00:52jeffmiwGlanzmann: rtc support over spmi is here : https://github.com/jfbortolotti/linux/tree/spmi_rtc , you need the following flags in your kernel config: CONFIG_SPMI_APPLE=y CONFIG_MFD_APPLE_SPMI_SERA_PMU=y CONFIG_RTC_DRV_APPLE_PMU_SERA=y
00:53jeffmiwtested on mba for now, branch only have the changes for t8103
00:58jeffmiwthis enables to boot with current time set in rtc, and rtc is updated is system date/time is changed
01:19myon98 has joined #asahi
01:26jmr2 has joined #asahi
01:27jmr2jeffmiw: Thanks for sharing. Good to see another area making progress.
01:28jmr2jeffmiw: you seem to have a mix of tabs & spaces in your files. Depending on the editor, the alignments are wrong.
01:30jmr2(and typo: only one R in Corellium)
01:37jmr2 has quit [Quit: Page closed]
02:05tomtastic_ has joined #asahi
02:10tomtastic has quit [Ping timeout: 480 seconds]
02:40riker77_ has joined #asahi
02:43riker77 has quit [Ping timeout: 480 seconds]
02:43riker77_ is now known as riker77
02:45reillyeon has quit [Quit: The Lounge - https://thelounge.github.io]
02:46reillyeon has joined #asahi
03:04psykose has quit [Ping timeout: 480 seconds]
03:04psykose has joined #asahi
03:30bisko has quit [Server closed connection]
03:31bisko has joined #asahi
03:59PhilippvK has joined #asahi
04:00kov has quit [Quit: Coyote finally caught me]
04:01phiologe has quit [Ping timeout: 480 seconds]
04:42darkapex has quit [Ping timeout: 480 seconds]
04:46jbowen has quit [Ping timeout: 480 seconds]
04:51PthariensFlame[m]Seems like there's some confusion on the mailing list.
05:03marvin24_ has joined #asahi
05:06marvin24 has quit [Ping timeout: 480 seconds]
05:20Glanzmannjeffmiw: Thank you, trying now.
05:20marcanpretty sure agraf knows, he'll probably reply
05:20Glanzmannchadmed / marcan: If every other system turns on PCI in the firmware, why don't we turn it on in m1n1, but kettenis appears to implement in OpenBSD, as I heard we're planning on doing that in the linux kernel?
05:21marcanyou may have noticed a pattern that these systems are a bit different from "every other system" ;)
05:23marcanlinux needs an SMC driver anyway, and being able to turn off PCI devices might be important in the future, e.g. if it interacts with sleep
05:25Glanzmannmarcan: I see. Will brcmfmac/brcmutil call SMC to do the same or will SMC do it bytiself?
05:25marcanthe PCI core will handle that
05:25marcansifive already does this
05:25marcanso in fact there is already one other system like this
05:27dfip^ has quit [Remote host closed the connection]
06:01lewurm has quit [Server closed connection]
06:01lewurm has joined #asahi
06:15threerik[m] has quit [Server closed connection]
06:15threerik[m] has joined #asahi
06:25drwhax[m]1 has quit [Server closed connection]
06:25drwhax[m]1 has joined #asahi
06:32as400[m] has quit [Server closed connection]
06:32as400[m] has joined #asahi
06:33l3k[m] has quit [Server closed connection]
06:33l3k[m] has joined #asahi
06:33Sebhl[m] has quit [Server closed connection]
06:33Sebhl[m] has joined #asahi
06:36Glanzmannjeffmiw: RTC works for me on the macbook air. I tested by disabling wifi and rebooting several times, 'date' shows the real time. I did not see anything in dmesg though. dmesg: https://pbot.rmdir.de/rvz9mbw7L4rnmohnYaQ9FA
06:36Glanzmannjeffmiw: The kernel options were turned on automatically for me when doing olddefconfig. I did not need to update the device tree in u-boot.
06:36Glanzmannjeffmiw: I can test on the mini as well, once you adopted the code.
06:37_jannau_ has quit [Server closed connection]
06:37_jannau_ has joined #asahi
06:38GlanzmannIf someone else wants to try rtc (currently probably only works on macbook air), here it is: https://tg.st/u/rtc.txt
06:38jbowen has joined #asahi
06:46RianSouzaSantos[m] has quit [Server closed connection]
06:46RianSouzaSantos[m] has joined #asahi
06:46jbowen has quit [Ping timeout: 480 seconds]
06:53al3xtjames has quit [Quit: al3xtjames]
06:55al3xtjames has joined #asahi
07:06jelly has quit [Server closed connection]
07:07jbowen has joined #asahi
07:07mini has quit [Server closed connection]
07:07mini has joined #asahi
07:09jelly has joined #asahi
07:19bradfier has quit [Server closed connection]
07:19bradfier has joined #asahi
07:19mattmurr[m] has quit [Server closed connection]
07:19mattmurr[m] has joined #asahi
07:21jbowen has quit [Ping timeout: 480 seconds]
07:38darkapex has joined #asahi
07:39ofl^ has joined #asahi
08:07jbowen has joined #asahi
08:09ciggi has joined #asahi
08:10mpsGlanzmann: on which branch you applied rtc patches, asahi or smc/work?
08:11Glanzmannmps: I applied it on top of asahi, but I assume any branch will be fine.
08:11Glanzmannmps: ANd I think it will work on any system 2020 system.
08:11GlanzmannI try the mini right now with debian live.
08:11mpsGlanzmann: thanks for info, I will try on MBP
08:13ciggi_ has quit [Ping timeout: 480 seconds]
08:14Bicet[m] has quit [Server closed connection]
08:14Bicet[m] has joined #asahi
08:16jbowen has quit [Ping timeout: 480 seconds]
08:19BlazinWeed[m] has quit [Server closed connection]
08:19BlazinWeed[m] has joined #asahi
08:24josipknezovic[m] has quit [Server closed connection]
08:24josipknezovic[m] has joined #asahi
08:25jbowen has joined #asahi
08:27mpsrtc doesn't work on MBP in my case
08:30Glanzmannmps: I see, let me check if it works on the mini.
08:30GlanzmannIf it does, I'll send you the debian live you can boot it from a usb stick and see if it works then.
08:30GlanzmannNeed to rebuild everything because I forgot to enable the parameters ...
08:31mpsGlanzmann: I applied them on top of smc/work branch
08:33Glanzmannmps: I see. I look forward to having wifi for axboe and poweroff for us. :-)
08:33GlanzmannI did not try smc yet, because it is just plumbining.
08:33jbowen has quit [Ping timeout: 480 seconds]
08:33mpsGlanzmann: I will revert to asahi branch and try again
08:34Glanzmannmps: Wait 5 more minutes.
08:34GlanzmannThan I can tell you if it works on the mini.
08:35mpsok, will wait but anyway I have to revert to asahi and try to report f2fs 'issue' to upstream
08:40Glanzmannmps: Does __not__ work for me on the mini.
08:41Glanzmannjeffmiw: We tried mba, mbp 2020 and mini. Mba works, the other two not.
08:51jeffmiwjmr2: thanks. Noted.I'll fix both tab/spaces & Corellium typo.
08:51mpsGlanzmann: thanks for checking
08:54jeffmiwGlanzmann: thanks for the feedback. I'll see how to figure out what is missing for mbp 2020 and mini
08:59Glanzmannjeffmiw: If it helps, I can give you remote access to the m1n1.
09:01kit_ty_kate1 has quit [Quit: WeeChat 3.2.1]
09:06jannauGlanzmann: it doesn't work out of the box on the mac mini?
09:10jeffmiwGlanzmann: yes that will help
09:10NotHere[m] has quit [Server closed connection]
09:10NotHere[m] has joined #asahi
09:11elosant[m] has quit [Server closed connection]
09:11elosant[m] has joined #asahi
09:11ytg has quit [Server closed connection]
09:11ytg has joined #asahi
09:12jbowen has joined #asahi
09:13lemonsus[m] has quit [Server closed connection]
09:13lemonsus[m] has joined #asahi
09:14nsklaus has joined #asahi
09:16rethematrix[m] has quit [Server closed connection]
09:16rethematrix[m] has joined #asahi
09:17yoodee[m] has quit [Server closed connection]
09:17yoodee[m] has joined #asahi
09:18GenieLotion[m] has quit [Server closed connection]
09:18GenieLotion[m] has joined #asahi
09:19ryanhrob[m] has quit [Server closed connection]
09:19ryanhrob[m] has joined #asahi
09:20mpshmm, probably I don't get rtc because I didn't applied dts part of patch to u-uboot
09:20roxiun[m] has quit [Server closed connection]
09:20roxiun[m] has joined #asahi
09:20mpsjeffmiw: right?
09:21jbowen has quit [Ping timeout: 480 seconds]
09:23nsklaus has quit [Quit: Textual IRC Client: www.textualapp.com]
09:23fionera[m] has quit [Server closed connection]
09:23fionera[m] has joined #asahi
09:24jeffmiwmps: may be, i'm not familiar with the u-boot flow, i'm using m1n1 to kernel flow, with u-boot, how is provided the DT built with the kernel to the kernel ?
09:25why2[m] has quit [Server closed connection]
09:25why2[m] has joined #asahi
09:26mpsjeffmiw: u-boot load DTB and don't use kernel DTB
09:26dek[m] has quit [Server closed connection]
09:26dek[m] has joined #asahi
09:26mpsand I used DTBs from u-boot when created m1n1+u-boot+dtb payload
09:27cavoirom[m] has quit [Server closed connection]
09:27cavoirom[m] has joined #asahi
09:27Rhys[m]12 has quit [Server closed connection]
09:27Rhys[m]12 has joined #asahi
09:28gladiac has quit [Server closed connection]
09:28gladiac has joined #asahi
09:29mpsI will try to use DTBs from kernel and rebuild u-boot and recreate payload
09:31jannauplease stop testing kernel changes with device tree changes with u-boot
09:32Glanzmannjannau: No, it does not.
09:33mpsjannau: yes, I know, but ... sorry
09:33Glanzmannjeffmiw: Do you have IPv6?
09:34mlq_ has quit [Server closed connection]
09:34mlq_ has joined #asahi
09:35jeffmiwGlanzmann: honestly never check or used it, my internet connection should have it, but local network is not really setup for it.
09:35Glanzmannjeffmiw: Lets go with IPv4 then.
09:37Glanzmannjeffmiw: So I ahve Debian testing with mini/u-boot/grub, should I prepare anything else?
09:39roxfan2 has joined #asahi
09:40yrlf has quit [Server closed connection]
09:40yrlf has joined #asahi
09:44roxfan has quit [Ping timeout: 480 seconds]
09:53jannauGlanzmann: seems to work for me as expected on a mac mini
09:53jannau[ 1.170688] apple-pmu-sera-rtc 23d0d9300.spmi:pmu-sera@0:rtc@0: setting system clock to 2022-02-06T09:53:02 UTC (1644141182)
09:56jannauI would expect that it works on the 13-inch mbp and imac as well
09:56malvo has quit [Ping timeout: 480 seconds]
09:57mpsjannau: it crashed on boot in my case on MBP and kernel doesn't finish booting machine
09:58JoshuaAshton has quit [Server closed connection]
09:58JoshuaAshton has joined #asahi
09:58Glanzmannjannau: Than I did a mistake. Did you use u-boot chain?
09:59jannauno. please stop testing kernel changes with device tree changes with u-boot!
10:00jannauverify it first by directly booting the kernel and the dtb from the kernel build
10:01Glanzmannjannau: I did not modify u-boot. I just tried to boot the kernel. But I'll test it like that.
10:01Glanzmannjannau: On the u-boot, I just installed the kernel and it worked.
10:03jannauif that works you can proceed to testing it u-boot. if it fails there you have the wrong dtb embedded in the m1n1+u-boot binary
10:06jannauthe nvme u-boot device tree already has spmi nodes but those look incompatible with the driver
10:13kettenisjannau: already pointed that out to jeffmiw; hopefuly we can work out the dt bindings for this together
10:13jbowen has joined #asahi
10:19nsklaus has joined #asahi
10:19jato has quit [Server closed connection]
10:19jato has joined #asahi
10:21jeffmiwkettenis: just pushed a new version with compatible aligned to the one you mentioned yesterday, need to double check. as discussed, I have to move the nodes around the .dtsi
10:22jbowen has quit [Ping timeout: 480 seconds]
10:25kettenisuse both "apple,t8103-spmi" and "apple,spmi" in the compatible string (in that order) and make the driver match on "apple,spmi"
10:26kettenisif the SPMI block on t6000/t6001 is the same, that will get "apple,t6000-spmi", "apple,spmi"
10:26kettenisthat way your spmi driver will work there as well, but we can still distinguish the two if we discover some subtle difference at a later stage
10:28blasty has quit [Server closed connection]
10:28kettenis(sorry if I wasn't clear about this last night)
10:28blasty has joined #asahi
10:38amwmarcan: Compile fix for marcan/smc/work : https://paste.debian.net/1229768/
10:40as400[m]Glanzmann: I've seen you tried OpenBSD. How would you compare its state to Linux ? On m1 of course.
10:41amwWhen I tried to boot that kernel with my older blessed m1n1+u-boot it can't find the nvme drive, looks like compatible's have changed apple,t8103-ans-nvme => apple,nvme-ans2
10:42Glanzmannas400[m]: kettenis is probably a better source of reference.
10:42amwpresumably others sigh, Might get a chance to chase down or re-do the m1n1 + u-boot bless thing next week, was hoping to get battery status
10:43GlanzmannSo OpenBSD has the following that Linux does not have: an installer, poweroff and battery readings.
10:43ketteniskettenis is biassed ;)
10:44GlanzmannLinux has the follwing which OpenBSD does not have: DCP driver.
10:44GlanzmannOh and the nvme is faster on OpenBSD than on Linux.
10:45as400[m]But dcp driver is needed only for mini, right ?
10:45GlanzmannBut to be honest the OpenBSD experience was very smooth. I had my desktop running in like 30 minutes. And kettenis talked me through the partitioning and the framebuffer.
10:45Glanzmannas400[m]: Yes.
10:45Glanzmannas400[m]: I mean in the end we want the dcp driver everywhere.
10:45GlanzmannBut on the mini you really need it.
10:46GlanzmannAt least if you don't have a 1080p monitor or want rotation.
10:46GlanzmannOh and OpenBSD has chrome.
10:46GlanzmannBut it has no firefox.
10:46Glanzmannas400[m]: I probably will do a video showing of the installation.
10:46gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
10:47gabuscus has joined #asahi
10:47as400[m]Glanzmann: great idea. Or a simple step by step text.
10:47GlanzmannI also wrote a poor mans debian installer for 1tr. But this is pre-alpha: https://tg.st/u/pmdi.pl
10:48Major_Biscuit has joined #asahi
10:49GlanzmannI also thought about adding a small wiki article with a more polished guide.
10:49as400[m]Glanzmann: how did you boot installer ?
10:50GlanzmannOf course I did.
10:50as400[m]Yeah but how ? Usb ?
10:50Glanzmannmarcan hooked mps and me with having pci enablement in u-boot. since then we are happy u-boot user.
10:50Glanzmannas400[m]: Yes,
10:51Glanzmanns/marcan/kettenis/
10:52Glanzmannas400[m]: U-boot only works with the 2020 models. Quickstart see here. I also have some videos on the debian wiki page. https://github.com/AsahiLinux/docs/wiki/U-Boot
10:52as400[m]So you boot the installer from usb by means of uboot right ?
10:52Glanzmannas400[m]: So you use the asahi installer to get the stub. Than you install there m1n1/dtb/u-boot instead of just m1n1.
10:52Glanzmannas400[m]: Yes. It does that by default if you don't have a esp partition on the nvme.
10:52GlanzmannIf you have you can interrupt and say run bootcmd_usb0
10:53GlanzmannI also put all that information in the wiki.
10:53as400[m]No OpenBSD for me then. I got 2021 mbp :(
10:53Glanzmannas400[m]: I also build a debian live system and a modified debian installer which can also be booted by usb.
10:54Glanzmannas400[m]: wait a little bit longer I'm sure u-boot will work on the pro/max soon.
10:56as400[m]Yeah, I will.
10:56chengsun has joined #asahi
10:56jannauthe dcp driver is not really ready though. I pushed changes which require a modified m1n1 and I expect churn in the devicetree changes so it will probably be painful to follow along
10:56Glanzmannjannau: I decided to wait until you ping me or it is merged in asahi.
10:57mpsdoes m1n1+kernel+dtb payload work on 2021 machines
10:57Glanzmannu-boot crashes, I heard.
10:57jannaumps: sure
10:57mpsGlanzmann: I mean without u-boot
10:57chengsun_ has joined #asahi
10:58mpsif that works then as400[m] could try this
10:58Glanzmannmps: no wifi without a second machine
10:58mpsGlanzmann: ah, same as on 2020 boxes
10:59Glanzmannmps: But I hope that marcan or someone else adds the 4 lines of code that are missing to poweron wifi soon. And than we can use the 2021 models with mini. And most important we can onboard Jens Axboe.
10:59as400[m]mps: yes, I did already booted my mbp with Linux. Just wanted to try OpenBSD
10:59marcanI'm literally adding the 4 lines of code right now
10:59marcanit'll get done faster without IRC pings ;)
10:59mpsJens? io_uring author?
10:59* Glanzmannis going to the playground with the kids to not disturb you.
10:59Glanzmannmps: Yes and fio author.
11:00mpsGlanzmann: ah nice, some time ago I had communication with him about io_uring patching for musl
11:01mpshelpful person
11:01Glanzmannmps: I see. I'm just a regular fio user. And I had a lot of fusion io cards in a project 12 years ago.
11:01as400[m]marcan: it was a friendly ping by Glanzmann I guess :)
11:02kettenismaybe I should reach out and see if I can get some money donated to get an m1 pro machine
11:02jannauas400[m]: check first if openbsd supports m1 pro/max, not sure if the openbsd kernel supports the linux boot protocol
11:02kettenisI'm willing to soend some of my own money on it, but not *that* much money ;)
11:03Glanzmannkettenis: You don't have a m1 pro machine?
11:03kettenisjannau: no
11:03LaurentiuCosma[m] has quit [Server closed connection]
11:03LaurentiuCosma[m] has joined #asahi
11:03kettenisGlanzmann: no, I don't
11:04chengsun has quit [Ping timeout: 480 seconds]
11:04as400[m]kettenis: so m1 pro is not supported at all in OpenBSD ?
11:04GlanzmannWhat a pitty, I thought you have one. So how much money do you want to spend on it?
11:05mpstwo or three months ago I tested one of this new machines in the reseller shop, well not impressed with this money increased
11:05kettenisdon't think I want to discuss that here
11:07chadmedmps: its not justifiable if you dont plan on exercising the GPU or codec blocks. if you do though the extra power is well worth the money imo
11:08mpschadmed: right, and that could be exercised with macos and I'm not interested to use macos for any work
11:08jbowen has joined #asahi
11:09mpsso I should say 'not worth to spend these money for me'
11:14mlq_ has quit [Quit: WeeChat 2.3]
11:16Glanzmannkettenis: I send you an email.
11:17jbowen has quit [Ping timeout: 480 seconds]
11:39chadmed has quit [Remote host closed the connection]
11:52chadmed has joined #asahi
11:57m6wiq has joined #asahi
11:58Major_Biscuit has quit [Ping timeout: 480 seconds]
12:09jbowen has joined #asahi
12:18jbowen has quit [Ping timeout: 480 seconds]
12:25marcanpushed the SMC GPIO stuff to smc/work; tested on t6000
12:26marcanshould bring up the PCIe power stuff properly without any m1n1 games
12:26j`eymini games :D
12:28Major_Biscuit has joined #asahi
12:34j`eymarcan: what's the msleep() change about in pcie?
12:34marcanit has a comment :)
12:34marcanmin time from power up to PERST release is 100ms
12:34ketteniswhich actually makes sense ;)
12:35j`eyoh woops, missed the change in comment
12:35j`ey(and the fact that it's ms vs us)
12:35marcanit should actually be a bit more, depending on how long the rails take to stabilize
12:36marcanbut we have no idea how long that is
12:36kettenisis Tpvperl really what that's called in the PCIe standard?
12:36marcanat least in 2.0
12:36marcanI don't have 5.0
12:37kettenisit is in 4.0
12:44Glanzmannmarcan: Is that ready for testing?
12:44GlanzmannThan I try to take u-boot out of the chain and see if wifi still works.
12:45c41e3a has joined #asahi
12:54marcanGlanzmann: yes
13:01GlanzmannCompiling. I do two tests. One with u-boot and one without.
13:10jbowen has joined #asahi
13:12GlanzmannSo I tested the smc with u-boot and linux, and I have no wifi. Now I try the untethered m1n1.
13:19jbowen has quit [Ping timeout: 480 seconds]
13:20landscape15[m]With this config https://tg.st/u/m1-config-2022-01-27 I get stuck at black screen and asahi logo after booting
13:21kit_ty_kate has joined #asahi
13:36Glanzmannlandscape15[m]: What hardware?
13:37GlanzmannWhich tree?
13:37marcanGlanzmann: reminder that "not working" is not a useful bug report. logs please.
13:40nirgo has joined #asahi
13:42Glanzmannmarcan: Okay, I send the dmesg.
13:43Glanzmannlandscape15[m]: I can reproduce.
13:44jbowen has joined #asahi
13:47Glanzmannmarcan: untethered is also not working for me. I did the following: https://pbot.rmdir.de/XsA2SL5hPt9AQQstpxKSXQ
13:48nirgo has quit [Ping timeout: 480 seconds]
13:51marcanI need boot logs, please use the hypervisor if you have no framebuffer
13:51marcanand you need to enable SMC in the .config if you haven't already
13:51marcanalong with the GPIO stuff
13:53Glanzmannmarcan: About the u-boot, I did not update the dtb. But if it should work anyway, than let me give you the dmesg: https://pbot.rmdir.de/t3AyXlHxSDpUvNc8s60W6w
13:53jbowen has quit [Ping timeout: 480 seconds]
13:53Glanzmannmarcan: Maybe that's it.
13:54Glanzmannlandscape15[m]: I can reproduce your issue. Probably smc config options is missing.
13:54marcanthe looks like you're missing the driver
13:54marcanand you definitely need the new devicetrees
13:59Glanzmannmarcan: I checked my config. So I have CONFIG_GPIO_MACSMC=y CONFIG_APPLE_SMC=y CONFIG_APPLE_SMC_RTKIT=y CONFIG_ARCH_NR_GPIO=2048
13:59GlanzmannThat should be fine, so I'm going to try the hypevisor.
14:00GlanzmannNever used the hypervisor before.
14:00marcan[ 1.838044] macsmc-rtkit 23e050000.smc: error (____ptrval____): No SRAM region
14:00marcanthat sounds like your devicetree is bad
14:01Glanzmannmarcan: That was the u-boot. The other one does not show me the framebuffer.
14:01GlanzmannI'm not touching u-boot device tress, Everytime I tried, I failed. So now I wait until it is merged into asahi than I ping kettenis.
14:02Glanzmannmarcan: But I'll debug the one without u-boot.
14:02GlanzmannAnd there I included every device tree I could find.
14:05Glanzmannj`ey: You have this oneliner for the hypervisor, can you please share it again?
14:07j`eyit's basically the same as linux.py, but with run_guest.py ^
14:07GlanzmannI see, thanks.
14:14Glanzmannmarcan: This is what I get on the hypevisor: https://pbot.rmdir.de/7mjQS7bkr5h8EzXDUTLf_w
14:14marcanyou need a macho for the hypervisor
14:15GlanzmannI see. Let me try again.
14:15marcanyou also need to watch the secondary USB device with picocom or whatever if you want to see anything
14:16mavericks has quit [Quit: The Lounge - https://thelounge.chat]
14:17mavericks has joined #asahi
14:17GlanzmannOkay, let me do that, too. And here is the output of the hypervisor console: https://pbot.rmdir.de/hjvWNogul__stPlexRQNqg
14:17Major_Biscuit has quit [Ping timeout: 480 seconds]
14:19c41e3a has quit [Quit: c41e3a]
14:21m6wiq1 has joined #asahi
14:25c41e3a has joined #asahi
14:27m6wiq has quit [Ping timeout: 480 seconds]
14:28mpsGlanzmann: a day or two ago I copied t8103.dtsi and t8103-jxxx.dtsi to u-boot tree, rebuilt u-boot and booted smc/work with it fine, except no wifi
14:28Glanzmannmps: I see. For me and landscape15[m] the kernel appears to be crashing early.
14:29GlanzmannMaybe I should compile in earlycon.
14:29mpsand I got this in dmesg `macsmc-rtkit 23e400000.smc: RTKit: Initializing (protocol version 12)` and `macsmc-rtkit 23e400000.smc: Initialized (1495 keys #KEY (0x234b4559)..zETM (0x7a45544d))`
14:30mpsand `macsmc-gpio macsmc-gpio: First GPIO key: gP01 (0x67503031)`
14:32mpsif the pcie enable is added to m1n1 maybe wifi will work if I rebuild it and add to u-boot payload
14:33mpsI'll check again when come from the hike
14:40m6wiq1 has quit [Ping timeout: 480 seconds]
14:45jbowen has joined #asahi
14:51m42uko has joined #asahi
14:54jbowen has quit [Ping timeout: 480 seconds]
14:55m42uko_ has quit [Ping timeout: 480 seconds]
15:01marcanGlanzmann: I found an issue on the mac mini, but it has nothing to do with the point where your logs stop
15:02marcanI have no idea how you always manage to run into strange problems...
15:03GlanzmannOkay, do you have config for me that I can try?
15:03marcanI'm fixing the but but I have no idea how it ended up stopping halfway through CPU bringup for you
15:04Glanzmannlandscape15 has the same problem btw. We're both using my config.
15:05Glanzmannmarcan: I assume you also run the 12.1 stub?
15:06Glanzmannmarcan: Maybe I did something stupid. But this how you can reproduce: https://pbot.rmdir.de/XsA2SL5hPt9AQQstpxKSXQ
15:12landscape15[m]Glanzmann: sorry for the late response. Yeah it immediately crash. I’m using 12.1 stub partition
15:12landscape15[m]MacBook Pro 13 2020
15:13landscape15[m]It crashes also if I don’t compile modules
15:18marcanpushed a fix for the SMC issue
15:18povik16:02 <@marcan> I have no idea how you always manage to run into strange problems...
15:18poviksome people have the power
15:18povikthey make for good early testers...
15:19j`eymarcan: off by power of 2 :P
15:19marcanoff by one half the time actually :p
15:19j`eybah :)
15:19marcanneeded to round the other way to avoid an infinite loop
15:20j`eyI'll rebuild, sounds different to the issue I'm seeing
15:20kettenisoh, your loop for bisecting the available gpio keys was off?
15:20marcanyeah, *again*
15:20marcanalgorithms are hard :D
15:20marcanit was infinite looping on the count=2 condition
15:20kettenisthat's why I prefer brute force ;)
15:21povikat least we know what would be in a hypothetical asahi job interview
15:21j`eytheres only 1k keys!
15:21c41e3a has quit [Quit: c41e3a]
15:23marcanGlanzmann: if it's dying during CPU bringup the kernel/configs are irrelevant
15:23marcanand obviously m1n1 in the hypervisor works for me
15:26marcanare you sure you didn't, like, bump the cable or something?
15:26Glanzmannmarcan: I used two different machines.
15:26marcanand it always stops on that CPU thing?
15:26Glanzmannmacbook air and mini
15:26c41e3a has joined #asahi
15:27GlanzmannAt least twice, but let me try a few more times.
15:27GlanzmannAlso landscape15[m] Has the same issue and he probabaly also did an untethered one.
15:27GlanzmannSo this is with a superspeed cable that came with my eizo and worked before.
15:28GlanzmannI used the newest m1n1 and installed in 1tr. I'm not chainloading.
15:29marcanyou should be if you're using the hypervisor, but I checked your versions and there shouldn't be any breaking changes there
15:30jbowen has joined #asahi
15:33landscape15[m]Glanzmann: yeah but I’m using linux-asahi branch with your config. Still no luck
15:33landscape15[m]I have to make a clean config, and then it works
15:34marcanGlanzmann: ^c the hypervisor and type bt / cpu(0) / bt / cpu(5) / bt in separate lines
15:37Glanzmannmarcan: So, I tried one more time and now the kernel boots. at least sometimes.
15:39jbowen has quit [Ping timeout: 480 seconds]
15:39Glanzmannmarcan: You have that fancy reset tool, how do I use that, so that I don't have to poweroff the mini for every test?
15:39marcanyou can ^C and `reboot` in the hypervisor
15:39marcanthat kernel log sounds like you're missing the gpio driver
15:39mpsnice, reboot works with latest smc/work on MBP
15:40Glanzmannmps: reboot worked for me for a long time.
15:40mpsGlanzmann: really, how? with patch?
15:41mpsah, need coffee
15:41Glanzmannmps: No, always.
15:42mpsGlanzmann: yes also for me, but I forgot
15:42mpshave to check poweroff
15:43c41e3a_ has joined #asahi
15:43Glanzmannmps: I did not see anything in the code, but maybe I'm mistaken.
15:45c41e3a has quit [Ping timeout: 480 seconds]
15:45c41e3a_ has quit []
15:45c41e3a has joined #asahi
15:45marcanthere is no poweroff yet
15:46mpsright, I was just tired and issued reboot while I thought about poweroff
15:47mpsanyway smc/work boots on MBP
15:47Glanzmannmps: I also have dreams about powering off m1 machines ...
15:49Glanzmannmarcan: So with your altest fixups my system boots, but the framebuffer stays off.
15:49GlanzmannMaybe due to hypervisor. Let me try without.
15:49GlanzmannOh and I don't have PCI
15:50Tuff has quit [Read error: Connection reset by peer]
15:51GlanzmannSo I hope, I'm now down to some config options are missing.
15:53mpsGlanzmann: eh, I have too much dreams :)
15:53landscape15[m]Glanzmann: how did you make it work?
15:54mpsgot SMC working with u-boot
15:54marcan[ 0.480189] pcie-apple 690000000.pcie: Link up on /soc/pcie@690000000/pci@0,0
15:54marcanthat means PCI is up
15:54Glanzmannlandscape15[m]: Marcan fixed something and than I did a git pull.
15:54marcanyou're probably missing the broadcom driver...
15:55GlanzmannI see. Yes, that might be the problem.
15:55landscape15[m]Glanzmann: ok then. I’m compiling
15:55GlanzmannBecause I compiled the kernel not on the system.
15:56mpsnow have to try to add rtc again on top of smc/work
15:56marcanGlanzmann: please avoid remaking configs all the time, it's a waste of time
15:56marcanif you had a kernel that worked with the m1n1 smc enable stuff you can use that config, add the smc options, and try it
15:56marcanthat's what I expect when I ask people to test things
15:56Glanzmannmarcan: This is what I did.
15:56marcannot brand new configs with brand new problems which have nothing to do with the thing at hand
15:57marcanwell, it looks like you have no wifi driver...
15:57jeffmiwkettenis: about the spmi compatible, I got it now :), just like marcan did for spi. just fixed it.
15:57GlanzmannI have it, but I compiled the kernel on the air and have not installed it on the mini
15:57GlanzmannSo I'm missing all the modules.
15:57marcanthen don't tell me it doesn't work :p
15:57m6wiq has joined #asahi
15:58GlanzmannIt works perfectly fine. :-)
15:58GlanzmannSo let me install the kernel and see if I have a framebuffer afterwards.
16:03Glanzmannmarcan: It works.
16:03GlanzmannI also have a framebuffer.
16:03GlanzmannNow let me tried the untethered boot on the macbook air.
16:11j`eyworks for me too, bye pcie_enable_devices.py!
16:12GlanzmannLet's ship it.
16:12Glanzmannmarcan: I tested on air and mini. It works.
16:12Glanzmannmarcan: Have you tested on the new pro/max machines?
16:13GlanzmannThan I send Jens Axboe an email that he can now have wifi without tethered boot on the m1 max/pro.
16:13marcanyes, it works on pro
16:14GlanzmannPerfect. Let's ship it. :-)
16:19jbowen has joined #asahi
16:24GlanzmannSo when I boot untethered, I get some serial consoles, but I no longer get the serial consoles from my tethered m1n1. Any workaround?
16:28jbowen has quit [Ping timeout: 480 seconds]
16:42Glanzmannmps: I stay on u-boot with a non smc kernel until smc is merged into asahi and kettenis modifies u-boot to work with the new kernel.
16:42GlanzmannI'm sick of booting in 1tr to update a kernel.
16:44mpsGlanzmann: I made smc kernel with u-boot working
16:44mpss/made/got/
16:44mpsonly RTC doesn't work, rest is ok
16:45Glanzmannmps: For my curiosity, can you share you instructions to do so?
16:45Glanzmannmps: I hope that rtc will also be merged in asahi.
16:45mpshave this in klog when press power button `macsmc-rtkit 23e400000.smc: RTKit: syslog message: apComms.cpp:373: SMC HID Event: 01 06 01`
16:45jeffmiwmps: interested to better understand your config/setup with RTC not working
16:46Glanzmannjeffmiw: We boot using u-boot.
16:46mpsGlanzmann: copied t8103.dtsi and t8103-jxxx.dtsi to u-boot and build u-boot, that's all
16:46jeffmiwyou are on mini ? used u-boot or m1n1 chainloading kernel ? if u-boot which DT ?
16:46mpsjeffmiw: I use MBP 2020
16:47Glanzmannjeffmiw: SO on the air, rtc works for me. with the default u-boot dtb.
16:47kettenisthe hardware is identical on all M1 machines
16:48mpsmaybe I missing something in .config for RTC, idk
16:48mpshave no idea what to try to enable
16:48Glanzmannmps: I see. Thanks.
16:50mpsGlanzmann: I have these enabled
16:50Glanzmannmps: So jannau made the rtc work in a tethered setup on the mini.
16:50Glanzmannjeffmiw: Are you using u-boot?
16:51m6wiq has quit [Remote host closed the connection]
16:51m6wiq has joined #asahi
16:54mpsGlanzmann: CONFIG_RTC_INTF_DEV_UIE_EMUL is not set, do you have this in .config or enabled
16:56Glanzmannmps: I have no rtc build root at the moment.
16:56GlanzmannBut if you want I can try it with tethered.
16:57Glanzmannmarcan: Have a good night sleep and don't forget to power off your system. :-)
16:58marcanI actually never power off my systems
16:58marcanwho cares :p
16:58mpsGlanzmann: please don't waste time on my setup, work on task you started
16:58marcanthe targets are low power and I don't power down my main machine
16:59Glanzmannmarcan: Neither do I. it was a smc joke.
16:59mpslooks like I have to arrange small lab for working on these things, but desk is too small
17:01marcanGlanzmann: I ran experiments/smc_shutdown.py just for you :p
17:05jeffmiwGlanzmann: not I'm not using u-boot
17:08jeffmiwmps: do you have the RTC enables in your kernel config ? CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_SYSTOHC=y CONFIG_RTC_SYSTOHC_DEVICE="rtc0" CONFIG_RTC_INTF_SYSFS=y CONFIG_RTC_INTF_PROC=y CONFIG_RTC_INTF_DEV=y
17:08Glanzmannjeffmiw: So mps use the air/pro has Laptop under Linux. U-boot makes our live easy when we need to install a new kernel. Also u-boot is the official boot chain at some point.
17:12mpsjeffmiw: yes, all
17:12jeffmiwI'm asking to understand the differences, I did not spend time to have u-boot config yet, focusing on getting some code uptstream :)
17:14mpsjeffmiw: `grep "^CONFIG_RTC" /boot/config-5.16.0-smc-16k-2 | tpaste` => https://tpaste.us/OrD6
17:14mlq has joined #asahi
17:18Major_Biscuit has joined #asahi
17:20jbowen has joined #asahi
17:22caleb010[m] has joined #asahi
17:27caleb010[m]Hello. I'm not well experienced with Linux kernel compiling. Correct me if i'm wrong. After cloning Linux from Asahi repo, i compile defconfig, change some options (or use makeconfig), then i do ```make Image modules dtbs```, and that's it? or i need to also install modules?
17:28jbowen has quit [Ping timeout: 480 seconds]
17:31jeffmiwmps: if you use u-boot, your DT(device tree) is coming from u-boot and from the one I modified, and my initial patches were not aligned with u-boot naming.
17:33landscape15[m]caleb010: well, that should be enough. Then you need to chainload kernel and dtbs
17:34jeffmiwyou can check this by looking at the device-tree compatible entries in the sysfs under the spmi node: /sys/firmware/devicetree/base/soc/spmi@023d0d9300
17:36caleb010[m]landscape15: ah, but i think you still have to install modules right? maybe with modules_install?
17:37jeffmiwfrom there, find . -name compatible -exec cat {} \; if the strings are not matching the ones in the patches you took, it won't work. I updated my branch with what I understood from kettenis but did not check u-boot source code yet
17:38caleb010[m]Sorry to have interrupted you :)
17:38mpsjeffmiw: yes, I copied t8103.dtsi with your patches to u-boot and built it
17:39mpsjeffmiw: probably need something else to add to u-boot
17:40mpsjeffmiw: and I used your latest commits also
17:41Glanzmanncaleb010[m]: Do you want to boot an m1 machine using another Linux machine (teethered) or do you want it to build Linux by itself?
17:41Glanzmanncaleb010[m]: Which m1 machine (m1 or m1 pro/max)?
17:42caleb010[m]Glanzmann: I'd like to use tethered one. With linux.py or chainload.py
17:42caleb010[m]I'm on an m1 air
17:43GlanzmannSo with the m1 air you can do tethered and untethered.
17:43Glanzmanncaleb010[m]: But to answer your question, if you compile a kernel with modules, you either have to put them in the ramdisk or transfer them to the machine.
17:43Glanzmanncaleb010[m]: For the tethered quickstart look at tg.st/u/asahi.txt or if you want more to read: https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart-2.0
17:44Glanzmanncaleb010[m]: If you want to install Debian, look at https://github.com/AsahiLinux/docs/wiki/Debian
17:44GlanzmannYou can also use the Debian livesystem to install any other distro that has a rootfs archive that you can extract.
17:45GlanzmannI hope that gets you started in whatever you want to do.
17:45caleb010[m]Glanzmann: Thanks! So you don't need to install modules to run Linux properly?
17:46Glanzmanncaleb010[m]: On the air the following works: unaccelerated but fast framebuffer with xorg in full screen resolution, wifi, nvme, usb with usb 2.0 speed and audio jack, trackpad and keyboard. See also: https://github.com/AsahiLinux/docs/wiki/Feature-Support
17:46Glanzmanncaleb010[m]: So what mps and I'm doing is we use the m1n1+dtb+u-boot chain to load grub and grub loads the kernel and the initrd.
17:46GlanzmannSo we run it like any other Linux. This is also what the final bootchain looks like more or less.
17:47Glanzmanncaleb010[m]: But most people use tethered setup because it is much more practical to run experiments, put macos or Linux in the hyeprvisor.
17:47GlanzmannAnd reverse engineer what is going on.
17:47caleb010[m]Glanzmann: Ok, so you need an EFI partitiom?
17:48Glanzmanncaleb010[m]: I'm not 100% sure if you really need it, because u-boot can read ext4, but this is what we want in the end, because that is what most distros do.
17:49GlanzmannIt also makes it easier for us to transfer the wifi blog from macos to Linux, because we're not allowed to redistribute it.
17:49landscape15[m]caleb010: if you run u-boot, it will first search for an EFI partition to boot from
17:50jeffmiwmps: if rtc still not working on your mbpro, can you send the output of the find cmd above
17:50caleb010[m]Glanzmann: Is it possible to build a full linux image containing also compiled modules?
17:52jeffmiwit is not just this patch, it is the whole series that is needed, there are changes in the drivers that are going with the dts change
17:52mpsjeffmiw: yes, just noticed that new commit
17:52Glanzmanncaleb010[m]: So when you build a linux kernel you have three options: n,y,m So yes you can build a statically linked kernel.
17:53mpsgive me 5 minutes to build and check again
17:54caleb010[m]Glanzmann: And then how do i build everything inside an Image.gz (that can be accepted by tethered boot)?
17:54GlanzmannIf you decide to build modules, you can either install them in the root filesystem in /lib/modules/`uname -r` (what make modules_install does) or you put it in a ramdisk.
17:55Glanzmanncaleb010[m]: Multiple options, two of them: You set every option that you want into your kernel to =y or you use a ramdisk and put the modules there.
17:55GlanzmannThe ramdisk can also contain a whole system. That is what I did when I build the Debian livesystem, It is just waht you would find in a a regular system in a 200 MB ramdisk.
17:55caleb010[m]The ramdisk is the rootfs?
17:56Glanzmanncaleb010[m]: It can be, but in most cases the ramdisk contains modules that are necessary to mount the rootfs (that would be in our case for example the nvme driver and the ext4 driver but could also involve raid or device mapper crypt).
17:57Glanzmannmps: If you get it running, let me know, I'll reproduce.
18:00caleb010[m]Glanzmann: So if i make my mac running Linux without installing modules and then inside it i do "make modules_install" with the recompiled kernel it's the same thing right?
18:02ciggi_ has joined #asahi
18:07ciggi has quit [Ping timeout: 480 seconds]
18:09jmr has joined #asahi
18:09jmr has quit [Remote host closed the connection]
18:09jmr2 has joined #asahi
18:11jmr2caleb010[m]: go back to "make menuconfig", and in the main page, disable "Enable loadable module support". Everything defined as to be built as a module will become built-in. Less memory efficient, but much simpler to manage.
18:11mpsGlanzmann: jeffmiw: rtc again crashed kernel on boot, will post image later, now really 'must' go and prepare another coffee for me
18:12caleb010[m]jmr2: Thanks a lot. This means that it will take more space?
18:13Major_Biscuit has quit [Ping timeout: 480 seconds]
18:13Glanzmanncaleb010[m]: The kernel is not everything, you also need a root file system. This is where you binaries, libraries, configs and files live.
18:14jmr2It'll use more RAM, since everything will be loaded from the get-go, instead of on-demand.
18:14Glanzmanncaleb010[m]: If you have never build a Linux from scratch or compiled a linux kernel. You'll have a steep learning curve.
18:15landscape15[m]jmr2: why don’t you simply install modules inside rootFS?
18:15caleb010[m]Glanzmann: Yeah i know. I made a Debian rootfs
18:15Glanzmanncaleb010[m]: Asahi is not ready for end users, but we're very close. So you can either wait, or if you can't, than this might be of help: https://github.com/AsahiLinux/docs/wiki/Debian . It still has a few sharp edges, but it might get you going.
18:16GlanzmannThere are three video, maybe you want to watch them. That is for the u-boot part but it also shows you the asahi installer which you need for m1n1.
18:16___nick___ has joined #asahi
18:16GlanzmannI'll soon improve these instructions and rerecord all videos with bigger front sizes and more straight forward. Sometimes I struggle to instlal grub for example ...
18:16___nick___ has quit []
18:16jmr2landscape15[m]; because it's one more operation, because I don't have access to the rootfs from my development machine, and because it can cause weird bugs if for some reasons, your kernel image become un-synchronized with the modules.
18:18landscape15[m]jmr2: yeah it’s not the best way
18:18___nick___ has joined #asahi
18:18caleb010[m]<jmr2> "caleb010: go back to "make..." <- Is this like making a bundle of Image.gz dtbs and modules together?
18:20jmr2caleb010[m]: no.
18:21jbowen has joined #asahi
18:22caleb010[m]jmr2: So what does it do exactly?
18:24jmr2caleb010[m]: it's a graphical tool to edit your kernel .config file.
18:25jmr2With all due respect, I'd encourage you to read a bit on how to build a linux kernel. This is nothing asahi-specific.
18:26caleb010[m]jmr2: yeah i know what is menuconfig. I don't know what that option do. As you said i need to find more information online, because i'm not experienced
18:27caleb010[m]"Enable loadable module support" loads all compiled modules?
18:27mpsjeffmiw: this is image of kernel crash https://arvanta.net/2x3d1kfg/rtc-crash.jpg
18:29jmr2Perfect. Then go in menuconfig, and read the help description of that option ?
18:30jbowen has quit [Ping timeout: 480 seconds]
18:36caleb010[m]jmr2: ok, i read it. To me it seems the same as installing those modules inside the ramdisk
18:46landscape15[m]jmr2: Do you want to build a monolithic kernel then?
18:46landscape15[m]s/jmr2/caleb010/
18:46j`eyjeffmiw: that crash that mps posted is weird, I was sure its fine to sleep in probe..
18:47ciggi_ has quit [Ping timeout: 480 seconds]
18:48caleb010[m]landscape15: What do you mean?
18:48Glanzmanncaleb010[m]: A monotlithic kernel is a kernel without modules, I assume.
18:49Glanzmanncaleb010[m]: Anyway. What I did 24 years ago is build a Linux distribution using linuxfromscratch.org. Do that and it will jumpstart you. ;-)
18:53caleb010[m]Glanzmann: I'd like to do the opposite i think. Building a kernel with modules installed in it
18:53svenoh god. I remember doing that maybe 15 years ago. After that gentoo was almost fun and simple :D
18:55jbowen has joined #asahi
18:59landscape15[m]caleb010: As jmr2 said, if you disable “Enable load able module support”, every declared module will be built in the kernel
18:59landscape15[m]s/load/loadable/, s/able//
19:00m6wiq1 has joined #asahi
19:03jbowen has quit [Ping timeout: 480 seconds]
19:04mpsjeffmiw: j`ey: I built driver as module and loaded it manually, it crashes again but machine continue to work, dmesg out is here
19:06m6wiq has quit [Ping timeout: 480 seconds]
19:09jmr2landscape15[m]: yes. To each his/her own, but I'm in-line with the topic: "Not ready for end users / self contained install yet. Soon." For me, modules will start to make sense when the DeviceTree will have stabilized. Until then, tethered boot it is. (Which is why I believe we should directly steer newcomers toward tethered boot by default for now.)
19:09ciggi has joined #asahi
19:12roxfan2 is now known as roxfan
19:14caleb010[m]jmr2: So with tethered boot i don't need to install modules?
19:14jmr2caleb010[m]: "Building a kernel with modules installed in it" <-- That kind of doesn't make sense. Either your drivers are built into the Image.gz file ("y" in menuconfig), or they're in separate files ("m" in menuconfig). If in separate file, *you* have the responsibility to make sure that the kernel finds those while booting. There's multiple ways to do that, but they all require additional steps. Save yourself the tr
19:15j`eyjmr2: message cut off at 'save yourself the tr'
19:15jmr2You need drivers for both tethered and non-tethered boot. Modules only define where those modules live.
19:15jmr2Ah. Save yourself the trouble, and go build-in for now.
19:15jmr2Thanks
19:19jmr2Woops... Should have been Modules only define where those *drivers" live.
19:19caleb010[m]jmr2: Thanks a lot. Now i get it. This means that i don't need to do "make modules" with “Enable loadable module support” disabled right?
19:20jmr2Since there's no module to build.
19:20jmr2Errr... Yes, you're right...
19:21caleb010[m]Ok, i will do that
19:25jmr2 has quit [Quit: Page closed]
19:47malvo has joined #asahi
19:56m6wiq1 has quit []
19:56m6wiq has joined #asahi
20:15mlq has quit [Quit: WeeChat 2.3]
20:21mlq has joined #asahi
20:32c41e3a has quit []
20:55jbowen has joined #asahi
21:03jbowen has quit [Ping timeout: 480 seconds]
21:07Raito_Bezarius has quit [Ping timeout: 480 seconds]
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:08kov has joined #asahi
21:16Raito_Bezarius has joined #asahi
21:25mixij`ey, jeffmiw: while it is allowed to sleep in *_probe, regmap_raw_read takes the regmap lock (a spin lock because apple-spmi-sera-pmu sets regmap_config.fast_io = true) -> we are in an atomic context and may not sleep anymore
21:39j`eymixi: and if you have fast_io = false, what happens?
21:43mixij`ey: the regmap lock will be a mutex instead, which means we will not end up in an atomic context and will be allowed to sleep
21:44j`eymixi: cool thanks, sounds like an easy fix to just remove fast_io then!
21:51mpsj`ey: yes
21:52mpsnow it works
21:52akemin_dayo has quit [Ping timeout: 480 seconds]
21:52mps` apple-sera-pmu-rtc 23d0d9300.spmi:pmu-sera@f:rtc@0: setting system clock to 2022-02-06T21:50:56 UTC (1644184256)`
21:57Latrina_ has joined #asahi
21:57Latrina has quit [Remote host closed the connection]
21:57Latrina_ is now known as Latrina
22:05jeffmiwthanks mixi / mps / j'ey , I do not like this msleep, I'll see if I can come up with something else ... in the meantime I'll set fast_io to false
22:06mpsjeffmiw: I just deleted this line
22:09Tuff has joined #asahi
22:09Tuff has quit []
22:11mpsjeffmiw: btw, thank you for making rtc
22:24ofl^ has quit [Ping timeout: 480 seconds]
22:35jeffmiwyes by default fast_io is false iirc
22:40akemin_dayo has joined #asahi
22:47mixiyes, the default for fields left out in designated initializers is 0 ("the same as objects that have static storage duration") -> fast_io is 0 / false if it is left out of the initializer
22:49ofl^ has joined #asahi
22:49user982492 has joined #asahi
22:55m6wiq has quit []
22:55jbowen has joined #asahi
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:01yrlf has joined #asahi
23:03jbowen has quit [Ping timeout: 480 seconds]
23:31jannauhttps://github.com/jannau/u-boot/tree/t6000 has u-boot with nvme support for m1 pro/max, USB and keyboard are not working, no SMC, needs m1n1 from main boots with the dtb from the kernel build
23:59user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
…