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*
agraf_ has joined #linux-sunxi
agraf has quit [Ping timeout: 250 seconds]
agraf_ is now known as agraf
Rafael1980 has quit [Quit: Konversation terminated!]
dddddd has quit [Remote host closed the connection]
suprothunderbolt has joined #linux-sunxi
steev has quit [Ping timeout: 258 seconds]
aliosa27 has quit [Ping timeout: 240 seconds]
narmstrong has quit [Ping timeout: 240 seconds]
sunshavi has quit [Ping timeout: 268 seconds]
narmstrong has joined #linux-sunxi
Andy-D has quit [Ping timeout: 268 seconds]
aliosa27 has joined #linux-sunxi
narmstrong has quit [Ping timeout: 258 seconds]
aliosa27 has quit [Ping timeout: 246 seconds]
sunshavi has joined #linux-sunxi
narmstrong has joined #linux-sunxi
aliosa27 has joined #linux-sunxi
steev has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
victhor has quit [Ping timeout: 258 seconds]
vagrantc has quit [Quit: leaving]
<suprothunderbolt> TDM input and output now working. Though the channel mapping a bit confusing. I think I might be doing something stupid.
cnxsoft has quit [Ping timeout: 244 seconds]
lurchi_ is now known as lurchi__
marcodiego has quit [Quit: Leaving]
zoums has quit [Ping timeout: 250 seconds]
zoums has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
steev has quit [Ping timeout: 245 seconds]
steev has joined #linux-sunxi
zoums has quit [Read error: Connection reset by peer]
zoums has joined #linux-sunxi
kaspter has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
zoums has quit [Ping timeout: 250 seconds]
zoums has joined #linux-sunxi
shfil has quit [Quit: Connection closed for inactivity]
zoums has quit [Ping timeout: 245 seconds]
zoums has joined #linux-sunxi
jaho_ has quit [Read error: Connection reset by peer]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 255 seconds]
zoums has quit [Read error: Connection reset by peer]
zoums has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 246 seconds]
zoums has quit [Ping timeout: 245 seconds]
zoums has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
sunshavi has quit [Ping timeout: 250 seconds]
cnxsoft has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 246 seconds]
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
BenG83 has quit [Ping timeout: 255 seconds]
clemens3 has quit [Ping timeout: 245 seconds]
cmeerw has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
clemens3 has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
clemens3 has quit [Remote host closed the connection]
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
steev has quit []
steev has joined #linux-sunxi
msimpson has joined #linux-sunxi
narmstrong has quit []
narmstrong has joined #linux-sunxi
clemens3 has joined #linux-sunxi
yann has quit [Ping timeout: 255 seconds]
smooker has joined #linux-sunxi
<suprothunderbolt> So capture and playback is working, except my codec is 6 in 8 out, and the channel ordering is weird so i'm having trouble getting all the input channels because they are sent in an 8 wide slot, some of which isn't filled.
msimpson has quit [Read error: Connection reset by peer]
msimpson has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
<wens> is it off by 1?
<wens> codekipper had a patch that would fix it, but we weren't really happy with it
<suprothunderbolt> no
<suprothunderbolt> the problem is the codec is putting them out as
<suprothunderbolt> 1,2,3,4,5,6,7,8
<suprothunderbolt> and the A64 chip is reading them as
<suprothunderbolt> oops sorry, codec is
<suprothunderbolt> 0, 1, 2, 3, 4, 5, 6, 7
<suprothunderbolt> A64 is 0 2 4 6, 1 3 5 7
<wens> that is weird
<suprothunderbolt> page 623 of the A64 user manual.
<suprothunderbolt> nice timing diagram.
<suprothunderbolt> and on the next pages there's DSP_A and DSP_B modes
<wens> sounds like the codec does DSP_A or B?
valkyr1e has quit [Read error: Connection reset by peer]
<suprothunderbolt> here's the datasheet for the codec, page 34 has the timing diagrams. http://www.ti.com/lit/ds/symlink/pcm3168a.pdf
msimpson has joined #linux-sunxi
<suprothunderbolt> it doesn't seem to have anything called that
valkyr1e has joined #linux-sunxi
<wens> figure 53?
<suprothunderbolt> but i'm not sue if what it calls left justified TDM is actually what allwinner calls DPS B
<suprothunderbolt> 52
<suprothunderbolt> figure 52
<wens> the A and B mode seems to differ in whether there is a delay before the data
<wens> Left-justified vs I2S mode in figure 52
<suprothunderbolt> yeah, offset from the BCLK by 1
<wens> the terminology for I2S/PCM doesn't seem to be standardized :(
<suprothunderbolt> yeah, very annoying
<suprothunderbolt> should be 1 mode, the mode you want. :)
<wens> so I guess you should just check whether both sides agree on the mode
<suprothunderbolt> yeah, so I'm running left justified now
<suprothunderbolt> Figure 7-10 in the A64 manual
<suprothunderbolt> which works apart from the channel ordering issue
<suprothunderbolt> which I could remap in ALSA fine
<suprothunderbolt> except for the 4 channel being in the 7th slot, which is more than the 6 channels of input
<suprothunderbolt> otherwise TDM is working :)
<wens> AFAIK there's I2S and PCM. then there's the slots, left/right justified, delay/no delay
<wens> and the codec's TDM mode is PCM-TDM
<suprothunderbolt> yeah, I'm not sure from the timing diagram if DSP_B mode is actually what I need
sunshavi has joined #linux-sunxi
cnxsoft1 has quit [Quit: cnxsoft1]
<wens> I think it is
<wens> hmm, the pcm3168a driver actually has DSP_A and DSP_B
<suprothunderbolt> oh interesting. I just search the datasheet and didn't see it so didn't look at the code
<suprothunderbolt> I guess I'll just give that a go and see if it orders the channels normally :)
<wens> the code says: TDM is supported under I2S/Left_J only
<suprothunderbolt> ahh yeah. Just looked through the code. Both those modes have the same channel layout in the A^4
<suprothunderbolt> oops A64
<suprothunderbolt> maybe I just work out how to get it to accept 8 channels so I can get the other slots
<suprothunderbolt> I've tried reordering them with the channel mapping, but it doesn't get the higher slots
<suprothunderbolt> CFG_RX_SLOTS set to 6 channels, (5) and rxchansel set to 8 channels (7)
<suprothunderbolt> If I sset RX_SLOTS to 8 reads don't return
kaspter has quit [Ping timeout: 258 seconds]
yann has joined #linux-sunxi
megi has joined #linux-sunxi
<wens> seems like there's a serious backlog on media patches
Hopix has joined #linux-sunxi
<Hopix> hello, i try to setup my banana pi m1 as some kind of media player (twitch via browser e.g.) and lemaker seems to be the main source for images
<KotCzarny> have you ever heard of armbian?
<Hopix> but for some reason i find only images from the year 2014 and nothing newer
<Hopix> i tried armbian, but the jessie image is lacking html5 support
<KotCzarny> last time i tried, firefox was 'running' ok, albeit slowly
<Hopix> and the stretch release wont launch firefox-esr or chromium
<KotCzarny> run android then/
<KotCzarny> should have all hw accel possible
<Hopix> okay
suprothunderbolt has quit [Remote host closed the connection]
<KotCzarny> but afair a20 was nicely supported in mainline anyway
suprothunderbolt has joined #linux-sunxi
<fALSO> yo
<fALSO> good morning
<Hopix> thats why the specialized images disappeared?
<KotCzarny> what are specialized images?
<Hopix> armbian, lemedia, etc.
<aalm> likely by board vendors
<aalm> or distros
<Hopix> its not the first trend that i miss
<aalm> Hopix, you meant "per board specialized images", right?
<aalm> lol, i did just order a board from idk., maybe 2012
<aalm> mirabox
<aalm> almost added a dualcard cubieboard2 into the order too, but i managed to resist, phew..
hanni76 has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
<KotCzarny> anyway, those boards are for people that know a bit or two
<KotCzarny> anyone else should get/pay for ready solutions
<KotCzarny> your best bet is to use armbian and search/post on armbian forums
<KotCzarny> because a20 is almost completely mainlined
<Hopix> if you send users away with the comment, that they dont know enough you shoot in your own foot, because the more users the more attention from driver suppliers
<KotCzarny> im not sending away the users
<KotCzarny> it's like buying do-it-yourself kit, then wondering why it's not assembled already
<KotCzarny> you either know, or are willing to learn. there is a lot of work done to make those board work at all
victhor has joined #linux-sunxi
<Hopix> what you mean is that you can buy a car that drives from your home to the supermarket but if you drive out of town it loses warranty
<KotCzarny> vendor images are low quality, old, buggy etc
<Hopix> thats why i came to ask why everything stopped in 2014
<KotCzarny> nope.
<KotCzarny> you asked why VENDORS stopped in 2014
smooker has quit [Ping timeout: 246 seconds]
<Hopix> you could argue why i am still using irc in 2019
<aalm> they moved on to the next chip
<Hopix> or why i still use a PC at all
<aalm> because it's simply better, no point asking such Qs:p
<KotCzarny> Hopix: are you willing to learn, or just looking for ready-made solution?
* aalm hates laptops
<mru> if giving users realistic expectations sends them away, something about the situation sucks
selfbg has joined #linux-sunxi
<aalm> they've been sold something
Hopix has left #linux-sunxi [#linux-sunxi]
<KotCzarny> aalm, mru: price baby, price. although a20 was/is expensive for some funky reason
<mru> cheaper than ti or freescale
<aalm> wasn't it their first w/*2 :]
<KotCzarny> a10 was cheaper
<aalm> i mean, you got two for the price of two
suprothunderbolt has quit [Ping timeout: 250 seconds]
<aalm> (obv. jk :D)
cnxsoft has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
<ynezz> speaking of Android, is there some board with AOSP/LineageOS images?
<KotCzarny> if you dont need hw accel..
Gerwin_J has joined #linux-sunxi
<ynezz> so by "run android then/should have all hw accel possible" you've meant, buy some sunxi STB and use Android as provided by the vendor?
<KotCzarny> yup
<KotCzarny> or if you have H3 soc, h3droid
<KotCzarny> which is tad better
<ynezz> well, you're just modding some vendor image, right?
<rellla> wens: yes, seems so...
<KotCzarny> ynezz: yes, but at this point it works reasonably well
<ynezz> I'm rather looking for something with Android 8+ support, with an option to build it myself
<KotCzarny> android 8+ is only available for newer socs
<ynezz> currently using odroid-xu3 (samsung exynos, so off-topic here) and looking for some replacement
<KotCzarny> for me, kitkat does well
<KotCzarny> and i love my own easily moddable droid (installed netflix today, and it works)
smooker has joined #linux-sunxi
tnovotny has joined #linux-sunxi
hanni76 has quit [Ping timeout: 250 seconds]
<ynezz> well, I think, that for HD content you need higher Android version
msimpson has joined #linux-sunxi
<ynezz> also some other apps I'm using (czech o2tv) needs higher android version as well
victhor has quit [Ping timeout: 250 seconds]
<KotCzarny> those higher android trend is bullshit
<ynezz> it's some drm crap
<KotCzarny> same story with showmax, but it worked by sideloading older app from apk-mirror
<KotCzarny> if netflix stops working on my 4.4, i will have to make h3droid-n, based on droid7
<KotCzarny> but 4.4 is slimmer, more moddable and generally nicer to work with
hanni76 has joined #linux-sunxi
gnufan_home has quit [Ping timeout: 246 seconds]
arti_ has joined #linux-sunxi
Mikey_ has joined #linux-sunxi
<willmore> ynezz, ODROID-N2 do what you want?
arti has quit [Ping timeout: 252 seconds]
MikeyG has quit [Ping timeout: 252 seconds]
<willmore> But if you're looking for DRM, that might not be in any dev board android distro.
<willmore> Come to #odroid to discuss it more, if you want.
gnufan_home has joined #linux-sunxi
<ynezz> willmore: yeah, odroid-n2 is currently #1 on my list, because it's probably going to have Android 9 (which would be nice to have in order to play with wpa3 some more)
cnxsoft has quit [Quit: cnxsoft]
reinforce has joined #linux-sunxi
Rafael1980 has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
dddddd has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
aalm has quit [Ping timeout: 245 seconds]
aalm has joined #linux-sunxi
Guest32482 is now known as psydroid
jaho has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
shfil has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
popolon has joined #linux-sunxi
afaerber has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
Andy-D has joined #linux-sunxi
msimpson has joined #linux-sunxi
geonaumov has joined #linux-sunxi
sunshavi has quit [Read error: Connection reset by peer]
sunshavi has joined #linux-sunxi
gnufan_home1 has joined #linux-sunxi
gnufan_home has quit [Ping timeout: 245 seconds]
sunshavi has quit [Read error: Connection reset by peer]
sunshavi has joined #linux-sunxi
hanni76 has quit [Remote host closed the connection]
hanni76 has joined #linux-sunxi
tllim has joined #linux-sunxi
hanni76_ has joined #linux-sunxi
hanni76 has quit [Ping timeout: 246 seconds]
Nyuutwo has quit [Read error: No route to host]
Nyuutwo has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
robogoat has quit [Ping timeout: 246 seconds]
geonaumov has quit [Quit: Leaving]
cnxsoft has quit [Quit: cnxsoft]
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
robogoat has joined #linux-sunxi
MoeIcenowy has joined #linux-sunxi
megi has quit [Ping timeout: 245 seconds]
Gerwin_J has quit [Ping timeout: 264 seconds]
Gerwin_J has joined #linux-sunxi
aalm has quit [Quit: xyz 2.3]
lurchi_ is now known as lurchi__
tnovotny has quit [Quit: Leaving]
nuuuciano has joined #linux-sunxi
FergusL has quit [Ping timeout: 258 seconds]
msimpson has quit [Quit: Leaving]
Gerwin_J has quit [Ping timeout: 264 seconds]
Gerwin_J has joined #linux-sunxi
<DuClare> Am I stupid or what?
<DuClare> I want to try using spi-gpio to rule out a possible issue with whatever hardware the chip offers for spi
<DuClare> So I use pinctrl to define all the relevant pins' function
<DuClare> And then also specify miso, mosi, ck, and chip select pins under spi-gpio
<DuClare> But that creates a conflict
<DuClare> > sun8i-v3s-pinctrl 1c20800.pinctrl: pin PE18 already requested by spi1; cannot claim for 1c20800.pinctrl:146
<DuClare> So I can either configure a function or give them to spi-gpio but not both?
<DuClare> I don't think the generic spi-gpio driver knows anything about pinmux so it can't configure the pins for me
<DuClare> If I leave out the pinctrl altogether, spi-gpio gets the pins alright.. and of course spi doesn't work at all
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/]
lurchi__ has quit [Ping timeout: 246 seconds]
lurchi__ has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
JohnDoe_71Rus has joined #linux-sunxi
jaho has quit [Remote host closed the connection]
jaho has joined #linux-sunxi
jaho has quit [Remote host closed the connection]
jaho has joined #linux-sunxi
megi has joined #linux-sunxi
Hopix has joined #linux-sunxi
clemens3 has quit [Ping timeout: 276 seconds]
<Hopix> hello again & sorry that i walked away like a coward
<Hopix> KotCzarny: you mentioned an alternative to my BP-M1 that would be designed for multimedia stuff, may i ask which one?
yann has quit [Ping timeout: 245 seconds]
vagrantc has joined #linux-sunxi
<KotCzarny> Hopix: you still should mention your use case
<KotCzarny> for anything related to using it as desktop machine, those boards are weak
<Hopix> energy efficiency is important and the ability to display multimedia content via the web
<KotCzarny> for media players, they might do fine, even your bpi-m1
<KotCzarny> i think only android's browsers play embedded media using hw accel
BenG83 has joined #linux-sunxi
<KotCzarny> there were some patches for chrome, but dont remember what and where
<Hopix> last time i tried android it required you to register a mobile device
<KotCzarny> do you have any allwinner H3 board?
<Hopix> not yet
aalm has joined #linux-sunxi
<KotCzarny> i dont remember any need for registering of my boards
<aalm> ?
<Hopix> i will try it again
lurchi__ is now known as lurchi_
smooker has quit [Ping timeout: 245 seconds]
CSoto_ has joined #linux-sunxi
netlynx has joined #linux-sunxi
hanni76_ has quit [Remote host closed the connection]
CSoto_ has quit [Ping timeout: 246 seconds]
AneoX_ has quit [Ping timeout: 255 seconds]
afaerber has quit [Quit: Leaving]
zoums has quit [Ping timeout: 246 seconds]
Hopix has quit [Quit: leaving]
clemens3 has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
zoums has joined #linux-sunxi
AneoX has joined #linux-sunxi
zoums has quit [Ping timeout: 268 seconds]
scelestic has quit [Quit: leaving]
scelestic has joined #linux-sunxi
agraf has quit [Read error: Connection reset by peer]
agraf has joined #linux-sunxi
CSoto_ has joined #linux-sunxi
agraf_ has joined #linux-sunxi
agraf has quit [Ping timeout: 250 seconds]
agraf_ is now known as agraf
mpmc has quit [Ping timeout: 250 seconds]
agraf_ has joined #linux-sunxi
agraf has quit [Ping timeout: 250 seconds]
agraf_ is now known as agraf
mpmc has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
wwilly has quit [Remote host closed the connection]
CSoto_ has quit [Ping timeout: 245 seconds]
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/]
smooker has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 244 seconds]
smooker has quit [Ping timeout: 246 seconds]
victhor has joined #linux-sunxi
hanni76 has joined #linux-sunxi
<hanni76> hi everyone, is there a spec describing DMA assignments for allwinner socs? I mean numbers used in device trees , like this dmas = <&dma 4>, <&dma 4>;
cmeerw has quit [Ping timeout: 268 seconds]
hanni76 has quit [Quit: Leaving]
yann has joined #linux-sunxi
jernej has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
Rafael1980 has quit [Quit: Konversation terminated!]
Rafael1980 has joined #linux-sunxi
megi has quit [Ping timeout: 258 seconds]
zoums has joined #linux-sunxi
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
jstefano_ has joined #linux-sunxi
jstefanop has quit [Ping timeout: 250 seconds]
jstefano_ has quit [Ping timeout: 246 seconds]
Rafael1980 has quit [Quit: Konversation terminated!]
clemens3 has quit [Ping timeout: 246 seconds]
clemens3_ has joined #linux-sunxi