#
✕ nick:marcan
#asahi-dev · 2021-12-14 13:07
marcanheh
#asahi-dev · 2021-12-14 13:07
marcani2c breaks?
#asahi-dev · 2021-12-14 13:07
marcanthen something breaks it
#asahi-dev · 2021-12-14 13:07
marcanso it works at *some* point
#asahi-dev · 2021-12-14 13:07
marcanah but wait, if I flip the reset GPIO it fails to read the device ID
#asahi-dev · 2021-12-14 13:04
marcanor there is some other magic gpio
#asahi-dev · 2021-12-14 13:04
marcanwonder if we have to set a different pinconfig for this one
#asahi-dev · 2021-12-14 13:03
marcani2cdetect finds nothing
#asahi-dev · 2021-12-14 13:02
marcanthis *is* 4b right?
#asahi-dev · 2021-12-14 13:02
marcan reg = [0x000009C40000004B, 0x0000000000000000]
#asahi-dev · 2021-12-14 13:01
marcanI think it's dead
#asahi-dev · 2021-12-14 13:01
marcani2cdump doesn't show anything for that address
#asahi-dev · 2021-12-14 12:59
marcanADC/DAC/mixer/etc
#asahi-dev · 2021-12-14 12:59
marcanj`ey: the analog bits
#asahi-dev · 2021-12-14 12:57
marcanit's maxed out and refuses to budge; pretty sure something is very broken with the codec
#asahi-dev · 2021-12-14 12:56
marcando what with it?
#asahi-dev · 2021-12-14 12:56
marcando I need to poke alsamixer?
#asahi-dev · 2021-12-14 12:56
marcanpovik: audio streaming ostensibly works now, but I don't hear anything out the jack
#asahi-dev · 2021-12-14 12:55
marcanok, no more DART fails
#asahi-dev · 2021-12-14 12:55
marcanheh
#asahi-dev · 2021-12-14 12:54
marcanyeah
#asahi-dev · 2021-12-14 12:53
marcanthat?
#asahi-dev · 2021-12-14 12:53
marcan remap = 256
#asahi-dev · 2021-12-14 12:50
marcanhttps://mrcn.st/p/Qm692hrs
#asahi-dev · 2021-12-14 12:49
marcansven: is this another one of those let's use one DART for some stuff and another DART for other stuff things like USB?
#asahi-dev · 2021-12-14 12:49
marcan instance = TRADDARTBULKTRADDARTLLT
#asahi-dev · 2021-12-14 12:47
marcanm1 only had *one*
#asahi-dev · 2021-12-14 12:47
marcanoh wait, m1pro has *two*
#asahi-dev · 2021-12-14 12:47
marcanI keep forgetting the DART address is reg index 1
#asahi-dev · 2021-12-14 12:47
marcanI'm dumb
#asahi-dev · 2021-12-14 12:44
marcanthese are the last things that happened before it started looping on DART regs
#asahi-dev · 2021-12-14 12:44
marcan[DARTTracer@/arm-io/dart-sio] MMIO: R.4 ERROR = 0x1000000 (FLAG=0, STREAM=0x1, CODE=0x0, NO_DAPF_MATCH=0, WRITE=0, SUBPAGE_PROT=0, PTE_READ_FAULT=0, READ_FAULT=0, WRITE_FAULT=0, NO_PTE=0, NO_PMD=0, NO_TTBR=0)
#asahi-dev · 2021-12-14 12:44
marcan[cpu6][0xffffc000083d765c] MMIO: W.4 0x39b410010 (admac-sio[0], offset 0x10010) = 0x10000
#asahi-dev · 2021-12-14 12:44
marcan[cpu6][0xffffc000083d7658] MMIO: W.4 0x39b410010 (admac-sio[0], offset 0x10010) = 0x0
#asahi-dev · 2021-12-14 12:44
marcan[cpu6][0xffffc000083d7650] MMIO: W.4 0x39b410010 (admac-sio[0], offset 0x10010) = 0xfffa0000
#asahi-dev · 2021-12-14 12:44
marcan[cpu6][0xffffc000083d82c0] MMIO: R.4 0x39b409070 (admac-sio[0], offset 0x9070) = 0x12
#asahi-dev · 2021-12-14 12:39
marcansec
#asahi-dev · 2021-12-14 12:39
marcanah, not dma-channels, derp
#asahi-dev · 2021-12-14 12:39
marcanI did
#asahi-dev · 2021-12-14 12:35
marcan0x39b004000+000054 ERROR_ADDR_HI = 0x0 ()
#asahi-dev · 2021-12-14 12:35
marcan0x39b004000+000050 ERROR_ADDR_LO = 0x6ee306d3 ()
#asahi-dev · 2021-12-14 12:35
marcan0x39b004000+000040 ERROR = 0x9000000 (FLAG=0, STREAM=0x9, CODE=0x0, NO_DAPF_MATCH=0, WRITE=0, SUBPAGE_PROT=0, PTE_READ_FAULT=0, READ_FAULT=0, WRITE_FAULT=0, NO_PTE=0, NO_PMD=0, NO_TTBR=0)
#asahi-dev · 2021-12-14 12:35
marcandefinitely firing
#asahi-dev · 2021-12-14 12:35
marcan0x1
#asahi-dev · 2021-12-14 12:35
marcan>>> (read32(aic + 0x6800 + (1130 // 32) * 4) >> (1130 % 32)) & 1
#asahi-dev · 2021-12-14 12:34
marcanhmpf
#asahi-dev · 2021-12-14 12:34
marcanthis is indeed forever reading the DART error registers which show no error
#asahi-dev · 2021-12-14 12:30
marcanalsamixer reverts any changes I make though
#asahi-dev · 2021-12-14 12:30
marcanI'm pretty sure the codec is broken too
#asahi-dev · 2021-12-14 12:30
marcan[ 542.714722] cs42l42 1-004b: PLL failed to lock: -110

plus ›