#asahi-alt · 2023-09-22 09:49
leioI'll go see about getting a patched m1n1 going while you gist :)#asahi-alt · 2023-09-22 09:48
leiothe pd_ignore_unused option or what not (https://github.com/AsahiLinux/m1n1/pull/329)#asahi-alt · 2023-09-22 09:47
leioyeah, 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#asahi-alt · 2023-09-22 09:47
chadmedthe config shouldnt change for t602x #asahi-alt · 2023-09-22 09:46
leionote that mine is a currently unsupported device :)#asahi-alt · 2023-09-22 09:46
chadmedactually let me get a gist together that summarises what we need and where#asahi-alt · 2023-09-22 09:46
chadmedi can chuck mine in a gist, should be enough to work across all currently supported devices#asahi-alt · 2023-09-22 09:46
leiowith your overlay asahi-sources#asahi-alt · 2023-09-22 09:45
leiook, then where do I find the kernel config to use? :)#asahi-alt · 2023-09-22 09:45
leiono problem with that inbetween stubbing or whatnot?#asahi-alt · 2023-09-22 09:45
chadmedi dont change anything else about the root extracted from the image#asahi-alt · 2023-09-22 09:45
chadmedliterally 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 #asahi-alt · 2023-09-22 09:44
leioin terms of what and how in the image#asahi-alt · 2023-09-22 09:44
leioso tell me what I need to do to achieve that#asahi-alt · 2023-09-22 09:44
chadmedyeah that would be ideal#asahi-alt · 2023-09-22 09:43
leiowe should aim to just get liveusb or whatever images built as part of the normal stage3/livecd builds in releng#asahi-alt · 2023-09-22 09:43
mpsfor now I have no idea only how to extract asmedia firmware to put it in initramfs#asahi-alt · 2023-09-22 09:43
leioso what you're saying is that I could just take your alpine usb boot image and do the normal gentoo chroot install from there#asahi-alt · 2023-09-22 09:43
chadmedmy 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#asahi-alt · 2023-09-22 09:42
mpsif it is possible to install gentoo on target with some scripting then simple usb image (even alpine) could be used, I guess#asahi-alt · 2023-09-22 09:41
chadmedi was thinking reuse the existing infrastructure we have to pull out and manipulate the squashfs, but extract it to a bootable usb #asahi-alt · 2023-09-22 09:40
leiomaybe we can just make a stage4 and dump that on usb?#asahi-alt · 2023-09-22 09:40
chadmedyeah i see what youre doing now, that makes a lot more sense#asahi-alt · 2023-09-22 09:40
mpsbut I still didn't decide to make iso, simpler is usb image#asahi-alt · 2023-09-22 09:38
mpsalpine standard isos use also squashfs#asahi-alt · 2023-09-22 09:38
chadmedi 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#asahi-alt · 2023-09-22 09:38
chadmedlike 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#asahi-alt · 2023-09-22 09:37
chadmedits very odd#asahi-alt · 2023-09-22 09:37
chadmedthe 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#asahi-alt · 2023-09-22 09:36
mpssteal*#asahi-alt · 2023-09-22 09:36
mpsah, would be nice if can look at this to steel some good things#asahi-alt · 2023-09-22 09:36
chadmedthen add a grub entry and boot to it#asahi-alt · 2023-09-22 09:35
chadmedi do something very similar to turn the gentoo livecd into an asahi-friendly initramfs#asahi-alt · 2023-09-22 09:35
mpsfamiliar to what#asahi-alt · 2023-09-22 09:35
mpschadmed: ?#asahi-alt · 2023-09-22 09:35
chadmedmps: those scripts look very familiar :P#asahi-alt · 2023-09-22 09:34
leiostill got my zen2 here and short-term work work is on mac for ios#asahi-alt · 2023-09-22 09:33
chadmedi 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...#asahi-alt · 2023-09-22 09:33
leioI'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#asahi-alt · 2023-09-22 09:33
mpshttps://arvanta.net/alpine/install-alpine-m1/#asahi-alt · 2023-09-22 09:33
mpsleio: I have no idea how gentoo could be installed but maybe this could help to give you idea#asahi-alt · 2023-09-22 09:33
chadmedleio: no what you need to do right now to get it installed is hack on genstrap.sh to make it work with fedora#asahi-alt · 2023-09-22 09:32
leiomy understanding was that apple silicon doesn't do that - the UEFI thing installs something that can do it?#asahi-alt · 2023-09-22 09:32
leiohow will it boot over usb#asahi-alt · 2023-09-22 09:31
leioget a livecd with asahi-sources?#asahi-alt · 2023-09-22 09:31
leiook, so what should I do now to actually install it via the ideal method#asahi-alt · 2023-09-22 09:30
leioI guess the main one that's a bit tough would be mesa, until it isn't sufficiently upstream mesa#asahi-alt · 2023-09-22 09:30
chadmedwent on a big QA spree a while ago getting the packages up to scratch with proper metadata and stuff#asahi-alt · 2023-09-22 09:29
chadmedyeah id like to upstream some stuff eventually #asahi-alt · 2023-09-22 09:29
leiowhich eventually could be in ::gentoo to some extent