Turl 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
mavkhimenia has quit [Ping timeout: 240 seconds]
longsleep has quit [Ping timeout: 256 seconds]
anarsoul has joined #linux-sunxi
longsleep has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 246 seconds]
longsleep has quit [Ping timeout: 256 seconds]
longsleep has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
leviathan has joined #linux-sunxi
leviathan has quit [Client Quit]
sunshavi has quit [Ping timeout: 240 seconds]
sunshavi has joined #linux-sunxi
lurchi_ is now known as lurchi__
megi has quit [Ping timeout: 256 seconds]
mavkhimenia has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
mavkhimenia has quit [Read error: Connection reset by peer]
mavkhimenia has joined #linux-sunxi
kever has quit [Ping timeout: 260 seconds]
kever has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 264 seconds]
nuuuciano has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 246 seconds]
Andy-D has quit [Ping timeout: 240 seconds]
Redfoxmoon has quit [Ping timeout: 260 seconds]
Redfoxmoon has joined #linux-sunxi
adj_ has joined #linux-sunxi
adj__ has quit [Read error: Connection reset by peer]
Redfoxmoon has quit [Ping timeout: 240 seconds]
jbrown has quit [Ping timeout: 268 seconds]
tl_lim has quit [Ping timeout: 246 seconds]
Redfoxmoon has joined #linux-sunxi
adj__ has joined #linux-sunxi
tl_lim has joined #linux-sunxi
adj_ has quit [Ping timeout: 250 seconds]
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 255 seconds]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 264 seconds]
victhor has quit [Remote host closed the connection]
[7] has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
TheSeven has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
merlin1991 has quit [Remote host closed the connection]
kelvan has quit [Remote host closed the connection]
kelvan has joined #linux-sunxi
merlin1991 has joined #linux-sunxi
longsleep has quit [Ping timeout: 256 seconds]
longsleep has joined #linux-sunxi
<wens> argh, so busy :(
montjoie has joined #linux-sunxi
Putti has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
longsleep has quit [Ping timeout: 256 seconds]
longsleep has joined #linux-sunxi
Sveta has quit [Killed (adams.freenode.net (Nickname regained by services))]
Sveta_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Sveta_ has quit [Read error: Connection reset by peer]
paulliu has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 250 seconds]
DullTube has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Read error: Connection reset by peer]
mavkhimenia has joined #linux-sunxi
tl_lim has quit [Ping timeout: 246 seconds]
tl_lim has joined #linux-sunxi
chomwitt has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 240 seconds]
JohnDoe71rus has joined #linux-sunxi
anarsoul has quit [Ping timeout: 246 seconds]
JohnDoe_71Rus has quit [Ping timeout: 260 seconds]
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe71rus has quit [Read error: Connection reset by peer]
Putti has quit [Ping timeout: 256 seconds]
reinforce has joined #linux-sunxi
hlauer has joined #linux-sunxi
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
aalm has joined #linux-sunxi
aalm has quit [Ping timeout: 268 seconds]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
aalm has joined #linux-sunxi
jaganteki has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
clemens3 has joined #linux-sunxi
qeed has quit [Quit: Leaving]
mhlavink has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
mavkhime_ has joined #linux-sunxi
mavkhime_ has quit [Ping timeout: 240 seconds]
jaganteki has quit [Ping timeout: 260 seconds]
ernestask has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
foxx_ has quit [Ping timeout: 256 seconds]
megi has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
DullTube has quit [Quit: Leaving]
piRp has joined #linux-sunxi
elros has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
elros has quit [Remote host closed the connection]
elros has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
<piRp> Hello everyone. I am struggling with a pine64. After several tries of recent kernels, no way to boot anything. I successfully compile longsleep ' 3.10 kernel, it boots correctly. I am now looking at the battery controller (axp803 PMIC)... Did anyone found the best configuration for a classic Liion battery (4.2v max) ? My board thinks it as a LiFe battery ( /sys/class/power_supply/battery/ ), and is not charging (white led blinki
mavkhimenia has joined #linux-sunxi
<piRp> I found a interesting discussion here, but it is 2 years old... https://forum.pine64.org/showthread.php?tid=1430
<silviop> which uboot do you use ?
<piRp> I extracted the one of a armbian image
<piRp> I also tried to compile the latest, no way. I later understand that allwinner do not help the mainstream
<silviop> I have pine64 an i'm using 4.12 kernel
<piRp> Interesting. where did you find a working config and device tree ?
<piRp> But in the 4.16 kernel mainstream sources, there is tons of missing sunxi- files. For example, uart management is not in... So how could it be ?
<silviop> I download all from kernel .org
<silviop> try to download 4.12 to start
<piRp> Well, now I know it is possible, I'll give a new try.
<piRp> But why is armbian so late on kernel, if it is possible to run 4.12 ?
<silviop> search this file in your kernel source
<piRp> Present in 4.16, indeed
juri_ has quit [Ping timeout: 264 seconds]
<piRp> so device tree was there... I missed something in the kernel configuration.
<silviop> linux-4.12-rc2-A64/arch/arm64/boot/dts/allwinner in my 4.12 three
<silviop> remember that arm64 require slightly changes in sunxi instructions
<silviop> that are for arm32
<piRp> But what happened to drivers/tty/serial/sunxi-uart.c for example (I worked on this on longsleep 3.10 kernel)? It has been merged in a completely different driver ?
<silviop> compatible = "snps,dw-apb-uart"; in dts
<silviop> i suppose you have to enable in .config
<silviop> (or check if enabled)
<piRp> Is there some working .config available for latest kernel ?
<piRp> (for pine64)
<silviop> mi working .config (4.12 kernel) only serial S0
IgorPec has quit [Ping timeout: 260 seconds]
<silviop> i suppose CONFIG_SERIAL_8250_PNP=y can help you
piRp has quit [Ping timeout: 260 seconds]
<silviop> ok wrong line
foxx_ has joined #linux-sunxi
juri_ has joined #linux-sunxi
kever has quit [Ping timeout: 256 seconds]
fl__0 has joined #linux-sunxi
fl_0 has quit [Ping timeout: 268 seconds]
mavkhimenia has quit []
fl__0 has quit [Ping timeout: 250 seconds]
mavkhimenia has joined #linux-sunxi
mavkhime_ has joined #linux-sunxi
mavkhimenia has quit [Read error: Connection reset by peer]
mavkhimenia has joined #linux-sunxi
fl_0 has joined #linux-sunxi
mavkhime_ has quit [Ping timeout: 268 seconds]
fkluknav has joined #linux-sunxi
KotCzarny has quit [Ping timeout: 256 seconds]
jaganteki has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
KotCzarny has joined #linux-sunxi
IgorPec has joined #linux-sunxi
atsampson has quit [Ping timeout: 255 seconds]
atsampson has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
nuuuciano has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 240 seconds]
afaerber has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
hanni76 has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Read error: Connection reset by peer]
mavkhimenia has joined #linux-sunxi
leviathan has joined #linux-sunxi
afaerber has quit [Read error: Connection reset by peer]
afaerber has joined #linux-sunxi
afaerber has quit [Remote host closed the connection]
afaerber has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
IgorPec has quit [Ping timeout: 256 seconds]
netlynx_ has joined #linux-sunxi
gumblex_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
gumblex has quit [Ping timeout: 276 seconds]
gumblex_ is now known as gumblex
jbrown has joined #linux-sunxi
HuskyGD has quit [Quit: Page closed]
fkluknav has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
aalm has quit [Ping timeout: 268 seconds]
tlwoerner has quit [Quit: Leaving]
Andy-D has joined #linux-sunxi
jaganteki has quit [Ping timeout: 260 seconds]
mhlavink has quit [Ping timeout: 260 seconds]
elros has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
mhlavink has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
jemk_ is now known as jemk
SP7RT has joined #linux-sunxi
jbrown has quit [Ping timeout: 240 seconds]
iamfrankenstein has joined #linux-sunxi
dddddd has joined #linux-sunxi
megi has quit [Ping timeout: 256 seconds]
fkluknav has quit [Ping timeout: 240 seconds]
<silviop> Ok, i bought F60 Action cam, now community give me full support!!
kloczek has joined #linux-sunxi
foxx_ has quit [Ping timeout: 248 seconds]
<paulk-gagarine> silviop, you're very welcome to help and contribute to the port :)
JohnDoe_71Rus has joined #linux-sunxi
hlauer has quit [Ping timeout: 265 seconds]
jbrown has joined #linux-sunxi
phil42 has quit [Read error: Connection reset by peer]
phil42 has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
foxx_ has joined #linux-sunxi
curlybracket has joined #linux-sunxi
lurchi__ is now known as lurchi_
AneoX has quit [Read error: Connection reset by peer]
victhor has joined #linux-sunxi
AneoX has joined #linux-sunxi
megi has joined #linux-sunxi
megi has quit [Ping timeout: 256 seconds]
Redfoxmoon has quit [Changing host]
Redfoxmoon has joined #linux-sunxi
reinforce has joined #linux-sunxi
mhlavink has quit [Ping timeout: 264 seconds]
curlybracket has quit [Ping timeout: 268 seconds]
ernestask has quit [Quit: ernestask]
megi has joined #linux-sunxi
OnkelUlla has quit [Ping timeout: 240 seconds]
OnkelUlla has joined #linux-sunxi
IgorPec has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
clemens3 has quit [Ping timeout: 256 seconds]
jbrown has quit [Ping timeout: 240 seconds]
leviathan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tllim has joined #linux-sunxi
IgorPec has quit [Ping timeout: 256 seconds]
datagutt has quit [Ping timeout: 264 seconds]
mavkhimenia has quit [Remote host closed the connection]
datagutt has joined #linux-sunxi
datagutt has joined #linux-sunxi
datagutt has quit [Changing host]
indy has joined #linux-sunxi
yann has joined #linux-sunxi
foxx_ has quit [Ping timeout: 256 seconds]
vagrantc has joined #linux-sunxi
aalm has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
jaganteki has joined #linux-sunxi
Andy-D has quit [Ping timeout: 246 seconds]
<jaganteki> Hi, any idea about AP6330 wifi chip bringup.. which is similar to AP6212 in bananapi..and power sequence is same. but here bus is not detecting at all..
<jaganteki> any help?
jbrown has joined #linux-sunxi
IgorPec has joined #linux-sunxi
ninolein has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
a|3x has quit [Ping timeout: 250 seconds]
a|3x has joined #linux-sunxi
<[TheBug]> jaganteki: a lot of the AP firemware is kinda buggy and in some cases it takes a specialized version of wpa_supplicant for things to come up right, especially when it comes to AP6x wifi and BT, I think for some of the debian based images they are even using a hacked android wpa_supplicant in linux to bring things up, for example.
clemens3_ has joined #linux-sunxi
<jaganteki> [TheBug], so we need wpa_supplicant to bringup even SDIO bus here?
clemens3 has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
<KotCzarny> for sdio bring up you need power
<KotCzarny> so if device isnt showing up, maybe you need to dig in that direction
<jaganteki> KotCzarny, ie what wifi_pwrseq does I suppose https://paste.ubuntu.com/p/gmz8kY2hFw/
silviop has quit [Ping timeout: 240 seconds]
<KotCzarny> which pin toggles wifi power?
lurchi_ is now known as lurchi__
<jaganteki> WL_REG_ON which is PL2
clemens3 has quit [Ping timeout: 240 seconds]
<KotCzarny> there is a slight chance it's gpio_active_high
<jaganteki> you mean this change reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_HIGH>;
<KotCzarny> unless you have other clues, it's just 2 minutes to check
<jaganteki> yes, checking
<jaganteki> I hope I already tried, but let me confirm
<jaganteki> Yeah..no luck
mzki has quit [Ping timeout: 240 seconds]
mzki has joined #linux-sunxi
netlynx_ has quit [Quit: Ex-Chat]
lurchi__ is now known as lurchi_
netlynx has quit [Quit: Ex-Chat]
jbrown has quit [Ping timeout: 260 seconds]
fdcx has quit [Remote host closed the connection]
a|3x has quit [Remote host closed the connection]
<jaganteki> KotCzarny, any further help if you have.
<KotCzarny> check schematics?
fdcx has joined #linux-sunxi
<jernej> jaganteki: is schematic freely available?
<jaganteki> sorry unfortunely no..but WIFI/BT same as BPI-M64 https://drive.google.com/file/d/0B4PAo2nW2KfnUE5tMGItNkZjMzg/view
paulliu has quit [Remote host closed the connection]
adj_ has joined #linux-sunxi
megi has quit [Quit: WeeChat 2.1]
adj__ has quit [Ping timeout: 260 seconds]
<jernej> jaganteki: can you check if vcc-wifi is powered? with voltmeter
<jaganteki> only diff with BPI-M64 is pin34 BT_RST_IN is connected to register and supplied to vcc-io-wifi
<jernej> yeah, but did you check if chip is actually powered?
<jernej> with measuring voltage levels on power pins
<jaganteki> ok vcc-wifi
<jaganteki> I will check, don't have voltmeter now.. You are Jernej Skrabec right
<jernej> yes
<jaganteki> will write to you after once I checked, will that be ok?
<jernej> sure
<jaganteki> what if it's not powered?
<jernej> then regulator settings need to be checked
<jernej> I mean voltage regulator
<jaganteki> we need to check once board booted right?
<KotCzarny> btw. if it's the same as bpi-m64, maybe check legacy image to see if it works at all?
<jernej> btw, just that you know, I don't have much experience with Ampak Wifi modules, I can just give you some general troubleshooting advices
<KotCzarny> jernej, but he seems having problem even detecting device if i understood correctly
<jernej> and there is always chance that you received faulty module
<jernej> albeit small
<jaganteki> KotCzarny, Yes the legacy working once I inserted bcmdhd
<jernej> KotCzarny: yes, but apart from power, it could also be clocking issue
montjoie has quit [Quit: leaving]
<jaganteki> I'm using same regulator and PMU pin PL2
<KotCzarny> jaganteki, remember they might power/clock something in uboot
<jaganteki> KotCzarny: noted I will dig on this as well
<jaganteki> jernej and KotCzarny, thanks for your time I will check from my side and get back in day or two.
a|3x has joined #linux-sunxi
hlauer has joined #linux-sunxi
jaganteki has quit [Ping timeout: 260 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
afaerber has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
BytePaste has joined #linux-sunxi
<BytePaste> I want to drive the pin IO-6 on a banana pi from userspace. mainline kernel. from what I gather, I first need to "export" it. but I don't know where to find the correct name of the pin to do the export
<BytePaste> yeah but I need the "pin name" in the form P[a-z]{nr}
<KotCzarny> did you read the paragraph i've pasted?
<KotCzarny> ahm, you mean you need to read schematics
<KotCzarny> :)
IgorPec has quit [Ping timeout: 264 seconds]
<KotCzarny> might be just pl06
<KotCzarny> if you are lucky
<BytePaste> I can find docs e.g., for the banana pro it's PI16 http://wiki.lemaker.org/BananaPro/Pi:Pin_definition
<hanetzer> icenowy[m]: what's with this current trend of anime avatars on the githubs? :P
<KotCzarny> BytePaste: then just test it now
<BytePaste> gah I'm pretty sure the pi is different from the pro
<KotCzarny> you are talking about bpi m1 then?
<BytePaste> yea I think I figured it out you're supposed to clone wiringbp branch for your board and run gpio readall to get a listing
<KotCzarny> according to schematics io-6 is uart2_rts
<KotCzarny> which in turn is pi16
BytePaste has quit [Ping timeout: 260 seconds]
<hlauer> I'm using python to access some not yet supported features in kernel like the extra functions on IO ports
hanni76 has quit [Quit: Leaving]
<hlauer> https://bitbucket.org/hlauer/bananaio if somebody want's to use
<hlauer> Is there an arm asm opcode to frobnicate bits at a io register (on a20/r40) ?
<beeble> on arm use add/or/xor/bic for bit operations
<hlauer> what's bic ?
<beeble> so, no, you have to use registers
<hlauer> so no atomic opcode to set bits with a mask ?
<beeble> the BIC instruction performs an Rd AND NOT Rm operation
<beeble> this will help you
<hanetzer> ugh. why is arm such a clustertruck for gpus
jbrown has joined #linux-sunxi
<beeble> hlauer: you can do all mask operations with these commands. but you can't do it directly on a io address but have to use one of the registers
<hlauer> beeble: thanks, just reading your link. Bit Filed insert look interesting.
<hlauer> s/Filed/field
souther has quit [Quit: leaving]
souther has joined #linux-sunxi
<hlauer> but probably the compiler makes: data=(unsigned int *)(buf.buf+offset);*data=(*data&~mask)|val; already into good asm
qeed has joined #linux-sunxi
souther has quit [Read error: Connection reset by peer]
<beeble> hlauer: bitfield operation also works just on registers
<beeble> and your compiler does usually the right thing
<beeble> if you want to check, look at the disassembly?
tllim has quit [Read error: Connection reset by peer]
<hlauer> Yep, you are right. Already some years ago I did that last.
qeed has quit [Client Quit]
<hlauer> Anyways, relying on the python GIL at the moment within that short c-code. Hoped for asm - thanks for teaching me.
dev1990 has joined #linux-sunxi
souther has joined #linux-sunxi
<beeble> as far as i see the only thing you added is on the fly configuration of drive strength and pull ups
<beeble> or do i miss something?
<hlauer> beeble: setDir takes values >1 (which are the funcions)
<hlauer> 0 is out, 1 in in which are possible with the kernel fs ops.
qeed has joined #linux-sunxi
<beeble> ah, i only looked at it from a gpio point of view
<hlauer> use this for funny things like using half of an uart gpio pair as IR receive and the other half as UART (console) out ;-)
<beeble> but is this really useful as you would still have to enable the dts binding of the peripheral anyway that one has a pinmux
<beeble> i usually don't have to configure that on the fly...
<hlauer> Yep, right. At that normal console on bananapi I knew no other way, as the only IR RX pin is the RX of the console uart.
LargePrime has quit [Ping timeout: 264 seconds]
Ntemis has joined #linux-sunxi
<hlauer> Also a funny thing is that serial coupling my banana with the ultra powers the ultra enough to not reset with power
<beeble> add a diode
<hlauer> removed. So I need to switch that uart on banana to io mode and pull down.
<hlauer> Why, if you can do in software ? :-)
<hlauer> But thanks for the hint.
<hlauer> to the banana ultra(r40): SATA is denoted unsupported in the wiki, but I found some dts stuff on the net
<hlauer> Is it good to add a link in the wiki ?
LargePrime has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
rexxster has quit [Remote host closed the connection]
RichardG867 has quit [Ping timeout: 248 seconds]
hlauer has quit [Ping timeout: 260 seconds]
fkluknav has joined #linux-sunxi
fkluknav has quit [Ping timeout: 256 seconds]
Putti has quit [Ping timeout: 256 seconds]
Mr__Anderson has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Ping timeout: 264 seconds]
RichardG867 has joined #linux-sunxi
chomwitt has quit [Ping timeout: 246 seconds]