2021-02-12
00:06linkmauve has joined #asahi-dev
00:11qyousef has quit [Ping timeout: 260 seconds]
00:36maor26 has quit [Ping timeout: 240 seconds]
00:37danilonc has quit [Quit: Connection closed for inactivity]
01:44qyousef has joined #asahi-dev
02:46amw has quit [Ping timeout: 246 seconds]
02:54amw has joined #asahi-dev
03:18phiologe has quit [Ping timeout: 260 seconds]
03:18PhilippvK has joined #asahi-dev
03:46amw has quit [Ping timeout: 246 seconds]
04:01amw has joined #asahi-dev
06:54VinDuv has joined #asahi-dev
07:05maor26 has joined #asahi-dev
07:28VinDuv has quit [Quit: Leaving.]
07:30lovesegfault has quit [Quit: WeeChat 3.0]
08:09robinp has quit [Ping timeout: 260 seconds]
08:09robinp has joined #asahi-dev
08:28amw has quit [Ping timeout: 265 seconds]
08:43amw has joined #asahi-dev
09:00smist08[m] has quit [Quit: Idle for 30+ days]
09:00ronyrus[m] has quit [Quit: Idle for 30+ days]
09:24amw has quit [Ping timeout: 272 seconds]
11:35amw has joined #asahi-dev
11:40amw has quit [Ping timeout: 265 seconds]
11:56amw has joined #asahi-dev
12:05amw has quit [Ping timeout: 240 seconds]
12:23stemnic has quit [Ping timeout: 264 seconds]
13:03amw has joined #asahi-dev
13:08amw has quit [Ping timeout: 240 seconds]
13:17vimal has joined #asahi-dev
14:23stemnic has joined #asahi-dev
15:30thestr4ng3r has quit [Read error: Connection reset by peer]
15:32thestr4ng3r has joined #asahi-dev
16:00tarik02[m] has quit [Quit: Idle for 30+ days]
16:00skillfulman23[m] has quit [Quit: Idle for 30+ days]
16:54kettenis has joined #asahi-dev
16:58VinDuv has joined #asahi-dev
18:03zkrx has quit [Ping timeout: 265 seconds]
18:08zkrx has joined #asahi-dev
18:27zkrx has quit [Ping timeout: 264 seconds]
18:34zkrx has joined #asahi-dev
18:57zkrx has quit [Ping timeout: 240 seconds]
19:03zkrx has joined #asahi-dev
19:24modwizcodehttps://twitter.com/modwizcode/status/1360308258519605254?s=20 I got the AIC emulation working for real finally
19:26modwizcodeI'm not very happy with a lot of the code because it seems really inefficient in a lot of places, but that can always be resolved later.
19:27modwizcodeI need to get it to present a more complete ADT to get a vanilla build of M1N1 to boot with it though, I've got a fork of M1N1 that works but it's just for testing.
19:28modwizcodeYes indeed :)
19:28modwizcodeIf marcan gets the big.LITTLE thing working it should show up correctly too (hopefully anyway) since they're exposed with the correct IDs and everything
19:29modwizcodeIt's fun to see the IPIs firing as I do stuff. You can see that linux assigns the IRQs for the serial port to go to cpu0, then when you type a character you see an IPI fire from cpu0 to another core for each character
19:36modwizcodeEventually yes
19:36modwizcodeHave to wait for more hardware docs I think though.
19:37zkrx has quit [Quit: zkrx]
19:37modwizcodeBut at this point I expect a lot of overlap with existing peripherals (at least higher level ones), like I'm hoping I can reuse the NVMe peripheral code
19:38modwizcodeTheoretically because Linux has drivers for a ton of stuff at this point you can just plug in whatever you want on the QEMU side and then tell linux about it via device tree, but that's not my goal since that isn't a true emulation of an M1 mac and it would be useless for running something like macOS
19:39zkrx has joined #asahi-dev
19:42maximus64Good progress tho. If it close enought to the actual HW, it might able to boot the M1 OSX ;)
19:50modwizcodeThat's the goal eventually. I think it's key to understanding the hardware to have a parallel functional implementation based on that understanding. If the drivers + emulation != results that are expected, it means somewhere something is wrong.
19:51modwizcodeA lot of stuff will need to be understood better though. The M1 cpu cores have features that are not documented at all, and macOS certainly will use them.
19:51modwizcodeThat's the other issue
19:51modwizcodeI can't do that testing myself because I don't have a mac of my own to legally do that with
19:51modwizcodeLuckily other people do and it's not too hard to compile and test so in the future that will not be a problem
19:53modwizcodeOne thing I'm actually planning to do at some point here is compile the open source release of Xnu and throw it at the emulator. From what I understand there's few to no drivers in that source though, but I think there's Darwin port projects that might be able to supply some basic drivers (or I could probably write my own for serial port at least)
19:56modwizcodeYeah there is some stuff that I think is there for startup that might expose little differences. Parsing through the code is difficult with how spreadout it is, it actually is sometimes a lot better to throw it at the emulator and look for failures
21:06svenlooks like my most expensive part adapter works fine. and the chainload.py development workflow is a lot of fun as well https://files.svenpeter.dev/74fb88486def919c44ead01848a85b84a70159facf2fdc34024cd8b071f0dd5d_m1n1_framebuffer_console.png :)
21:11svenyeah, I need to convert a better font. and this hdmi capture thing isn't all that great either.
21:22svenhttps://files.svenpeter.dev/34ff92fcac5996e1d2aaf925dca781e1a1907776aea910113ce5d372f187a768_m1n1_fbconsole.png looks a lot nicer on a tv
21:22davidrysk[m]is there a good way to browse lkml archives?
21:26VinDuv has quit [Quit: Leaving.]
21:31maximus64I just using my hack up GoodFET that only have FT232R and some logic buffer for 1.2 logic
21:32svenI use a m1 MacBook Air and a m1 Mac mini connected with a usb-c cable and marcan's macvdmtool
21:33roxfan has quit [Remote host closed the connection]
21:38roxfan has joined #asahi-dev
21:57acelogic has quit [Ping timeout: 272 seconds]
23:12qyousef1 has joined #asahi-dev
23:14qyousef has quit [Ping timeout: 240 seconds]