narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
buzzmarshall has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 260 seconds]
cdu13a has quit [*.net *.split]
AUser has quit [*.net *.split]
cdu13a has joined #linux-amlogic
AUser has joined #linux-amlogic
tuxd3v has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
kaspter has joined #linux-amlogic
camus has joined #linux-amlogic
kaspter has quit [Ping timeout: 272 seconds]
camus is now known as kaspter
Darkmatter66 has joined #linux-amlogic
buzzmarshall has quit [Remote host closed the connection]
Barada has joined #linux-amlogic
Barada has quit [Client Quit]
tuxd3v has quit [Ping timeout: 265 seconds]
asdf28 has joined #linux-amlogic
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
camus has joined #linux-amlogic
kaspter has quit [Read error: Connection reset by peer]
camus is now known as kaspter
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
hipboi has left #linux-amlogic [#linux-amlogic]
hipboi has joined #linux-amlogic
chewitt has quit [Quit: Adios!]
camus has joined #linux-amlogic
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
ldevulder has joined #linux-amlogic
ldevulder has quit [Ping timeout: 256 seconds]
ldevulder has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
chewitt has joined #linux-amlogic
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-amlogic
tuxd3v has joined #linux-amlogic
Barada has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 264 seconds]
camus has joined #linux-amlogic
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
tuxd3v has quit [Ping timeout: 256 seconds]
kaspter has quit [Quit: kaspter]
<xdarklight> jbrunet: two audio related questions: 1. I have noticed that /proc/interrupts does not show any name for the AIU FIFO interrupts. same behavior on my Odroid-C1 and Le Potato board. hardcoding a name doesn't seem to fix it either: https://pastebin.com/2k6HbcCQ
<xdarklight> jbrunet: question 2: (this one is out of curiosity) have you managed to use non-I2S (on the 32-bit SoCs it seems to be SPDIF) input for the HDMI route?
<jbrunet> this is because the irq is requested when stream starts and is release on stop. When playing, you should see the irq name. After the playback stops, the name disappears from `/proc/interrupts` but the irq number stays
<jbrunet> Q2: have not tried it. I don't think it is supported by the dw-hdmi driver yet
<xdarklight> jbrunet: ah, I only looked at /proc/interrupts after playing something. that explains it - thanks!
<jbrunet> If you wish to play with HDMI/SPDIF - I would suggest to get it to work on sm1/g12 first ... The new audio arch is much easier to debug IMHO
<jbrunet> from `sound/soc/meson` perspective, everything should be there I think
Barada has quit [Quit: Barada]
<xdarklight> jbrunet: ah, I thought that dw-hdmi supports the second input since we list it in alsamixer. but I think I understand now: from AIU control perspective we can change the routing to HDMITX but it still depends on the other side to support the different input formats
<xdarklight> thanks :)
<jbrunet> I have not studied it much but I think the spdif is an independent input the dw-hdmi (among the different possible types). AIU (and AXG) should be ready to route the audio correctly, hdmi-codec should be ready too. What is missing is the dw-hdmi-spdif.c driver, like there is a dw-hdmi-i2s.c
<xdarklight> I was wondering about the different inputs that I can validate with existing code on GX (and newer) on the 32-bit SoCs
<xdarklight> it's not that I need the SPDIF input, but if I have no "reference" to test against I'll skip investigating closer for now
sputnik_ has quit [Ping timeout: 260 seconds]
<xdarklight> jbrunet: also what do you use for testing multi-channel audio? and is this expected to work with AIU yet/what's missing?
kaspter has joined #linux-amlogic
<jbrunet> For SPDIF I used an HIFI audio system with an optical SPDIF input - or a simple SPDIF DAC -> jack - it requires a board with the proper interface, like the p230. I also used a logic analyser to check the frame content.
<jbrunet> For multi-channel, I often used an HDMI analyser showing the info frames and channels vu-meter, I also used a simple splitter HDMI => 4xjack outputs
<jbrunet> It is supposed to work but more testing would be welcome. As I explained when the AIU was merged, it is not clear how the switch between 2ch and 8ch mode should be done on the AIU. Some reset must be applied. The sequence I found works, mostly :( However sometimes the switch (one way or the other) appear to fail the output gets very noisy.
<jbrunet> This is all linked to these mysterious resets. As reported earlier, if the issue becomes annoying (too many complains) I'll probably submit something to restrict to 2ch until more progress can be made.
drieschel has joined #linux-amlogic
<jbrunet> indeed
vagrantc has joined #linux-amlogic
<xdarklight> some of these optical to headphone converters I already have (they were cheap enough to not think about buying twice ;)). this is how I did the first experiments with audio on the 32-bit SoCs
<xdarklight> then I bought some raspberry pi I2S board and used that to test I2S on my Odroid-C1+
<xdarklight> unfortunately these HDMI audio extractors are more expensive than I thought, approx 75 Euros here
drieschel has quit [Quit: drieschel]
cmeerw has joined #linux-amlogic
<jbrunet> :/ this was useful to dev on HDMI side TBH. If you are after testing the AIU, maybe you can output the different i2s lines on a GPIO connector (I did that too) ... the HDMI controller is given the same signals
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-amlogic
<xdarklight> jbrunet: 2.0 audio is getting through via HDMI using I2S already (on my Odroid-C1+) :). even the "problematic" sample rates (44.1kHz and multiples of that). SPDIF is not working, but I am not sure if that's a problem with my "receiving equipment" or the TX driver side
drieschel has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
<jbrunet> If you've got a scope, SPDIF is "fairly" simple to observe
ddevault_ has joined #linux-amlogic
ddevault has quit [Ping timeout: 264 seconds]
ddevault_ is now known as ddevault
yann has quit [Ping timeout: 246 seconds]
yann has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 240 seconds]
kaspter has quit [Quit: kaspter]
<xdarklight> jbrunet: I have one of these sigrok fx2law "cheap scopes": https://sigrok.org/wiki/Fx2lafw - I think it should be fast enough for SPDIF
drieschel has quit [Quit: drieschel]
tuxd3v has joined #linux-amlogic
<Tonymac32> xdarklight I would think so. can it do 10 MHz or so?
<xdarklight> Tonymac32: yes, it can do up to 24MHz. spdif works fine (I just tested it :))
<Tonymac32> nice. I couldn't remember if that was the same as my cheap sigrock-compatible 8-channel thingy or not
<Tonymac32> I also picked up a Siglent 200 MHz 2-channel about a year ago in case I need to look at something a bit more challenging
<Tonymac32> The "real" stuff is massively outside my budget XD
<xdarklight> at one point I wanted to measure a 125MHz RGMII TX clock signal. I fixed it by spending like 3USD on a STM32 blue pill board and then improving and flashing this: https://github.com/dword1511/stm32-freqmeter
<xdarklight> fx2law and that combined got me pretty far :)
<Tonymac32> ah nice. I have a could Cypress PSoC 5's around that I can use for all kinds of interfaces
<Tonymac32> couple*
<Tonymac32> but the IDE is only Windows. :/
<xdarklight> jbrunet: interesting. SPDIF using the I2S FIFO works (it generates a signal on the pin which "looks valid"), but the SPDIF FIFO doesn't. the SPDIF FIFO doesn't even generate an interrupt
<xdarklight> false alarm, I was looking wrong
sputnik_ has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 240 seconds]
sputnik_ has quit [Ping timeout: 256 seconds]
cmeerw has quit [Ping timeout: 260 seconds]
Ashleee has quit [Quit: Leaving... bbl]
asdf28 has quit [Remote host closed the connection]
asdf28 has joined #linux-amlogic
asdf28 has quit [Ping timeout: 240 seconds]
buzzmarshall has joined #linux-amlogic
narmstrong has quit [Ping timeout: 264 seconds]
khilman has quit [Ping timeout: 264 seconds]
steev has quit [Ping timeout: 272 seconds]