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*
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
suprothunderbolt has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
default__ has joined #linux-sunxi
book` has quit [Quit: Leaving]
lurchi_ is now known as lurchi__
ldevulder_ has quit [Ping timeout: 272 seconds]
book` has joined #linux-sunxi
aalm has quit [Quit: xyz 2.3]
cnxsoft has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
TheSeven has quit [Ping timeout: 248 seconds]
TheSeven has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
megi has quit [Ping timeout: 248 seconds]
sunshavi has quit [Remote host closed the connection]
lkcl has quit [Ping timeout: 248 seconds]
lkcl has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 244 seconds]
aalm has joined #linux-sunxi
Putti has joined #linux-sunxi
selfbg has joined #linux-sunxi
Putti has quit [Quit: Leaving]
arnidg- has joined #linux-sunxi
arnidg has quit [Quit: ZNC - https://znc.in]
f0xx has joined #linux-sunxi
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-sunxi
MoeIcenowy has quit [Client Quit]
MoeIcenowy has joined #linux-sunxi
AneoX has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
AneoX has quit [Ping timeout: 245 seconds]
TheSeven has joined #linux-sunxi
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
ldevulder_ has joined #linux-sunxi
default__ has quit [Ping timeout: 245 seconds]
tl_lim has quit [Read error: Connection reset by peer]
xcko has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
diego_ has joined #linux-sunxi
diego_ has quit [Client Quit]
yann has quit [Ping timeout: 248 seconds]
diego_ has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 244 seconds]
tnovotny has joined #linux-sunxi
ldevulder_ is now known as ldevulder
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 245 seconds]
cnxsoft has joined #linux-sunxi
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
suprothunderbolt has quit [Remote host closed the connection]
yann has joined #linux-sunxi
f0xx has quit [Ping timeout: 268 seconds]
reinforce has joined #linux-sunxi
dddddd has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 245 seconds]
Mangy_Dog has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
ldevulder_ is now known as ldevulder
megi has joined #linux-sunxi
ynezz has quit [Ping timeout: 248 seconds]
xcko has quit [Remote host closed the connection]
xcko has joined #linux-sunxi
ynezz has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
xcko has quit [Ping timeout: 256 seconds]
xcko has joined #linux-sunxi
<libv> sun4/7i csi is pretty awful, it happily accepts null as target buffers, and there is no low bit to enable/disable buffers, so it will happily overwrite 0x00000000, one really needs dummy coherent space to protect the engine against itself
megi has quit [Ping timeout: 245 seconds]
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-sunxi
fl_0 has quit [Quit: STRG + Q]
gaston_ has joined #linux-sunxi
opennandra has joined #linux-sunxi
<opennandra> hi I'm using 4.19 mainline for nanopi-neo-air and trying to add bluetooth support but I'm missing 32Khz clock for WIFI/BT combo chip
<opennandra> any ideas what to check to have mainline support for that? thanks
afaerber has quit [Quit: Leaving]
fl_0 has joined #linux-sunxi
megi has joined #linux-sunxi
afaerber has joined #linux-sunxi
SopaXorzTaker has joined #linux-sunxi
<dgp> opennandra: I don't know about that board specifically but from what I remember you don't need the 32khz oscillator for those modules and if you have it's only for low power modes
<opennandra> dgp: nope it's necessary for bluetooth otherwise won't work
<opennandra> and firmware cannot be loaded
<dgp> mm I seem to remember BT working on a board I made with no 32khz clock. Anyhow it probably comes from the 32khz output most AllWinner SoCs have if it's wired up at all.
<opennandra> dgp: yes I've checked schematics and wire is there just in mainline support is missing for 32khz
<opennandra> so not sure if I can get soem inspiration from other source
<opennandra> dgp: and chip is: AP6212
<opennandra> combo wifi/bt/fm
<dgp> How are you checking that the 32k out isn't present?
<opennandra> dgp: measured with scope and also check dts and IMO there is missing support for that
<dgp> if you mount debugfs and look in the clk_summary is anything listed there? If it does need something in the device tree it's probably just a clocks = xxx lines somewhere to tell the kernel to enable that clock output
<karlp> opennandra: https://www.mail-archive.com/linux-sunxi@googlegroups.com/msg28286.html porbably has what you're looking for in patch 8
<karlp> I've got to do this too for he nanopi duo2, just havne't gotten back to it yet.
<opennandra> karlp: is this merged to mainline? I'm trying to work on nanopi-neo-air
<karlp> https://groups.google.com/d/msg/linux-sunxi/eCkK2SeyPMI/O4GOpjZRAwAJ is probably what you're really looking for to add to the dts.
<karlp> um, I don't know, but it was proposed back for 4.18 or 19 iirc, wens would know more.
<karlp> I _believe_ it should be available now.
<karlp> you could look for those dts nodes in your tree to see if it landed.
<opennandra> karlp: ok thanks I'll take a look
<opennandra> karlp: is tehre some info available for H3 cpu (not sure if in existing nodes I'll find info about my board)
<karlp> aiui, there's nothing here that is h3 specific.
<karlp> it's just a uart connected bt module.
<opennandra> in 4.19 I don't have nodes for this 32kHz clock so not sure if I'll be able to add support for that
<opennandra> let me try on latest kernel
<karlp> the top three commits here were where I started, but it's not finished: https://github.com/karlp/linux/commits/karl-linux-next3
<dgp> opennandra: It looks like there isn't a specific node. It's an output from the ccu
<karlp> yeah, might have missed 4.19, made it to 5 or something
<opennandra> dgp: ok thanks (what ccu means pls ?)
<opennandra> karlp: ok thanks I'll try
<dgp> opennandra: something clock unit I guess
<opennandra> dgp: thanks
<opennandra> karlp: just last question - if I have this integrated then I need to call only btattach and bt should work?
<karlp> that's where I got stuck :)
<karlp> and then ran out of time, need to get back to it.
rah has quit [Quit: leaving]
<karlp> you probably need fw blobs, possible from armbian, and the "right" userland. but I had ~zero bt experience on _working_ stuff, so wass't sure what to be looking at for this.
sunshavi has joined #linux-sunxi
<dgp> for the broadcom/cypress stuff there are a bunch of integration guides that are meant for the i.mx6 but apply almost anywhere that are helpful
<dgp> cypress also makes the latest firmware and driver packages pubically available now
selfbg has quit [Remote host closed the connection]
<karlp> let's see wha thappens now that infineon gobbled them up. will it stay getting better? who knows!
<martinayotte> opennandra: karlp: The AP6212 clock is coming from RTC clkout ... Armbian NEXT is taking care of that for all H3/H5 boards using this patch : https://github.com/armbian/build/blob/master/patch/kernel/sunxi-next/board-h3-add-rtc-osc32k-out.patch
cnxsoft has quit [Quit: cnxsoft]
tllim has joined #linux-sunxi
<opennandra> martinayotte: thanks
<dgp> karlp: The linux side is probably the only good part at the moment. They still provide libraries with no debugging symbols for everything else :(
<karlp> (just not with the same names, aiui)
msev-- has quit [Quit: PanicBNC - http://PanicBNC.net]
<martinayotte> karlp: right ! Armbian DEV 5.1.y doesn't need that patch ... But 4.19.y needs it ...
jstefanop has joined #linux-sunxi
f0xx has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
sunshavi has quit [Read error: Connection reset by peer]
sunshavi has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
vagrantc has joined #linux-sunxi
sunshavi has quit [Read error: Connection reset by peer]
sunshavi has joined #linux-sunxi
opennandra has quit [Ping timeout: 245 seconds]
sunshavi has quit [Remote host closed the connection]
<wens> 32kout from the soc, and broadcom bt for that matter, is already fully supported in the latest -next
<wens> the ones that don't currently work are a20 and a31
sunshavi has joined #linux-sunxi
random_yanek has quit [Ping timeout: 245 seconds]
yann has quit [Ping timeout: 268 seconds]
random_yanek has joined #linux-sunxi
<SopaXorzTaker> dgp, the kernel + initramfs built using buildroot do work properly, thanks
curlybracket has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
curlybracket has joined #linux-sunxi
tlwoerner has quit [Quit: Leaving]
reinforce has quit [Read error: Connection reset by peer]
reinforce has joined #linux-sunxi
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
<dgp> SopaXorzTaker: awesome. I would keep a working copy of that around as a rescue system for when you tweak something and it stops working ;)
reinforce has quit [Quit: Leaving.]
reinforce has joined #linux-sunxi
ganbold has quit [Ping timeout: 248 seconds]
matthias_bgg has quit [Ping timeout: 245 seconds]
aalm has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
aalm has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
netlynx_ has joined #linux-sunxi
netlynx_ has quit [Client Quit]
ganbold has joined #linux-sunxi
scelestic has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
scelestic has joined #linux-sunxi
ganbold has quit [Ping timeout: 272 seconds]
<SopaXorzTaker> dgp, I have the config backed up.
<SopaXorzTaker> I'm now screwing around with Xorg, so it'll come handy if I wreck the tree.
AneoX_ has quit [Quit: Textual IRC Client: www.textualapp.com]
yann has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
putti_ has joined #linux-sunxi
Putti has quit [Ping timeout: 272 seconds]
marble_visions has quit [Quit: bye]
marble_visions has joined #linux-sunxi
putti_ is now known as Putti
f0xx has quit [Ping timeout: 246 seconds]
SopaXorzTaker has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
nashpa has quit [Ping timeout: 246 seconds]
nashpa has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
Putti has quit [Quit: Leaving]
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
afaerber has quit [Quit: Leaving]
lurchi_ is now known as lurchi__
reinforce has quit [Quit: Leaving.]
RichardG867 has quit [Ping timeout: 248 seconds]
lerc has quit [Ping timeout: 245 seconds]
lerc has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 246 seconds]
RichardG867 has joined #linux-sunxi
lurchi__ is now known as lurchi_
lkcl has quit [Ping timeout: 258 seconds]
lkcl has joined #linux-sunxi
tuxillo has quit [Ping timeout: 246 seconds]
pgreco has quit [Ping timeout: 245 seconds]
pgreco has joined #linux-sunxi
pgreco has quit [Changing host]
pgreco has joined #linux-sunxi
gnufan_home has quit [Ping timeout: 248 seconds]
ldevulder has quit [Ping timeout: 246 seconds]
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
jstefanop has quit [Remote host closed the connection]
gnufan_home has joined #linux-sunxi
jstefanop has joined #linux-sunxi
jstefanop has quit [Read error: Connection reset by peer]
jstefano_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
Mangy_Dog has quit [Ping timeout: 246 seconds]
jstefano_ has quit [Ping timeout: 272 seconds]
tuxillo has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
lurchi__ is now known as lurchi_
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]