2023-09-22
00:12zerdox has joined #asahi-alt
00:20zerdox has quit [Ping timeout: 480 seconds]
00:38zerdox has joined #asahi-alt
00:47zerdox has quit [Ping timeout: 480 seconds]
02:40zerdox has joined #asahi-alt
02:48zerdox has quit [Ping timeout: 480 seconds]
03:02jeisom has quit [Ping timeout: 480 seconds]
03:51zerdox has joined #asahi-alt
03:59zerdox has quit [Ping timeout: 480 seconds]
05:26zerdox has joined #asahi-alt
07:33cylm has quit [Ping timeout: 480 seconds]
07:45zerdox has quit [Ping timeout: 480 seconds]
07:49zerdox has joined #asahi-alt
08:34kujeger has quit [Remote host closed the connection]
08:35kujeger has joined #asahi-alt
09:07jeisom has joined #asahi-alt
09:17chadmedthe kernel message buffer is full of stupid errors too but they dont actually break anything
09:20leiowould replacing the fedora kernel in the fedora install with a asahi-sources gentoo kernel early be a good option too?
09:21leioand let me know how I can help, need some handholding due to missing a lot of context and knowledge, but maybe I can help with things like stage3 images or whatnot
09:21chadmedwell no because then youd need to install all the build deps for the kernel, pull down the sources, build it, install it, then spin _that_ into the livecd squashfs
09:21leiomake my old gentoo arm64 project membership count for something instead of hanging on there still after a 2-3 year old arm64 handling spree :)
09:22chadmedwhat i would like eventually is just a minimal livecd with the gentoo kernel and modules swapped out for asahi kernel and modules
09:22chadmedbecause all this nonsense of pivoting into an initramfs from a minimal asahi install was just to avoid having to dissect and wrap my head around how fucking stupid the gentoo livecd boot process is
09:23leiomaybe I should wait for my install to get that going quickly - I don't see myself reinstalling things to test the result
09:23chadmedbut eventually users being able to select the "uefi only" option in the installer and put a usb stick in would be sick
09:24chadmedall the usb boot stuff works, its just getting a known-good kernel into the livecd image and making it boot that stumped me
09:26leioI guess for a system install, there's still the APFS resizing and such that the asahi-installer cares for
09:28chadmedthe ideal workflow is basically vanilla asahi-installer makes some free space and does all the SEP/macOS stuff -> user puts in a usb flashed with our special livecd image -> user follows gentoo handbook
09:29chadmedwith that last step being interrupted by our little install helper that takes care of setting up the overlay and pulling in asahi-meta
09:30chadmedwent on a big QA spree a while ago getting the packages up to scratch with proper metadata and stuff
09:30leioI guess the main one that's a bit tough would be mesa, until it isn't sufficiently upstream mesa
09:31chadmed has quit [Remote host closed the connection]
09:32leiomy understanding was that apple silicon doesn't do that - the UEFI thing installs something that can do it?
09:32chadmed has joined #asahi-alt
09:33chadmedleio: no what you need to do right now to get it installed is hack on genstrap.sh to make it work with fedora
09:33mpsleio: I have no idea how gentoo could be installed but maybe this could help to give you idea
09:33leioI'm not in a hurry to get it going in itself - if I can come up with a better install method via livecd, I'd rather dogfood that for the install
09:33chadmedi made it work with fedora a while ago but because i am exceedingly stupid and an idiot i was making changes in the copy i had stored on the fedora rootfs... which i then wiped when i got it working and installed gentoo...
09:37chadmedthe issue we have is that the gentoo livecd itself boots a weird stub which then extracts a squashfs to memory and pivots to that which contains the _real_ kernel and modules etc
09:38chadmedlike i said, i got far enough in to pluck the squashfs out of the cd image but then gave up trying to manipulate both it and the image itself and just wrapped the squashfs in an initramfs
09:38chadmedi think given the time it takes to actually install gentoo its been an acceptable tradeoff until now, and its really only a problem now because things are in flux
09:41chadmedi was thinking reuse the existing infrastructure we have to pull out and manipulate the squashfs, but extract it to a bootable usb
09:42mpsif it is possible to install gentoo on target with some scripting then simple usb image (even alpine) could be used, I guess
09:43chadmedmy whole thing is that i like to make these things self-hosting because i dont think i can keep my web server uptime high enough to host images/build artefacts
09:43leioso what you're saying is that I could just take your alpine usb boot image and do the normal gentoo chroot install from there
09:43leiowe should aim to just get liveusb or whatever images built as part of the normal stage3/livecd builds in releng
09:45chadmedliterally the only difference is the kernel, if releng can spin out a livecd with the asahi kernel and its modules then thats all that needs to change
09:46chadmedi can chuck mine in a gist, should be enough to work across all currently supported devices
09:47leioyeah, I might need to somehow hack it to pass some kernel options to keep the display on after m1n1 and later early patches for gpu support or smth
10:08zerdox has quit [Ping timeout: 480 seconds]
10:08zerdox has joined #asahi-alt
10:36chadmedjust joined the gentoo channels on libera too if we want to discuss with others there, just ping me
10:47cylm has joined #asahi-alt
10:58cylm_ has joined #asahi-alt
11:00cylm has quit [Ping timeout: 480 seconds]
11:14leiowouldn't some sort of a stage4 be something we could maybe just provide as an option to asahi-installer then instead?
11:15leiochadmed: as in, why's liveusb better than bootstrapping a full system right from the asahi-installer (via e.g. curl https://asahi.gentoo.org |sh or something too)?
11:15leiowhere full I mean same kind of scope as is in the livecd, you get to a console with wifi stack available
11:22compassion1785 has quit [Read error: Connection reset by peer]
11:24compassion1785 has joined #asahi-alt
11:53zerdox has quit [Ping timeout: 480 seconds]
11:54zerdox has joined #asahi-alt
12:04skippypaws has quit [Quit: Connection closed for inactivity]
12:10zerdox has quit [Ping timeout: 480 seconds]
12:32chadmedand even more politically i think it gives these machines too much of an "embedded" image
12:32chadmedthey should not behave like an rpi4 because theyre like 999 grillion times more useable and powerful
13:09leioto me it's about the choice - choice to not have to care about this stuff, just choose it in an installer I already have to use anyways, and then just pick my profiles and run emerge -e if I want to recompile it all
13:12chadmedi think thats perfectly valid, and id be happy to host the image and installer if you end up throwing it together
13:13chadmeddo such images exist for any other platform? i thought all those SBC images were community maintained
13:13leiobut short-term, it might be a quicker way to get things going for me too? This is presuming I can just run through the process again for testing things later with a secondary gentoo install too in my plenty of available space?
14:31sam_I want us to get to a point where we have proper flashable images for SBCs but I agree that's not super helpful for this
14:32sam_but my gut would be "figure out how to just do installcds w/ custom kernel for arm64, build that on our infra"
14:34possiblemeatball has joined #asahi-alt
15:04jeisom has quit [Ping timeout: 480 seconds]
15:05cylm_ has quit [Ping timeout: 480 seconds]
15:12possiblemeatball has quit [Quit: Quit]
15:21possiblemeatball has joined #asahi-alt
15:23zerdox has joined #asahi-alt
15:35jacksonchen666 has joined #asahi-alt
15:48zerdox has quit [Ping timeout: 480 seconds]
15:48zerdox has joined #asahi-alt
15:56jacksonchen666 has quit [Ping timeout: 480 seconds]
16:24jacksonchen666 has joined #asahi-alt
16:33zerdox has quit [Ping timeout: 480 seconds]
16:34zerdox has joined #asahi-alt
16:43jeisom has joined #asahi-alt
16:52flatz has joined #asahi-alt
16:56flatz has quit []
18:05jacksonchen666 has quit [Ping timeout: 480 seconds]
18:14Cyrinux9474 has quit []
18:14Cyrinux9474 has joined #asahi-alt
18:22possiblemeatball has quit [Quit: Quit]
18:29possiblemeatball has joined #asahi-alt
18:39possiblemeatball1 has joined #asahi-alt
18:40possiblemeatball has quit [Ping timeout: 480 seconds]
19:03Cyrinux9474 has quit []
19:03Cyrinux9474 has joined #asahi-alt
20:23SalimTer- has joined #asahi-alt
20:26SalimTerryLi has quit [Ping timeout: 480 seconds]
20:29jacksonchen666 has joined #asahi-alt
20:40nela has quit [Quit: bye!]
20:41nela has joined #asahi-alt
20:47jacksonchen666 has quit [Quit: WeeChat 4.0.4]
22:00possiblemeatball1 has quit [Quit: Quit]
22:18cylm has joined #asahi-alt