#
…

2022-02-15

00:41user982492 has joined #asahi
01:07timetheory[m]Is there a progress report for December/January
01:33phire_ has joined #asahi
01:33phire is now known as Guest407
01:33phire_ is now known as phire
01:36Guest407 has quit [Ping timeout: 480 seconds]
01:40Telvana has joined #asahi
02:55yuyichao has quit [Ping timeout: 480 seconds]
03:00skipwich has quit [Quit: DISCONNECT]
03:01skipwich has joined #asahi
03:31PhilippvK has joined #asahi
03:34phiologe has quit [Ping timeout: 480 seconds]
03:43kov has quit [Quit: Coyote finally caught me]
03:48kov has joined #asahi
04:55marvin24 has joined #asahi
04:58marvin24_ has quit [Ping timeout: 480 seconds]
05:00c10l3 has quit []
05:00c10l3 has joined #asahi
05:08Glanzmanntimetheory[m]: u-boot nvme and spi support, wifi, wifi firmware extractor, smc (work in progress), asahi installer (retry downloads, warn user about recovery OS, m1n1 nvme support, dcp, debian installer
05:08GlanzmannOh and u-boot t6000 support.
05:09Glanzmannsmc can do battery and shutdown/reboot in progress.
05:23marcanstreaming in -stream in a bit, going to try wrap up SMC and CPUfreq
05:37Glanzmannmarcan: \o/
05:47Jaxon has joined #asahi
05:49the_lanetly_052___ has joined #asahi
06:42Bey0ndB1nary has joined #asahi
07:07jmr2 has joined #asahi
07:07jmr2marcan: FYI, I'm repeatably hitting the "Unable to determine primary OS." error in the installer. In the "Partitions" dump, none has any marker between the [ ], and the UUID doesn't match those listed in the "System information" section.
07:07jmr2It might be the consequence of deleting the Asahi stub partition through diskutil while it was the startup disk, and then using "Erase All content and settings" in system preferences.
07:07jmr2I don't care nuking this system once again, but let me know if there's any info you want to collect before I do so.
07:08marcanjmr2: can you grab an ioreg -l -p IODeviceTree dump, and also installer output?
07:08marcanI *think* setting the main macOS partition explicitly as the boot drive should fix it
07:09marcangrab the dump while in recovery mode and while in macOS
07:09jmr2I'll email you that. I did try to reset the startup disk withous success.
07:18jmr2 has quit [Quit: Page closed]
07:45Bey0ndB1nary has quit []
07:57linearcannon has joined #asahi
08:00MajorBiscuit has joined #asahi
08:18Bey0ndB1nary has joined #asahi
08:18Bey0ndB1nary has quit []
08:47user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:49Telvana2 has joined #asahi
08:51Telvana has quit [Ping timeout: 480 seconds]
08:55gladiac has quit [Quit: k thx bye]
08:56gladiac has joined #asahi
09:04Rabbitz has joined #asahi
09:24Major_Biscuit has joined #asahi
09:26MajorBiscuit has quit [Ping timeout: 480 seconds]
09:32user982492 has joined #asahi
09:32user982492 has quit []
09:54eroux has joined #asahi
10:26Erus_Iluvatar has quit []
10:26Erus_Iluvatar has joined #asahi
10:27n1c has joined #asahi
10:27wouter_ is now known as wouter
10:34Erus_Iluvatar has quit []
10:34n1c has quit [Quit: ZNC 1.8.2+deb1+focal2 - https://znc.in]
10:43n1c has joined #asahi
10:55Erus_Iluvatar has joined #asahi
11:34the_lanetly_052___ has quit [Remote host closed the connection]
11:34the_lanetly_052___ has joined #asahi
11:36Jaxon has quit [Ping timeout: 480 seconds]
11:43joske has quit [Quit: Quit]
11:48the_lanetly_052___ has quit [Ping timeout: 480 seconds]
12:20yuyichao has joined #asahi
13:09Rabbitz has quit []
13:40Major_Biscuit has quit [Ping timeout: 480 seconds]
13:41Major_Biscuit has joined #asahi
13:49refi64 has quit [Remote host closed the connection]
13:50refi64 has joined #asahi
14:11riker77 has quit [Quit: Quitting IRC - gone for good...]
14:29riker77 has joined #asahi
14:34riker77 has quit [Quit: Quitting IRC - gone for good...]
14:35MajorBiscuit has joined #asahi
14:37yuyichao has quit [Ping timeout: 480 seconds]
14:37Major_Biscuit has quit [Ping timeout: 480 seconds]
14:49as400[m]marcan: have you ever thought about having a Mastodon account and Twitter ? TT changed something and I can't read entire thread when I'm not logged in. I mean I'm sure there are a lot of people not having tt account but still wanting to read what you want to say to them.
14:51rowang077[m] Same problem for me. Twitter is basically unreadable without an account. I used to check on your account once or twice a week because it was interesting. But now I can no longer do that.
14:52j`eyworks for me in an incognito window
14:53dottedmagI've got Twitter->e-mail gateway (caution, very rough) to not go to Twitter to read anything: https://github.com/dottedmag/twema (#asahi-offtopic if any questions, pls)
14:53as400[m]joey interesting.
15:01fridtjof[m]replacing twitter.com with nitter.net (alternative twitter frontend) in the URL should also work
15:01yuyichao has joined #asahi
15:07as400[m]fridtjof: good tip
15:10rowang077[m]fridtjof: Thansk nitter.net works great.
15:23riker77 has joined #asahi
15:31Cy8aer[m]<rowang077[m]> " Same problem for me. Twitter is..." <- Try some nitter instance: https://github.com/zedeus/nitter
16:14axboe has joined #asahi
17:26user982492 has joined #asahi
17:44MajorBiscuit has quit [Quit: WeeChat 3.4]
17:51myon98 has quit [Ping timeout: 480 seconds]
18:04Glanzmannj`ey: For me all windows are incognito windows. Starting today or previous day, when I scroll in marcans twitter at some point it freezes the page so that you can no longer scroll up and down. At first I thought my browser had crashed.
18:04user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:04Guest119 has left #asahi [WeeChat 3.3]
18:05j`eyGlanzmann: *shrug*
18:21artemist has quit [Quit: artemist]
18:23GlanzmannI tried to compile the new rtc/reboot/poweroff/cpufreq stuff. It fails for me: https://pbot.rmdir.de/uYA8DHX-gdV0jJid7SjrdA That was probably expected. Anyway. Great job from marcan today. I found it funny after he continued after a whole working day to start cleaning up cpufreq. :-) So I wait until he had a good night sleep and some time to clean it up.
18:24j`eyyeah he said he didnt finish the dts for t8103
18:27artemist has joined #asahi
18:28user982492 has joined #asahi
18:28GlanzmannYep, I saw that. No issue. I really look forward to that patch and mps, too.
18:29user982492 has quit []
18:30MathieuMeerbergen[m] has joined #asahi
18:30* kovtoo =D
18:31MathieuMeerbergen[m]je me demandais si il était intéressant de passé sur Asahi totalement🤷‍♂️
18:32MathieuMeerbergen[m] * je me demandais si il était intéressant de passé sur Asahi totalement🤷‍♂️
18:33MathieuMeerbergen[m] has left #asahi [#asahi]
18:36Telvana2 is now known as Telvana
19:09jannauhttps://github.com/jannau/linux/commits/spmi/work has t8103 dts with working rtc and poweroff + a fix for the cpufreq driver
19:18Glanzmannjannau: ALready compiling. :-)
19:19Glanzmannjannau: Let you know how it works. :-)
19:21jannautested on a mac mini, I haven't checked if chnages for other m1 systems are required but I would not expect that
19:26GlanzmannI see, I'm testing on the air.
19:43Glanzmannjannau: I tried your tree and did a find / and it locked up.
19:44GlanzmannThan I pressed the pwer button and shortly before it powered off I saw the prompt of the find / coming back.
19:44GlanzmannProbably the same thing that is discussed in -dev?
19:44axboeGlanzmann: any timeouts in dmesg?
19:44axboesounds like it
19:44Glanzmannaxboe: I killed the dmesg, but I can reproduce.
19:45axboefind does indeed reproduce it pretty quickly here too
19:48GlanzmannI tried to reproduce it but my system completely locks ups. So I can switch virtual terminal or move my mouse. But I can do a tethered boot and get more info if necessary.
19:49GlanzmannFastest way to reproduce is use jannaus tree and do a find / > /dev/null as root
19:50svenIs this on a m1? (not pro/max)
19:50GlanzmannYes, On Macbook air.
19:50GlanzmannI can also try the mini, if you want.
19:50svendon’t think that necessary
19:51GlanzmannSo I can *not* switch virtual terminal or move my mouse.
19:55grgy /quit
20:04Glanzmannaxboe: Trying your fix.
20:13GlanzmannNo more hangs with find.
20:14Glanzmannjannau: I tried the poweroff, but it did not work for me. Is there a trick? I tried 'halt -p'
20:15j`eyGlanzmann: did you make sure to enable all the new drivers?
20:16Glanzmannj`ey: Yep.
20:16GlanzmannI did a 'git log -p' and made sure that new options are there.
20:18timokrgr has quit [Quit: User left the chat]
20:18j`eyGlanzmann: POWER_RESET_MACSMC
20:18Glanzmannj`ey: Is also there.
20:18GlanzmannMaybe, I screwed up the device tree.
20:19j`eyit's no in the paste ^
20:19GlanzmannOkay, let me get it.
20:20j`eyif not, then I'm not sure, I haven't built the branch yet
20:20GlanzmannI put a paste in a paste ...
20:21j`eywell didnt you just take the dtb from j_nnau?
20:22GlanzmannI'm using u-boot but I took the dtb from jannaus tree, yes.
20:23timokrgr has joined #asahi
20:23GlanzmannTrying it again.
20:23jannaudts looks correct "/soc/spmi@23d0d9300/pmu@f/legacy_nvmem@9f00/panic-count@2: duplicate unit-address (also used in node /soc/spmi@23d0d9300/pmu@f/legacy_nvmem@9f00/boot-error-count@2)"
20:26axboeGlanzmann: seems solid here now too
20:26jannaucan you test on the mac mini? how does it not work? it reboots?
20:27Glanzmannjannau: No, it does not power off and I don't see cpufreq.
20:27j`eyso it just.. stays on?
20:27Glanzmannaxboe: Probably I'm doing something wrong.
20:27Glanzmannj`ey: Yes, just as before.
20:27GlanzmannALso I don't see the cpufreq dmesg or /sys nodes
20:28Glanzmannjannau: I"ll test on the mini.
20:28axboeGlanzmann: sorry, meant nvme with fix that you tested
20:28Glanzmannaxboe: Yeah. That is stable.
20:28GlanzmannNo more locks ups.
20:32jannauGlanzmann: anything smc related in dmesg? cpufreq is not working on my mini either. I didn't check before
20:33mpsGlanzmann: I was nearly all day on some meetings and I'm too tired for any work or testing
20:34mpsand I will be next two days also to busy with business and technical meetings
20:35mpsI see new 'things' are committed but probably wouldn't try to build and test till weekend
20:36jannauGlanzmann: cpufreq dts update is missing for t8103 as well
20:36j`eymps: probably a good idea, still somethings to iron out it sounds like
20:39mpsdts should be merged to u-boot I guessing if we want to boot with u-boot
20:42mpsbtw, today on these meetings I kept MBP on battery for 6 hours and it was at 42% at the end
20:50jannaumissing reboot and rtc, strange
20:56GlanzmannI see, that explains it. I'll try on the mini. This is how I build kernel, m1n1, and u-boot: https://pbot.rmdir.de/kgCaPDIdxV89DBZzqhpsww
20:57jannaudo you have CONFIG_MFD_SIMPLE_MFD_SPMI enabled?
20:58GlanzmannCONFIG_MFD_SIMPLE_MFD_SPMI=y
20:58GlanzmannI have all the new config options not explictly in the .config. But make olddefconfig enables them.
20:59GlanzmannI mean before the olddefconfig
20:59Glanzmannjannau: Might the issue be the 4k iommu patch?
20:59jannauI think there was one new option which was not enabled by default, probably POWER_RESET_MACSMC though
20:59jannauunlikely
21:00jannauI pushed cpufreq dts changes for t8103
21:03GlanzmannCONFIG_POWER_RESET_MACSMC=y
21:03Glanzmannrebuilding.
21:13GlanzmannSorry, I think I have cpufreq.
21:13j`ey[ 0.016521] cpuidle: using governor menu
21:13j`eyis that it??
21:17GlanzmannI go to bed know, try more tomorrow. n8
21:17M12destroyer21[m] How do you enable the full 3.2GHz?
21:18j`eycant yet
21:18j`eybut I thought it;d go over 2Ghz..
21:19jannauM12destroyer21[m]: cpupower doesn't seem to handle big-little systems
21:20jannautry cpupower -c 4 frequency-info
21:20M12destroyer21[m]That worked, thanks
21:42Telvana has quit [Ping timeout: 480 seconds]
21:47c10l39 has joined #asahi
21:54c10l3 has quit [Ping timeout: 480 seconds]
21:57jeffmiw has quit [Ping timeout: 480 seconds]
21:58jeffmiw has joined #asahi
21:59axboe has quit [Ping timeout: 480 seconds]
22:15Telvana has joined #asahi
22:51joske has joined #asahi
22:56joskejannau: working fine with your branch on mba. Cpufreq and shutdown working and clearly much better battery life. marcan: However, already 3 times a lockup. Seems related to nvme. Was able to capture at least a screenshot now: https://photos.app.goo.gl/7RkZupz13r3Smoba6
22:56joskeBooting from u-boot with dt from kernel
22:57j`eyhm, looks a bit different, but try it anyway
22:58joskej`ey: thx will try
23:01kovj`ey, out of curiosity why is it that the full 3.2 can't be reached yet?
23:02j`eykov: only one core (maybe cluster actually?) can go into 3.2, the others have to be in a proper 'idle' state
23:02j`eynot just 'not doing anything' but a real idle state
23:02kovah, I see, 3.2 is single core boost then
23:03j`eyand for that to work.. there needs to be quite a bit of work, because it involves some part of m1n1 staying in RAM
23:03j`eyand exposing functions to Linux
23:03kovj`ey, thank you!
23:06j`eynormally PSCI uses a 'hvc' or 'smc' instruction, which indicates a higher privelege level, but since the M1 doesnt support EL3, there's going to have to be something custom there
23:35joske has quit [Quit: Quit]
…