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-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
zkrx has quit [Ping timeout: 246 seconds]
zkrx has joined #asahi
mrkajetanp has joined #asahi
raster- has joined #asahi
raster has quit [Ping timeout: 256 seconds]
raster- has quit [Quit: Gettin' stinky!]
JusticeEX has quit [Ping timeout: 260 seconds]
raster has joined #asahi
mrkajetanp has quit [Ping timeout: 264 seconds]
KindOne has joined #asahi
clayfreeman has quit [Ping timeout: 256 seconds]
Bublik_ has quit [Ping timeout: 260 seconds]
Bublik_ has joined #asahi
JusticeEX has joined #asahi
Necrosporus has quit [Killed (wilhelm.freenode.net (Nickname regained by services))]
Necrosporus has joined #asahi
phiologe has quit [Ping timeout: 244 seconds]
Necrosporus is now known as Guest85748
Guest85748 has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
Necrosporus has joined #asahi
phiologe has joined #asahi
marvin24 has quit [Ping timeout: 244 seconds]
marvin24 has joined #asahi
raster has quit [Quit: Gettin' stinky!]
odmir has quit [Remote host closed the connection]
coderobe has quit [Ping timeout: 276 seconds]
scubasteve has quit [Ping timeout: 260 seconds]
coderobe has joined #asahi
VinDuv has joined #asahi
jeffmiw has joined #asahi
ephe_meral has joined #asahi
jeffmiw has quit [Remote host closed the connection]
jeffmiw has joined #asahi
jeffmiw has quit [Remote host closed the connection]
anarsoul has quit [Remote host closed the connection]
anarsoul has joined #asahi
Necrosporus has joined #asahi
scooby2_ has joined #asahi
vimal has joined #asahi
<manu1volta[m]>
Hi! I'm new here, and I've been investigating this awesome project because I want to purchase the M1 MacBook Air. And I don't know A LOT about systems, kernel and all that, but I definitely wanna help!
<jn__>
manu1volta[m]: part of the Asahi project is to develop kernel code. this kernel code will go into the mainline linux kernel.
<jn__>
another part is to make a ready-to-use linux distro (the "remix of Arch Linux ARM")
<jn__>
the first part is in progress (and will be for a while), the second part hasn't started yet, as far as i knkow
<_rjeffman>
jn__, is there a way to help by testing stuff and reporting back to the project?
<_rjeffman>
unfortunatelly, I have very little time, and little will, to code for the kernel, but I'd like to help now.
<_rjeffman>
(Can help later with a Linux distro, but I'd like to start early.)
<j`ey>
you can build and test the asahi branch
<j`ey>
I dont know if anyone wrote up how to get a rootfs specifically for the m1
<_rjeffman>
that's something I can do...
<_rjeffman>
my mini M1 arrived this week, and I can start to do something in a few days.
<manu1volta[m]>
<jn__ "the first part is in progress (a"> Thanks for the information! How much time are you thinking of?
<manu1volta[m]>
(I'm not hurry, just to have in mind)
<jn__>
my personal estimate, which isn't based on much: months until basic usability (graphics, storage, network, sound), more months or a few years until most of the hardware (including GPU, video encoder/decoder, good power management) is supported
<jn__>
don't take my word for it, i'm just an IRC idler with some experience in linux development and stuff
<jn__>
and of course, the more collaboration there is, the faster it goes :)
<jn__>
i don't know at which stage the plans for something like an Asahi distro are, but i think it makes sense after basic usability is achieved
<dottedmag>
Is there anything in "distro" part beyond 1) installer; 2) several new packages with, say, xf86-video-m1?
<dottedmag>
Of course, probably some udev rules, small tools, but that sounds like an addition to an existing distro rather than a new one.
<jn__>
probably not (i'm speculating)
<manu1volta[m]>
<jn__ "and of course, the more collabor"> 💪🏻
<manu1volta[m]>
<dottedmag "Of course, probably some udev ru"> That's why they (shall I say"we"?) will be basing that distro on Arch Linux ARM.
<dottedmag>
I see, found it on the project site, of course.
<maz>
does anyone have an ADT dump handy? or a simple way to extract it from m1n1?
<sven>
I've also played around with i2c and the linux pasemi thing essentially works. I should be able to switch the usb-c ports to host mode this weekend from m1n1
<kettenis2>
damnit; mine even
JusticeEX has quit [Ping timeout: 246 seconds]
<kettenis2>
maz: pcie support will give you network (both wired and wireless) and working type-A ports
<kettenis2>
if you use my u-boot fork you should be able to get away with a fairly minimal pcie host bridge driver
<maz>
kettenis2: yeah, that's what I was trying to gauge.
<kettenis2>
but a dart iommu driver will also be needed
<maz>
kettenis2: I guess the M1 dart has nothing to do with the PPC one?
<sven>
I can push what I currently have for that somewhere later today
<sven>
no, they just share the name
<maz>
that's not much... :D
<kettenis2>
maz: not as far as I can tell
<kettenis2>
it seems to be fairly straightforward though; basically a two-level page table with 16k pages
<maz>
kettenis2: ARM page table format? or their own invention?
<sven>
the pagetables are very similar to the arm smmu ones. we can just reuse the code that's already in io-pgtbl
<maz>
great. I didn't fancy reinventing the wheel.
<sven>
yeah, it's essentially just some glue code around io-pgtbl
<maz>
kettenis2: I take it that your u-boot doesn't boot from m1n1?
<kettenis2>
it boots from mini
<kettenis2>
m1n1 even
<kettenis2>
it pretends to be a linux kernel ;)
<maz>
oh, excellent.
<kettenis2>
but since we don't have a proper binding yet, I added a few nodes to the devicetree using whatever corellium came upwith
<kettenis2>
so we need to come up with proper bindings
<maz>
kettenis2: I don't mind that as long as things like aic, timers and posted attributes follow what was agreed on with marcan.
<kettenis2>
yup
<kettenis2>
biggest issiue is the tunables
<kettenis2>
the plan there was for m1n1 to apply them