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]
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 260 seconds]
VinDuv has quit [Quit: Leaving.]
ephe_meral has quit [Ping timeout: 264 seconds]
vimal has joined #asahi
ephe_meral has joined #asahi
noneucat has quit [Quit: Idle for 30+ days]
M0_osx[m] has quit [Quit: Idle for 30+ days]
phiologe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
phiologe has joined #asahi
klaus has joined #asahi
raster has joined #asahi
g3rp has joined #asahi
bpye has quit [Ping timeout: 260 seconds]
bpye has joined #asahi
vimal has quit [Ping timeout: 256 seconds]
g3rp has quit [Quit: leaving]
vimal has joined #asahi
vimal has quit [Ping timeout: 240 seconds]
bpye has quit [Ping timeout: 265 seconds]
bpye has joined #asahi
rjeffman has joined #asahi
jld has quit [Remote host closed the connection]
vimal has joined #asahi
manu1volta[m] has joined #asahi
_rjeffman has joined #asahi
Raqbit0 has joined #asahi
Bublik has joined #asahi
rjeffman has quit [*.net *.split]
Bublik_ has quit [*.net *.split]
Necrosporus has quit [*.net *.split]
Raqbit has quit [*.net *.split]
scooby2_ has quit [*.net *.split]
Raqbit0 is now known as Raqbit
vimal has quit [Ping timeout: 246 seconds]
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?
DarkShadow4444 has joined #asahi
<sven> maz: open("dt.bin", "wb").write(readmem(ba.devtree - ba.virt_base + ba.phys_base, ba.devtree_size))
<maz> sven: magic.
<maz> sven: any known tool to bake this human readable?
<maz> make*
<maz> (it is already baked)
<sven> yes, let me find them
<maz> thanks a bunch.
<maz> excellent, thanks a lot.
<maz> (now that KVM is mostly out of the way, I need storage and networking...)
<sven> :-)
<sven> I still need to get around to clean up this dart iommu driver I wrote
<kettenis2> that is minr ;)
<kettenis2> minr even
<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
<maz> what do they do exactly?
<kettenis2> sven wrote some m1n1 code to do that
<kettenis2> magic register initialization sequences
<maz> right...
<sven> yeah, https://github.com/AsahiLinux/m1n1/pull/41/files. there are at least two types but possible even more
<sven> I've only looked at usb and dart so far and at least for those they survive soft resets and clock gating
<sven> (but they're also not required for usb 2 at least)
<kettenis2> sven's code uses the ADT, so we don't need to add bindings for them in the FDT
<sven> would be great if we could just get away with applying them from m1n1
<maz> it would certainly remove a lot of crap from the various OSs.
<maz> we have some degree of power-sequencing support in Linux, but may not be enough.
furkan_ has joined #asahi
odmir has joined #asahi
DarkShadow4444 has quit [Remote host closed the connection]
choozy has joined #asahi
TheJollyRoger has quit [Remote host closed the connection]
TheJollyRoger has joined #asahi
<sven> ah, what a pity. just telling that TI chip to switch to source and DFP doesn't seem to be enough to get host mode working on the usb-c ports
mrkajetanp has joined #asahi
mrkajetanp has quit [Ping timeout: 240 seconds]
mrkajetanp has joined #asahi
eta has quit [Ping timeout: 246 seconds]
vimal has quit [Ping timeout: 246 seconds]
ephe_meral has quit [Ping timeout: 240 seconds]
vimal has joined #asahi
VinDuv has joined #asahi
DarkShadow4444 has joined #asahi
DarkShadow4444 has quit [Quit: Leaving]
eta has joined #asahi
DarkShadow4444 has joined #asahi
DarkShadow44 has joined #asahi
DarkShadow4444 has quit [Client Quit]
raster has quit [Quit: Gettin' stinky!]
raster has joined #asahi
eta has quit [Ping timeout: 245 seconds]
jeffmiw has joined #asahi
jeffmiw has quit [Remote host closed the connection]
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 264 seconds]
g3rp has joined #asahi
JusticeEX has joined #asahi
JusticeEX has quit [Ping timeout: 256 seconds]
raster has quit [Quit: Gettin' stinky!]
eta has joined #asahi
klaus has quit [Quit: Textual IRC Client: www.textualapp.com]
ephe_meral has joined #asahi
mrkajetanp has quit [Ping timeout: 240 seconds]
mrkajetanp has joined #asahi
amw has joined #asahi
mrkajetanp has quit [Ping timeout: 240 seconds]
ephe_meral has quit [Ping timeout: 264 seconds]
really3 has joined #asahi
really3 has quit [Remote host closed the connection]
<amw> The IRC log server is giving 502 Bad Gateway errors
<amw> Anyone know if this is going away?
<nico_32> this happens from time to time
<nico_32> whitequark will probably fix it in a few hours
jeffmiw has joined #asahi
furkan_ has quit [Ping timeout: 264 seconds]
<amw> Sad as I use it to catch up with the project daily
_rjeffman has quit [Remote host closed the connection]
jeffmiw has quit [Remote host closed the connection]
jeffmiw has joined #asahi
g3rp has quit [Quit: leaving]
jeffmiw has quit [Ping timeout: 256 seconds]
<roxfan> that's why you should just leave your client connected
zkrx has quit [Ping timeout: 246 seconds]
Cynthia is now known as CYNTHIA
<kettenis2> it usually gets fixed (or fixes itself) pretty quickly
zkrx has joined #asahi
amw has quit [Ping timeout: 240 seconds]
amw has joined #asahi
amw has quit [Ping timeout: 246 seconds]
amw has joined #asahi
<amw> roxfan: I guess I need to switch to running my client on a remote server that is connect 24/7
<roxfan> a bouncer is another option
<amw> nico_32: whitequark is back :-)
<sven> there's also the matrix bridge which also keeps history
CYNTHIA is now known as Cynthia
Chainsaw has quit [Remote host closed the connection]
alvaro_f1 has quit [Ping timeout: 265 seconds]
alvaro_f1 has joined #asahi
jeffmiw has joined #asahi
Chainsaw has joined #asahi
roxfan2 has joined #asahi
bpye9 has joined #asahi
Mrmaxmeier has quit [Read error: Connection reset by peer]
tpw_rules has quit [Excess Flood]
tpw_rules has joined #asahi
mjg59_ has joined #asahi
bpye has quit [Read error: Connection reset by peer]
stemnic has quit [Read error: Connection reset by peer]
mjg59 has quit [Ping timeout: 246 seconds]
bpye9 is now known as bpye
amw has quit [Ping timeout: 246 seconds]
Jangal has quit [Ping timeout: 246 seconds]
nyuhu1 has quit [Ping timeout: 264 seconds]
nyuhu1 has joined #asahi
milek7_ has quit [Ping timeout: 246 seconds]
milek7 has joined #asahi
roxfan has quit [Ping timeout: 264 seconds]
Janhouse has joined #asahi
amw has joined #asahi
VinDuv has quit [Quit: Leaving.]
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
amw has quit [Ping timeout: 240 seconds]
jeffmiw has quit [Ping timeout: 260 seconds]
roxfan2 is now known as roxfan
amw has joined #asahi
amw has quit [Ping timeout: 276 seconds]
amw has joined #asahi
amw has quit [Ping timeout: 244 seconds]
amw has joined #asahi
JusticeEX has joined #asahi
amw has quit [Ping timeout: 240 seconds]
amw has joined #asahi