marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
quarkyalice has joined #asahi
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
riker77_ has joined #asahi
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
<chadmed>
j_ey: most mainstream distros automatically set up grub assuming some form of UEFI BootServices now. stuff like Gentoo or ALARM give you a tarball of a minimal root because they trust you to be able to get your machine to jump to a kernel. we cant really assume this for the average computer user, mainstream desktop firmwares have spoilt the user for simplicity in the last decade or so :P
<chadmed>
so uboot is in the chain by default to expose a sane UEFI environment for grub to make things easy for distro maintainers and users. distro maintainers dont need to do (much) extra work to support arm64 macs, and users are presented with a boot tooling that feels familiar to them
malvo has quit [Ping timeout: 480 seconds]
malvo has joined #asahi
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
MTecknology has left #asahi [You saw me, but now you don't.]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
cfleming has joined #asahi
nevexo has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
quarkyalice has quit [Ping timeout: 480 seconds]
zigmars has quit [Ping timeout: 480 seconds]
quarkyalice has joined #asahi
psykose has joined #asahi
quarkyalice has quit [Ping timeout: 480 seconds]
duckworld has quit [Remote host closed the connection]
akemin_dayo has joined #asahi
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars_ has joined #asahi
zigmars has quit [Read error: Connection reset by peer]
aleasto has joined #asahi
zigmars_ has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars_ has joined #asahi
zigmars has quit [Read error: Connection reset by peer]
zigmars_ has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
<kettenis>
marcan: correct, but a copy is installed as EFI/BOOT/BOOTX64.EFI such that if the BootXXXX/BootOrder variables aren't set correctly the system still boots
<kettenis>
I'm fairly confident that the same happens on arm64 systems (with EFI/BOOT/BOOTAA64.EFI)
zigmars has quit [Ping timeout: 480 seconds]
<kettenis>
So as long as you don't try to install another OS that overwrites that file, things will just work
zigmars has joined #asahi
everslick_ has quit [Remote host closed the connection]
brinly has quit []
brinly has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
everslick has joined #asahi
zigmars has joined #asahi
radex has joined #asahi
sorear has quit []
sorear has joined #asahi
stblassitude has quit []
stblassitude has joined #asahi
X-Scale has joined #asahi
<marcan>
kettenis: it might be that on machines I remember doing this in there was already something else there :)
jbowen has quit [Quit: leaving]
jbowen has joined #asahi
<kettenis>
marcan: it seems some x86 machine will use ELF/BOOT/BOOTX64.EFI on media that is actually removable
<kettenis>
but the U-Boot implementation will do what we need
<amw>
marcan: I managed to run the m1n1 install script by patching the osnum.py len(vols) > 1 line to just continue instead of return
<amw>
Now I have two m1n1 Linux partitions (new one is called Linux-1)
yuyichao has quit [Ping timeout: 480 seconds]
<amw>
I think the install script is ok if we have lots of doco with pictures but my partitions are not default so don't provide a good exampl
<j_ey>
I'm guessing most people will use the script without having partitioned at all yet
<j_ey>
(whereas you have been experimenting already!)
<amw>
Yep I think tomorrow I might try resetting things back to more normal setup
tertu has joined #asahi
zigmars has quit [Remote host closed the connection]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars_ has joined #asahi
zigmars has quit [Read error: Connection reset by peer]
zigmars_ has quit [Remote host closed the connection]
zigmars has joined #asahi
zigmars has quit [Remote host closed the connection]
Andalu30 has joined #asahi
zigmars has joined #asahi
zigmars_ has joined #asahi
zigmars has quit [Read error: Connection reset by peer]
Andalu30 has quit [Read error: Connection reset by peer]
Andalu30 has joined #asahi
zigmars_ has quit [Ping timeout: 480 seconds]
ovf has quit []
ovf has joined #asahi
EdwardAnd[m] has joined #asahi
arnd has quit []
arnd has joined #asahi
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
esden has quit []
esden has joined #asahi
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
ZLSA has quit []
ZLSA has joined #asahi
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
riker77 has quit [Quit: Quitting IRC - gone for good...]
zigmars has quit [Ping timeout: 481 seconds]
riker77 has joined #asahi
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
<marcan>
amw: the script is a PoC, it's missing features like "just upgrade my existing m1n1" and "resize macOS for me"
<marcan>
at this point the goal is to prove that the whole idea of the installer is viable, and to make life a lot easier for devs who don't want to have to do a full blown macOS install
<marcan>
amw: you should delete the extra volumes in the first partition, if it's not something you're using. that's not supported and patching the len(vols) thing will just give you a 50/50 on which one it picks, which isn't great
marvin24 has joined #asahi
<tertu>
so out of curiosity, is the plan still that m1n1 will be involved in the "final" boot process
<marcan>
yes, what else would take its place?
<j_ey>
tertu: yes
<j_ey>
tertu: there's still chicken bits (random twiddly CPU stuff) and maybe other little bits that are done there
<marcan>
PCIe init, other tunables, disabling the watchdog, etc
<marcan>
and the whole thing that puts ADT data into the FDT
<marcan>
and boots a linux-standard image
marvin24_ has quit [Ping timeout: 480 seconds]
<alyssa>
marcan: m1cro, of course.
<alyssa>
(re "yes, what else would take its place?")
<marcan>
you know that "mini" stands for "mini is not IOS", right? (IOS as in the Wii I/O OS)
<alyssa>
and micro sounds for micro is cabbage roasted oranges
<marcan>
maybe m1n1 should expand to "m1n1 is not iOS (or any other xnu kernel)" :p
<alyssa>
i too can make up acronyms on the spot
<marcan>
lol
<alyssa>
...hhuh those are all food words maybe i'm hungry no i ate lunch uhh
<eta>
>.<
<j_ey>
GNU/m1n1
<alyssa>
j_ey: excuse me i'd like to interject for a moment that what you're referring to as GNU/m1n1 is in fact libfdt/GNU/m1n1 or as i've taken to referring to it libfdt+GNU/m1n1
<j_ey>
:D
<marcan>
it started off as "ios_stub" (when it was just a proxy like the m1n1 one) then became "miniios" (when it started becoming something useful standalone) and then at some point we decided we didn't want "ios" in the name and I think it was me who realized that "mini" alone could stand for that so...
<marcan>
(IIRC I even looked up plausibly correct pins :p)
<marcan>
but the funny thing is that m1n1 is a bit of a pastiche of mini code, plus old ios_stub code which had since been backported and little-endianed into "minimp", which was a mini port to a chinese MP4 player for experiments
marvin24 has quit [Ping timeout: 480 seconds]
<marcan>
so in some ways the path was Wii -> Sunplus MP4 players -> Apple M1
<marcan>
I think more of the python changed at that point than the proxy side though
<tertu>
honestly the only reason i was asking was for this story.... so thank you
<marcan>
e.g. I'm pretty sure I wrote malloc.py for that sunplus project
<tertu>
i mean i didn't know i would get that story i just find it cool
<marcan>
:)
zigmars has joined #asahi
austriancoder has quit []
austriancoder has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
rann has quit []
rann has joined #asahi
zigmars has joined #asahi
zigmars_ has joined #asahi
zigmars has quit [Read error: Connection reset by peer]
zigmars_ has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
yuyichao has joined #asahi
mindfreeze has quit []
mindfreeze has joined #asahi
WhyNotHugo has quit []
WhyNotHugo has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
zigmars has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
Andalu30 has quit [Quit: Konversation terminated!]
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Remote host closed the connection]
zigmars has joined #asahi
quarkyalice has joined #asahi
quarkyalice has quit [Remote host closed the connection]
zigmars has quit [Remote host closed the connection]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
aleasto has quit [Remote host closed the connection]
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
zigmars has quit [Ping timeout: 480 seconds]
zigmars has joined #asahi
nsklaus_ has joined #asahi
nsklaus has quit [Ping timeout: 480 seconds]
everslick has quit [Remote host closed the connection]