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