00:01
wiloon has joined #asahi-dev
00:42
dstzd has joined #asahi-dev
00:42
dstzd has quit [Client Quit]
01:00
dstzd has joined #asahi-dev
01:01
dstzd has quit [Client Quit]
01:01
Necrosporus is now known as Guest92356
01:01
Guest92356 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
01:01
Necrosporus has joined #asahi-dev
01:02
dstzd has joined #asahi-dev
01:03
dstzd has quit [Client Quit]
01:07
dstzd has joined #asahi-dev
01:08
dstzd has quit [Client Quit]
01:10
Necrosporus is now known as Guest47765
01:10
Guest47765 has quit [Killed (tepper.freenode.net (Nickname regained by services))]
01:10
Necrosporus has joined #asahi-dev
01:10
aratuk has joined #asahi-dev
01:17
dstzd has joined #asahi-dev
01:20
dstzd has quit [Client Quit]
01:20
dstzd has joined #asahi-dev
01:22
dstzd has quit [Client Quit]
01:39
modwizcode has quit [Quit: Later]
01:41
dstzd has joined #asahi-dev
01:57
ah-[m] has joined #asahi-dev
02:10
wiloon has quit [Quit: Connection closed for inactivity]
03:24
Necrosporus_ has joined #asahi-dev
03:24
Necrosporus is now known as Guest75664
03:24
Guest75664 has quit [Killed (weber.freenode.net (Nickname regained by services))]
03:24
Necrosporus_ is now known as Necrosporus
03:37
wiloon has joined #asahi-dev
04:19
Necrosporus has quit [Ping timeout: 265 seconds]
04:54
DarthCloud has quit [Ping timeout: 240 seconds]
04:55
DarthCloud has joined #asahi-dev
05:08
Necrosporus has joined #asahi-dev
05:18
DarthCloud has quit [Ping timeout: 240 seconds]
05:20
DarthCloud has joined #asahi-dev
05:33
plainbits has joined #asahi-dev
05:46
aratuk_ has joined #asahi-dev
05:50
aratuk has quit [Ping timeout: 264 seconds]
06:15
Necrosporus has quit [Read error: Connection reset by peer]
06:15
Necrosporus has joined #asahi-dev
06:40
aratuk_ has quit [Read error: Connection reset by peer]
06:40
aratuk has joined #asahi-dev
06:54
blward has joined #asahi-dev
06:56
wiloon has quit [Quit: Connection closed for inactivity]
07:21
riker77 has quit [Quit: Quitting IRC - gone for good...]
07:22
riker77_ has joined #asahi-dev
07:22
riker77_ is now known as riker77
07:47
robinp_ has joined #asahi-dev
07:50
robinp has quit [Ping timeout: 264 seconds]
07:57
plainbits has quit [Ping timeout: 272 seconds]
07:57
blward has quit [Ping timeout: 248 seconds]
08:00
plainbits has joined #asahi-dev
08:04
<
zarvox >
marcan: you're live!
08:07
<
zarvox >
tbodt: oh hey fancy running into you here :)
08:10
<
tbodt >
hiya zarvox
08:13
frode_0xa has joined #asahi-dev
08:14
bkero has joined #asahi-dev
08:46
Axenntio has joined #asahi-dev
08:50
aratuk has joined #asahi-dev
08:51
taziden has joined #asahi-dev
08:53
Axenntio_ has joined #asahi-dev
08:57
<
Shiz >
this is code to disable the iphone watchdog
08:57
<
Shiz >
it looks like it may be the same hw
09:00
plainbits has quit [Ping timeout: 272 seconds]
09:02
plainbits has joined #asahi-dev
09:04
ar has joined #asahi-dev
09:04
<
j`ey >
marcan: you mean chainload m1n1 itself right?
09:04
<
j`ey >
to avoid reboots
09:04
Axenntio_ has quit []
09:06
<
dhewg >
marcan: l12
09:06
<
dhewg >
that audio feedback delay is a little weird hehe
09:07
Axenntio has quit [Quit: Leaving]
09:07
Axenntio has joined #asahi-dev
09:14
<
rwhitby >
you didn't change some of the 32 to 64 in the assembly
09:15
<
rwhitby >
marcan: ^^
09:16
<
dhewg >
when pinging you here :)
09:16
<
Gaelan >
marcan: pinging you to test delay
09:16
<
dhewg >
i get +10s, but maybe that because i play back with mpv
09:18
<
JTL >
also, anyone know a good way to zoom the video stream? VLC zoom is a bit janky
09:18
<
JTL >
(text a bit hard to read)
09:19
<
dhewg >
with mpv text looks good and readable
09:19
<
j`ey >
zoom using an external "magnifier" tool?
09:24
<
tbodt >
I think m1 can handle unaligned accesses
09:25
<
ar >
marcan: it also goes through when you're typing
09:26
<
bkero >
sounds better
09:26
<
bkero >
There's less noise now when you're over the gate
09:28
<
dhewg >
marcan: the id/order of the python P_MEMSET[64|32] is wrong
09:30
<
dhewg >
code review on yt live stream, there's a first time for everything
09:36
<
ar >
same as "mach speed"
09:37
<
ar >
at least that's how i do it
09:50
wiloon has joined #asahi-dev
10:11
<
tbodt >
marcan: is uart_getchar supposed to do something
10:23
vimal has joined #asahi-dev
10:27
<
hthh_ >
(i put a note about watchdog base address in -re)
10:44
bjornjulander[m] has joined #asahi-dev
10:54
milek7 has joined #asahi-dev
11:28
CalumK has joined #asahi-dev
11:48
numa[m] has joined #asahi-dev
11:57
dancer[m] has joined #asahi-dev
11:58
wiloon has quit [Quit: Connection closed for inactivity]
12:08
Graypup_ has joined #asahi-dev
12:32
Axenntio has quit [Ping timeout: 246 seconds]
12:39
nutmanja[m] has joined #asahi-dev
13:02
<
jn__ >
(re: work stream) are these framing errors the reason why 55AA patterns are so common?
13:04
* opticron
starts watching the stream at 1.75x
13:04
<
jn__ >
speedrunning it, i see ;)
13:04
<
opticron >
gotta catch up!
13:06
<
opticron >
heh, he ran into the %w specifier, too
13:07
<
opticron >
I had to look at the source to figure it out
13:12
<
Shiz >
marcan: (anyway linux devicetrees are very different, way more complex)
13:12
<
Shiz >
mac devicetrees are just k/v trees
13:17
<
jn__ >
more complex on which level?
13:18
<
jn__ >
i've seen phandles in the M1 devicetree, too
13:19
<
jn__ >
(oh, if you mean the linux dtb encoding is more complex, yeah true)
13:20
Axenntio has joined #asahi-dev
13:21
<
Shiz >
yeah, just that
13:27
enverb[m] has joined #asahi-dev
13:29
Axe has joined #asahi-dev
13:29
Axenntio has quit [Quit: Leaving]
13:29
Axe has quit [Remote host closed the connection]
13:29
Axenntio has joined #asahi-dev
13:30
<
Shiz >
(good at this)
13:42
fridtjof[m] has joined #asahi-dev
14:03
assusdan[m] has joined #asahi-dev
14:31
plainbits has quit [Ping timeout: 272 seconds]
14:32
plainbits has joined #asahi-dev
14:33
<
Shiz >
marcan: (icymi) as for the high bit, it only seems to be set for .syscfg/* string values
14:33
<
Shiz >
but you def wanna mask it off or the length is very wrong
14:44
dstzd has joined #asahi-dev
14:45
<
krbtgt >
i havent seen yet but 55AA is used for clocking too
14:45
<
krbtgt >
i.e mfm floppies
14:45
dstzd has quit [Client Quit]
14:49
dstzd has joined #asahi-dev
14:50
dstzd has quit [Client Quit]
14:51
dstzd has joined #asahi-dev
14:53
dstzd has quit [Client Quit]
14:56
dstzd has joined #asahi-dev
14:56
dstzd has quit [Client Quit]
14:58
dstzd has joined #asahi-dev
14:59
dstzd has quit [Client Quit]
15:14
<
Shiz >
for posterity here too
15:15
<
j`ey >
useful: boot-chime-on-last-boot
15:19
furkan has joined #asahi-dev
15:19
<
jn__ >
model-config looks ascii-ish: "Pulse;MoPED=0x5DD65717BB37746C9CDB7C47A877CFCC92B6E223"
15:20
<
jn__ >
oh cool, /firmware-version = "iBoot-6723.80.17", seems handy
15:21
<
Shiz >
marcan: should be *(u32*)p btw
15:26
aratuk has quit [Remote host closed the connection]
15:36
frode_0xa has quit [Remote host closed the connection]
15:37
frode_0xa has joined #asahi-dev
15:38
<
frode_0xa >
destroyit
15:38
<
frode_0xa >
oh that was not intended
15:38
frode_0xa has quit [Client Quit]
15:42
modwizcode has joined #asahi-dev
15:43
dstzd has joined #asahi-dev
15:48
dstzd has quit [Client Quit]
15:48
dstzd has joined #asahi-dev
15:49
dstzd has quit [Client Quit]
15:50
dstzd has joined #asahi-dev
15:53
dstzd has quit [Client Quit]
15:54
dstzd has joined #asahi-dev
15:58
dstzd has quit [Client Quit]
16:01
<
Shiz >
marcan: the ranges from the parent device
16:06
<
Shiz >
looks like it's wdt.regs[0] | arm-io.ranges[1]
16:06
<
Shiz >
the q is how that indexes
16:10
<
modwizcode >
That sounds about right I think
16:10
<
modwizcode >
Is the device tree dump available in text form somewhere?
16:13
<
marcan >
Shiz: agraf already answered that
16:13
<
marcan >
ranges is a concat function
16:13
<
marcan >
translation function
16:13
<
marcan >
anyway, I'll implement this if someone else hasn't already for libfdt
16:13
<
marcan >
dinner & sleep now
16:13
<
agraf >
marcan: yeah, there's also a bit of delay on the stream :)
16:13
<
marcan >
agraf: thanks :)
16:14
<
agraf >
marcan: so I just heard you ask :D
16:14
<
marcan >
wait not now right?
16:14
<
marcan >
the stream is over :p
16:14
<
agraf >
marcan: in this case you're lucky because you convert from (base=u64, size=u64) to (base=u64, size=u64)
16:14
<
marcan >
you're way behind if you heard it now :p
16:14
<
agraf >
I might be behind? :)
16:15
<
agraf >
marcan: either way, you can tell what to convert from what by looking at #address-cells and #size-cells
16:15
<
agraf >
2 means u64
16:15
<
marcan >
yeah, I remember that bit
16:16
<
modwizcode >
That device tree is pretty amazing. It's got a lot more detail than I actually expected
16:17
<
agraf >
marcan: ranges basically has an array of <(u64)child> <(u64)parent> <(u64>size) elements
16:17
<
agraf >
marcan: IIRC :)
16:17
<
agraf >
marcan: so to convert the regs you have in wdt, you need to take the value and check if it fits in any of the /arm-io ranges
16:17
<
agraf >
marcan: and convert accordingly
16:20
<
agraf >
marcan: in your case, you're hitting the first line
16:21
<
marcan >
I'll write or steal some better scaffolding to deal with reg later anyway
16:21
<
agraf >
yeah, the fun bit about ranges is that it works recursively
16:21
<
agraf >
but it allows you to do super crazy things
16:21
m42uko has quit [Remote host closed the connection]
16:22
<
agraf >
you can for example define a ranges property that says "PIO on this PCI device behind a bridge goes to MMIO from the point of view of the PCI bridge's parents"
16:22
m42uko has joined #asahi-dev
16:22
<
marcan >
sounds useful on ARM :D
16:24
plainbits has quit [Quit: Go to sleep. Night!]
16:29
<
modwizcode >
I think that's just PIO being cursed lol
16:30
<
agraf >
you can do the same for an mmio64+prefetch -> mmio range :)
16:30
<
agraf >
in pci regs, the access type is just a cell
16:38
CalumK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:40
dstzd has joined #asahi-dev
16:42
dstzd has quit [Client Quit]
17:19
dstzd has joined #asahi-dev
17:27
aratuk has joined #asahi-dev
17:31
aratuk has quit [Ping timeout: 240 seconds]
19:28
aratuk has joined #asahi-dev
19:33
aratuk has quit [Ping timeout: 265 seconds]
20:32
HeN has joined #asahi-dev
20:53
Axenntio has quit [Remote host closed the connection]
21:10
zopieux has quit [Ping timeout: 260 seconds]
21:28
CalumK has joined #asahi-dev
21:29
aratuk has joined #asahi-dev
21:30
sumoon[m] has quit [Ping timeout: 260 seconds]
21:30
sumoon[m] has joined #asahi-dev
21:30
enverb[m] has quit [Ping timeout: 260 seconds]
21:30
samumartinf[m] has quit [Ping timeout: 260 seconds]
21:30
Florian[m] has quit [Ping timeout: 260 seconds]
21:30
botoxparty[m] has quit [Ping timeout: 260 seconds]
21:30
os[m] has quit [Ping timeout: 260 seconds]
21:30
titanous has quit [Ping timeout: 260 seconds]
21:30
Florian[m] has joined #asahi-dev
21:30
samumartinf[m] has joined #asahi-dev
21:31
os[m] has joined #asahi-dev
21:32
botoxparty[m] has joined #asahi-dev
21:32
enverb[m] has joined #asahi-dev
21:32
titanous has joined #asahi-dev
21:33
aratuk has quit [Ping timeout: 256 seconds]
21:36
zopieux has joined #asahi-dev
22:05
CalumK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:15
zopieux has quit [Ping timeout: 240 seconds]
22:21
superk has quit [Ping timeout: 256 seconds]
22:24
zopieux has joined #asahi-dev
22:58
aratuk has joined #asahi-dev
23:40
HeN has quit [Quit: Connection closed for inactivity]