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
apritzel has quit [Ping timeout: 248 seconds]
khuey is now known as khuey|away
hipboi has joined #linux-sunxi
KotCzarny has quit [Ping timeout: 255 seconds]
ganbold has quit [Quit: Leaving]
ganbold has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
khuey|away is now known as khuey
Ueno_Otoko has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
arokux__ has joined #linux-sunxi
ninolein has quit [Ping timeout: 240 seconds]
arokux_ has quit [Ping timeout: 255 seconds]
khuey is now known as khuey|away
hipboi has quit [Quit: This computer has gone to sleep]
mzki has quit [Quit: leaving]
tomboy64 has quit [Quit: Uhh ... gotta go.]
dantob has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 240 seconds]
p1u3sch1 has joined #linux-sunxi
jstein has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
reev has joined #linux-sunxi
kaspter has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
dantob has quit [Quit: dantob]
vagrantc has quit [Quit: leaving]
reinforce has joined #linux-sunxi
IgorPec has joined #linux-sunxi
arokux__ has quit [Ping timeout: 276 seconds]
nemunaire has quit [Ping timeout: 248 seconds]
nemunaire has joined #linux-sunxi
hipboi has joined #linux-sunxi
KotCzarny has joined #linux-sunxi
mossroy has joined #linux-sunxi
uwe_ has quit [Ping timeout: 268 seconds]
uwe_ has joined #linux-sunxi
paulk-collins has quit [Ping timeout: 240 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 265 seconds]
cnxsoft1 is now known as cnxsoft
xenoxaos has quit [Ping timeout: 240 seconds]
xenoxaos has joined #linux-sunxi
mossroy has quit [Quit: Quitte]
yann|work has quit [Ping timeout: 250 seconds]
avph has quit [Ping timeout: 240 seconds]
mcan has quit [Changing host]
mcan has joined #linux-sunxi
avph has joined #linux-sunxi
<montjoie> plaes: yes I suscribed to linux-sunxi. why ?
<montjoie> Ok now I understand
<plaes> :)
iamfrankenstein has joined #linux-sunxi
tgaz has quit [Quit: Over and out]
Andy-D has quit [Remote host closed the connection]
lemonzest has joined #linux-sunxi
<igraltist> 2
yann|work has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
reev has quit [Ping timeout: 248 seconds]
matthias_bgg has joined #linux-sunxi
reev has joined #linux-sunxi
apritzel has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
tkaiser has joined #linux-sunxi
avph has quit [Ping timeout: 240 seconds]
tomboy64 has joined #linux-sunxi
avph has joined #linux-sunxi
leio has quit [Ping timeout: 244 seconds]
tomboy64 has quit [Client Quit]
libv_ has joined #linux-sunxi
leio has joined #linux-sunxi
libv has quit [Ping timeout: 248 seconds]
leio has quit [Ping timeout: 250 seconds]
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 255 seconds]
leio has joined #linux-sunxi
libv has quit [Ping timeout: 250 seconds]
libv has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
tgaz has joined #linux-sunxi
hipboi has quit [Quit: This computer has gone to sleep]
cosm has quit [Quit: Leaving]
paulk-collins has joined #linux-sunxi
<tkaiser> ssvb: Recompiled your kernel without any patches on top to get HDMI output to no avail (when using Armbian's u-boot)
<tkaiser> But it turned out to be rather simple and just boot.cmd related. Removing one entry useful for A10/A20 was the solution: http://forum.armbian.com/index.php/topic/617-wip-support-for-the-upcoming-orange-pi-one/?view=getlastpost
<tkaiser> We also disabled voltage switching for the Orange Pi One for now and limited max cpufreq to 1104MHz until thermal issues are really resolved on this board or in this combination u-boot/kernel
iamfrankenstein1 has joined #linux-sunxi
pitillo has joined #linux-sunxi
<pitillo> hello, I've been reading about sunxi-mali problems/error in the logs, but I'm not sure why I'm getting problems in the test step. I've checked that mesa3d is built without GLESvx and EGL support and when the test file is built, it's only linked with libEGL.so (I can't see any other related lib linked, like GLESvx, is this normal?)
<pitillo> mali, mali_drm and ump modules are loaded, devices (mali and ump) have right permissions, and there is no way to get the test file working. I'm getting the error Error: eglInitialise failed!)
pietrushnic`away has joined #linux-sunxi
<pietrushnic> hi all, I enabled rtl8723bs with sunxi-3.4 for my custom board but have huge difference in upload (60Mbps) vs download (100Kbps), any idea what can be the problem or how to approach debugging ?
<pietrushnic> board is A20 based very similar to A20-OLinuXino-MICRO, wifi is over SDIO (SDC3)
libv has quit [Ping timeout: 248 seconds]
libv has joined #linux-sunxi
<hp197> Device Tree question
<hp197> On the 3.4 kernel, you could use gpio_pin_X in the fex to enable gpio's
<hp197> When I enabled PI14, I got automaticly irq connected in the kernel (e.g. edge file was available in /sys/class/gpio/gpioxxx/)
<hp197> Now with device tree in mainline kernel, can I still have my gpio decalred as "regular" input pin in the DT, or do I explicitly need to declare it as irq?
<hp197> > allwinner,function = "irq";
libv has quit [Ping timeout: 250 seconds]
libv has joined #linux-sunxi
<hp197> The reason for this question, I have found a kernel driver who expects a GPIO in the device tree and creates a irq out of it... If I declare the GPIO as irq in the DT the module doesn't seem to find the pin
mzki has joined #linux-sunxi
<hp197> if I declare the pin as gpio_in the kernel function gpio_to_irq doesnt seem to work (it doesnt seem to get any irq handler and I doubt the mux is set in the right direction)
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
ssvb has quit [Remote host closed the connection]
iamfrankenstein1 has quit [Ping timeout: 240 seconds]
hipboi has joined #linux-sunxi
IgorPec has quit [Ping timeout: 250 seconds]
libv_ has joined #linux-sunxi
nemunaire has quit [Quit: quit]
libv has quit [Ping timeout: 240 seconds]
libv_ is now known as libv
nemunaire has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 244 seconds]
cnxsoft has quit [Quit: cnxsoft]
daniela123 has joined #linux-sunxi
daniela123 has left #linux-sunxi [#linux-sunxi]
ricardocrudo has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
libv_ has joined #linux-sunxi
diego_r has joined #linux-sunxi
libv has quit [Ping timeout: 250 seconds]
libv_ is now known as libv
IgorPec has joined #linux-sunxi
IgorPec has quit [Ping timeout: 255 seconds]
libv_ has joined #linux-sunxi
enrico_ has joined #linux-sunxi
<apritzel> hp197: look for SUNXI_FUNCTION_IRQ in drivers/pinctrl/sunxi/pinctrl-sun.....c
<apritzel> AFAICT IRQ capable pins are declared there, not in the DT
libv has quit [Ping timeout: 244 seconds]
libv_ is now known as libv
<montjoie> apritzel: do you have tested ethernet driver on pine64 ?
<apritzel> no, not yet
cnxsoft has quit [Quit: cnxsoft]
<apritzel> I think its pointless unless we control the PMIC to enable the PHY power
<apritzel> my guess is that it's not enabled by the firmware or the BSP u-boot
<hp197> apritzel: I think I already get it what I was doing wrong
<apritzel> montjoie: don't be afraid: just release it as an RFC (if that is what your are thinking about)
<apritzel> release early, release often
<montjoie> yes I know, I will do that since I dont get any progress actualy
<apritzel> my experience: people out there find things you looked at for days in a matter of minutes
<montjoie> but I really hate to release so bad code
<hp197> seems like http://linux-sunxi.org/External_interrupts isn't correct (anymore) about the pin naming
<hp197> or at least, it didnt work for me that way
<apritzel> hp197: what board/SoC?
<hp197> cubietruck
<hp197> (A20)
<hp197> I had to use this: <&pio 8 14 IRQ_TYPE_EDGE_RISING>; /* PH14 EINT26 */
<hp197> instead of: <&pio 26 0> (what is in the wiki)
<apritzel> hp197: well, you just said it: it's a Wiki ;-)
<hp197> already editted it to note this isnt correct anymore
<hp197> might add more info later
<apritzel> hp197: #interrupt-cells in the pinctrl node says three, so you have to give three parameters
<apritzel> hp197: you could find out if this was different before, to confirm that
<hp197> apritzel: yes, 17 June 2015
<apritzel> montjoie: just downplay your code in the cover letter or commit message ;-)
<apritzel> montjoie: I just briefly looked over it and the code looks reasonable enough to be released
<apritzel> at least good enough for RFC
<montjoie> I will made a final test tonight for be sure that I wont forgot a debug that break all, and release it after
<hp197> still find the pin numbering in DT configusing though... DT = alphabet# & pin# gpio # in linux = alphabet# X 32 + pin#
<hp197> PH14 = H = 8th letter in alphabet = 8 X 32 + 14 = gpio270 in the kernel
JohnDoe_71Rus has joined #linux-sunxi
<apritzel> hp197: I guess this is more of an issue with the sysfs interface, right?
<apritzel> because it exposes the kernel internal numbering
<apritzel> which usually you don't care about because it's, well, kernel internal
<hp197> yeah, I guess its not the fault of DT itself, more the kernel
<hp197> hopefully will get better in the future
JohnDoe4 has joined #linux-sunxi
<apritzel> I agree it would be nice to have a mapping functionality between reasonable numbers for instance used in the manual (like PH14) to kernel internal numbering
<hp197> though, as soon you know how the number correlates to the pins, it is decent enough to work with...
<apritzel> I know ;-)
<hp197> anyway, enough bitching :p
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
reinforce has quit [Quit: Leaving.]
hipboi has quit [Quit: This computer has gone to sleep]
hipboi has joined #linux-sunxi
Shirasaka-Hazumi has quit [Ping timeout: 244 seconds]
Shirasaka-Hazumi has joined #linux-sunxi
hipboi has quit [Quit: Leaving]
ssvb has joined #linux-sunxi
Ueno_Otoko has quit [Ping timeout: 244 seconds]
KotCzarny has quit [Ping timeout: 255 seconds]
doppo has quit [Ping timeout: 240 seconds]
doppo has joined #linux-sunxi
reinforce has joined #linux-sunxi
IgorPec has joined #linux-sunxi
paulk-collins has quit [Remote host closed the connection]
mzki has quit [Quit: leaving]
paulk-collins has joined #linux-sunxi
<pitillo> hello, I've been reading about some sunxi-mali problems/errors in the irc channel logs, but I'm not sure why I'm getting problems running the test file. I've checked that mesa3d is built without GLESvx and EGL support and when the test file is built, it's only linked with libEGL.so, the one installed from sunxi-mali (I can't see any other related lib linked, like GLESvx, is this normal?)
<pitillo> mali, mali_drm and ump modules are loaded, devices (mali and ump) have right permissions, and there is no way to get the test file working. I'm getting the error Error: eglInitialise failed!)
<ssvb> pitillo: what kind of allwinner hardware are you using?
<ssvb> and which kernel?
<ssvb> also framebuffer or x11?
<pitillo> ssvb: I'm trying to get it working on the orangepipc (h3) with 3.4.39 under x11
<ssvb> the use of mali drivers on h3 is a little bit untested
<ssvb> which version of the mali kernel driver is used in your kernel?
<pitillo> yes, I'm using the same method with a cubieboard (A10) which seems to work right
KotCzarny has joined #linux-sunxi
<ssvb> pitillo: the kernel driver version is checked as explained at http://linux-sunxi.org/Mali_binary_driver#Configure
vagrantc has joined #linux-sunxi
yann|work has quit [Ping timeout: 250 seconds]
<wens> elc agenda is out
sunxi_fan has quit [Remote host closed the connection]
Nacho has quit [Remote host closed the connection]
Nacho has joined #linux-sunxi
<pitillo> ssvb: I think so http://dpaste.com/0V4QMEP
<pitillo> I've done it by hand, should I try directly with make config and see what does it detect?
<ssvb> pitillo: looks like the CRUX-ARM System Team uses r3p0 userland mali blobs
<ssvb> so you need to have r3p0 version of the driver in the kernel too
<pitillo> ssvb: that's me... how can I know which kernel version is used? (prebuilt kernel in this case (oranpipc) but custom build in the cubieboard)
<ssvb> there is a tool which probes a specific ioctl to query the kernel driver version
<ssvb> of course, you can inspect the kernel source too
<pitillo> ummm that sounds interesting... probably I'll go ahead with a custom kernel build instead of using this prebuilt one
<ssvb> the https://github.com/ssvb/linux-sunxi/commits/20151207-embedded-lima-memtester-h3 kernel branch includes the r3p0 mali driver
<ssvb> but it has no power management and clocked at a rather slow speed
<pitillo> then it should work with current sunxi-linux build (the one provided above, using the r3p0)
<pitillo> I'll take a look (I don't want to overclock... but I don't like the idea about being downclocked... or is it factory default speed?)
<pitillo> or underclocked (not sure about the right translation)
<pitillo> interesting... it seems a good start point to play
lemonzest has quit [Quit: Leaving]
<ssvb> mali hardware supports reclocking at runtime, and supposedly this should be handled by the budget cooling framework
<pitillo> amazing job from your side... (I've read a lot of your talks in irc logs and checked out some of your work in different allwinner socks)
<ssvb> if the SoC is overheating, then we want to downclock the CPU, GPU and maybe other things
<pitillo> that scapes my knowledge ssvb
<vagrantc> overheating isn't so bad for socks if it's cold out
<pitillo> yes, I'm seeing those messages about overheating when I start building ports on it
<pitillo> just some passive heatsinks... not cold enought to force these toys
<ssvb> pitillo: the biggest problem is that there do not seem to be many useful 3d applications
<KotCzarny> chrome?
nove has joined #linux-sunxi
<ssvb> KotCzarny: well, it works without mali too
<KotCzarny> but i think it has egl accel (for compositing maybe?)
<ssvb> is gles used just for the webgl gimmic there?
<KotCzarny> i truly dont know, i just found it long time ago that someone was experimenting with it
<KotCzarny> would be nice if someone with working egl done some webrendering benchmarks
diego_r has quit [Ping timeout: 240 seconds]
matthias_bgg has left #linux-sunxi ["Leaving"]
<ssvb> KotCzarny: the last thing I remember somebody mentioning gles support in chrome what that there were some problems when trying to make it work
<ssvb> this does not sound like a very impressive progress
<wens> apritzel: sorry, a bit busy lately, hopefully will get through your patches soon
<apritzel> wens: no worries, any kind of review is welcomed and useful
<apritzel> I am also busy with other fun stuff atm ...
tkaiser has joined #linux-sunxi
<tkaiser> pitillo: You might also want to check h3-wip branch here: https://github.com/O-Computers/linux-sunxi/commits/h3-wip
<pitillo> ssvb: a window manager using GLESvX could be one for example... btw, should be enought to use mesa3d software render and GL/GLES stuff then? (sunxi-mali and fbturbo for X)
<pitillo> tkaiser: thank you, I'll check it out too
<tkaiser> It's based on ssvb's work and IIRC yann|work was also after the same stuff like you now
<pitillo> and why not merge changes in one branch? incompatibilities?
<tkaiser> No one wants to maintain 3.4.x any more ;)
<tkaiser> ssvb already asked on the linux-sunxi mailing list. No answers IIRC
khuey|away is now known as khuey
yann|work has joined #linux-sunxi
<tkaiser> pitillo: Just in case. It gets even worse since you find patches for this H3 3.4.x kernel here and there: https://github.com/igorpecovnik/lib/tree/master/patch/kernel/sun8i-default
<tkaiser> This was Armbian. The H3 OpenELEC fork uses 'our' patches up to 3.4.110 but contains also others: https://github.com/jernejsk/OpenELEC-OPi2/tree/master/projects/H3/patches/linux
enrico_ has quit [Quit: Bye]
KotCzarny has quit [Ping timeout: 255 seconds]
<pitillo> too many forks... and a big lack of knowledge...
<tkaiser> Just in case you want to use this for something productive. Applying the updates up to 3.4.110 doesn't hurt. And then there are some tweaks regarding display and network
<tkaiser> But if it's just about getting mali drivers working then you can happily ignore all of this
<pitillo> something productive... nothing serious, just for fun tkaiser
<tkaiser> Good
<pitillo> get mali drivers working could be good too, but it's messy
<pitillo> building a custom kernel is the first step... next things will come later. At the moment I'm not using the toy for nothing special
apritzel has quit [Ping timeout: 248 seconds]
Turl has quit [Remote host closed the connection]
Turl has joined #linux-sunxi
Nacho has quit [Ping timeout: 276 seconds]
<tkaiser> ssvb: Good news! I've been too confused yesterday and mixed thermal results from Orange Pi PC with One :\
<tkaiser> I made some tests now using the Orange Pi One with heatsink, identical kernel and one time boot0 and the other mainline u-boot
interrobangd has joined #linux-sunxi
<tkaiser> In the fex file I switched off switching between higher and lower voltage so all tests happened with the same Vcore voltage (I still assume close to 1.3V)
<tkaiser> I used the identical script on both: http://pastebin.com/amHaDmhk
reinforce has quit [Quit: Leaving.]
<tkaiser> While the temperatures with mainline u-boot are reported the same 10¡C lower as you reported interestingly throttling and cooling states behaved more ore less the same
mossroy has joined #linux-sunxi
mosterta has joined #linux-sunxi
dev1990 has joined #linux-sunxi
a|3x has joined #linux-sunxi
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
interrobangd_ has joined #linux-sunxi
interrobangd_ has quit [Client Quit]
interrobangd has quit [Ping timeout: 250 seconds]
alexst has joined #linux-sunxi
tkaiser has quit [Ping timeout: 276 seconds]
tkaiser has joined #linux-sunxi
alexst_ has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
yann||work has joined #linux-sunxi
techn_ has joined #linux-sunxi
mul has joined #linux-sunxi
steev has quit [Ping timeout: 255 seconds]
yann|work has quit [Ping timeout: 255 seconds]
arossdotme-planb has quit [Ping timeout: 255 seconds]
alexst has quit [Ping timeout: 255 seconds]
nove has quit [Ping timeout: 255 seconds]
ssvb has quit [Ping timeout: 255 seconds]
ikmaak has quit [Ping timeout: 255 seconds]
techn has quit [Ping timeout: 255 seconds]
firnsy has quit [Ping timeout: 255 seconds]
firnsy has joined #linux-sunxi
firnsy has quit [Changing host]
firnsy has joined #linux-sunxi
camh has quit [Ping timeout: 255 seconds]
ssvb has joined #linux-sunxi
arossdotme-planb has joined #linux-sunxi
mul is now known as nove
camh has joined #linux-sunxi
ikmaak has joined #linux-sunxi
avph has quit [Ping timeout: 240 seconds]
steev_ has joined #linux-sunxi
avph has joined #linux-sunxi
JohnDoe4 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
alexst_ has quit [Ping timeout: 240 seconds]
KotCzarny has joined #linux-sunxi
dev1990 has joined #linux-sunxi
khuey is now known as khuey|away
tkaiser has quit [Ping timeout: 248 seconds]
tkaiser has joined #linux-sunxi
nashpa has quit [Quit: Going away]
avph has quit [Read error: Connection reset by peer]
avph_ has joined #linux-sunxi
nashpa has joined #linux-sunxi
mzki has joined #linux-sunxi
KotCzarny has quit [Ping timeout: 255 seconds]
apritzel has joined #linux-sunxi
<tkaiser> I repeated test on the Orange Pi One with active dvfs and the results don't look promising: http://forum.armbian.com/index.php/topic/617-wip-support-for-the-upcoming-orange-pi-one/?p=5261
<tkaiser> With boot0 CPU cores were shut down very quickly while combining mainline u-boot and lichee kernel do this way too late
khuey|away is now known as khuey
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
jstein has joined #linux-sunxi
mossroy has quit [Remote host closed the connection]
Nacho has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 240 seconds]
steev_ is now known as steev
tomboy64 has joined #linux-sunxi
Ueno_Otoko has joined #linux-sunxi
nove has quit [Quit: nove]
alexst has joined #linux-sunxi
yann||work has quit [Ping timeout: 240 seconds]
paulk-collins has quit [Remote host closed the connection]
alexst has quit [Ping timeout: 276 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
mosterta has quit [Ping timeout: 276 seconds]
iamfrankenstein has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
<hp197> Is it becomming bed time for me?
<hp197> (line 984)
<hp197> SUNXI_FUNCTION_IRQ(0x5, 26)), /* EINT26 */
<hp197> While if I look at the datasheet, EINT26 is on mux 6
<hp197> not mux 5
<hp197> would explain why my irq's aint working, while gpio_in does
<hp197> but I dont believe pinctrl for the A20 would have been broken for so long
KotCzarny has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
apritzel has quit [Ping timeout: 248 seconds]