2022-03-10
00:01jsnapoli1[m] has joined #asahi
00:02jsnapoli1[m]Hi guys, new here. I have an m1 MBA with 16g ram. Any way I can get involved?
00:12marvin24_ has quit [Ping timeout: 480 seconds]
00:19marvin24 has joined #asahi
00:39Gue___________________________ has joined #asahi
00:42Gue___________________________ has quit []
00:42Gue___________________________ has joined #asahi
00:58yuyichao_ has quit [Ping timeout: 480 seconds]
01:09Gue___________________________ has quit [Quit: Textual IRC Client: www.textualapp.com]
01:09Gue___________________________ has joined #asahi
01:23yuyichao_ has joined #asahi
01:26zvGlanzmann: I've been occupied since about two weeks ago, last I remember you were preparing to publish a new (debian?) installer of sorts. has this happened yet?
01:30Gue___________________________ has quit [Quit: Textual IRC Client: www.textualapp.com]
01:32shenki has quit [Remote host closed the connection]
01:49kit_ty_katemofux[m]: I have some post-install tips just in case you need some: https://github.com/kit-ty-kate/asahi-tips
01:50user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:55user982492 has joined #asahi
02:00DragoonAethis has quit [Quit: hej-hej!]
02:00DragoonAethis has joined #asahi
02:05riker77_ has joined #asahi
02:10riker77 has quit [Ping timeout: 480 seconds]
02:10riker77_ is now known as riker77
02:23marvin24_ has joined #asahi
02:26marvin24 has quit [Ping timeout: 480 seconds]
02:31user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:36ciggi_ has joined #asahi
02:39the_real_briel[m] has joined #asahi
02:39ciggi has quit [Ping timeout: 480 seconds]
03:09linearcannon has quit [Read error: Connection reset by peer]
03:09linearcannon has joined #asahi
03:22kov has quit [Quit: Coyote finally caught me]
03:24PhilippvK has joined #asahi
03:28phiologe has quit [Ping timeout: 480 seconds]
03:34kov has joined #asahi
03:37user982492 has joined #asahi
03:53WindowPain has quit [Quit: ZNC 1.8.2+deb2~bpo10+1 - https://znc.in]
03:53WindowPain has joined #asahi
04:01WindowPain has quit [Quit: ZNC 1.8.2+deb2~bpo10+1 - https://znc.in]
04:01WindowPain has joined #asahi
04:02WindowPain has quit []
04:03WindowPain has joined #asahi
04:33Graypup_ has quit [Quit: meow]
04:33Graypup_ has joined #asahi
04:41linearcannon has quit [Read error: No route to host]
04:41linearcannon has joined #asahi
04:44marvin24 has joined #asahi
04:48marvin24_ has quit [Ping timeout: 480 seconds]
05:10Graypup_ has quit [Quit: meow]
05:10Graypup_ has joined #asahi
05:25vnogueira has quit [Remote host closed the connection]
05:41off^ has joined #asahi
05:43off^ has quit [Remote host closed the connection]
05:47Glanzmannzv: https://github.com/AsahiLinux/docs/wiki/Debian uses the asahi installer which was updated yesterday evening to support chainloading which was implemented by marcan yesterday.
05:48Glanzmannmarcan: Will you support a user supplied partition size for the root volume in the asahi installer, everyone tested the asahi installer tripped about this? Because most people only want to install one Linux distribution and use the total available size.
05:49Emantor has quit [Quit: ZNC - http://znc.in]
05:50Emantor has joined #asahi
05:53Glanzmannmofux[m]: That is how you can try the current installer. I tried it yesterday evening and it worked for me. You only execute the first two commands, the one for resizing space and kicking off the installer.
05:54GlanzmannSo either wait until this is fixed or have an ethernet dongle or another usb network card (cable or wifi) available.
06:14eroux has joined #asahi
06:32shenki has joined #asahi
06:39the_lanetly_052__ has joined #asahi
06:40jochum has quit [Ping timeout: 480 seconds]
06:46the_lanetly_052__ has quit []
07:24gladiac has joined #asahi
07:41landscape15[m]Glanzmann: From what I see I need both an esp partition and an EFI folder inside the Linux file system. Does this mean that I need to install grub inside the rootFS?
08:01kettenissome/many/all linux distros then mount that partition and for that you need a directory as a mount point
08:01kettenisnot all linux distros use the same mountpoint, which leads to confused users on this channel ;)
08:03eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:14eroux has joined #asahi
08:15Glanzmannextra partitions: stub (m1n1); efi (grub binary; m1n1+dtb+u-boot to be chainloaded; wifi firmware); root (os, grub configuration)
08:16GlanzmannThis is the official asahi boot chain of course in theory you can do whatever you want including having no efi partition and using extlinux instead of grub to load the kernel. :-)
08:17GlanzmannThe benefit of the official asahi boot chain is that you can since yesterday update the m1n1, u-boot and device trees without needing to enter 1tr.
08:23gsaker147 has joined #asahi
08:24gsaker147 has quit [Remote host closed the connection]
08:24gsaker147 has joined #asahi
08:25gsaker147 has quit []
08:27Gue___________________________ has joined #asahi
08:30jochum has joined #asahi
08:33Gues__________________________ has quit [Ping timeout: 480 seconds]
08:35user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:36joske has joined #asahi
08:37joskeis there any guidance on how to switch to the new chainload mechanism when you already have asahi linux? (i.e. without having to re-install)
08:37Glanzmannsven: I'm afraid to ask, but I yesterday build a distribution kernel, than I merged the sound patches from povik. And now I don't have usb3. Any ideas what could be wrong? https://pbot.rmdir.de/jBprokRK2w0Kyy2q7mjNZg config: tg.st/u/config-debian-distro-kernel-2022-03-09-4k
08:38Glanzmannjoske: There is: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob/62ab3460d78190f12475ff598f5f1e17b8e96fba:/doc/notes.txt#l219
08:39Glanzmannjoske: But probably it is easier, if you just boot to 1tr and kmutil the m1n1 with chainload support.
08:40GlanzmannAlso the guide above does not mention that you need to reinstall grub. But now it does.
08:41Glanzmannjoske: But I did not watch the stream yesterday so I don't know how to tell the rust m1n1 to tell which file it should chainload or if it is hardcoded.
08:41Glanzmannjannau: Yes, I think the guide is shit, but I wanted to see the new installer in action. :-)
08:44Glanzmannjoske: I think, but not verified that tg.st/u/installer.tar.gz contains a m1n1.bin which needs to be in 1tr.
08:45Glanzmannjoske: And for the u-boot you take the mkdir /boot/efi/m1n1; curl -sLo /boot/efi/m1n1/boot.bin tg.st/u/u-boot.bin
08:46Glanzmannjoske: I extracted it from the installer and put it here: https://tg.st/u/m1n1-rust.bin
08:47_jannau_joske: https://github.com/AsahiLinux/PKGBUILDs/tree/main/m1n1-uboot when you say asahilinux ina distro context I assume you have the asahilinux reference distro installed
08:53joske has quit [Remote host closed the connection]
08:57joske has joined #asahi
09:02joskeI don't think it chainloaded anything, maybe because the m1n1 in 1TR is newer or something?
09:03_jannau_if you updated the m1n1 in 1tr with one that chainloads a booting system is proof enough
09:04joske has quit [Remote host closed the connection]
09:07joske has joined #asahi
09:14johey has joined #asahi
09:24amw has quit [Ping timeout: 480 seconds]
09:27marvin24_ has joined #asahi
09:31marvin24 has quit [Ping timeout: 480 seconds]
09:31Glanzmannzv: Here is a new recording of the debian installer: https://tg.st/u/debian_asahi_installer.mp4
09:36Glanzmannzv: The second hickup is fixed as well. So now the debian asahi installer works out of the box.
09:45amw has joined #asahi
09:57bluetail[m]Glanzmann: did u use a video capture card ?
09:58bluetail[m]if it is just OBS, how does interfacing work, esp in between boot
10:01Glanzmannbluetail[m]: In the mini I have plugged in power, usb-c keyboard using an adapter, hdmi cable. On the macbook air I have plugged in hdmi grabber, mouse, usb headset. On the air I have obs for the recoding.
10:01Glanzmannzv: I also updated the wiki with the current steps for the Debian installer: https://github.com/AsahiLinux/docs/wiki/Debian
10:09Glanzmannmps: I'm not professor, my father is. I'm giving a lot of it infrastructure trainings mostly VMware, Linux, Networking, AWS, Azure, Aliyun, NetApp, 3PAR, Storage, FibreChannel, OpenStack, Backup and other it infrastructure topics.
10:12mpsGlanzmann: I tried with kernel configs for this usb-c <-> hdmi which works fine on my two chromebooks, but can't get it to work on mbp
10:13Glanzmannmps: So I have cheap 3xusb-a + ethernet to usb-c dongle as switch on the macbook air. You can see it the picture. It also works with a usb-a to usb-c adapter you can also see in the picture (but here I use it for the keyboard).
10:13Glanzmannxrandr -q will now show you additional screens. If you want to watch the video from the usb grabber you need to look for /dev/video0 and so on.
10:14Glanzmannmps: You can use mpv /dev/video0 or obs or ffplay (I think that is what m a r c a n is using).
10:16mpsone of them can't be even plugged in mbp, usb-c connector is somewhat wrongly dimensioned. only mallet could help :)
10:18GlanzmannThat does not work until some has fixed the dcp driver and everyone tells its a lot of work.
10:19Glanzmannmps: I'm doing the opposite. I'm recording the screen hdmi output of the mini on the macbook air.
10:19Glanzmannmps: Sven was trying to get it to work because it might be easier than he tought but than he suspended that work once he found out that there is also some sort of usb device.
10:21sveni “suspended” the work because I have a full time job that’s more important. I’m actually just still in the “understand how atcphy works” phase
10:22sventhe usb device was just a curiosity. i wanted to know if it’s possible to have a DP-only mode configured
10:24_jannau_sven: I believe my usb-c displayport adapter which doesn't show up as usb device is just dead
10:27_jannau_are the alternate modes part of the usb spec? I thought those there part of vesa displayport specs
10:31misteraftermath[m] has joined #asahi
10:37joheyGlanzmann: Hi! I just stumbled upon this channel just to find your video of a working Debian installation on the M1. Very cool! I read about Asahi Linux just a few weeks ago, and the current status back then was a bootloader able to start loading the kernel until there was a panic. I was thrilled enough to buy a Mac Mini for this, and now I realise how much has happened since. :)
10:49the_lanetly_052 has joined #asahi
10:57marcaner, I'm pretty sure we've been able to boot kernels to a working shell for a year+ now ;)
11:02eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:06joheyIs there anywhere an up-to-date current status description of the project? What is working and not?
11:13misteraftermath[m]Way more is supported than I was expecting, that’s for sure
11:22misteraftermath[m]Using asahi?
11:22joheyMy Mac Mini has currently got the status of being my main work machine, so I'll keep myself from messing with it too much at the moment. Waiting for a 16" MBP though to render my MM redundant.
11:23misteraftermath[m]Yeah no kidding
11:23misteraftermath[m]Anything worth mentioning?
11:24mpsmisteraftermath[m]: no, no kidding, though first month and a half I use usb wifi and audio dongles
11:24joheyWiki says GPU is unsupported, but in Glanzmanns video he's running X. Is that some software rendering going on?
11:28joheyOk. Quick googling. Seems like a software DRM layer over a framebuffer device. Good to hear it's fast enough to be usable.
11:40eroux has joined #asahi
11:54Glanzmannjohey: Alyssa is working on the userland and she has over 90% coverage. m a r c a n will probably soon write a gpu driver once the first release is done.
11:57misteraftermath[m]Still a very very big step in the right direction
12:09axboehi folks - I added the audio drivers yesterday, but seems it's not detected. probably something trival, what am I missing: pulled poviks, options look fine, and I did update the boot image with the new dtbs as well
12:16chadmedjust a fair warning though, do not play any sound through the speakers until youve turned them down in alsamixer. they start at 100% but theyre overdriven and playing sound at that volume will blow them up
12:20chadmedonly thing i can think of is building everything as modules, which is what i have and it works
12:22Glanzmannaxboe: Btw. I don't know if you heard, but marcan yesterday implement chainloading for m1n1. So you can now put a m1n1 in 1tr and it will chainload m1n1+dtb+u-boot object from the esp partion from m1n1/boot.bin so no more need to go 1tr on dtb updates.
12:23Glanzmannaxboe: povik has a similiar model you have, so probably it will be fixed soon and merged to asahi branch.
12:23axboeGlanzmann: yep did see that, and it's very cool! haven't played with it yet, but will surely make it more handy
12:25chadmedall thats loaded for me is snd-soc-apple-mca, snd-soc-apple-silicon snd-soc-simple-card and snd-soc-tas2764
12:29Glanzmannmps: Where you able to build this rust m1n1? I was lazy and just used the one from the asahi installer.
12:39yuyichao_ has quit [Ping timeout: 480 seconds]
12:44Gue___________________________ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:45Glanzmannj`ey: Okay, I now switched to rustup, but it got worse: https://pbot.rmdir.de/I3yxwn3Esva2Eg3lIPEQ8w
12:46eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:47Glanzmannmps: I don't know. This is my config: tg.st/u/config-debian-distro-kernel-2022-03-09-4k
12:49eroux has joined #asahi
12:50yuyichao_ has joined #asahi
12:54kovGlanzmann, did you do this one? <j`ey> if so just: rustup target add aarch64-unknown-none-softfloat
12:59GlanzmannI think the softfloat is just there so you don't need to use ieee floating point because the exception handling is possible very complicated.
13:01_jannau_softfloat is used so that we don't need to deal with fp registers in m1n1, applies mostly to the hypervisor
13:05Glanzmannkov: I think I know the problem, I just looked into the m1n1 repository and marcan uses nightly.
13:20limegorilla[m] has joined #asahi
13:23miximps: why not? the rust project provides aarch64-unknown-linux-musl binaries at least, so for a m1-hosted alpine you should be able to install rustup
13:30mpsmy main issue with rust is that I have aversion to touch it after experience two or three years ago when ported it
13:33JeffMcWilliams[m] has joined #asahi
13:36MajorBiscuit has joined #asahi
14:08eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:10marcanyou all know you can just use the prebuilt binary if this rust thing is too confusing, right? :p
14:11marcangithub gives you builds with chainloading enabled: https://github.com/AsahiLinux/m1n1/actions/runs/1959188015
14:15Glanzmannmps: I had it in my history because I adopted the debian image to the new chainloading installer.
14:18GlanzmannBut I have not tested that yet, I just took it out of the installer.tar.gz that is what I'm running.
14:18tpw_rulesmarcan: can you have the installer print the UUID for the ESP it creates? it would be good to have a way to unambiguously identify it during os setup for the "just give me UEFI" option
14:20tpw_ruleshttps://github.com/torvalds/linux/blob/bbf5c979011a099af5dc76498918ed7df445635b/Documentation/ABI/testing/sysfs-firmware-ofw#L14
14:22j`eymarcan: 16:43:07 < kettenis> marcan: that probably needs to become u-boot,efi-partition or asahi,efi-partition
14:26matthewayers[m]Glanzmann: How screwed will I be if I try running the installer from the CDN on a M1 Max MBP? I am a bit confused about if it's included (since I saw it was in the linux-asahi branch, I'm not sure if it's included yet..?) The only features I'm after right now are built-in keyboard/mouse and wifi support.
14:26kettenismarcan: while we're bikeshedding about the property name, Linux uses a few linux,uefi-mmap-xxxx properties already
14:30matthewayers[m]j`ey: Is that the branch used for the CDN installer?
14:31matthewayers[m]s/j`ey://
14:32_jannau_mps: macos 12.0 is not supported anymore. only macos 12.1 is supported, 12.3 to be added for mac studio
14:32matthewayers[m] * j`ey: Is that the branch used for the CDN installer?
14:33j`eymatthewayers[m]: if you use the curl https://mrcn.st/alxsh | sh way, that's using markan's CDN (although CDN just means where it's hosted, so doesnt really matter?)
14:33marcanfunneling multiple stubs to a single EFI partition and back out to OSes is a very weird topology and then we need to start also having multiple vendor firmware copies in one partition, etc...
14:33marcanwe'd end up creating a monster of subdirectories and still have to have OSes figure out who they are
14:34matthewayers[m]j`ey: Gotcha. I guess I'm trying to understand what branch is being used for the tarball
14:35matthewayers[m] * j`ey: Gotcha. I guess I'm trying to understand what branch is being used for the tarball
14:35matthewayers[m]s/guess I//
14:36matthewayers[m]Got it, thanks marcan and j`ey for the info!
14:37j`eythe only thing you need to do before running the installer is to create some free space by resizing your current macOS install
14:38matthewayers[m]Right, that's what I'm doing right now
14:45_jannau_not really a hard requirement for 12.1 but it simplifies m1n1 handling. if you build your own m1n1 you can continue with 12.0
14:45le0n_ is now known as le0n
14:47eroux has joined #asahi
14:56joske has quit [Quit: Leaving]
15:10matthewayers[m]Is there something I'm doing incorrectly with resizing the container? https://pastebin.com/vdyaYfHH
15:23the_lanetly_052 has quit [Remote host closed the connection]
15:24the_lanetly_052 has joined #asahi
15:35espo has joined #asahi
15:49matthewayers[m]Looks like I fixed a corrupted section of one of the disks. Thanks tpw_rules for the recommendation!
16:02heli0s[m] has joined #asahi
16:09eroux has quit [Remote host closed the connection]
16:11plaer1[m] has joined #asahi
16:11the_lanetly_052 has quit [Quit: Leaving]
16:38Glanzmannmatthewayers[m]: The Debian/Asahi installer works: https://github.com/AsahiLinux/docs/wiki/Debian#soon-to-be-released-asahi-installer if you run into any problem, let me know.
16:45matthewayers[m]Glanzmann: I have no clue how I corrupted my disk but I'm glad I fixed it! Probably Zoom or some sort of other invasive software trying to mine my data
16:53user982492 has joined #asahi
16:56eroux has joined #asahi
16:59matthewayers[m]<Glanzmann> "matthewayers: The Debian/Asahi..." <- Will do!
17:00Glanzmannmps: I see, if you want to upgrade the stub to 12.1, you first need to upgrade the macos. Than you can just delete the stub partition in Linux or macos (diskutil apfs deleteContainer), use the asahi installer to install m1n1 and than you do the usual dance.
17:00Glanzmannmatthewayers[m]: If you run into trouble let me know. I tested it, but maybe I missed something.
17:03mpsI planed to actually archive all things and recreate everything but can't find time for this
17:04mpsactually I think I could upgrade macos and then use it as stub partition to boot linux. I think this is posible
17:09opticronall the stuff I have on my install is trivial, so I'm happy enough to blow it away when I switch over to the release installer
17:19Glanzmannjannau: In case of mps, the stub partition got a lot smaller. He currently has the legacy 80 GB stub partition. :-)
17:19Glanzmannmps: So mps, you don't have the stub but the second complete macos install. So I would the following: nuke the 80 GB partition.
17:20Glanzmannmps: Than I would install u-boot and use the debian live system and than use gpart to move your root filesystem directly behind the stub and extend it.
17:23mpsGlanzmann: aha, I thought about something similar, though I don't need big partition for linux
17:23zvI can confirm that the installer (after ensuring only free-space was available with nothing else beyond stock layout) worked perfectly. I've put that mac mini in a data center and am confident in its ability to reboot reliably. nicely done all around.
17:29user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:34jannauj`ey: https://github.com/AsahiLinux/asahi-installer/commit/e11101db7b8a5af6a890fda18d2c1ec33d824896 diskutil probably aligned that anyway but who knows
17:38___nick___ has joined #asahi
17:45MajorBiscuit has quit [Ping timeout: 480 seconds]
17:54eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:02j`eyI suppose if the stub is just before EFI, its not so bad if you have to erase stub+efi to rejig the sizes
18:03Glanzmannj`ey: You don't have, too there is also the old 'm1n1' stub version, but yes, of course you can do that. I did that yesterday.
18:08user982492 has joined #asahi
18:10Glanzmannzv: Btw. the kernel on the debian is 4k. If you need a 16k kernel, let me know. In the future I'll build two flavors 4k and 16k. With 4k more software works, 16k is faster for compiling.
18:13matthewayers[m]Glanzmann: I keep having some message `spi-hid-apple-of spi0.0: Read package crc mismatch` come up randomly in Debian
18:13matthewayers[m]I’m hesitant to set the root password if this is randomly popping up when I try to type
18:18matthewayers[m]Yeah… It’s been a hot minute since I’ve used a Debian-based distribution without a desktop environment. This is expected behavior, to just have stuff printing out while interacting with the shell, right?
18:19* matthewayers[m]uploaded an image: (2461KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/GocJShOpFNUslirjoIKeNJku/ima_5f52f15.jpeg >
18:19matthewayers[m]I noticed a ton of out put when I unplugged my iPad from my computer.. haha
18:19matthewayers[m]s/out/output/, s/put//
18:20matthewayers[m]Interesting
18:24Glanzmannmatthewayers[m]: If you can change your root password, that is good, that means the installer is working for you?
18:26landscape15[m]Glanzmann: thanks for the information. I’m trying to run Debian instead of Arch, since it’s not my main distro. How does chainloading work? Since there are two boot.bin (one inside the APFS container which is set as the boot object, and the other inside the esp partition).
18:26user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:26Glanzmannmarcan: Maybe consider adding this patch to asahi: https://matrix.org/_matrix/media/r0/download/matrix.org/GocJShOpFNUslirjoIKeNJku/ima_5f52f15.jpeg
18:26Glanzmannmarcan: Let me try this again: https://git.kernel.dk/cgit/linux-block/patch/?id=40c9642c7569c52189f84621316fc9149979ee65
18:27Glanzmannlandscape15[m]: The installer puts the rust m1n1 to start up when you select the 'asahi' partition in the boot picker.
18:27landscape15[m]<Glanzmann> "The benefit of the official..." <- well, you still need to update the main boot object (the one inside the APFS container)
18:28GlanzmannU-boot loads grub from the esp partition, grub loads the menu, kernel and initrd and starts Linux.
18:28Glanzmannlandscape15[m]: Watch this video: https://github.com/AsahiLinux/docs/wiki/Debian#debian-installer
18:29GlanzmannThat is everything what you need to do. You can watch that with mpv/iina or a browser and scroll around if you don't want to waste 17 minutes of your live. :-)
18:30landscape15[m]Glanzmann: thanks now I get it. This means you don’t need to ever update the low level boot object. Unfortunately I don’t have much time due to day job ;) but I’ll take a look at the video
18:31landscape15[m]mps: it changed name https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29 but the old one isn’t there
18:36j`eymps: doing the stub by hand is obviously a bit of a pain, but you can just install macOS fully as you did before the installer existed
18:41matthewayers[m]Alright, new error when I try to resize the partition using parted. Following along in the video, I typed in `resizepart 5 91.9GB` (which is how much free space I have available) and I received the error below:
18:41matthewayers[m]`Error: Can’t have the end before the start! (start sector=219296367 length=-196884257)`
18:41j`eymps: i did everything else by hand, just not creating the stub, thats not worth doing by hand for me
18:43* matthewayers[m]uploaded an image: (2345KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/UCYjORvizSODZQusaFFAJDWi/ima_238f266.jpeg >
18:45Glanzmannmps: So in my installer video you would choose option 4 or whatever is the last options, than you get the old behaviour. But you will save 77.5 GB.
18:47matthewayers[m]I’m pretty sure I confused ‘end’ with ‘size’
18:47Glanzmannmatthewayers[m]: But parted doesn't do anything stupid, at least it never did for me, so just do it right and it will be ok.
18:47matthewayers[m]Success!
18:47matthewayers[m]Thanks!
18:50Glanzmannmatthewayers[m]: I rebuild the kernel with patch I mentioned previously. So if you want this kernel, you can update it by executing the following command as root: curl -sL tg.st/u/ksh | bash
18:50landscape15[m]Glanzmann: If I put my own boot object as m1n1/boot.bin, I don’t need to set it into 1TR right?
18:50GlanzmannThis deinstalls the old kernel and puts the new one and in addition to that put a new m1n1/dtbs/u-boot.
18:51landscape15[m]Thanks, this is a lot more useful. Now we only need a fancy gui :)
18:51Glanzmannlandscape15[m]: So the only thing you need the installer, if marcan decides we update the firmware version, which will be in approx 2 weeks when his studio arives.
18:52Glanzmannlandscape15[m]: I dont' need a gui, I think it is pretty good. What I miss in the installer is two things: 'update the stub' and ask the user for the size of the root partition. But I assume marcan will implement that soon.
18:54landscape15[m]Yeah i also think it’s good as it is. Is there already a firmware update tool?
18:55Glanzmannlandscape15[m]: Nope, at the moment, you update macos, than you delete the stub partition and use the installer to recreate it.
18:56landscape15[m]Glanzmann: I mean only to update m1n1>dtb>uboot
18:56Glanzmannlandscape15[m]: And at least one guy in here told that he wiped in the process his mac in here, but I don't understood how he managed to do this, it happend multiple times to him. But if you delete the right 2.5GB partition, this is an easy operation.
18:57Glanzmannlandscape15[m]: I'm waiting for marcan on this one. I assume he will either package it with the kernel or as a seperate package. For me I currently don't maintain a debian repository for the kernel. Maybe I'll update it later, but for now it is up to the user to ugprade the kernel and the object.
18:59landscape15[m]In order to update the stub I usually run the installer first, and then delete the previous container, but it’s not optimal
19:43jannauGlanzmann: there's a PKGBUILD for m1n1+u-boot https://github.com/AsahiLinux/PKGBUILDs/tree/main/m1n1-uboot
19:47jannauit installs updates to /boot/efi/m1n1/. it has to be updated in unison with the kernel for breaking dts changes. for non-breaking ones it of course updated too if kernel changes need dts updates
19:49Glanzmannjannau: The Debian guys I talked to, were against packaging yet another version of u-boot. But in the end it will not matter because by the time it is upstream the dtb changes come down a bit.
19:50Glanzmannjannau: m a r c a n seems to take the dtb from u-boot. I take it from the kernel, is that still okay, or should I also switch to dtbs from u-boot?
19:51j`eymps: You could try this if you want rust/chainloading https://termbin.com/hhaaf since alpine cant cross build I havent tried it properly yet
19:55jannauGlanzmann: I don't see a way around that if debian want to be able to update the dts/kernel
19:56jannauGlanzmann: using the kernel dtb is fine. the dts should be identical to u-boot and m1n1 adds the u-boot specific bits
20:04jelly has quit [Remote host closed the connection]
20:08jelly has joined #asahi
20:35arnidg[m]I'm watching the VODs for Hector's chainloading livestreams and I have a question. Is my understanding correct that the boot ordering will be iBoot -> m1n1 (old version) -> m1n1 (newer version from distro) -> uBoot -> GRUB -> Linux?
20:35arnidg[m]If so, is the purpose of the old version booting the new version from the distro that the new version can "update" the old version?
20:39arnidg[m]ah, I see. But could the m1n1 binary booted by iBoot not know how to update u-boot as well?
20:39arnidg[m]Or is the idea to make it more future proof (maybe the way you need to update u-boot changes)
20:50jannauit can be removed but it's not adviseable at this point since it is required to to update the system firmware
20:56gladiac has quit [Quit: k thx bye]
21:01jelly has quit []
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:14jelly has joined #asahi
21:22linearcannon has quit [Read error: Connection reset by peer]
21:41jelly has quit [Ping timeout: 480 seconds]
21:50jelly has joined #asahi
21:56konradybcio has joined #asahi
22:13opticronon my 14" m1max mbp, the battery stats claim >6h at "idle" (CPU rendering under gnome3) and 92% battery
22:46Gues__________________________ has joined #asahi
23:02sheepgoose has quit [Ping timeout: 480 seconds]
23:03V has quit [Ping timeout: 480 seconds]
23:14sheepgoose has joined #asahi
23:40V has joined #asahi