2022-02-08
00:09axboe has quit [Ping timeout: 480 seconds]
00:17user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:38gabuscus_ has joined #asahi
00:44gabuscus has quit [Ping timeout: 480 seconds]
00:45jbowen has joined #asahi
00:47gabuscus has joined #asahi
00:52gabuscus_ has quit [Ping timeout: 480 seconds]
00:53gabuscus_ has joined #asahi
00:54jbowen has quit [Ping timeout: 480 seconds]
00:57yuyichao has joined #asahi
01:00gabuscus has quit [Ping timeout: 480 seconds]
01:04gabuscus has joined #asahi
01:06thevar1able has joined #asahi
01:07gabuscus_ has quit [Ping timeout: 480 seconds]
01:13thevar1able has quit [Quit: Textual IRC Client: www.textualapp.com]
01:16myon98 has joined #asahi
01:29gabuscus_ has joined #asahi
01:30gabuscus has quit [Ping timeout: 480 seconds]
01:56axboe has joined #asahi
02:05axboe has quit [Ping timeout: 480 seconds]
02:12user982492 has joined #asahi
02:28Latrina has quit [Ping timeout: 480 seconds]
02:29Latrina has joined #asahi
02:29willemml has joined #asahi
02:36riker77_ has joined #asahi
02:37willemml has quit [Ping timeout: 480 seconds]
02:41riker77 has quit [Ping timeout: 480 seconds]
02:41riker77_ is now known as riker77
02:46jbowen has joined #asahi
02:47user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:54jbowen has quit [Ping timeout: 480 seconds]
03:00user982492 has joined #asahi
03:46kov has quit [Quit: Coyote finally caught me]
03:56PhilippvK has joined #asahi
03:59phiologe has quit [Ping timeout: 480 seconds]
04:01kov has joined #asahi
04:32Glanzmannmarcan: axboe only sees 5 cpu cores, but he should see 8 (2e; 6f). Any idea what this is about. Here is his kernel config: tg.st//u/m1-config-smc-2022-02-06 and here is video of m1n1: https://tg.st/u/video-1644259413-yuv420p.mp4 (rehosted an reencoded to be able to watch it better in a browser) CONFIG_NR_CPUS=256, so its not that.
04:33GlanzmannHe is using tethered boot and the device tree that comes with the kernel (smc branch).
04:33tpw_rulesit's possible to leave cores by the wayside if the entries in the device tree to init them are not right
04:44Glanzmannmarcan: So this is a CPU that has some broken cores, so it is sold in the low end machines with disabled cores?
04:45marcangood chance they aren't actually broken, since the first "failed" core is the last p-core in the cluster which is suspicious :p
04:45marcanthat's what they'd do when they have too many good CPUs and need to just disable cores and sell them as lower-core ones
04:46marcan(it could be they remap within a cluster to always make the failed cores last, but that seems like too much effort)
04:46jbowen has joined #asahi
04:48user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:54jbowen has quit [Ping timeout: 480 seconds]
05:01marvin24_ has joined #asahi
05:05marvin24 has quit [Ping timeout: 480 seconds]
05:16jx0 has joined #asahi
05:22atka has joined #asahi
05:50Glanzmannmps: I now switches to the smc branch with u-boot. Thank you for the instructions. I also updated my bootstrap.sh script and the Debian artefacts.
06:10duc4405[m] has joined #asahi
06:11duc4405[m] is now known as ducc[m]
06:12N3ros[m] has quit [Server closed connection]
06:12N3ros[m] has joined #asahi
06:35lendi[m] has quit [Server closed connection]
06:35lendi[m] has joined #asahi
06:35jx0 has quit [Quit: poof!]
06:37eroux has joined #asahi
06:39karlyeurl has quit [Server closed connection]
06:39karlyeurl has joined #asahi
06:46jbowen has joined #asahi
06:47AdwyzzOLEDEdition[m] has quit [Server closed connection]
06:47AdwyzzOLEDEdition[m] has joined #asahi
06:49JamesTaylor[m] has quit [Server closed connection]
06:49JamesTaylor[m] has joined #asahi
06:50atka has quit [Quit: WeeChat 3.4]
06:50leah2 has quit [Server closed connection]
06:50leah2 has joined #asahi
06:54fetsorn[m] has quit [Server closed connection]
06:54fetsorn[m] has joined #asahi
06:54jbowen has quit [Ping timeout: 480 seconds]
07:02ar has quit [Server closed connection]
07:02ar has joined #asahi
07:10daniel0611[m] has quit [Server closed connection]
07:10daniel0611[m] has joined #asahi
07:17svenaxboe: yeah, single io and a single admin queue only. I'll take a look into using shared tags, the current approach is just copied from the pci driver
07:17denden[m] has quit [Server closed connection]
07:17denden[m] has joined #asahi
07:18z11h_beast[m] has quit [Server closed connection]
07:18z11h_beast[m] has joined #asahi
07:25ifthenelse has quit [Quit: Ping timeout (120 seconds)]
07:26ifthenelse has joined #asahi
07:37bpye6 has joined #asahi
07:40bpye has quit [Ping timeout: 480 seconds]
07:40bpye6 is now known as bpye
07:46Erus_Iluvatar has quit [Quit: Erus_Iluvatar]
07:47feb141985[m] has quit [Server closed connection]
07:47feb141985[m] has joined #asahi
08:01joske has joined #asahi
08:02joskemarcan: gkrellm does not see when power is plugged in, debug output here: https://paste.debian.net/1229985/
08:05maz_ is now known as maz
08:13bdju has quit [Ping timeout: 480 seconds]
08:16bdju has joined #asahi
08:18mazmarcan: is there a minimal SMC branch I can pick in order to start looking at this PCIe hotplug issue? the current smc/work has all sort of stuff piled in...
08:21mazI'm happy to drag the rtkit dependency in my tree, but not *everything* that's on that branch! that's pretty much everything that's currently in flight ;-)
08:25KrushnaDeore[m] has quit [Server closed connection]
08:25KrushnaDeore[m] has joined #asahi
08:31MajorBiscuit has joined #asahi
08:44jix has quit [Server closed connection]
08:44jix has joined #asahi
08:46jbowen has joined #asahi
08:54jbowen has quit [Ping timeout: 480 seconds]
09:01kdwk-l[m] has quit [Server closed connection]
09:01kdwk-l[m] has joined #asahi
09:04carmazine[m] has quit [Server closed connection]
09:04carmazine[m] has joined #asahi
09:12kyeh[m] has quit [Server closed connection]
09:12kyeh[m] has joined #asahi
09:20Glanzmannmps: Yes, it works. (cat /sys/class/power_supply/macsmc-battery/capacity ; dmesg) | pbot -
09:29mpsGlanzmann: did you tried to change gamma with simpledrm (to set color temperature) or redshift
09:32mpschadmed: though it doesn't work also on my rk3399 (gru-kevin) chromebook and it have hardware driver
09:38chadmedyeah its something that has to be implemented in the drm driver. the property is attached to the crtc object (basically the scanout buffer) in the driver, and wayland compositors access it to apply colour corrections
09:39chadmedits currently only supported in amdgpu, i915, mediatek, sun4i, omap, vc4, rcar and nouveau
10:04boardwalk has quit [Quit: Ping timeout (120 seconds)]
10:05boardwalk has joined #asahi
10:07eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:15vup has quit [Server closed connection]
10:32pwg has quit [Server closed connection]
10:32pwg has joined #asahi
10:41qm3ster[m] has quit [Server closed connection]
10:41qm3ster[m] has joined #asahi
10:55arthegor[m] has left #asahi [#asahi]
10:58landscape15[m]Glanzmann: I think you have to specify to run ```make modules_install``` on the Mac running Linux in this guide https://github.com/AsahiLinux/docs/wiki/Untethered-m1n1 Otherwise, modules are installed in the build system. Correct me if I’m wrong
11:01chadmedif you have the rootfs somehow mounted on the build machine you can also give make the INSTALL_MOD_PATH parameter
11:04landscape15[m]chadmed: yeah maybe with an external USB
11:05mpslandscape15[m]: did you looked at make script I posted few times, there is 'recipe' how to build and install modules
11:06chadmedit also works with an NFS/samba mount (through the kernel) afaik so you can mount the remote root somewhere in the local filesystem and install the modules there
11:07landscape15[m]mps: yeah I used it. But on Ubuntu I can’t resolve openssl1.1-compat-dev dependency
11:08landscape15[m]I don’t know which is the equivalent. dtc is device-tree-compiler on Ubuntu
11:11nsklaus_re: mps| so backlight is only missing to have really good workstaion .. --> yes and make it available in one unified installable form, a beta release of asahi distro
11:14mpsnsklaus_: I doubt that unified installer will be ready till all kernel stuff become upstreamed to mainline
11:14chadmedmarcan wants to do a beta release soon-ish, thats why hes working on all the power management stuff this week.
11:17nsklaus_i mean, create a prerelease with everything that's already been done so far. even though not everything has been included in mainline, what's stopping the team to make it ?
11:18chadmedapart from what we discussed not two days ago (the fact that nothing that isnt upstreamed is really production-ready yet) nothing, which is why its happening soon :)
11:19yuukirafflesia[m] has quit [Server closed connection]
11:19yuukirafflesia[m] has joined #asahi
11:24DarkShadow4444 has quit [Server closed connection]
11:24DarkShadow44 has joined #asahi
11:25krirogn[m] has quit [Server closed connection]
11:25krirogn[m] has joined #asahi
11:26pimeys[m] has quit [Server closed connection]
11:26pimeys[m] has joined #asahi
11:33Stary has quit [Server closed connection]
11:33Stary has joined #asahi
11:42ChristianOndaatje[m] has quit [Server closed connection]
11:42ChristianOndaatje[m] has joined #asahi
11:54pent1ckel has quit [Server closed connection]
11:54pent1ckel has joined #asahi
12:04NightsOnly[m] has quit [Server closed connection]
12:05NightsOnly[m] has joined #asahi
12:06Glanzmannlandscape15[m]: You can add the make modules_install, however of course the modules need to end up on the rootfs or initrd. I have that for the debian build scripts, but not in the instructions. This is what had me, you and axboe without a framebuffer, because I forgot that SIMPLEDRM was a module due to dcp testing.
12:06Glanzmannlandscape15[m]: On Ubuntu just do a apt-cache search <package> | grep package to find the version you need.
12:07Glanzmannnsklaus_: https://github.com/AsahiLinux/docs/wiki/Debian lacks two days behind, but I'll soon base it on top of smc. Once I fixed my todos in the m1-debian-installer.pl: https://pbot.rmdir.de/Y6sgd7zlm2kAo6sgtrjKcw
12:10nsklaus_Glanzmann: does it require building or importing pre-built kernel when installing ? does it fetch automatically needed firmrwares during the install ?
12:11nsklaus_of course, which part ? of course it require building or importing kernel, or , of course it automatically fetch all the needed firmwares during install ?
12:12GlanzmannThat already fetches the firmware and puts in a place where it can be accessed from Linux.
12:13Glanzmannnsklaus_: When you follow the instructions in https://github.com/AsahiLinux/docs/wiki/Debian you end up with the latest stuff that works (spi, sound, smc, no rtc).
12:13nsklaus_on linux building your own kernel is always an option, what i'm trying to figure is how functionnal the installation process has become so far, and how much manual steps are still required, and how much unified and consistent the whole distro has become so far
12:14nsklaus_i can forgive missing hardware support that is still wip, but a consistent install is a must, and assurance all the bits and pieces of the distro work well together
12:14g8rfx9wozue0e9pa3n[m] has quit [Server closed connection]
12:14g8rfx9wozue0e9pa3n[m] has joined #asahi
12:15Glanzmannnsklaus_: I'm only doing Debian. With Debian it is almost there, but not quiet. Ubuntu will be simliar, for other Distros, I have no idea.
12:16Glanzmannmps: Of course I do, I hate python, don't know python. Perl I know well and apple gave me a perl interpreter for a reason.
12:16nsklaus_yes, i'm waiting on that part, becoming ready for users, and even then it will be like a rocky road
12:17GlanzmannBut this is anyway just proof of concept and get some early adopters running, someone else will rewrite it in python and ship it when its time.
12:18Glanzmannnsklaus_: I'll soon record a video which will make it possible to install Debian in approx. less than 20 minutes with only a few manual steps.
12:19Glanzmannmps: Everytime I tried to use python in blew in my face (www::mechanize alternative, utf8), at some point I said, no thanks.
12:19Glanzmannnsklaus_: You can also already watch the three videos which are already there. They're bumpy, but get you where you need to be eventually. I'm rebuiling the debian artefacts daily. So everything is up2date.
12:21Glanzmannnsklaus_: I see, there is one new about the live system. But soon it will be like executing 3-4 commands and getting into 1tr.
12:21nsklaus_the state of the distro i mean, i prefered to wait a bit more for things to settle a bit mor
12:24GlanzmannI mean most distros will take a year or two to adopt at least. Because we first need to get everything upstream. Once its upstream it has a chance to be being picked up by a distro. And than we have to wait for the next distro release. Which is 1,5 years for Debian at least.
12:25immychan[m]Frankly, I think that presumes we‘lol get mainstream support all
12:25immychan[m]Linux on M1 seems more like something we’d see in a fork
12:26mpsGlanzmann: if some of alpine devs experienced with alpine installer I think we could have alpine install ready in a month or two (if I continue to test basic ideas)
12:26immychan[m]mps: Now that sounds awesome
12:26immychan[m]I think the main thing that I’m waiting on before I jump in is a simple installer
12:27nsklaus_i'm wondering, what is the position of asahi regarding macos updates, i mean, some macos updates will also change bits of the recovery boot partition, and many thing might get updated, would that harm asahi boot ? will it be necessary to do extra steps at each macos updates ? like on intel reinstalling / regenerate grub's boot blocks on hdd ? i understand on asahi things are more complicated about the boot process, how macos
12:27Glanzmannmps: In Debian the kernel is missing, and you need to be able to tell the d-i to say that grub installs in removable media path and does not try to update nvram modules and than it would work out of the box.
12:28mpsmyon98: I have installer for alpine ready on usb disk but I'm thinking about put it ESP from asahi-installer
12:29immychan[m]The install process is way to complex for me lol
12:29mpsGlanzmann: yes, we can do now to make it nearly ready, but imo for 'true' distro install we need kernel in distro repos
12:30nsklaus_i guess i could also wait and see the beta getting out and read through the install notes
12:33mpsfor example I made script to install alpine on usb disk with unofficial kernel and u-boot (I made and put them on dev.alpinelinux.org/~mps/m1)
12:34immychan[m]That sounds genuinely very useful, thank you
12:34chadmednsklaus_: macos updates are self contained and the firmware ABI goes with it. the asahi macos stub with all the boot time firmware + u-boot + m1n1 will never be updated unless we want it to
12:34immychan[m]Is there any script like that for Debian that just sets everything up automatically?
12:37immychan[m]how would I use that?
12:37GlanzmannI'll improve the script in the following days so that it is more robust and user friendly.
12:38nsklaus_chadmed: good to hear, things a coming together nicely, i just finished marcan's last stream and now poweroff/reboot seems implemented too, all good news :)
12:39immychan[m]Glanzmann: How would I use this? Simply run it on my M1 system?
12:39nsklaus_when audio out (through speakers) will be there it will be a very good base to use while waiting for the rest to come, gradualy
12:39immychan[m]nsklaus_: I think there is already, I’m content to use headphones or a Bluetooth adapter
12:40chadmedBT doesnt work yet. the adapter has an odd interface that needs to be reverse engineered first
12:40immychan[m]chadmed: I’d be using a USB adapter
12:44immychan[m]Where’s the Asahi Installer?
12:44Glanzmannimmychan[m]: Than you have to decide between u-boot (for m1) or tethered m1n1 (for m1 pro/max).
12:44immychan[m]Ah okay
12:45Glanzmannimmychan[m]: this is tg.st/u/asahi.txt in a script (but also put the efi stuff and put the firmware where it can be accessed).
12:45immychan[m]Ah okay, I think I have a reasonable understanding of what I have to do now, thank you
12:46Glanzmannimmychan[m]: Or watch one of the videos, on the Debian wiki page. I'll soon streamline it, rerecord it.
12:47miko089[m] has quit [Server closed connection]
12:47miko089[m] has joined #asahi
12:49immychan[m]I’ll have a look at all this tonight, I think I know what I’m doing now
13:23c41e3a has joined #asahi
13:30ViniciusSantos[m]sorry I miss clicked
13:32ViniciusSantos[m] is now known as vimsos[m]
13:35axboe has joined #asahi
13:35axboe has quit []
14:07eta has quit [Server closed connection]
14:08eta has joined #asahi
14:18andreafeletto has quit [Remote host closed the connection]
14:37c41e3a has quit [Quit: c41e3a]
14:41joske has quit [Remote host closed the connection]
14:42vup has joined #asahi
14:42c10l3 has joined #asahi
14:43c10l has quit [Ping timeout: 480 seconds]
14:47c41e3a has joined #asahi
14:50yuyichao has quit [Ping timeout: 480 seconds]
15:11jbowen has joined #asahi
15:12cyb3rn3rd[m] has quit [Server closed connection]
15:13cyb3rn3rd[m] has joined #asahi
15:18muscularduckling[m] has quit [Server closed connection]
15:18muscularduckling[m] has joined #asahi
15:26yuyichao has joined #asahi
15:35axboe has joined #asahi
15:59kit_ty_katemps: I’d be glad to beta test an Alpine installer whenever it is available for M1Pro
15:59kit_ty_katei could do for M1 too but the disk is full atm and i need to clean it up first
16:02newchima[m] has quit [Server closed connection]
16:02newchima[m] has joined #asahi
16:08kit_ty_kateI could try
16:10mpsnot sure do we need to enable in kernel something extra for these Pro/Max machine which is not needed for old ones
16:15_jannau_u-boot needs https://github.com/jannau/u-boot/tree/t6000, keyboard and usb don't work in that tree
16:17Erus_Iluvatar has joined #asahi
16:20the_lanetly_052 has joined #asahi
16:23_jannau_even now the sdcard reader is also is only on m1 pro/max devices so that's something to check for
16:25_jannau_bu all core drivers are the same and just depend on dtb compatible and not CONFIG options
16:30Erus_Iluvatar has quit [Ping timeout: 480 seconds]
16:34Erus_Iluvatar has joined #asahi
16:43Erus_Iluvatar has quit [Ping timeout: 480 seconds]
16:59the_lanetly_052__ has joined #asahi
17:01the_lanetly_052 has quit [Read error: Connection reset by peer]
17:09Glanzmannmps: This is the config which works for m1 and m1 max/pro. I also did set SIMPLEDRM and dependencies to yes so that you see something on the screen before the rootfs is loaded. https://tg.st/u/m1-config-smc-2022-02-06
17:12the_lanetly_052__ has quit [Ping timeout: 480 seconds]
17:14Glanzmannjannau: What is the kernel option for the sdcard? Than I enable it my config for the m1 max/pro users.
17:15axboej`ey: since you asked, comparing just nop io_uring requests/sec between an x1 gen9 with a core i7-1185G7, x86 scores ~210M/sec and ~230M/sec on the m1 pro
17:25nullI don't have an recent x86 box to compare with, and there could be a bunch of reasons why syscalls are slower, so difficult to say much without more info
17:26nullaxboe: if there's a concrete benchmark where you think things are slow, I'm happy to take a look if you could send a mail to LKML or LAKML
17:26axboenull: may indeed just be an artifact of differences in the arch, just reporting what I'm seeing from my very first tests
17:27j`eyI was just checking PAC,, and it is on in that config (assuming it's https://tg.st/u/m1-config-smc-2022-02-06)
17:40nullaxboe: does that just run forever, or does it eventually summarize? Is the 'IOPS' bit roughly the nr of syscalls/sec (when those options are used) ?
17:46Erus_Iluvatar has joined #asahi
17:47axboehttps://kernel.dk/m1-sys.jpg vs https://kernel.dk/x86-sys.jpg - gives a good idea of the difference
17:49axboe-N1 asks it to do NOPs, which are just a roundtrip basically. -c1 -s1 is "complete 1 at the time, submit 1 at the time"
17:55j`eynull: btw el0_svc_common ((flags & _TIF_MTE_ASYNC_FAULT), feels like that should ve (IS_ENABLED(MTE) && .. )?
18:04axboenull: actually just using the asahi linux repo for now, but was planning on merging it with current -git
18:04nullaxboe: cool. I reckon I need to go and investigate pidbench on a stable base to see what the breakdown of that cost is
18:05nsklaus has joined #asahi
18:10_jannau_axboe: change the 7 to 15 on https://github.com/AsahiLinux/m1n1/blob/41f0874f9999d2ac95ef5418dfae4fdd42cdc507/src/cpufreq.c#L68 and the following line
18:10svenaxboe: w.r.t nvme: the controller is indeed limited to 1 admin and 1 io queue, both with 64 entries at most and the tags have to be shared across them because the controller FW uses the tag as an index for a shared data structure
18:11axboesven: yeah I surmised as much, my question was on why aren't you just using a shared tags set for the admin and IO queue?
18:11nsklaus_ has quit [Ping timeout: 480 seconds]
18:12sveni only saw how to share tags across queues inside a single tagset but not how to share tags between ctrl.admin_tagset and ctrl.tagset
18:12kovtpw_rules, yes, and qemu from here too https://gist.github.com/akihikodaki/87df4149e7ca87f18dc56807ec5a1bc5
18:13kovusing parallels mostly for convenience, though I have a VM in UTM that I use from time to time too
18:14kovtpw_rules, I found no significant different tbh, cpu-wise it's the same as far as I have tested it, and all of them use the same virglrenderer, so...
18:14the_lanetly_052__ has joined #asahi
18:15j`eyaxboe: what's the benefit of the shared tags? is that that you dont need to reserve 8 for the admin queue, and therefore can use more for the normal io?
18:20mazrunning fio in a VM is pretty interesting: IOPS=6925K with 16k pages, IOPS=4235K with 4k pages.
18:28MajorBiscuit has quit [Ping timeout: 480 seconds]
18:29svenwell, "works". it won't for untrusted devices but it'll be a while before we have thunderbolt anyway
18:35hckr has joined #asahi
18:41svenyeah, i've been using it for a while now. i'm confident it does what it's supposed to do. it just needs a more work to (hopefully) be accepted upstream
18:42jbowen has quit [Ping timeout: 480 seconds]
18:43hckr has quit [Quit: hckr]
18:55landscape15[m]How can I check if SMC works under Linux?
18:57landscape15[m]j`ey: there is an applesmc-battery folder
18:58landscape15[m]s/applesmc/macsmc/
18:58mazaxboe: 20220208185604.1097957-11-maz@kernel.org <- PMU patches. plumbing this on pro/max is left as an exercise for the reader.
18:59landscape15[m]j`ey: yeah there are. But shutdown doesn’t work
19:01landscape15[m]j`ey: ok then. I also see the battery icon in kde
19:02mazaxboe: ah, that's because I copy-pasted the last patch instead of the first (had a 1 in it, could have been good).
19:02maz20220208185604.1097957-1-maz@kernel.org is what you are looking for, until the last patch trickles in...
19:03jbowen has joined #asahi
19:07landscape15[m]SMC works but again USB no :) I still don’t know the reason
19:10bdju has quit [Ping timeout: 480 seconds]
19:13landscape15[m]j`ey: yeah but I don’t find more related options to check. The same happens with Glanzmann .config here https://tg.st/u/m1-config-smc-2022-02-06
19:18landscape15[m]j`ey: only a usb-c dongle
19:20landscape15[m]No, because I don’t have other dongles. When I connect it I see the led lighting, but no device is recognized.
19:21landscape15[m]The weird thing is that using an old kernel image (I made some weeks ago using mps’s config) USB actually worked
19:22landscape15[m]And I didn’t install any module to make it work
19:23timokrgr has quit [Quit: User left the chat]
19:24the_lanetly_052__ has quit [Ping timeout: 480 seconds]
19:24timokrgr has joined #asahi
19:27mpslandscape15[m]: do you have kernel branch smc/work with battery, spi and other patches ready to build? I can post you my config with everything working fine
19:34m6wiq has quit [Quit: The Lounge - https://thelounge.chat]
19:36landscape15[m]mps: thanks a lot. I’ll give it a try
19:45c41e3a has quit [Quit: c41e3a]
19:50___nick___ has joined #asahi
19:57dhewg has quit [Server closed connection]
19:57dhewg has joined #asahi
20:07jbowen has quit [Ping timeout: 480 seconds]
20:10mrkajetanp has quit [Server closed connection]
20:10mrkajetanp has joined #asahi
20:17GlanzmannIf that is the case, I would change my scripts to pull u-boot from you and change the wiki pages.
20:17landscape15[m]Glanzmann: I’m running Debian on M1 MBP, without installing modules for now. I don’t want to mess up my rootFS if basic things doesn’t work
20:17nyuhu has quit [Server closed connection]
20:17nyuhu has joined #asahi
20:18Glanzmannlandscape15[m]: If you want to build the kernel by yourself, just have a look at my script. And please build the kernel using the debian infrastructure using 'make -j 16 bindeb-pkg'
20:20landscape15[m]Glanzmann: Ok I’ll try. It’s an m1 Mac. Do I run bindeb-pkg instead of “make Image dtbs”
20:20landscape15[m]s/”/”?/
20:21Glanzmannlandscape15[m]: It's the Debian build infrastructure which was upstreamed in the linux kernel. So you can just build a deb out of the upstream kernel.
20:21GlanzmannYou install this deb and the Debian infrastructure takes care of everything: Put the file where they belong, run depmod -a, build an initird, update grub config and god knows what.
20:22c41e3a has joined #asahi
20:24asie has quit [Server closed connection]
20:24GlanzmannThat's nice, now we just need a permissions form apple to redistribute the firmware for wifi, which we will probably never get. :-(
20:24asie has joined #asahi
20:26landscape15[m]Glanzmann: now USB works with the .config sent by mps before. I didn’t install any module
20:26jbowen has joined #asahi
20:28Glanzmannlandscape15[m]: Good for you, but please start installing modules and use the Debian infrastructure for that.
20:28Glanzmannlandscape15[m]: That is how I build the kernel: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob/d1c22d9cba89bd08ed20f363151387b935ccb72b:/bootstrap.sh#l41
20:30hramrach has quit [Server closed connection]
20:30hramrach has joined #asahi
20:31thinkofher has quit [Server closed connection]
20:31thinkofher has joined #asahi
20:34c41e3a has quit [Ping timeout: 480 seconds]
20:36maximus64 has quit [Server closed connection]
20:42user982492 has joined #asahi
20:44immychan[m]Hi, I’m trying to install Asashi on my iMac but I’m stuck on this screen and my keyboard won’t work for input
20:45* immychan[m]uploaded an image: (7115KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/UGKECwTwXNGgUlagGpnMTbRS/ima_df1e5cb.jpeg >
20:48immychan[m]How would I do that?
20:48___nick___ has quit []
20:50___nick___ has joined #asahi
20:53milek7 has quit [Server closed connection]
20:53milek7 has joined #asahi
20:55mpsI thought to upload my u-boot and kernels this evening but interrupted with upgrading kernels for alpine
20:58int16h has joined #asahi
21:06jeffmiw has joined #asahi
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:11int16hHello! I've just acquired a T6000/J314s so thought I'd see if I would poke around XD. I am, however, struggling to get a kernel to boot - the furthest it gets is: 'Preparing to run next stage at 0x1000dc00000...' before the proxyclient bailing and the log on the MBP screen clearing - I've applied the patches as described in the wiki::quickstart (and asahi.txt quickstart). Am I missing something? :D
21:11int16h( I'm chainloading the newly compiled m1n1.macho, then: pcie_enable_devices.py, then: proxyclient/tools/linux.py -b "net.ifnames=0 earlycon console=tty0 console=tty0 debug net.ifnames=0 rw root=/dev/nvm0n1p5
21:11int16hrootwait rootfstype=ext4" ../linux/arch/arm64/boot/Image.gz ../linux/arch/arm64/boot/dts/apple/t6000-j314s.dtb )
21:14jannauint16h: what is wiki::quickstart? https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart-2.0 ?
21:16jannaucan you check your kernel options against https://github.com/AsahiLinux/docs/wiki/DesktopKernel#kerneloptions ?
21:17int16hSure, I've tried https://tg.st/u/m1-config-2022-01-27 and another that was named config-2022-01-28 but I didn't check the options individually
21:19Darksecond has quit [Quit: The Lounge - https://thelounge.chat]
21:20jbowen has quit [Ping timeout: 480 seconds]
21:28ah-[m]hey, do you have any advice what to do about a flaky usb connection to m1n1? i've installed it on a t6001, and connecting via a usb-c -> usb-a phone charging cable, and i've managed to boot linux once
21:29ah-[m]but most of the time i'm getting any of m1n1.proxy.UartTimeout: Expected 1 bytes, got 0 bytes, TTY> usb-dwc3@702280000: Host cleared EP 0x82 stall or similar
21:30svenas usual, usb is cursed and all that. but this specific dwc3 controllers deserves a special place in hell
21:31svenif the M1 is in gadget mode (which it always is inside m1n1) and the usb connection is flakey and drops at the wrong moment the entire controller needs a hard reset to work again
21:33j`eyit's weird because I can go days.. with it being fine, and then some days it just refuses to work
21:36svenfor me a usb c/usb c cable with all lines present (i.e. it claims 10 gbps support) works just fine
21:41psydroid has quit [Server closed connection]
21:42psydroid has joined #asahi
21:44immychan[m]I had to uninstall Asashi, I deleted all of the partitions it generated, just to verify this means that my system is back to stock right? There’s no security features that I need to re-enable?
21:45ah-[m]yep, push the power button for a few seconds and the chime comes on when it boots, should I reboot it harder?
21:48immychan[m]sven: To clarify, this is a response to my question right?
21:53jeffmiw has quit [Ping timeout: 480 seconds]
21:55landscape15[m]j`ey: Thanks, I think you are right. Now seems to work, with my config.
21:55landscape15[m]btw my dongle is from Bellingham
21:56landscape15[m]s/Bellingham/Belkin/
21:56bdju has joined #asahi
21:58ah-[m]wow yeah it was the host, doesn't work from my amd desktop but it ran fine the first try from a rockpro64
22:00axboe has quit [Ping timeout: 480 seconds]
22:01Cy8aer[m] has quit [Server closed connection]
22:01Cy8aer[m] has joined #asahi
22:04MatrixTravelerbot[m] has quit [Server closed connection]
22:04MatrixTravelerbot[m] has joined #asahi
22:07trouter- has quit [Quit: ZNC 1.8.2 - https://znc.in]
22:07trouter has joined #asahi
22:09ah-[m] has quit [Server closed connection]
22:09ah-[m] has joined #asahi
22:09ella-0[m] has quit [Server closed connection]
22:09ella-0[m] has joined #asahi
22:14axboe has joined #asahi
22:28int16h_ has joined #asahi
22:28int16h_j`ey, thank you - that was it :). I didn't notice it kept being reverted to m with olddefconfig (because of the dependency being m!)
22:29int16h has quit [Ping timeout: 480 seconds]
22:37axboe has quit [Quit: leaving]
22:38int16h_ is now known as int16h
22:49h_ro[m] has quit [Server closed connection]
22:49h_ro[m] has joined #asahi
22:50ninja[m] has quit [Server closed connection]
22:50ninja[m] has joined #asahi
22:50user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:57user982492 has joined #asahi
23:03user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:27foxlet has quit [Server closed connection]
23:27foxlet has joined #asahi
23:29yuyichao has quit [Ping timeout: 480 seconds]
23:31jannauu-boot master displays a logo in the top right corner. mark's apple m1 branches are quite old
23:33jannauhttps://raw.githubusercontent.com/jannau/u-boot/x2r10g10b10/drivers/video/u_boot_logo.bmp
23:40PthariensFlame[m] has quit [Server closed connection]
23:40PthariensFlame[m] has joined #asahi
23:43happy-dude[m] has quit [Server closed connection]
23:43happy-dude[m] has joined #asahi