hno changed the topic of #linux-sunxi to: /Allwinner/sunxi development discussion - Don't ask to ask. Just ask and wait! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
<xtofury> OMG this repo sync is ridiculous with the time it takes plus it does not support resuming.... :(
<Turl> techn__: ping
<xtofury> this thing is asking me for a username and password WTF!!!!
<xtofury> I entered it, does not work.... WTF!!! How many hours do I have to waste trying to get this crap?
<xtofury> fatal: https://github.com/matson-hall/linux-allwinner/info/refs not found: did you run git update-server-info on the server?
<Turl> you probably meant linux-sunxi? I don't see any linux-allwinner repo on that github account
<xtofury> well I'm following the instructs found here...http://linux-sunxi.org/Android
<xtofury> I'm about ready to just use the cubie as a tv-box and develop something else that actually works and has instructions that aren't nerfed.
<Turl> looks like an overly complicated wiki page
<xtofury> none of the wiki pages work, I've tried this one here: http://linux-sunxi.org/Building_Android_TV_image
<Turl> assuming you skip all of "1" it should work
<xtofury> it does not compile
<Turl> that one looks better
<xtofury> don't I need java to build android?
<Turl> "it does not compile" is not very informative
<Turl> yes you do
<xtofury> so why would I skip that then?
<Turl> because then the wiki says to install it again on 2.3 o.O
<xtofury> why would that make any difference? I also get an error that the manifest is old.
<xtofury> also get a clone.bundle error, which I've read here should be ignored: https://github.com/cubieboard/git-repo/commit/2dc810c2e4028878b9c3484866a5973d5c33479d
<xtofury> under X - IS TIME TO BUILD ANDROID FROM SOURCES
<xtofury> wget leads to a bad url
<Turl> that wiki page has two set of instructions in 1
<Turl> first one is using a repo
<Turl> the second one is using a tarball and way more detailed
<xtofury> the tarball is 404
<xtofury> I found another tarball that should work, but doesn't. Every avenue for getting a dev environment setup is broken as far as I can tell.
<xtofury> nope bad
<Turl> what's bad about it? you're not telling me :)
<xtofury> that does not build for me....I can try it again but if I recall I got errors with it looking in some apk folder
<xtofury> I'll put up the exact error, gunna take a few minutes to download it again
egbert has quit [Disconnected by services]
egbert_ has joined #linux-sunxi
<xtofury> it's untarring... still gunna be a minute
Turl has quit [Ping timeout: 240 seconds]
xtofury has quit []
e-ndy has quit [Ping timeout: 276 seconds]
e-ndy has joined #linux-sunxi
Turl has joined #linux-sunxi
bfree has joined #linux-sunxi
naobsd has quit [Quit: Page closed]
rz2k has joined #linux-sunxi
hipboi has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
rings_VII has joined #linux-sunxi
rings_IIV has quit [Ping timeout: 245 seconds]
rings_IIV has joined #linux-sunxi
rings_VII has quit [Ping timeout: 264 seconds]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
\\Mr_C\\ has joined #linux-sunxi
jeremb has joined #linux-sunxi
jeremb has quit [Client Quit]
jeremb has joined #linux-sunxi
jeremb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeremb has joined #linux-sunxi
jeremb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benn has joined #linux-sunxi
bsdfox\ has quit [Ping timeout: 264 seconds]
bsdfox\ has joined #linux-sunxi
jacq|2 has joined #linux-sunxi
benn has quit [Ping timeout: 264 seconds]
benn has joined #linux-sunxi
<techn__> Turl: pong
\\Mr_C\\ has quit []
benn` has joined #linux-sunxi
Soru has quit [Ping timeout: 246 seconds]
benn has quit [Ping timeout: 264 seconds]
Soul has joined #linux-sunxi
BJfreeman has quit [Ping timeout: 268 seconds]
rellla has joined #linux-sunxi
benn`` has joined #linux-sunxi
benn` has quit [Ping timeout: 256 seconds]
jeremb has joined #linux-sunxi
jeremb has quit [Client Quit]
benn``` has joined #linux-sunxi
benn`` has quit [Ping timeout: 248 seconds]
benn```` has joined #linux-sunxi
benn``` has quit [Ping timeout: 276 seconds]
ssvb has quit [Read error: Connection reset by peer]
Soul has quit [Ping timeout: 264 seconds]
sanka has joined #linux-sunxi
rellla has quit [Ping timeout: 260 seconds]
deasy has quit [Quit: Quitte]
Colani1200 has joined #linux-sunxi
rellla has joined #linux-sunxi
jeremb has joined #linux-sunxi
jeremb has quit [Client Quit]
<Seppoz> hi
hansg has joined #linux-sunxi
benn```` has quit [Remote host closed the connection]
arokux has joined #linux-sunxi
blunden_ has joined #linux-sunxi
blunden has quit [Ping timeout: 245 seconds]
ssvb has joined #linux-sunxi
jeremb has joined #linux-sunxi
jeremb has quit [Client Quit]
<Seppoz> anybody ever configured sun4i_ts with x11 using the xorg tslib driver?
mcbrick has joined #linux-sunxi
wingrime has joined #linux-sunxi
<jukivili> arokux: ?
<arokux> jukivili, hi, I've found out that USB PHY code of host and must have a lot in common
<arokux> jukivili, have you poked in yours? maybe we could have only one common code for them.
hansg has quit [Remote host closed the connection]
<Seppoz> why does the USB HCD depend on the AXP driver?
<wingrime> hno: ping
<jukivili> arokux: they appear to have common code.. maybe UsbPhyInit should be moved to arch/arm/{mach,plat}-sunxi as appears to have been done on other platforms
<arokux> jukivili, maybe, I do not know yet. i've seen some others had a driver for a PHY
<arokux> jukivili, at this moment I just wanted to let you know about this similarity, so that we can share our findings.
jeremb has joined #linux-sunxi
<techn__> arokux: that USB midi keyboard problem is with 3.3 kernel
<techn__> aka allwinners kernel without community fixes
<arokux> techn__, but he has tried our 3.4 too?
<arokux> techn__, "I did try your stage/sunxi-3.4,
<arokux> but it has other issues (eth0 not working)"
<techn__> ah
<techn__> so he is telling that it worked with 3.4?
<techn__> but he had issues with eth0 :)
<arokux> techn__, ah, yes, so I've did screw up
<arokux> techn__, thankx!
jeremb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rz2k has quit []
jeremb has joined #linux-sunxi
sanka is now known as san|away
jeremb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeremb has joined #linux-sunxi
<navlrac> anyone considered modifying the smp boot protocol to support u-boot to keep secondary cores penned? reason being - multi-core JTAG does not work when some cores are powered down making early debug of SMP difficult
Colani1200 has quit [Ping timeout: 276 seconds]
Colani1200 has joined #linux-sunxi
Colani has joined #linux-sunxi
<jukivili> got device-mode working on musb
<jukivili> so next task is getting otg working.. and after that maybe we can get rid of drivers/usb/sunxi_usb
Colani1200 has quit [Ping timeout: 276 seconds]
Colani has quit [Ping timeout: 276 seconds]
navlrac has quit [Quit: navlrac]
vinifr has joined #linux-sunxi
jeremb has quit [Quit: Textual IRC Client: www.textualapp.com]
setkeh is now known as tell
tell is now known as Tell
Tell is now known as setkeh
servili007 has joined #linux-sunxi
naobsd has joined #linux-sunxi
PiyushVerma has joined #linux-sunxi
sud0x3 has joined #linux-sunxi
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
jeremb has joined #linux-sunxi
rz2k has joined #linux-sunxi
<vinifr> mripard, ping
ganbold_ has quit [Remote host closed the connection]
bsdfox_ has joined #linux-sunxi
bsdfox has quit [Ping timeout: 276 seconds]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
wingrime has quit [Ping timeout: 276 seconds]
Colani1200 has joined #linux-sunxi
eebrah is now known as eebrah|away
\\Mr_C\\ has joined #linux-sunxi
Colani has joined #linux-sunxi
Colani1200 has quit [Ping timeout: 264 seconds]
<Turl> techn__: hi
<techn__> Turl: hi
<Turl> techn__: I finally got to play a bit with android yesterday :p
<Turl> I tried 3.4 but it didn't boot at all and left my tablet on a 'boot the broken kernel' loop so I reflashed it w/ livesuit
<techn__> Turl: for me 3.4 booted
<Turl> techn__: are you using AW's nand boot chain?
<techn__> sunxi-bsp's 'make android'
<techn__> and then sunxi-bsp's scripts/mk_livesuit.sh
<techn__> or was it mk_livesuitimg.h
<techn__> or was it mk_livesuitimg.sh
<Turl> techn__: well, my screen remained black, usb was not responsive, and uart over uSD was silent
<techn__> Turl: you must change nand u-boot to support atag params
<techn__> since 3.4 kernel doest have 'ignore atag' hack
<Turl> yeah I was thinking about that, but didn't bother to try :p
<Turl> getting livesuit running was a pain
<techn__> that may not be the only problem.. but atleast I'm able to boot 3.4 kernel
<Turl> techn__: I also had issues with sound
<Turl> /dev/pcm/* didn't show upr
<Turl> up
<Turl> I reverted all the hansg stuff and it works again :)
<techn__> I havent tested android that well
<Turl> techn__: well it's not hard to test
<techn__> Just boot and usb stuff
<Turl> if you touch an ui element and it doesn't make noise it's broken
<techn__> I have a13 tablet.. so I have no reference (what is regression) :p
<Turl> techn__: did it work on the stock android? :P
<Turl> unless your tablet came with the speakers unsoldered I'd hope it did :p
<techn__> :)
<Seppoz> anybody ever used sun4i_ts with slib?
<Seppoz> *tslib
Colani has quit [Ping timeout: 240 seconds]
Colani1200 has joined #linux-sunxi
wingrime has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
eebrah|away is now known as eebrah
rz2k has quit [Read error: Connection reset by peer]
jeremb has quit [Quit: Textual IRC Client: www.textualapp.com]
vinifr has quit [Ping timeout: 264 seconds]
Colani1200 has quit [Ping timeout: 264 seconds]
Colani1200 has joined #linux-sunxi
bsdfox_ has quit [Ping timeout: 264 seconds]
vinifr has joined #linux-sunxi
deasy has joined #linux-sunxi
jacq|2 has quit [Ping timeout: 240 seconds]
<arokux> Turl, livesuit still uses closed protocol?
<Turl> arokux: the protocol itself has been RE'd and we have working tools (fel)
<Turl> but nobody bothered enough to write a livesuit replacement yet
<arokux> Turl, but the doc for it is in place?
<Turl> arokux: you have fel as doc
<Seppoz> a Qt version on livesuit would be helpful
<arokux> Turl, I see
<Turl> not sure if hno wrote any docs on the protocol itself
<Seppoz> *of
<Seppoz> or some open source stack/lib
<Seppoz> Turl: why does USB HCD depend on the AXP drviver?
<Seppoz> it calls gpio_set_pin on certial locations
<arokux> Seppoz, what does AXP hat to do with gpio_set_pin?
<arokux> has*
<Seppoz> axp_set_gpio pin ot so
<Seppoz> whatever the name was
<Seppoz> so HDC driver doesnt compile when disabling thr AXP driver
<Turl> Seppoz: voltage control on USB?
<Seppoz> well but why, usb is allways 5V
<Seppoz> and the on off is controlled by the cpu drive pins
<Seppoz> i mean why do you need to control this?
<Seppoz> a port is regulated to a maximum of 500ma anways
<Turl> I'd expect the 5v rail to be connected to the axp
<Seppoz> maybe
<Seppoz> still dont see why there is a need to connect tem
<Seppoz> still dont see why there is a need to connect em
<Seppoz> especially its done wrong
<Seppoz> IMO the AXP should register GPIOs
<Seppoz> and the driver should use them or so
<Seppoz> yet i have no idea how that works :/
<Seppoz> Turl: do we have openGL enabled by default?
<Seppoz> Turl : its probably a noob question but do i need to add/install anything to get openGL support beside the mali module from the kenrel source
<Turl> Seppoz: we don't have OpenGL support, Mali can only do OpenGL ES
<Seppoz> i men openGL ES2
<Seppoz> *mean
<Seppoz> when you say can do
<Seppoz> you mean its physically capable
<Seppoz> or it suspported
<Turl> well, the blobs can only do that, I'll let libv answer the rest :)
<Turl> Seppoz: you need mali & ump on the kernel side, and install the blobs on userspace
<Seppoz> what dos that mean?
<Seppoz> blobs you mean the closed source binary stuff?
<Turl> yes
<Seppoz> let me check what ump is
<Turl> ump is a memory allocator thingy
<Seppoz> is it a driver?
<Seppoz> where would i find that in the kernel?
<Seppoz> ah ok ump is enabled
<Turl> both mali & gpu modules are in drivers/gpu/ in linux-sunxi
<Seppoz> i have read that like 3 times but it really killed me
<Seppoz> allso its for xorg
<Seppoz> i need to look closer
<Seppoz> maybe the EGL is what i need
<ssvb> Seppoz: it's *also* for xorg, but you can use the framebuffer mali drivers if you wish
<Seppoz> im trying to get qt working on this thing
<Seppoz> but the ts driver doesnt like vanilla tslib and so on
<Seppoz> solved tslib tho
<ssvb> getting qt working on a10 is simple
<Seppoz> qt isnt the problem, i was fighting with the drivers
<ssvb> if you have a10/a13 hardware, just follow the instructions from http://linux-sunxi.org/Binary_drivers
<Seppoz> so all i need to do is copy those binaries to /usr/lib/ and /usr/include/?
<ssvb> just read the freaking instructions
<Seppoz> i am :)
<Seppoz> the test works :)
<arokux> mnemoc, ping
<ssvb> Seppoz: good :) now if you have x11 drivers, then you can http://linux-sunxi.org/Qt5
<ssvb> Seppoz: with framebuffer drivers, some patching may be required
<Seppoz> ssvb: qt5.1 should be able to directly use EGL
<Seppoz> dont see a point in X11
<ssvb> Seppoz: yes, it does, but you need to patch qt for using the framebuffer mali drivers
<Seppoz> oh, why is that?
<ssvb> Seppoz: you can also have a look at https://github.com/ssvb/glmark2 (I have added support for the framebuffer mali drivers there)
Colani1200 has quit [Ping timeout: 264 seconds]
<Seppoz> i thought thats the point in EGL, that you dont need to care about the drivers?
<ssvb> Seppoz: eglCreateWindowSurface will fail if you don't provide the right 'native_window' argument
<Seppoz> oh ok, is there any patches one can use?
<ssvb> and of course you have to care about the drivers with EGL just because there are many flavours: x11, wayland, mali framebuffer, raspberry pi, ...
<Seppoz> what do you mean by that?
<ssvb> EGL is a glue between OpenGL ES and the native window system
<ssvb> depending on your native window system, you may have some differences to take care of
<Seppoz> i thought EGL provides a window system
<Seppoz> or atleast QTs eglfs
blunden_ is now known as blunden
<ssvb> QT eglfs assumes a certain window system, and the 'window system' provided by the mali framebuffer drivers slightly differs from what it expects
<ssvb> but it should be very easy to fix, if anyone tries to do this
Soul has joined #linux-sunxi
<Seppoz> i will start with 4.8.5 with qws
<Seppoz> and then 5.1
<Seppoz> we will se ehow far i get
<libv> ssvb: i had a triangle with mesa a few days ago... now working on getting uniforms handled
pingo has joined #linux-sunxi
<ssvb> libv: very nice
<Seppoz> ssvb: what do you mena by slightly differs?
<ssvb> the 'native_window' argument for mali framebuffer drivers is a pointer to a struct with width and height
<libv> ssvb: once the initial useful bits of that go out, we should go figure out how to get dri2/ump/mesa/X to play nice
<ssvb> Seppoz: I think Qt just passes NULL as a native_window argument, and the mali framebuffer blob does not like it
rellla has quit [Remote host closed the connection]
<Seppoz> ok
<Seppoz> ssvb: which qt version did you tets with?
<ssvb> libv: sure
san|away has quit [Quit: Leaving]
deasy has quit [Quit: Quitte]
BJfreeman has quit [Read error: Connection reset by peer]
<arokux> Turl, ping
deasy has joined #linux-sunxi
<Turl> arokux: pong
<arokux> Turl, never mind.. :)
<Seppoz> lol
<Seppoz> "oh i woke you? nevermind"
<Seppoz> *up
<Seppoz> :P
servili007 has quit [Read error: Connection reset by peer]
theOzzieRat has joined #linux-sunxi
arokux has quit [Remote host closed the connection]
sud0x3 has quit [Read error: Operation timed out]
vinifr has quit [Ping timeout: 264 seconds]
mcbrick has quit [Remote host closed the connection]