#
✕ nick:leio
#asahi-alt · 2023-10-09 10:24
leioI wish for a make apple_m1_modconfig or whatever which would have built-in all that's in all the hardware, as modules what all else could be attached to the machine via USB/tbolt/whatever, but all disabled that can't ever me there on those (hardware drivers that are integrated into other type of computers that can be built as modules)
#asahi-alt · 2023-10-08 11:54
leioI think the dts in the u-boot tree are used for BSD or something?
#asahi-alt · 2023-10-08 09:06
leioI have a list of stuff that needs work on Gentoo with clang and thinlto optimized flags, bti-enabled compiler flags and such too, if anyone would like to help ;) and some more generic arm64 stuff
#asahi-alt · 2023-10-08 08:52
leioyes, so m1n1 can detect the end
#asahi-alt · 2023-10-08 08:52
leiowhich is why I can't take this further myself well
#asahi-alt · 2023-10-08 08:51
leiofor my device uboot just crashes on start, so I had to do m1n1+dtb+kernel
#asahi-alt · 2023-10-08 08:51
leioyes, I think so, for a generic thing
#asahi-alt · 2023-10-08 08:51
leiomeant a lot of follow-up fixing for the missing bits over m1n1 proxy, and all non-distributable as I needed to embed the firmware in kernel to get anywhere
#asahi-alt · 2023-10-08 08:49
leioI just did a stage3 moved into filesystem image, with a hand-made m1n1/boot.bin with kernel embedded added to it to get my device going
#asahi-alt · 2023-10-08 08:49
leiofor an installer that would work for anyone, we need to get suitable kernel and modules and initramfs going, m1n1 stage2 build with u-boot included too of course, and add a bunch of packages in a stage4 catalyst build
#asahi-alt · 2023-10-05 20:51
leiosnapshot replaces it in GNOME.
#asahi-alt · 2023-09-24 12:46
leiou154s: no root pw?
#asahi-alt · 2023-09-22 20:39
leiochadmed: can you share that kernel config please?
#asahi-alt · 2023-09-22 13:13
leiobut 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?
#asahi-alt · 2023-09-22 13:13
leioI mean at an official capacity under gentoo.org too, I guess
#asahi-alt · 2023-09-22 13:09
leioto 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
#asahi-alt · 2023-09-22 11:15
leiowhere full I mean same kind of scope as is in the livecd, you get to a console with wifi stack available
#asahi-alt · 2023-09-22 11:15
leiochadmed: 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)?
#asahi-alt · 2023-09-22 11:14
leiowouldn't some sort of a stage4 be something we could maybe just provide as an option to asahi-installer then instead?
#asahi-alt · 2023-09-22 11:12
leiowhat isn't detected right
#asahi-alt · 2023-09-22 11:12
leiocan you expand on the -march=native bit (which imo is really -mcpu=native on arm)
#asahi-alt · 2023-09-22 10:44
leiochadmed: think you might want #gentoo-releng
#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:46
leionote that mine is a currently unsupported device :)
#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: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: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
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:40
leiomaybe we can just make a stage4 and dump that on usb?
#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
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: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:29
leiowhich eventually could be in ::gentoo to some extent
#asahi-alt · 2023-09-22 09:27
leioand m1n1/u-boot
#asahi-alt · 2023-09-22 09:26
leioI guess for a system install, there's still the APFS resizing and such that the asahi-installer cares for
#asahi-alt · 2023-09-22 09:26
leio(provided they have suitable kernel)
#asahi-alt · 2023-09-22 09:25
leioso then we could try out any livecd/liveusb distro from usb stick?
#asahi-alt · 2023-09-22 09:23
leiomaybe I should wait for my install to get that going quickly - I don't see myself reinstalling things to test the result
#asahi-alt · 2023-09-22 09:22
leiothat sounds quite feasible and not too hard work in coordination with gentoo releng
#asahi-alt · 2023-09-22 09:21
leiomake my old gentoo arm64 project membership count for something instead of hanging on there still after a 2-3 year old arm64 handling spree :)
#asahi-alt · 2023-09-22 09:21
leioand 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

plus ›