marcan changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
neunon has quit [Quit: ZNC 1.8.2 - https://znc.in]
neunon has joined #asahi-dev
<jannau> the fusb302b eval board is available for the same price at digikey/mouser/farnell
<Bluerise> "USB2.0 and SBU
<Bluerise> They are left open in the Type−C connector and no connections in the board.
<Bluerise> apparently you can use either fusb302 or ptn5110 eval board, as long as you don't want to use sbu...
<Bluerise> it's like no one cares about SBU :)
bsandro has joined #asahi-dev
bsandro has quit [Quit: leaving]
robinp has quit [Read error: Connection reset by peer]
robinp has joined #asahi-dev
DrWhax has quit [Ping timeout: 272 seconds]
DrWhax has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 260 seconds]
phiologe has joined #asahi-dev
x4m3 has quit [Ping timeout: 240 seconds]
VinDuv has joined #asahi-dev
modmuss50 has quit [Ping timeout: 260 seconds]
brinly has quit [Ping timeout: 260 seconds]
modmuss50 has joined #asahi-dev
brinly has joined #asahi-dev
robher has quit [Ping timeout: 260 seconds]
diddledan has quit [Ping timeout: 260 seconds]
narmstrong has quit [Ping timeout: 260 seconds]
robher has joined #asahi-dev
narmstrong has joined #asahi-dev
diddledan has joined #asahi-dev
VinDuv has quit [Quit: Leaving.]
<vafanlignarde> rwhitby: yes, that looks like a ZY12PDN-2
_whitelogger has joined #asahi-dev
<vafanlignarde> I 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."
irl25519 has joined #asahi-dev
acelogic has quit [Remote host closed the connection]
acelogic has joined #asahi-dev
irl25519 has quit [Quit: irl25519]
<marcan> that argument is present in the action info response, and if you don't provide it it doesn't reboot
<marcan> so it seems to just be necessary?
dstzd has quit [Quit: ZNC - https://znc.in]
acelogic has quit [Ping timeout: 240 seconds]
a3541 has joined #asahi-dev
thestr4ng3r has joined #asahi-dev
amw has quit [Ping timeout: 264 seconds]
CDFH has quit [Quit: That's it, I quit]
CDFH has joined #asahi-dev
x56 has quit [Quit: Ծ-Ծ]
x56 has joined #asahi-dev
a3541 has quit [Ping timeout: 240 seconds]
Namidairo has quit [Ping timeout: 240 seconds]
acelogic has joined #asahi-dev
tomtastic has left #asahi-dev ["part/quit"]
<marcan> modwizcode: you're using Image.gz right?
<modwizcode> Yes
<modwizcode> I wish I had an easier way to link screenshots to irc...
<marcan> python linux.py Image.gz ../dts/apple-j274.dtb (initramfs)?
<modwizcode> I don't have an initramfs built yet so I'm expecting to see success by panicing when I get to init
<j`ey> modwizcode: you still have the old Image.gz / config?
<modwizcode> Yes
<modwizcode> I have both old and new
<marcan> wait 17MB?
<marcan> kernel_size = 32 * 1024 * 1024
<marcan> I assume it's >32MB uncompressed
<marcan> increase that
<modwizcode> Eh?
<modwizcode> oh
<marcan> jesus that's a massive kernel
<modwizcode> I didn't turn as much stuff off
<j`ey> defconfig is ~31M
<marcan> must take forever to load
<modwizcode> it does not because I finally fixed the fifo problem
<marcan> yeah but at 1.5mbps still
<modwizcode> It's still longer than it should
<modwizcode> no qemu doesn't emulate serial port speed
<j`ey> modwizcode: you can easily turn off most of the platforms, that reduces a decent amount
<marcan> oh wait this is qemu lol
<marcan> ok
<modwizcode> lol yeah
<modwizcode> Even in qemu it's slower than instant
<modwizcode> I always have a choice between funneling it to qemu and just restarting the VM but for chainloading linux I can't do that
<modwizcode> I think my write speed to the VM is limited by the buffer size that the proxy implementation uses
<modwizcode> okay now I get the page faults again
<modwizcode> I think my write speed to the VM is limited by the buffer size that the proxy implementation uses
<modwizcode> oops
<modwizcode> tried to go up and reload in the cmd window
<modwizcode> uh weird some of these prints are very out of order
<modwizcode> marcan: do you have your slimmed down config somewhere I can grab
<modwizcode> Thanks
<modwizcode> I think the prints are out of order because the TTY output blocks the python script from printing that's fine
<modwizcode> https://paste.debian.net/1183588/ this is the page fault I get
<j`ey> modwizcode: with marcan's config?
<modwizcode> No that's from my config I'll try marcan's now
<modwizcode> Marcan's config doesn't give me any output again... hmm
<j`ey> modwizcode: you know about the qemu monitor right?
<modwizcode> yeah I might go into gdb mode to look into this. I'm just not sure why it's inconsistent yet
zkrx has quit [Ping timeout: 246 seconds]
zkrx has joined #asahi-dev
x4m3 has joined #asahi-dev
irl25519 has joined #asahi-dev
irl25519 has quit [Quit: irl25519]
irl25519 has joined #asahi-dev
<sven> nice :-)
irl25519 has quit [Quit: irl25519]
irl25519 has joined #asahi-dev
irl25519 has quit [Client Quit]
<davidrysk[m]> (or am I thinking of numpy, heh)
<davidrysk[m]> oops wrong channel
VinDuv has joined #asahi-dev
<phiologe> modwizcode: 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?
<modwizcode> Uh yeah I think there's a small tweak let me look at the diff real quick
<modwizcode> I think if I push up my very latest qemu changes it might need no patch
<phiologe> modwizcode: I will definitely try it out once it’s pushed but no need to hurry!
<modwizcode> Enough 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)
irl25519 has joined #asahi-dev
irl25519 has quit [Quit: irl25519]
irl25519 has joined #asahi-dev
Bastian[m] has quit [Ping timeout: 244 seconds]
ewlsh[m] has quit [Ping timeout: 244 seconds]
ldhacker[m] has quit [Ping timeout: 244 seconds]
fridtjof[m] has quit [Ping timeout: 244 seconds]
Eighth_Doctor has quit [Ping timeout: 244 seconds]
Alice[m] has quit [Ping timeout: 244 seconds]
wolf511[m] has quit [Ping timeout: 244 seconds]
ronyrus[m] has quit [Ping timeout: 244 seconds]
fried_dede[m] has quit [Ping timeout: 244 seconds]
jinen[m] has quit [Ping timeout: 244 seconds]
svenpeter has quit [Ping timeout: 244 seconds]
Alex[m] has quit [Ping timeout: 244 seconds]
m1kr0[m] has quit [Ping timeout: 244 seconds]
ldhacker[m] has joined #asahi-dev
fried_dede[m] has joined #asahi-dev
Alice[m] has joined #asahi-dev
svenpeter has joined #asahi-dev
jinen[m] has joined #asahi-dev
ronyrus[m] has joined #asahi-dev
Alex[m] has joined #asahi-dev
wolf511[m] has joined #asahi-dev
m1kr0[m] has joined #asahi-dev
ewlsh[m] has joined #asahi-dev
Bastian[m] has joined #asahi-dev
fridtjof[m] has joined #asahi-dev
Eighth_Doctor has joined #asahi-dev
irl25519 has quit [Quit: irl25519]
TheJollyRoger has quit [Remote host closed the connection]
TheJollyRoger has joined #asahi-dev
<modwizcode> phiologe: 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
<phiologe> modwizcode: It works! Thank you so much for the help!
<modwizcode> No 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.
<modwizcode> I tried creating an initramfs and getting it to run busybox as an init but so far it's not finding it for some reason.
gurmble has joined #asahi-dev
grumble has quit [Ping timeout: 606 seconds]
gurmble is now known as grumble
irl25519 has joined #asahi-dev
irl25519 has quit [Client Quit]
irl25519 has joined #asahi-dev
irl25519 has quit [Client Quit]
the-mentor8 has joined #asahi-dev
thresh has quit [Quit: I'm a quit message virus. Please replace your old line with this line and help me take over the world]
thresh has joined #asahi-dev
the-mentor has quit [Ping timeout: 260 seconds]
the-mentor8 is now known as the-mentor
zkrx has quit [Ping timeout: 264 seconds]
ewlsh[m] has quit [*.net *.split]
delroth[m] has quit [*.net *.split]
botoxparty[m] has quit [*.net *.split]
foxlet has quit [*.net *.split]
reispflanze[m] has quit [*.net *.split]
brentr123[m] has quit [*.net *.split]
smist08[m] has quit [*.net *.split]
davidrysk[m] has quit [*.net *.split]
skillfulman23[m] has quit [*.net *.split]
dancer[m] has quit [*.net *.split]
bylaws has quit [*.net *.split]
foxlet has joined #asahi-dev
bylaws has joined #asahi-dev
davidrysk[m] has joined #asahi-dev
ewlsh[m] has joined #asahi-dev
dancer[m] has joined #asahi-dev
zkrx has joined #asahi-dev
delroth[m] has joined #asahi-dev
brentr123[m] has joined #asahi-dev
botoxparty[m] has joined #asahi-dev
skillfulman23[m] has joined #asahi-dev
smist08[m] has joined #asahi-dev
reispflanze[m] has joined #asahi-dev
amw has joined #asahi-dev
djhworld has quit [Quit: The Lounge - https://thelounge.chat]
djhworld has joined #asahi-dev
djhworld has quit [Client Quit]
djhworld has joined #asahi-dev
bsandro has joined #asahi-dev
<modwizcode> root
<modwizcode> huh...
the-mentor has quit [Ping timeout: 240 seconds]
the-mentor has joined #asahi-dev
zkrx has quit [Ping timeout: 264 seconds]
amw has quit [Ping timeout: 246 seconds]
VinDuv has quit [Quit: Leaving.]
zkrx has joined #asahi-dev
amw has joined #asahi-dev
<phiologe> modwizcode: I managed to build an initramfs (busybox) and load it via m1n1.
<phiologe> Unfortunately it crashes before “exec /bin/ash”...
<amw> phiologe: I would like to get modwizcode's qemu working - could you update the Wiki with some details on getting it going?
<phiologe> Another very interesting behavior is that “echo” commands with more than 16 characters freeze... Probably a FIFO issue?
irl25519 has joined #asahi-dev
<phiologe> awm: the most relevant stuff is right here in the commit message: https://github.com/modwizcode/qemu/commit/a880469637cca774aae5492203fdd69622e4e84a
<modwizcode> So that's likely to be an issue because after earlycon stuff, linux's real serial port driver uses IRQs which aren't supported yet
<modwizcode> I 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
<amw> phiologe: Thanks will work from there
<phiologe> I have some wrapper scripts that I use and I will hopefully push them to a repo sometime tomorrow.
<modwizcode> But I need to add basic AIC support first anyway
<modwizcode> I also need to modify the UART peripheral code itself since the Apple one uses slightly different stuff for IRQs than the exynos hardware.
<modwizcode> But if you have the fb up and such you can do like an ls in an init script and see the output.
<modwizcode> I had to spend awhile getting my initramfs setup, I'll probably make a little repo with the nonsense I used in there.
<phiologe> modwizcode: Is this similar to what you are experiencing? https://pasteboard.co/JMph8zA.jpg
<modwizcode> hmm
<modwizcode> I might have. I was setting up a getty so I don't think I noticed (it's login prompt is smaller)
<modwizcode> and 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)
<phiologe> Ahh, I am using “-nographic” at the moment as I switched to linux client but I did not want to deal with X11 yet.
irl25519 has quit [Quit: irl25519]
<amw> Updated the Getting started Wiki with brief note on setting up secondary MacOS boot Volume
<amw> Compiling modwizcode's qemu (add_M1_test branch) now...