<j`ey>
I switched to picocom, needed the DTR toggle feature
<jn__>
ah, fair
<dhewg>
it also integrates well with rz/sz. reminds me of the good old 56k times, but still invaluable nowadays for recovering routers
really2 has joined #asahi-dev
really2 has quit [Excess Flood]
really2 has joined #asahi-dev
really2 has quit [Excess Flood]
<marcan>
yeah, picocom is my default
<sven>
picocom works nicely :)
<sven>
marcan: how do you want to handle the dma barries? add them to read32,etc like linux does or should i just explicitly put them into the usb code where they are required?
<sven>
*barriers
<marcan>
let's do them explicit, but make names like linux does (dma_wmb/rmb/mb)
<sven>
ok
<marcan>
most reads/writes do not need barriers, so it doesn't make a whole lot of sense to stuff them into read32 and friends
<marcan>
(that's why linux has the _relaxed versions)
tanmayd17 has quit [Ping timeout: 276 seconds]
<sven>
makes sense
jeff_miw has joined #asahi-dev
jeff_miw has quit [Quit: Connection closed]
bbolli has joined #asahi-dev
swissbolli[m] has joined #asahi-dev
jeffmiw has joined #asahi-dev
<jeffmiw>
sven: my mb air is ready to jump and play with some usb bits :), willing to help as much as I can even if I do not have the uart board
<jeffmiw>
I'm ok to do the painful and inefficient manual m1n1 install with 1tr and using fb for debugging :), I'll still learn and try to help
odmir has joined #asahi-dev
<sven>
jeffmiw: that probably won't be required. i have read/write working now
<sven>
just need to clean up the code and plug it into uartproxy.c
<sven>
and then you can test it :-)
<j`ey>
usbproxy.c :P
<jeffmiw>
ok, cool ! thx.
mxw39 has joined #asahi-dev
jeffmiw has quit [Remote host closed the connection]
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 245 seconds]
<kettenis>
hmm, the secundary CPUs spin up with the MMU enabled?
<j`ey>
that doesnt sound right?
<j`ey>
how would it know where the page tables were
KindTwo has joined #asahi-dev
KindOne has quit [Ping timeout: 245 seconds]
KindTwo is now known as KindOne
<kettenis>
hmm, maybe I'm just misinterpreting what I'm seeing
<sven>
huh, i remember spinning up the secondary cpus and it looked like there was no MMU running given how slow writing to the framebuffer was
<sven>
i didn't check the sctlr though
<j`ey>
how would it work if you hadn't set TTBR
<j`ey>
the first instruction would fault
<winocm>
you can always use git clone —depth 1 or —shallow for what it’s worth.
<sven>
if they were completely crazy they could share the TTBR between cores
<sven>
that sounds rather unlikely though
<sven>
it would break *so* many things
<j`ey>
yeah, that's very unlikely :P
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 260 seconds]
<sven>
M1N1DEVICE=/dev/tty.usbmodemm1n1_uartproxy1 python3 proxyclient/linux.py Image.gz t8103-j274.dtb initramfs.cpio.gz is almost instantaneous now :-)
jeffmiw has joined #asahi-dev
<sven>
(after i removed the code that hexdumped every received bulk xfer over the serial uart :D)
<j`ey>
sven: gg!
<sven>
marcan: so.. how do you want to handle uartproxy.c now? should i just patch it to always use usb or would you prefer to have some kind of device that gets passed so that you can switch between uart and usb at compile time?
<jeffmiw>
sven: nice !
<j`ey>
sven: cant be a runtime thing?
<sven>
j`ey: also fine with me, but how will you select it at runtime? right now there's no configuration file
<jeffmiw>
could be set by default to usb and have a command to switch at runtime
<sven>
hm, true
<sven>
also fine with me
<j`ey>
marcan has the final say :P
<sven>
yeah :-)
<sven>
i'm happy with all options
<sven>
i kinda like the "default to USB/UART and provide a command to switch at runtime" though
qncfj has joined #asahi-dev
choozy has joined #asahi-dev
taziden has quit [Ping timeout: 272 seconds]
taziden has joined #asahi-dev
mjeanson has quit [Quit: Bridge terminating on SIGTERM]
qncfj has quit [Quit: WeeChat 3.0]
mjeanson has joined #asahi-dev
jeffmiw_ has joined #asahi-dev
jeffmiw has quit [Read error: Connection reset by peer]
VinDuv has quit [Quit: Leaving.]
jeffmiw_ has quit [Remote host closed the connection]
jeffmiw has joined #asahi-dev
jeffmiw has quit [Remote host closed the connection]