#
…

2021-03-19

00:06zkrx has quit [Ping timeout: 246 seconds]
00:26zkrx has joined #asahi
00:29mrkajetanp has joined #asahi
00:34raster- has joined #asahi
00:37raster has quit [Ping timeout: 256 seconds]
00:56raster- has quit [Quit: Gettin' stinky!]
00:56JusticeEX has quit [Ping timeout: 260 seconds]
00:56raster has joined #asahi
01:08mrkajetanp has quit [Ping timeout: 264 seconds]
01:10KindOne has joined #asahi
01:43clayfreeman has quit [Ping timeout: 256 seconds]
03:04Bublik_ has quit [Ping timeout: 260 seconds]
03:07Bublik_ has joined #asahi
03:07JusticeEX has joined #asahi
03:16Necrosporus has quit [Killed (wilhelm.freenode.net (Nickname regained by services))]
03:16Necrosporus has joined #asahi
03:35phiologe has quit [Ping timeout: 244 seconds]
03:35Necrosporus is now known as Guest85748
03:35Guest85748 has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
03:35Necrosporus has joined #asahi
03:36phiologe has joined #asahi
04:14marvin24 has quit [Ping timeout: 244 seconds]
04:15marvin24 has joined #asahi
04:18raster has quit [Quit: Gettin' stinky!]
04:36odmir has quit [Remote host closed the connection]
05:03coderobe has quit [Ping timeout: 276 seconds]
05:08scubasteve has quit [Ping timeout: 260 seconds]
05:17coderobe has joined #asahi
06:27VinDuv has joined #asahi
07:02jeffmiw has joined #asahi
07:03ephe_meral has joined #asahi
07:19jeffmiw has quit [Remote host closed the connection]
07:20jeffmiw has joined #asahi
07:21jeffmiw has quit [Remote host closed the connection]
07:21jeffmiw has joined #asahi
07:26jeffmiw has quit [Ping timeout: 260 seconds]
07:32VinDuv has quit [Quit: Leaving.]
07:55ephe_meral has quit [Ping timeout: 264 seconds]
08:26vimal has joined #asahi
08:58ephe_meral has joined #asahi
09:00noneucat has quit [Quit: Idle for 30+ days]
09:00M0_osx[m] has quit [Quit: Idle for 30+ days]
09:10phiologe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
09:14phiologe has joined #asahi
09:19klaus has joined #asahi
10:27raster has joined #asahi
10:43g3rp has joined #asahi
11:04bpye has quit [Ping timeout: 260 seconds]
11:07bpye has joined #asahi
11:25vimal has quit [Ping timeout: 256 seconds]
11:35g3rp has quit [Quit: leaving]
11:49vimal has joined #asahi
12:04vimal has quit [Ping timeout: 240 seconds]
12:07bpye has quit [Ping timeout: 265 seconds]
12:09bpye has joined #asahi
12:10rjeffman has joined #asahi
12:23jld has quit [Remote host closed the connection]
12:23vimal has joined #asahi
12:49manu1volta[m] has joined #asahi
13:25_rjeffman has joined #asahi
13:26Raqbit0 has joined #asahi
13:29Bublik has joined #asahi
13:33rjeffman has quit [*.net *.split]
13:33Bublik_ has quit [*.net *.split]
13:33Necrosporus has quit [*.net *.split]
13:33Raqbit has quit [*.net *.split]
13:33scooby2_ has quit [*.net *.split]
13:33Raqbit0 is now known as Raqbit
13:35vimal has quit [Ping timeout: 246 seconds]
13:37anarsoul has quit [Remote host closed the connection]
13:37anarsoul has joined #asahi
13:40Necrosporus has joined #asahi
13:41scooby2_ has joined #asahi
13:43vimal has joined #asahi
13:44manu1volta[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!
13:56jn__manu1volta[m]: part of the Asahi project is to develop kernel code. this kernel code will go into the mainline linux kernel.
13:57jn__another part is to make a ready-to-use linux distro (the "remix of Arch Linux ARM")
13:58jn__the first part is in progress (and will be for a while), the second part hasn't started yet, as far as i knkow
14:00_rjeffmanjn__, is there a way to help by testing stuff and reporting back to the project?
14:01_rjeffmanunfortunatelly, I have very little time, and little will, to code for the kernel, but I'd like to help now.
14:01_rjeffman(Can help later with a Linux distro, but I'd like to start early.)
14:02j`eyyou can build and test the asahi branch
14:02j`eyI dont know if anyone wrote up how to get a rootfs specifically for the m1
14:02_rjeffmanthat's something I can do...
14:03_rjeffmanmy mini M1 arrived this week, and I can start to do something in a few days.
14:09manu1volta[m]<jn__ "the first part is in progress (a"> Thanks for the information! How much time are you thinking of?
14:09manu1volta[m](I'm not hurry, just to have in mind)
14:13jn__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
14:14jn__don't take my word for it, i'm just an IRC idler with some experience in linux development and stuff
14:15jn__and of course, the more collaboration there is, the faster it goes :)
14:17jn__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
14:19dottedmagIs there anything in "distro" part beyond 1) installer; 2) several new packages with, say, xf86-video-m1?
14:20dottedmagOf course, probably some udev rules, small tools, but that sounds like an addition to an existing distro rather than a new one.
14:25jn__probably not (i'm speculating)
14:26manu1volta[m]<jn__ "and of course, the more collabor"> 💪🏻
14:29manu1volta[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.
14:37dottedmagI see, found it on the project site, of course.
14:42mazdoes anyone have an ADT dump handy? or a simple way to extract it from m1n1?
14:42DarkShadow4444 has joined #asahi
14:43svenmaz: open("dt.bin", "wb").write(readmem(ba.devtree - ba.virt_base + ba.phys_base, ba.devtree_size))
14:47mazsven: magic.
14:48mazsven: any known tool to bake this human readable?
14:48maz(it is already baked)
14:48svenyes, let me find them
14:48mazthanks a bunch.
14:50mazexcellent, thanks a lot.
14:50maz(now that KVM is mostly out of the way, I need storage and networking...)
14:51svenI still need to get around to clean up this dart iommu driver I wrote
14:52kettenis2that is minr ;)
14:52svenI'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
14:52kettenis2damnit; mine even
14:53JusticeEX has quit [Ping timeout: 246 seconds]
14:58kettenis2maz: pcie support will give you network (both wired and wireless) and working type-A ports
14:59kettenis2if you use my u-boot fork you should be able to get away with a fairly minimal pcie host bridge driver
14:59mazkettenis2: yeah, that's what I was trying to gauge.
14:59kettenis2but a dart iommu driver will also be needed
15:00mazkettenis2: I guess the M1 dart has nothing to do with the PPC one?
15:00svenI can push what I currently have for that somewhere later today
15:00svenno, they just share the name
15:00mazthat's not much... :D
15:00kettenis2maz: not as far as I can tell
15:01kettenis2it seems to be fairly straightforward though; basically a two-level page table with 16k pages
15:02mazkettenis2: ARM page table format? or their own invention?
15:02sventhe pagetables are very similar to the arm smmu ones. we can just reuse the code that's already in io-pgtbl
15:02mazgreat. I didn't fancy reinventing the wheel.
15:03svenyeah, it's essentially just some glue code around io-pgtbl
15:04mazkettenis2: I take it that your u-boot doesn't boot from m1n1?
15:05kettenis2it boots from mini
15:05kettenis2it pretends to be a linux kernel ;)
15:06mazoh, excellent.
15:06kettenis2but since we don't have a proper binding yet, I added a few nodes to the devicetree using whatever corellium came upwith
15:07kettenis2so we need to come up with proper bindings
15:08mazkettenis2: I don't mind that as long as things like aic, timers and posted attributes follow what was agreed on with marcan.
15:09kettenis2biggest issiue is the tunables
15:09kettenis2the plan there was for m1n1 to apply them
15:09mazwhat do they do exactly?
15:09kettenis2sven wrote some m1n1 code to do that
15:10kettenis2magic register initialization sequences
15:10mazright...
15:10svenyeah, https://github.com/AsahiLinux/m1n1/pull/41/files. there are at least two types but possible even more
15:11svenI've only looked at usb and dart so far and at least for those they survive soft resets and clock gating
15:11sven(but they're also not required for usb 2 at least)
15:14kettenis2sven's code uses the ADT, so we don't need to add bindings for them in the FDT
15:19svenwould be great if we could just get away with applying them from m1n1
15:19mazit would certainly remove a lot of crap from the various OSs.
15:21mazwe have some degree of power-sequencing support in Linux, but may not be enough.
15:24furkan_ has joined #asahi
15:40odmir has joined #asahi
15:57DarkShadow4444 has quit [Remote host closed the connection]
16:08choozy has joined #asahi
16:42TheJollyRoger has quit [Remote host closed the connection]
16:42TheJollyRoger has joined #asahi
16:55svenah, 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
16:57mrkajetanp has joined #asahi
17:05mrkajetanp has quit [Ping timeout: 240 seconds]
17:07mrkajetanp has joined #asahi
17:08eta has quit [Ping timeout: 246 seconds]
17:12vimal has quit [Ping timeout: 246 seconds]
17:14ephe_meral has quit [Ping timeout: 240 seconds]
17:15vimal has joined #asahi
17:36VinDuv has joined #asahi
17:44DarkShadow4444 has joined #asahi
17:52DarkShadow4444 has quit [Quit: Leaving]
17:53eta has joined #asahi
18:00DarkShadow4444 has joined #asahi
18:01DarkShadow44 has joined #asahi
18:02DarkShadow4444 has quit [Client Quit]
18:03raster has quit [Quit: Gettin' stinky!]
18:04raster has joined #asahi
18:09eta has quit [Ping timeout: 245 seconds]
18:10jeffmiw has joined #asahi
18:41jeffmiw has quit [Remote host closed the connection]
18:41jeffmiw has joined #asahi
18:46jeffmiw has quit [Ping timeout: 264 seconds]
18:47g3rp has joined #asahi
18:48JusticeEX has joined #asahi
19:06JusticeEX has quit [Ping timeout: 256 seconds]
19:20raster has quit [Quit: Gettin' stinky!]
19:27eta has joined #asahi
19:40klaus has quit [Quit: Textual IRC Client: www.textualapp.com]
19:52ephe_meral has joined #asahi
20:04mrkajetanp has quit [Ping timeout: 240 seconds]
20:13mrkajetanp has joined #asahi
20:14amw has joined #asahi
20:18mrkajetanp has quit [Ping timeout: 240 seconds]
20:22ephe_meral has quit [Ping timeout: 264 seconds]
20:23really3 has joined #asahi
20:23really3 has quit [Remote host closed the connection]
20:23amwThe IRC log server is giving 502 Bad Gateway errors
20:24amwAnyone know if this is going away?
20:42nico_32this happens from time to time
20:43nico_32whitequark will probably fix it in a few hours
20:43jeffmiw has joined #asahi
20:51furkan_ has quit [Ping timeout: 264 seconds]
20:51amwSad as I use it to catch up with the project daily
20:55_rjeffman has quit [Remote host closed the connection]
20:57jeffmiw has quit [Remote host closed the connection]
20:58jeffmiw has joined #asahi
21:02g3rp has quit [Quit: leaving]
21:02jeffmiw has quit [Ping timeout: 256 seconds]
21:04roxfanthat's why you should just leave your client connected
21:08zkrx has quit [Ping timeout: 246 seconds]
21:09Cynthia is now known as CYNTHIA
21:12kettenis2it usually gets fixed (or fixes itself) pretty quickly
21:13zkrx has joined #asahi
21:18amw has quit [Ping timeout: 240 seconds]
21:21amw has joined #asahi
21:27amw has quit [Ping timeout: 246 seconds]
21:29amw has joined #asahi
21:31amwroxfan: I guess I need to switch to running my client on a remote server that is connect 24/7
21:31roxfana bouncer is another option
21:31amwnico_32: whitequark is back :-)
21:32sventhere's also the matrix bridge which also keeps history
21:38CYNTHIA is now known as Cynthia
21:55Chainsaw has quit [Remote host closed the connection]
21:55alvaro_f1 has quit [Ping timeout: 265 seconds]
21:57alvaro_f1 has joined #asahi
22:02jeffmiw has joined #asahi
22:08Chainsaw has joined #asahi
22:10roxfan2 has joined #asahi
22:11bpye9 has joined #asahi
22:12Mrmaxmeier has quit [Read error: Connection reset by peer]
22:12tpw_rules has quit [Excess Flood]
22:12tpw_rules has joined #asahi
22:12mjg59_ has joined #asahi
22:12bpye has quit [Read error: Connection reset by peer]
22:12stemnic has quit [Read error: Connection reset by peer]
22:12mjg59 has quit [Ping timeout: 246 seconds]
22:12bpye9 is now known as bpye
22:13amw has quit [Ping timeout: 246 seconds]
22:13Jangal has quit [Ping timeout: 246 seconds]
22:13nyuhu1 has quit [Ping timeout: 264 seconds]
22:13nyuhu1 has joined #asahi
22:13milek7_ has quit [Ping timeout: 246 seconds]
22:13milek7 has joined #asahi
22:13roxfan has quit [Ping timeout: 264 seconds]
22:14Janhouse has joined #asahi
22:15amw has joined #asahi
22:16VinDuv has quit [Quit: Leaving.]
22:21choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
22:29amw has quit [Ping timeout: 240 seconds]
22:35jeffmiw has quit [Ping timeout: 260 seconds]
22:42roxfan2 is now known as roxfan
22:43amw has joined #asahi
22:52amw has quit [Ping timeout: 276 seconds]
22:59amw has joined #asahi
23:04amw has quit [Ping timeout: 244 seconds]
23:15amw has joined #asahi
23:28JusticeEX has joined #asahi
23:57amw has quit [Ping timeout: 240 seconds]
23:58amw has joined #asahi
…