rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
nuuuciano__ has quit [Ping timeout: 258 seconds]
<ndufresne> jernej, yes, they are very easy to add, specially that there is a map/unmap API in ffmpeg, see https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/blob/master/gst-libs/gst/allocators/gstdmabuf.c#L53
<ndufresne> I added that in gst after wondering for a whise why a simple clock overlay would cause corruption when using UVC to Intel DRM data transfer (DRM side allocating)
nuuuciano__ has joined #linux-sunxi
nuuuciano_ has quit [Ping timeout: 250 seconds]
<ndufresne> jernej, thanks for the links, it's quite interesting how this code calls DrmFD a DMABuf
<ndufresne> but in the context of a DRM renderer it make sense
popolon has quit [Quit: WeeChat 2.4]
agraf_ has joined #linux-sunxi
agraf has quit [Ping timeout: 250 seconds]
agraf_ is now known as agraf
suprothunderbolt has joined #linux-sunxi
Rafael1980 has quit [Quit: Konversation terminated!]
<pgreco> wens, updating xorg-x11-server to 1.20.4 fixed the crash, thanks!
<pgreco> montjoie, 5.0.10 booted normally
<pgreco> 5.1rc6 is still crashing at boot (still without your patches)
<pgreco> but I'm not seeing again what I think I saw about crypto, so forget it for now :)
jrg has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-sunxi
Wterror has joined #linux-sunxi
lurchi_ is now known as lurchi__
smooker has joined #linux-sunxi
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-sunxi
<suprothunderbolt> anyone know if the user manual for the A64 is wrong on the I2S register locations or this sun4i-i2s.c code is wrong? It's using the sun4i locations for things where as the sun8i defines are the same as the offsets in the user manual.
return0e has joined #linux-sunxi
return0e_ has quit [Ping timeout: 258 seconds]
return0e_ has joined #linux-sunxi
<anarsoul> suprothunderbolt: did you notice the name of quirks struct?
Wterror has quit [Quit: Page closed]
<suprothunderbolt> sun50i_a64_codec_i2s_quirks?
<anarsoul> yeah
return0e has quit [Ping timeout: 244 seconds]
<anarsoul> suprothunderbolt: *codec*
<suprothunderbolt> ahh
<suprothunderbolt> sdo it's actually using one of the other quirks sections?
<suprothunderbolt> h3?
NeuroScr has quit [Quit: NeuroScr]
<anarsoul> suprothunderbolt: other 3 i2s are compatible with h3
vagrantc has quit [Quit: leaving]
<suprothunderbolt> thanks. I was thinking of just removing all the support for other chips so it didn't confuse me but might not need to ;)
f0xx has joined #linux-sunxi
victhor has quit [Ping timeout: 258 seconds]
gnarface has quit [Ping timeout: 276 seconds]
kaspter has quit [Ping timeout: 245 seconds]
gnarface has joined #linux-sunxi
gnarface is now known as Guest34563
smooker is now known as smookie77
smookie77 is now known as smooker
smooker|2 has joined #linux-sunxi
Guest34563 has left #linux-sunxi [#linux-sunxi]
smooker has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
gnarface has joined #linux-sunxi
smooker has joined #linux-sunxi
smooker has quit [Client Quit]
smooker|2 has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
ganbold has quit [Ping timeout: 255 seconds]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
TheSeven has quit [Ping timeout: 268 seconds]
[7] has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
a|3x has quit [Ping timeout: 250 seconds]
smooker|2 has joined #linux-sunxi
smooker|2 has quit [Remote host closed the connection]
smooker|2 has joined #linux-sunxi
smooker|2 has quit [Remote host closed the connection]
smooker|2 has joined #linux-sunxi
smooker|2 has quit [Remote host closed the connection]
smooker|2 has joined #linux-sunxi
smooker|2 has quit [Remote host closed the connection]
smooker|2 has joined #linux-sunxi
smooker|2 has quit [Remote host closed the connection]
faisal_ has joined #linux-sunxi
ganbold has joined #linux-sunxi
faisal has quit [Ping timeout: 246 seconds]
dddddd has quit [Remote host closed the connection]
smooker has quit [Ping timeout: 255 seconds]
tuxillo has quit [Ping timeout: 276 seconds]
lurchi_ has joined #linux-sunxi
jstefanop has joined #linux-sunxi
smooker has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 246 seconds]
selfbg has joined #linux-sunxi
smooker has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
smooker has joined #linux-sunxi
smooker|2 has joined #linux-sunxi
smooker|2 has quit [Remote host closed the connection]
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
jstefanop has quit [Ping timeout: 244 seconds]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
codekipper has joined #linux-sunxi
<codekipper> suprothunderbolt: why don't you post logs, your changes and maybe scope images. Stripping things out on something that works isn't going to help.
<suprothunderbolt> oh it was just to help with me getting confused :) I disabled a bunch of the other I2C stuff in the DTS because I wasn't using it and it was making debugging harder. I think I'm close to getting things working now though
<codekipper> Ideally you want the codec attempting to play something and then get a dump of the reg settings. I've used a handful of codecs with the A64 and HDMI audio which also uses the i2s.
<suprothunderbolt> codekipper: only thing I'm confused about now is if LRCK_width should be 128 or 256
<codekipper> although TDM isn't supported yet...it should play 2 channels
<suprothunderbolt> yeah, now I'm onto getting TDM to work.
<codekipper> that may depend on the amount of channels in your case...if it's just two then I think it should be 32
<suprothunderbolt> for 8, so it needs to be either 128 or 256 I think
<suprothunderbolt> I need 256 BCLK in a LRCKL period
<suprothunderbolt> the docs say "PCM mode: Number of BCLKs within (Left + Right) channel widthI2S / Left-Justified / Right-Justified mode: Number of BCLKs within each individual channel width (Left or Right)"
<codekipper> 128 clocks per cycle....256 total
<suprothunderbolt> I'm running in left justified mode, so I assume it's then 128
<suprothunderbolt> codekipper: here's the current registers if you want to look: https://paste.debian.net/1080839/
<suprothunderbolt> here's my thought process behind all the values too: https://paste.debian.net/1080840/
<suprothunderbolt> I'm a bit confused about PCM_TXnCHSEL
<codekipper> have you changed any of the code?...can you also post your dts changes.... 0x58 0x1234567 looks suspicous
<suprothunderbolt> as I don't understand there being multiple TX when there aren't multiple data lines / serialisers. Either way I've just enabled one of them.
<suprothunderbolt> it does look funny being numbered like that
<suprothunderbolt> 0x58 is the channel mapping so I think that's correct, though i think the other way would work as well
<suprothunderbolt> i.e. 0x76543210
cmeerw has joined #linux-sunxi
<wens> it is always possible the IP block itself has multiple data lines, but the package doesn't expose them
<suprothunderbolt> wens: yeah, that's what I was assuming
<wens> and the datasheet could have copy/paste errors :/
<suprothunderbolt> i'm hoping zero is the one that's connected :)
<suprothunderbolt> oh and I've forced the MCLK enable, BCLKDIV 2 MCLKDIV 1
<suprothunderbolt> so MCLKDIV should be 512 fs and MCLK should be 256 fs
<suprothunderbolt> sorry MCLK should be 512, DIV is 1.
<suprothunderbolt> MODE_SEL I'm a bit confused about
<codekipper> 0x34 and 0x44 are the important registers here.
<codekipper> 0x58 is the Rx channel settings
<codekipper> I'll try and dig out some logs with playback working...
<suprothunderbolt> yeah, I'm just testing record at the moment
<suprothunderbolt> arecord -vvv -c8 -f dat > /dev/null
<suprothunderbolt> easy to check if that's doing anything as I've just got a signal gen going into it
cnxsoft1 has joined #linux-sunxi
<suprothunderbolt> the TXEN and RXEN bits are disabled at the moment but GEN is enabled
<suprothunderbolt> so I think I should enable those
cnxsoft has quit [Ping timeout: 250 seconds]
[7] has quit [Ping timeout: 250 seconds]
book`_ has quit [Quit: Leaving]
TheSeven has joined #linux-sunxi
<suprothunderbolt> there's also a flag for SDO0_EN but not the input pin.
book` has joined #linux-sunxi
<suprothunderbolt> oh RX/TX might not be yet enabled when that logging is printed
_whitelogger has joined #linux-sunxi
RichardG867_ has joined #linux-sunxi
arete74 has joined #linux-sunxi
<suprothunderbolt> LRCKL is coming out at 48 Khz on the scope. MCLK and BCLK look correct BCLK is 12.288 mhz
_whitelogger has joined #linux-sunxi
clemens3_ has joined #linux-sunxi
reinforce has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
RichardG867_ has quit [Ping timeout: 246 seconds]
nuuuciano__ has quit [Read error: Connection reset by peer]
_whitelogger has joined #linux-sunxi
BenG83 has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
<fALSO> bom dia
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
<smooker> cat spi-mcp251x-smooker.dtbo > /sys/kernel/config/device-tree/overlays/can0/dtbo
<smooker>
<smooker> [Tue Apr 30 08:07:04 2019] dtbocfg_overlay_item_create: Failed to apply overlay (ret_val=-22)
<smooker> [Tue Apr 30 08:07:04 2019] OF: resolver: overlay phandle fixup failed: -22
<smooker> [Tue Apr 30 08:07:04 2019] OF: resolver: no symbols in root of device tree.
megi has joined #linux-sunxi
<smooker> someone can help ?
RichardG867_ has joined #linux-sunxi
RichardG867_ has quit [Changing host]
RichardG867_ has joined #linux-sunxi
RichardG867 has quit [Read error: Connection reset by peer]
mpmc has quit [Ping timeout: 255 seconds]
tnovotny has joined #linux-sunxi
dddddd has joined #linux-sunxi
yann has joined #linux-sunxi
mpmc has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 246 seconds]
lurchi_ has joined #linux-sunxi
<codekipper> suprothunderbolt: RXEN is enabled during capture 0x0 0x60013
lurchi_ is now known as lurchi__
<codekipper> I've only ever tested capture successfully using hardware loopback...setting bit 3 in I2S/PCM_CTL
<codekipper> other people have confirmed 32bit 192KHz capture for signal analysis
<suprothunderbolt> I'm not getting anything on any of the data pins of the codec looking at it on the scope. I've got an idea about what might be going on and I'll have another look at that tomorrow.
suprothunderbolt has quit [Ping timeout: 246 seconds]
cnxsoft has joined #linux-sunxi
victhor has joined #linux-sunxi
jo0nas has left #linux-sunxi [#linux-sunxi]
msimpson has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
msimpson has joined #linux-sunxi
codekipper has quit [Quit: Page closed]
msimpson has quit [Read error: Connection reset by peer]
msimpson has joined #linux-sunxi
aalm has quit [Ping timeout: 245 seconds]
victhor has quit [Ping timeout: 258 seconds]
aalm has joined #linux-sunxi
unmanbearpig has joined #linux-sunxi
unmanbearpig has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
kaspter has joined #linux-sunxi
aballier has quit [Quit: leaving]
aballier has joined #linux-sunxi
aballier has joined #linux-sunxi
smooker has quit [Ping timeout: 258 seconds]
kaspter has quit [Ping timeout: 245 seconds]
airwind has quit [Ping timeout: 250 seconds]
msimpson has quit [Read error: Connection reset by peer]
lurchi_ is now known as lurchi__
ganbold has quit [Ping timeout: 268 seconds]
lurchi__ is now known as lurchi_
ganbold has joined #linux-sunxi
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
indy has joined #linux-sunxi
msimpson has joined #linux-sunxi
lurchi_ is now known as lurchi__
Nyuutwo has quit [Ping timeout: 250 seconds]
Rafael1980 has joined #linux-sunxi
Nyuutwo has joined #linux-sunxi
afaerber has joined #linux-sunxi
popolon has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
cnxsoft has quit [Ping timeout: 276 seconds]
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Changing host]
RichardG867 has joined #linux-sunxi
RichardG867_ has quit [Ping timeout: 246 seconds]
victhor has joined #linux-sunxi
unmanbearpig has joined #linux-sunxi
unmanbearpig has quit [Excess Flood]
unmanbearpig has joined #linux-sunxi
unmanbearpig has quit [Excess Flood]
msimpson has quit [Read error: Connection reset by peer]
msimpson has joined #linux-sunxi
jaganteki has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
JohnDoe_71Rus has joined #linux-sunxi
selfbg has quit [Quit: selfbg]
gnufan_home has quit [Ping timeout: 250 seconds]
reinforce has joined #linux-sunxi
return0e_ has quit [Ping timeout: 258 seconds]
smooker has joined #linux-sunxi
gnufan_home has joined #linux-sunxi
shfil has quit [Quit: Connection closed for inactivity]
smooker has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
nuuuciano has joined #linux-sunxi
TEKrantz has joined #linux-sunxi
<pgreco> montjoie, just confirmed that your 4 patches fix my boot problem
smooker has joined #linux-sunxi
smooker has quit [Client Quit]
smooker has joined #linux-sunxi
smooker has quit [Client Quit]
smooker has joined #linux-sunxi
smooker has quit [Client Quit]
smooker has joined #linux-sunxi
smooker has quit [Client Quit]
smooker has joined #linux-sunxi
smooker|2 has joined #linux-sunxi
smooker|2 has quit [Client Quit]
smooker has quit [Client Quit]
smooker has joined #linux-sunxi
smooker has quit [Client Quit]
smooker has joined #linux-sunxi
victhor has quit [Ping timeout: 252 seconds]
smooker has quit [Client Quit]
smooker has joined #linux-sunxi
smooker has quit [Remote host closed the connection]
smooker has joined #linux-sunxi
yann has quit [Ping timeout: 268 seconds]
AneoX_ has joined #linux-sunxi
smooker has quit [Client Quit]
smooker has joined #linux-sunxi
AneoX has quit [Ping timeout: 245 seconds]
smooker has quit [Client Quit]
smooker has joined #linux-sunxi
jstefanop has joined #linux-sunxi
msimpson has quit [Quit: Leaving]
clemens3_ has quit [Ping timeout: 244 seconds]
marble_visions has quit [Quit: bye]
marble_visions has joined #linux-sunxi
a|3x has quit [Ping timeout: 246 seconds]
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
vagrantc has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<montjoie> pgreco: thanks
<pgreco> montjoie, are you sending those to 5.1 too?
<montjoie> patchs are in cryptodev, I cannot do anything beyond that, stable will do the rest
<montjoie> I have added fixes tag so it should
Gerwin_J has quit [Read error: Connection reset by peer]
<pgreco> montjoie, thanks
BenG83 has joined #linux-sunxi
lurchi__ is now known as lurchi_
yann has joined #linux-sunxi
lurchi_ is now known as lurchi__
afaerber has quit [Quit: Leaving]
chomwitt has quit [Quit: WeeChat 1.6]
jstefanop has quit [Ping timeout: 245 seconds]
jstefanop has joined #linux-sunxi
chomwitt has joined #linux-sunxi
Putti has joined #linux-sunxi
willmore has quit [Ping timeout: 250 seconds]
willmore has joined #linux-sunxi
CSoto_ has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
Putti has quit [Ping timeout: 244 seconds]
a|3x has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 5.0.0, revision: 5.0.0+git-7416-9b35d44fd, build type: debug, sources date: 20160102, built on: 2019-01-23 17:02:15 UTC 5.0.0+git-7416-9b35d44fd http://www.kvirc.net/]
CSoto_ has quit [Ping timeout: 250 seconds]
BenG83 has joined #linux-sunxi
faisal_ has quit [Ping timeout: 258 seconds]
BenG83 has quit [Remote host closed the connection]
\\Mr_C\\ has joined #linux-sunxi
faisal_ has joined #linux-sunxi
BenG83 has joined #linux-sunxi
kaspter has joined #linux-sunxi
kaspter has quit [Ping timeout: 250 seconds]
Mangy_Dog has quit [Ping timeout: 250 seconds]
jbrown has quit [Ping timeout: 240 seconds]
smooker has quit [Ping timeout: 246 seconds]
jaganteki has quit [Ping timeout: 256 seconds]
jbrown has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
victhor has joined #linux-sunxi
willmore has quit [Read error: Connection reset by peer]
shfil has joined #linux-sunxi
willmore has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
lkcl has quit [Read error: Connection reset by peer]
lkcl has joined #linux-sunxi
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
jstefanop has quit [Read error: Connection reset by peer]
jstefanop has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 246 seconds]
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
jstefano_ has joined #linux-sunxi
jstefanop has quit [Ping timeout: 246 seconds]
cmeerw has quit [Ping timeout: 276 seconds]
jstefano_ has quit [Ping timeout: 246 seconds]
arete74 has quit [Ping timeout: 245 seconds]
arete74 has joined #linux-sunxi
return0e has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 245 seconds]
lurchi__ has joined #linux-sunxi
BenG83 has joined #linux-sunxi
lurchi__ is now known as lurchi_
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 258 seconds]
smooker has joined #linux-sunxi
return0e_ has joined #linux-sunxi
return0e has quit [Ping timeout: 246 seconds]