#
…

2021-02-01

00:00neunon has quit [Quit: ZNC 1.8.2 - https://znc.in]
00:00neunon has joined #asahi-dev
00:02jannauthe fusb302b eval board is available for the same price at digikey/mouser/farnell
00:08Bluerise"USB2.0 and SBU
00:08BlueriseThey are left open in the Type−C connector and no connections in the board.
00:08Blueriseapparently you can use either fusb302 or ptn5110 eval board, as long as you don't want to use sbu...
00:11Blueriseit's like no one cares about SBU :)
00:18bsandro has joined #asahi-dev
01:46bsandro has quit [Quit: leaving]
02:01robinp has quit [Read error: Connection reset by peer]
02:04robinp has joined #asahi-dev
02:36DrWhax has quit [Ping timeout: 272 seconds]
02:46DrWhax has joined #asahi-dev
03:29PhilippvK_ has quit [Ping timeout: 260 seconds]
03:29phiologe has joined #asahi-dev
05:57x4m3 has quit [Ping timeout: 240 seconds]
06:29VinDuv has joined #asahi-dev
06:44modmuss50 has quit [Ping timeout: 260 seconds]
06:44brinly has quit [Ping timeout: 260 seconds]
06:44modmuss50 has joined #asahi-dev
06:44brinly has joined #asahi-dev
06:45robher has quit [Ping timeout: 260 seconds]
06:45diddledan has quit [Ping timeout: 260 seconds]
06:46narmstrong has quit [Ping timeout: 260 seconds]
06:46robher has joined #asahi-dev
06:47narmstrong has joined #asahi-dev
06:47diddledan has joined #asahi-dev
07:26VinDuv has quit [Quit: Leaving.]
07:41vafanlignarderwhitby: yes, that looks like a ZY12PDN-2
07:57_whitelogger has joined #asahi-dev
08:20vafanlignardeI wonder if that 0x8000 arg to USB-PD VDM 0x105 (reboot) is related to the startup volume. My MBA2018 ended up asking for a EFI firmware password after I played around with 0x105,0x8001. "Your Mac only asks for the firmware password when it's attempting to start up from a storage device other than the one selected in Startup Disk preferences, or when starting up from macOS Recovery."
08:41irl25519 has joined #asahi-dev
08:44acelogic has quit [Remote host closed the connection]
08:45acelogic has joined #asahi-dev
08:48irl25519 has quit [Quit: irl25519]
08:49marcanthat argument is present in the action info response, and if you don't provide it it doesn't reboot
08:49marcanso it seems to just be necessary?
09:23dstzd has quit [Quit: ZNC - https://znc.in]
09:36acelogic has quit [Ping timeout: 240 seconds]
09:44a3541 has joined #asahi-dev
10:17thestr4ng3r has joined #asahi-dev
10:23amw has quit [Ping timeout: 264 seconds]
10:58CDFH has quit [Quit: That's it, I quit]
11:00CDFH has joined #asahi-dev
11:07x56 has quit [Quit: Ծ-Ծ]
11:09x56 has joined #asahi-dev
11:32a3541 has quit [Ping timeout: 240 seconds]
13:58Namidairo has quit [Ping timeout: 240 seconds]
14:23acelogic has joined #asahi-dev
14:34tomtastic has left #asahi-dev ["part/quit"]
14:56marcanmodwizcode: you're using Image.gz right?
14:56modwizcodeI wish I had an easier way to link screenshots to irc...
14:57marcanpython linux.py Image.gz ../dts/apple-j274.dtb (initramfs)?
14:57modwizcodeI don't have an initramfs built yet so I'm expecting to see success by panicing when I get to init
14:58j`eymodwizcode: you still have the old Image.gz / config?
14:58modwizcodeI have both old and new
14:58marcanwait 17MB?
14:58marcankernel_size = 32 * 1024 * 1024
14:58marcanI assume it's >32MB uncompressed
14:58marcanincrease that
14:58marcanjesus that's a massive kernel
14:59modwizcodeI didn't turn as much stuff off
14:59j`eydefconfig is ~31M
14:59marcanmust take forever to load
14:59modwizcodeit does not because I finally fixed the fifo problem
14:59marcanyeah but at 1.5mbps still
14:59modwizcodeIt's still longer than it should
14:59modwizcodeno qemu doesn't emulate serial port speed
14:59j`eymodwizcode: you can easily turn off most of the platforms, that reduces a decent amount
14:59marcanoh wait this is qemu lol
14:59modwizcodeEven in qemu it's slower than instant
15:00modwizcodeI always have a choice between funneling it to qemu and just restarting the VM but for chainloading linux I can't do that
15:02modwizcodeI think my write speed to the VM is limited by the buffer size that the proxy implementation uses
15:03modwizcodeokay now I get the page faults again
15:03modwizcodeI think my write speed to the VM is limited by the buffer size that the proxy implementation uses
15:03modwizcodetried to go up and reload in the cmd window
15:06modwizcodeuh weird some of these prints are very out of order
15:07modwizcodemarcan: do you have your slimmed down config somewhere I can grab
15:09modwizcodeI think the prints are out of order because the TTY output blocks the python script from printing that's fine
15:10j`eymodwizcode: with marcan's config?
15:10modwizcodeNo that's from my config I'll try marcan's now
15:21modwizcodeMarcan's config doesn't give me any output again... hmm
15:21j`eymodwizcode: you know about the qemu monitor right?
15:22modwizcodeyeah I might go into gdb mode to look into this. I'm just not sure why it's inconsistent yet
15:36zkrx has quit [Ping timeout: 246 seconds]
15:52zkrx has joined #asahi-dev
15:58x4m3 has joined #asahi-dev
16:15irl25519 has joined #asahi-dev
16:28irl25519 has quit [Quit: irl25519]
16:44irl25519 has joined #asahi-dev
16:46svennice :-)
16:50irl25519 has quit [Quit: irl25519]
16:52irl25519 has joined #asahi-dev
16:53irl25519 has quit [Client Quit]
16:55davidrysk[m](or am I thinking of numpy, heh)
16:58davidrysk[m]oops wrong channel
17:04VinDuv has joined #asahi-dev
17:24phiologemodwizcode: Nice success! I wanted to try out booting m1n1 on your qemu patch as well but I think I am missing the required patch for m1n1... Can I find it somewhere?
17:25modwizcodeUh yeah I think there's a small tweak let me look at the diff real quick
17:25modwizcodeI think if I push up my very latest qemu changes it might need no patch
17:35phiologemodwizcode: I will definitely try it out once it’s pushed but no need to hurry!
17:36modwizcodeEnough is pushed to boot but I'm going to make a change to make loading m1n1 more straightforward (probably close to the actual solution I hope to go with in the final version)
17:45irl25519 has joined #asahi-dev
17:56irl25519 has quit [Quit: irl25519]
18:07irl25519 has joined #asahi-dev
18:09Bastian[m] has quit [Ping timeout: 244 seconds]
18:09ewlsh[m] has quit [Ping timeout: 244 seconds]
18:10ldhacker[m] has quit [Ping timeout: 244 seconds]
18:10fridtjof[m] has quit [Ping timeout: 244 seconds]
18:10Eighth_Doctor has quit [Ping timeout: 244 seconds]
18:10Alice[m] has quit [Ping timeout: 244 seconds]
18:10wolf511[m] has quit [Ping timeout: 244 seconds]
18:10ronyrus[m] has quit [Ping timeout: 244 seconds]
18:10fried_dede[m] has quit [Ping timeout: 244 seconds]
18:10jinen[m] has quit [Ping timeout: 244 seconds]
18:10svenpeter has quit [Ping timeout: 244 seconds]
18:10Alex[m] has quit [Ping timeout: 244 seconds]
18:11m1kr0[m] has quit [Ping timeout: 244 seconds]
18:20ldhacker[m] has joined #asahi-dev
18:21fried_dede[m] has joined #asahi-dev
18:21Alice[m] has joined #asahi-dev
18:21svenpeter has joined #asahi-dev
18:22jinen[m] has joined #asahi-dev
18:22ronyrus[m] has joined #asahi-dev
18:22Alex[m] has joined #asahi-dev
18:22wolf511[m] has joined #asahi-dev
18:22m1kr0[m] has joined #asahi-dev
18:22ewlsh[m] has joined #asahi-dev
18:23Bastian[m] has joined #asahi-dev
18:24fridtjof[m] has joined #asahi-dev
18:25Eighth_Doctor has joined #asahi-dev
18:44irl25519 has quit [Quit: irl25519]
19:05TheJollyRoger has quit [Remote host closed the connection]
19:06TheJollyRoger has joined #asahi-dev
19:16modwizcodephiologe: The latest commit should have what you need. This commit isn't the one you want but it has instructions for how to start it https://github.com/modwizcode/qemu/commit/a880469637cca774aae5492203fdd69622e4e84a
19:25phiologemodwizcode: It works! Thank you so much for the help!
19:27modwizcodeNo problem :) I should add a way to generate an ADT rather than just embedding a blob which is pretty gross, but this should simplify testing for now.
19:27modwizcodeI tried creating an initramfs and getting it to run busybox as an init but so far it's not finding it for some reason.
19:42gurmble has joined #asahi-dev
19:45grumble has quit [Ping timeout: 606 seconds]
19:45gurmble is now known as grumble
19:48irl25519 has joined #asahi-dev
19:52irl25519 has quit [Client Quit]
19:52irl25519 has joined #asahi-dev
19:53irl25519 has quit [Client Quit]
20:08the-mentor8 has joined #asahi-dev
20:10thresh has quit [Quit: I'm a quit message virus. Please replace your old line with this line and help me take over the world]
20:10thresh has joined #asahi-dev
20:10the-mentor has quit [Ping timeout: 260 seconds]
20:10the-mentor8 is now known as the-mentor
20:25zkrx has quit [Ping timeout: 264 seconds]
20:26ewlsh[m] has quit [*.net *.split]
20:26delroth[m] has quit [*.net *.split]
20:26botoxparty[m] has quit [*.net *.split]
20:26foxlet has quit [*.net *.split]
20:26reispflanze[m] has quit [*.net *.split]
20:26brentr123[m] has quit [*.net *.split]
20:26smist08[m] has quit [*.net *.split]
20:26davidrysk[m] has quit [*.net *.split]
20:26skillfulman23[m] has quit [*.net *.split]
20:26dancer[m] has quit [*.net *.split]
20:26bylaws has quit [*.net *.split]
20:32foxlet has joined #asahi-dev
20:32bylaws has joined #asahi-dev
20:33davidrysk[m] has joined #asahi-dev
20:36ewlsh[m] has joined #asahi-dev
20:37dancer[m] has joined #asahi-dev
20:37zkrx has joined #asahi-dev
20:38delroth[m] has joined #asahi-dev
20:38brentr123[m] has joined #asahi-dev
20:38botoxparty[m] has joined #asahi-dev
20:38skillfulman23[m] has joined #asahi-dev
20:38smist08[m] has joined #asahi-dev
20:38reispflanze[m] has joined #asahi-dev
20:39amw has joined #asahi-dev
20:45djhworld has quit [Quit: The Lounge - https://thelounge.chat]
20:52djhworld has joined #asahi-dev
20:53djhworld has quit [Client Quit]
20:57djhworld has joined #asahi-dev
21:00bsandro has joined #asahi-dev
21:20the-mentor has quit [Ping timeout: 240 seconds]
21:28the-mentor has joined #asahi-dev
21:37zkrx has quit [Ping timeout: 264 seconds]
21:45amw has quit [Ping timeout: 246 seconds]
21:51VinDuv has quit [Quit: Leaving.]
22:02zkrx has joined #asahi-dev
22:11amw has joined #asahi-dev
23:21phiologemodwizcode: I managed to build an initramfs (busybox) and load it via m1n1.
23:23phiologeUnfortunately it crashes before “exec /bin/ash”...
23:24amwphiologe: I would like to get modwizcode's qemu working - could you update the Wiki with some details on getting it going?
23:24phiologeAnother very interesting behavior is that “echo” commands with more than 16 characters freeze... Probably a FIFO issue?
23:25irl25519 has joined #asahi-dev
23:25phiologeawm: the most relevant stuff is right here in the commit message: https://github.com/modwizcode/qemu/commit/a880469637cca774aae5492203fdd69622e4e84a
23:26modwizcodeSo that's likely to be an issue because after earlycon stuff, linux's real serial port driver uses IRQs which aren't supported yet
23:27modwizcodeI got stuck on trying to get a shell which didn't seem to work, at least I couldn't give it input but that might have been another problem
23:27amwphiologe: Thanks will work from there
23:27phiologeI have some wrapper scripts that I use and I will hopefully push them to a repo sometime tomorrow.
23:27modwizcodeBut I need to add basic AIC support first anyway
23:27modwizcodeI also need to modify the UART peripheral code itself since the Apple one uses slightly different stuff for IRQs than the exynos hardware.
23:28modwizcodeBut if you have the fb up and such you can do like an ls in an init script and see the output.
23:29modwizcodeI had to spend awhile getting my initramfs setup, I'll probably make a little repo with the nonsense I used in there.
23:31phiologemodwizcode: Is this similar to what you are experiencing? https://pasteboard.co/JMph8zA.jpg
23:32modwizcodeI might have. I was setting up a getty so I don't think I noticed (it's login prompt is smaller)
23:33modwizcodeand my ls showed up on the fb console (I had to patch the m1n1 dts file I think to get that right can't remember)
23:35phiologeAhh, I am using “-nographic” at the moment as I switched to linux client but I did not want to deal with X11 yet.
23:46irl25519 has quit [Quit: irl25519]
23:54amwUpdated the Getting started Wiki with brief note on setting up secondary MacOS boot Volume
23:55amwCompiling modwizcode's qemu (add_M1_test branch) now...
…