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
flyhorse has joined #linux-sunxi
flyhorse_ICRUD has quit [Read error: Connection reset by peer]
iamfrankenstein has joined #linux-sunxi
diego71_ has quit [Ping timeout: 258 seconds]
diego71 has joined #linux-sunxi
naobsd has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 265 seconds]
diego71 has quit [Ping timeout: 264 seconds]
diego71 has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
kaspter has quit [Ping timeout: 246 seconds]
pitelpan has joined #linux-sunxi
arossdotme has quit [Ping timeout: 250 seconds]
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
arossdotme has joined #linux-sunxi
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
flyhorse_sYdeQ has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
nicksydney has quit [Ping timeout: 244 seconds]
afaerber has quit [Quit: Verlassend]
a1d3s has joined #linux-sunxi
FDCX has quit [Read error: Connection reset by peer]
robogoat has quit [Ping timeout: 256 seconds]
FDCX has joined #linux-sunxi
<a1d3s> https://www.kernel.org/doc/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt i found this but get phandle not found pinctrl-0 = <&edt_ft5x06_pins>;
flyhorse has joined #linux-sunxi
flyhorse_sYdeQ has quit [Read error: Connection reset by peer]
khuey has quit [Ping timeout: 245 seconds]
cubeast has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
khuey has joined #linux-sunxi
andriejk has joined #linux-sunxi
simosx has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
reinforce has joined #linux-sunxi
<plaes> a1d3s: you need to choose correct pins from sunxi pinmap
<a1d3s> plaes maybe &i2c3_pins_a ?
<plaes> yes, something like this, but it depends on which i2c bus it is attached
kaspter has joined #linux-sunxi
romain___ has joined #linux-sunxi
<a1d3s> if i remove one pincrtl* then i got .800729] input: EP0790M09 as /devices/platform/soc@01c00000/1c2b800.i2c/i2c-2/2-0038/input/input3 but it does works
<plaes> see how the imx devices set up the pins
<plaes> there are some in the arch/arm/boot/dts directory
dev1990 has joined #linux-sunxi
<plaes> and also see how other sunxi devices set up the pinctrl-0 for touchscreens
domidumont has joined #linux-sunxi
<a1d3s> plaes in dts file touch isnt in it by default or you know one?
<plaes> could you rephrase your question?
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
<a1d3s> in which dts file is touchscreen enabled
<plaes> search
<plaes> cd arch/arm/boot/dts/
<plaes> grep ft5x06
<plaes> err. grep -r ft5x06
<plaes> so you want to tell me that in those 3 or more weeks you have been looking for advice you haven't actually looked at other dts files that use ft5x06?
dev1990 has quit [Remote host closed the connection]
HeHoPMaJIeH has joined #linux-sunxi
<a1d3s> ahm yes :)
ganbold_ has quit [Remote host closed the connection]
<a1d3s> but if i always say , im not a programmer
<a1d3s> in most case only a stupid user
<plaes> that's a shitty excuse
<plaes> now stop wasting my time and check out other dts files under arch/arm/boot/dts/
ganbold_ has joined #linux-sunxi
<plaes> at least 3 there which have this touchscreen
<a1d3s> yea i found 5 or more
<plaes> ok
<a1d3s> now i thinking about how to rewrite the pinctrl thing
<plaes> for this, check which sunxi devices set up touchscreen other with custom pinctrl
<plaes> s/other//
<a1d3s> only imx have this touch in dts
<plaes> yes, but there are some sunxi devices that set up custom pins similarily
<a1d3s> and am4*
prz has joined #linux-sunxi
VargaD has quit [Ping timeout: 246 seconds]
VargaD has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
simosx has quit [Quit: Leaving]
lemonzest has joined #linux-sunxi
domidumont has joined #linux-sunxi
diego_r has joined #linux-sunxi
blsd has joined #linux-sunxi
romain___ has quit [Ping timeout: 256 seconds]
romain__1 has joined #linux-sunxi
andriejk has left #linux-sunxi ["ERC (IRC client for Emacs 24.5.1)"]
Andy-D_ is now known as Andy-D
Black_Horseman has joined #linux-sunxi
_massi has joined #linux-sunxi
awe00 has joined #linux-sunxi
simosx has joined #linux-sunxi
alexvf has quit [Ping timeout: 246 seconds]
<a1d3s> plaes can you tell me if im on the right way ? plaese :) http://pastebin.com/SmF2SZYr
<mripard> a1d3s: what do you think ? ...
<mripard> a1d3s: have you looked at any pinctrl node in any of the allwinner SoCs
<mripard> and found that it was in anyway similar ?
<mripard> (not mentionning the freescale, imx28 and mxs stuff in this node, which don't even make sense...)
<a1d3s> no i didnt find any similar
<a1d3s> only some stuff like &pio {
<a1d3s> gmac_power_pin_bananapro: gmac_power_pin@0 {
<a1d3s> allwinner,pins = "PH23";
<a1d3s> and there i think i have to add this
<mripard> what makes you think it's not similar?
<a1d3s> i didnt find anything about touch
<mripard> do you know what pinctrl is?
<a1d3s> the only thing i find was in sun7i-a20.dtsi on with ts
<a1d3s> to control the pins
<a1d3s> and set it up for something
<mripard> yes
<mripard> so why on earth would it be different to have a different syntax between setting up a pin as a GPIO for the GMAC, and setting up a pin as a GPIO for a touchscreen?
<a1d3s> this work is my first try in changing something on an OS/Kernel , i only know about writing some little cmd or bash scripts or html and css
<a1d3s> it is not finished :) i know there are some thing from fsl
<a1d3s> im search for th right thing on allwinner,voltage
ricardocrudo has joined #linux-sunxi
<a1d3s> and the gpio settings
<a1d3s> if im right with changes from fsl,drive to allwinner,drive?
<a1d3s> if not so , then i have more to read
<mripard> you definetely have more to read, and I don't know if you're right
<mripard> the syntax is correct
<mripard> you're the one with the hardware, so I don't know if the 40mA setting is the right one
<a1d3s> yea but i have only the hardware without any documentation for it
<a1d3s> i was thinking to rewrite the settings from one to the other is ok , but didnt know
<plaes> didn't you have working fex?
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
<dothebart> hm, insmodding the same sunxi_gmac0 module works before systemd took over...
<plaes> an example how to define custom pins
<dothebart> oh, no it fails.
<a1d3s> plaes thanks
Williams has joined #linux-sunxi
flyhorse_ySoLd has joined #linux-sunxi
Williams has quit [Ping timeout: 246 seconds]
flyhorse has quit [Ping timeout: 245 seconds]
kaspter has quit [Ping timeout: 246 seconds]
jinzo has joined #linux-sunxi
flyhorse has joined #linux-sunxi
flyhorse_ySoLd has quit [Read error: Connection reset by peer]
khuey is now known as khuey|away
arossdotme has quit [Ping timeout: 272 seconds]
arossdotme has joined #linux-sunxi
<a1d3s> plaes, hm i changed it to your example but touch didnt work
<a1d3s> but sinovoip say the gpio is right
<plaes> I only gave you an example
<plaes> how it has been done on different sunxi machine
ricardocrudo has quit [Remote host closed the connection]
<a1d3s> with 3.4 kernel in bananian it has worked as i know
ricardocrudo has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
romain__1 has quit [Quit: Lost terminal]
prz has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
prz has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 245 seconds]
arossdotme has quit [Ping timeout: 272 seconds]
book` has quit [Ping timeout: 248 seconds]
ricardocrudo has joined #linux-sunxi
book` has joined #linux-sunxi
arossdotme has joined #linux-sunxi
<wens> yay, psci on sun6i working
<wens> bad understanding of assembly was the bug :(
<mripard> wens: cool!
<mripard> sun8i too ?
<wens> about to test :)
<mripard> I looked at it a bit in the last days too
<mripard> and was trying to figure out why setting MVBAR could fail
<mripard> but apparently, it wasn't
<wens> after the rebase, it was 2 bugs left
<mripard> do you have the fix somewhere?
<wens> 1 was a register i assume having the cpu id, when in fact it had the cpu mask
<wens> second was using TST when I should've used TEQ, but just dropped the section of code anyway
<mripard> ok
<wens> force pushed to my github
<wens> sun8i-a23 works, too
<wens> don't have a33 working system to test
<mripard> I'll probably be able to test it on an A33 in a not so far away future
mrnuke has quit [Remote host closed the connection]
mrnuke has joined #linux-sunxi
<wens> interestingly, cpu0 cannot be shutdown. don't know what part of the kernel is blocking it
naobsd has quit [Quit: naobsd]
Gerwin_J has quit [Ping timeout: 264 seconds]
premoboss has joined #linux-sunxi
naobsd has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
flyhorse_LXDfp has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
meow` has quit [Ping timeout: 255 seconds]
<a1d3s> ok now i did a step back and test if the touch realy works. i used an lubuntu image and modprobe ft5x_ts , after that i installed evtest and xinput_calibrator and touch works
<plaes> \o/
<plaes> mainline kernel?
<a1d3s> 3.4.103 sunxi kernel
naobsd has quit [Quit: naobsd]
Black_Horseman has quit [Ping timeout: 252 seconds]
book` has quit [Ping timeout: 248 seconds]
<a1d3s> http://pastebin.com/n3SLgmhc this is what i get from dmesg
book` has joined #linux-sunxi
<plaes> well, power gpio is wrong in the fex
<wens> mripard: for some reason, cpu0 is hotpluggable with mcpm
prz has quit [Ping timeout: 264 seconds]
<mripard> wens: so, next step is the A80 ? :)
prz has joined #linux-sunxi
meow` has joined #linux-sunxi
flyhorse has joined #linux-sunxi
flyhorse_LXDfp has quit [Read error: Connection reset by peer]
<a1d3s> plaes yes but it works
<a1d3s> and i didnt know why it does with mainline not work
<a1d3s> driver will be loaded and probed , it detects an device but not more
<wens> mripard: multi cluster is much harder
<wens> the kernel code was relatively easy with the common MCPM code
<wens> with PSCI we'd need to keep track of which clusters/cores are up ourself
<wens> and possibly deal with race conditions
<mripard> I don't know if some race conditions can be expected
<mripard> aren't the smc calls serialised?
<wens> my understanding of ARM architecture kind of ends at platform bringups :p
<mripard> hmmm, they might be by core
<wens> initial bringup would be sequential, but hotplugging might not be?
<mripard> yeah, smc calls are run on the local CPU, which makes sense
<mripard> but still, we can always use the exclusive accesses to synchronize between cores
<mripard> I'm guessing you were worried about the case where you would only have one CPU in your cluster, and at the same time power another and bring this one down ?
<wens> yeah, i think that's probably what would go wrong
<wens> before attempting to do it, i'd probably look into converting some of the PSCI code into C...
<mripard> I don't know if that would be possible though
<mripard> because we would still have a single core executing the smc call
<mripard> which would power up the second CPU
<mripard> and then power down the first
<wens> the kernel code has arch_spinlocks here and there
<wens> also the current PSCI code relies on cpu0 to bring down other cores (via FIQ)
<wens> not sure how to handle bringing down cluster 0
kaspter has joined #linux-sunxi
cubeast has quit [Quit: Leaving]
robogoat has joined #linux-sunxi
khuey|away is now known as khuey
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
ricardocrudo has quit [Remote host closed the connection]
ricardocrudo has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
vishnup has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
SQUelcher has joined #linux-sunxi
naobsd has joined #linux-sunxi
<wens> hmm... forgot to cc linux-sunxi for the psci patches
<plaes> naww.. ;)
<libv> ah, great.
<libv> now i locked myself out of the wiki as well.
<lukas2511> lol
<libv> just when i was trying to fix the nonsense that happened to Quantex KB901
<plaes> how?
<libv> Turl, mnemoc: what will it take to get emails working again?
arokux has quit [Remote host closed the connection]
<libv> plaes: i wasn't able to hit the password, so i ended up requesting password reset
<libv> first it was complaining about loss of session data, so i logged out
arokux has joined #linux-sunxi
* libv saves the wiki text to file for another day
<mnemoc> libv: i'll look now. 5m
<mnemoc> libv: do you have ssh access from there to the sunxi server? can you add http://sprunge.us/YPMC to my authorized_keys file? :-/
<libv> hrm
<mnemoc> unless cloudflare's dns is playing tricks on me
<libv> yup
<mnemoc> can you sudo su - amery; curl http://sprunge.us/YPMC >> ~/.ssh/authorized_keys ?
<mnemoc> err... wrong window :|
cajg has joined #linux-sunxi
kaspter has joined #linux-sunxi
a1d3s has quit [Remote host closed the connection]
iamfrankenstein has quit [Quit: iamfrankenstein]
kaspter has quit [Remote host closed the connection]
adj_ has quit [Quit: Leaving]
kaspter has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
<dothebart> whoa systemd. F* U
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
vishnup has quit [Quit: Leaving]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
ganbold_ has quit [Remote host closed the connection]
ganbold_ has joined #linux-sunxi
prz has quit [Quit: Leaving.]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
Netlynx has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
simosx has quit [Quit: Leaving]
JohnDoe_71Rus has joined #linux-sunxi
reinforce has joined #linux-sunxi
<plaes> wens: which mailinglist did you send the PSCI patches?
<wens> plaes: u-boot
<plaes> oh :)
bonbons has joined #linux-sunxi
domidumont has joined #linux-sunxi
<Turl> libv: a working mailserver? :p
<Turl> I suppose I could set mine up..
<Turl> mnemoc: ^
<Turl> mnemoc: make sure you ssh @maxima.l.o
<libv> Turl: seems like it should be working since yesterday :)
<Turl> libv: hm?
<Turl> libv: is it working or not?
<libv> it should be working again according to mnemoc
<libv> but i am locked out of password reset for the wiki for 24h now
awe00 has quit [Ping timeout: 272 seconds]
leviathanch has joined #linux-sunxi
<Turl> libv: ah :p
flyhorse_oIZmD has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
flyhorse has joined #linux-sunxi
flyhorse_oIZmD has quit [Read error: Connection reset by peer]
<mnemoc> Turl: there is a dedicated vm running smtp/imap/webmail on the same machine now, but managed by gzamboni
diego_r has quit [Ping timeout: 265 seconds]
<mnemoc> Turl: but the issue was that the name of the smtp was intercepted by cloudflare and instead of connecting to the real smtp the wiki was connecting to a server from CF :/
<Turl> mnemoc: ah :p awesome :)
<mnemoc> Turl: but i's solved now
<Turl> mnemoc: yeah, you need to use the hostnames
<mnemoc> according to msmtp logs everything is working, and libv and you recently recevied mails from wiki
<Turl> mnemoc: yep, sent a test email :)
_massi has quit [Remote host closed the connection]
<mnemoc> arrived?
<Turl> yep
<mnemoc> :)
dev1990 has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
awe00 has joined #linux-sunxi
<libv> mnemoc: -ENOMAIL :)
Kasreyn has quit [Read error: Connection reset by peer]
kaspter has quit [Remote host closed the connection]
<libv> the wiki doesn't like me anymore
<libv> after all the love i gave it :(
Netlynx has quit [Quit: Leaving]
ricardocrudo has quit [Remote host closed the connection]
<jelly> NOMAIL is not an error, it's a utopia
iamfrankenstein has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Gerwin_J has quit [Ping timeout: 264 seconds]
viccuad has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
firnsy has quit [Ping timeout: 272 seconds]
flyhorse_acmQT has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
<Turl> libv: I got the email I sent you (I checked the send me a copy box)
<libv> strange, nothing made it over here
<libv> perhaps my isp is holding it back for now
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
sehraf has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
Gerwin_J has quit [Ping timeout: 264 seconds]
heffer has quit [Remote host closed the connection]
von_fritz has joined #linux-sunxi
von_fritz has quit [Quit: Don't Panic]
premoboss has quit [Ping timeout: 252 seconds]
heffer has joined #linux-sunxi
firnsy has joined #linux-sunxi
firnsy has joined #linux-sunxi
kaspter has joined #linux-sunxi
physis has quit [Read error: Connection reset by peer]
physis has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
Black_Horseman has joined #linux-sunxi
dack has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
ricardocrudo has quit [Ping timeout: 244 seconds]
reinforce has quit [Quit: Leaving.]
iamfrankenstein has quit [Quit: iamfrankenstein]
bonbons has quit [Quit: Leaving]
dack has quit [Remote host closed the connection]
adj_ has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
jinzo has quit [Quit: Leaving]
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
nicksydney has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 264 seconds]
naobsd has quit [Quit: naobsd]
awe00 has quit [Ping timeout: 250 seconds]
flyhorse has joined #linux-sunxi
flyhorse_acmQT has quit [Read error: Connection reset by peer]
Andy-D has quit [Ping timeout: 265 seconds]
TheSeven has quit [Ping timeout: 245 seconds]
Andy-D has joined #linux-sunxi
TheSeven has joined #linux-sunxi
sehraf has quit [Read error: Connection reset by peer]