hno changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
<hno> oliv3r, lichee-dev-a20 build issue fixed and also pushed to sunxi repo.
Soru has quit [Read error: Connection reset by peer]
Soru has joined #linux-sunxi
BJfreeman has quit [Quit: had a good time]
utente has joined #linux-sunxi
vicenteH has quit [Ping timeout: 264 seconds]
hipboi has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert_ has joined #linux-sunxi
hipboi has quit [Ping timeout: 240 seconds]
hipboi has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
hipboi_ has joined #linux-sunxi
hipboi has quit [Ping timeout: 264 seconds]
\\Mr_C\\ has quit []
hipboi_ has quit [Remote host closed the connection]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
BJfreeman has quit [Quit: had a good time]
eebrah|away is now known as eebrah
<Turl> oliv3r: I may have just put my ram on autorefresh and back and it worked :D
rellla3 has joined #linux-sunxi
rellla3 is now known as rellla
<hno> Turl, playing with suspend?
<Turl> hno: yes
<Turl> hno: seems to work, but I don't have any proper tool to actually verify so
<oliv3r> hno: i had the issue on lichee-dev-a10, so the same fix needs to go into that tree aswell
<oliv3r> hno: they should/are seperate patches; i did split them as best as I could; but it's a WIP branch :p
<oliv3r> i think i've sent the most reasonable work to the ML a while ago, but i could have put it on hold; let me know when your back from vacation and I'll clean up the patchset
<oliv3r> Turl: mainline suspend? sweet; remember, wingrime did some suspend work on 3.4, so don't forget to pick his brain ;)
<oliv3r> 01:34 < hno> oliv3r, would be good if dramc magics patch could be split to
<oliv3r> sunxi-current. Almost impossible to review a20 changes now.
<oliv3r> 01:45 -!- utente [~utente@86.33.168.109.dsl.static.ip.kpnqwest.it] has quit
<oliv3r> [Read error: Operation timed out]
<oliv3r> Turl: and what are you doing up so late!
<oliv3r> and i did some copy paste fail there :(
<Turl> oliv3r: it's called "holidays" :P
<oliv3r> lol
<oliv3r> what time is it where you are?
<Turl> oliv3r: do you have any kind of amperimeter or such to measure power consumption?
<Turl> oliv3r: almost 4AM
<oliv3r> ohh, that's not so bad
<oliv3r> i have a multimeter
<oliv3r> i'd have to rig something up to measure power draw (which should be not too hard
<oliv3r> splice some old usb cable
<oliv3r> insert multimeter
<oliv3r> done
<Turl> oliv3r: if you could test a mainline branch and see if power draw goes down when you suspend it'd be great
<Turl> oliv3r: not now though, the code is pretty green and hacky so far
<oliv3r> i'm @work
<oliv3r> so can't do anything like that now anyhow :)
<Turl> as a sidenote, debugging assembler by poking stuff to the uart via mmio is a great experience :p
<oliv3r> lol
<Turl> oliv3r: yeah, think some days/weeks in the future :) prepare it in advance if you wish :p
Soru has quit [Ping timeout: 240 seconds]
<oliv3r> lol
<oliv3r> i'll be going on holidays aug 3th for a week
<oliv3r> and after that i'm a week @home
<oliv3r> hno: well github is identicla to my local tree; so that'sg ood; but there's 2 seperate patches, 9929 and 9f2ad
<Turl> with some luck I might get something testable before then
<oliv3r> one is sun7i specifics, the other is magic values cleanup
<oliv3r> Turl: that'd be good
<oliv3r> with a bit of luck, we'll have some SID in the kernel :p
<Turl> I need to get up to speed on ARM assembler "best practices"
<oliv3r> your writing suspend assembly?
<Turl> like, can I (ab)use macros "static inline" style?
<Turl> oliv3r: yes, the dram code is asm :p
<oliv3r> i know nothing of suspend, except for what wingrime did/does
<oliv3r> style wise, hno might know
<Turl> oliv3r: any idea what does SDR_CCR, DCR, DRR, HPCR and company mean?
<oliv3r> of course
<oliv3r> :p
<Turl> oliv3r: y u no wiki it then :P
<oliv3r> there's some preliminary info on the rhombus wiki
<oliv3r> and i didn't feel like copying it
<Turl> :P
<Turl> I noticed 1<<31 causes trouble
<Turl> but gcc doesn't like 0x1U on my asm :(
<oliv3r> 08:52 < Turl> oliv3r: almost 4AM
<oliv3r> erg
<Turl> and 0x70000000 is ugly
<oliv3r> that should give you all you need to know
<oliv3r> or rather; it's all we know
<oliv3r> and i was to busy (not bored enough) to copy over the wiki info
<oliv3r> and we still don't have a nice template; and i'm bored of being the web monkey
<Turl> I'll have a look tomorrow then
<oliv3r> i've tried to remove all magic values into define
<oliv3r> so we should have a little bit better idea how it works
<oliv3r> but remember, dramc is still one big black magical box to us
<Turl> oliv3r: I noticed :p I'm poking it with a stick
<oliv3r> but atleast those defines help quite some
<oliv3r> as for the HPCR register
<oliv3r> (different branch)
<oliv3r> i tried to make some sense of it
<Turl> ok, thx
<oliv3r> but we'll need to investigate more thoroghly half of that
<oliv3r> and should be done by 2 or more, since I'm really partially guessing ;)
<oliv3r> HPCR = host port controller
<Turl> :)
<Turl> mripard: ping?
<oliv3r> (and I know reall not much of dramcontrollers)
<oliv3r> but I think it's how or what is (allowed) to connect it's dma to the memory
<oliv3r> if that make sense
<oliv3r> it's like gating, but for memory access, I think
<oliv3r> pll gating*
<Turl> talking about that, need to clean up and submit the clock stuff I have sitting here since the last merge window :/
rellla2 has joined #linux-sunxi
<oliv3r> i'll see if maxime/greg responded on the ML and will mail some preliminary info myselfsome
wingrime has joined #linux-sunxi
<oliv3r> wingrime: morgin
<wingrime> oliv3r: morgin
<oliv3r> morning* lol
<wingrime> )
<wingrime> oliv3r: it surprizing that a10 kernel boot so long
<wingrime> oliv3r: <6>Calibrating delay loop...
<oliv3r> your booting a10 on a20 hardware?
<oliv3r> wingrime: hansg released fedora 19 with a20 support
<oliv3r> did you try that?
<wingrime> oliv3r: nope
rellla2 has quit [Remote host closed the connection]
<oliv3r> you should; i'm very curious about it; i don't have 4gb uSD with me to test ;(
<Turl> good night guys :)
FR^2 has joined #linux-sunxi
<wingrime> oliv3r: where def config for a20?
<oliv3r> nn Turl sleep well
<oliv3r> wingrime: we don't have one yet; i guess hansg's the closest we got
<wingrime> oliv3r: will try make it myself
<oliv3r> it shouldn't be very different from sun4i_defconfig
<oliv3r> change cpu/irq controller, disable unsupported stuff; bam, done
<mripard> wingrime: yes?
<wingrime> mripard: whats with a20 support for mainline
<wingrime> mripard: mripard do you tryed anything in that direction
<rellla> guys need your help with crosscompiling vlc: http://pastebin.com/AKZdw3e8
<rellla> workaround works: removing libtwolame-dev on the host
<wingrime> rellla: It takes time, but VLC can be build on device
<rellla> wingrime: sure, but i don't want to do it on the device ;)
<rellla> i managed to cross compile everything else, too
<wingrime> oliv3r: funny, I just find first error in "for amely branch"
<wingrime> oliv3r: I first patch to pull )
<mripard> wingrime: yes, I have some early patches for the A20
<oliv3r> wingrime: maybe there's a fix later; it has passed the ML :p respond!
<mripard> wingrime: ^
<wingrime> mripard: great
<oliv3r> rellla: have you looked at things like buildroot/openbricks, I know openbricks corsscompiles everything, and there should be some support
<oliv3r> mripard: ohhh nice! does it boot?
<mripard> oliv3r: see, I finally had some times to work on it :)
<oliv3r> mripard: :D I can test sid on it
<wingrime> oliv3r: arch/arm/mach-sun7i/include/mach/debug-macro.S:20:2: error: #error "Please select a uart port"
<mripard> oliv3r: yes, it should work
<oliv3r> wingrime: mailinglist! but i think hansg is on vactation till aug 8th
<oliv3r> mripard: i'll test it later today then
<mripard> I just rebased it on top of 3.11, so I'm not definitive about it since I worked with 3.10
<mripard> but it should work.
<oliv3r> mripard: are you planning on responding to greg? I'm planning on submitting my results to him today
<mripard> oliv3r: yes
<oliv3r> ok then i'll wait for that :)
<mripard> I'm currently compiling your patches :)
<mripard> well, compiling a kernel with your patches
<oliv3r> do you have my last version?
<oliv3r> the one i sprunged yesterday?
<oliv3r> i can put the latest into my github too
<mripard> yes, please
<oliv3r> ok i'll do that
<oliv3r> my tree is just horribly messy though :p
<oliv3r> i should make a new tree and and put my commits there
<oliv3r> i kept failing on adding greg's patches to my tree
<mripard> or just paste me the sprunge link
<oliv3r> lol ok :)
<oliv3r> yeah i think i have 5000 patches after mine now
<wingrime> oliv3r: with a20 config like minefield
<wingrime> oliv3r: next error on compilation
<oliv3r> wingrime: LOL probably :)
<oliv3r> there's quite some bugs there et
<bamvor> hello.
<bamvor> is there some one working on port A31 to lastest kernel?
<wingrime> bamvor: we lack devs with such hw
<bamvor> wingrime: there are lots of stb and pad powered by A31.
<bamvor> wingrime: is it because u do not like powervr gpu?
<oliv3r> bamvor: mripard has done quite some work for a31 for mainline
<oliv3r> but forget about running it on anything for quite some time
<mripard> oliv3r: hmmm, I would use your git branch ...
<oliv3r> ther'es a LOT to be done
<oliv3r> mripard: ok let me push it
<theOzzieRat> is there a way to define i2c devices in the .fex file?
<mripard> the sysfs file is created under /sys/devices/1c20000.soc/1c23800.eeprom/eeprom with your v4
<oliv3r> mripard: i'll push it to a seperate new branch, just in case
<mripard> which is exactly what I'd expect :)
<oliv3r> mripard: i think your missing greg's latest sysfs work
<mripard> but not really what you mentionned yesterday :)
<oliv3r> but let me push
<mripard> yes, it's just your v4 on top of 3.11
<oliv3r> i'm rebaseing now, 40/3000
<bamvor> mripard: could i get your patch for A31? thanks.
<oliv3r> any way to speed up a rebase? (use moore threads?)
<oliv3r> bamvor: right now, i think mripard has it booting, and that's about it, no storage, no display, only uart works
<mripard> oliv3r: the bottleneck is your disk :)
<oliv3r> mripard: it's a raid array :(
<mripard> with good ol' disk drives ?
<bamvor> oliv3r: it is ok for me. i just want to use it as dom0 in xen.
<oliv3r> but good to know, i should get faster build directory, something with raid0
<bamvor> i am working on port xen to A31.
<mripard> oliv3r: and it's not true, it has GPIO! :)
<oliv3r> lol
<oliv3r> bamvor: i doubt that'll work ;)
<oliv3r> mripard: have you ever peeked at my uboot a31 stuff?
<mripard> bamvor: actually, it should just work out of the box, most of the xen work is done by the ARM guys
<oliv3r> (i haven't done naything for atleast a week i think :(
<mripard> oliv3r: not yet :S
<mripard> well, I did give it a quick look, but not a deep review
<oliv3r> no need to deeply review it, quick look is all it deserves right now
<rellla> oliv3r: i succeeded with emdebian till now. it's VERY easy to set imo-
<oliv3r> rellla: kk, just something to notice, openbricks has a dev working on it i think
<rellla> i'll look at it, once vlc compiles...
<rellla> *compiled
<oliv3r> i've worked with it for x86 a year ago
<oliv3r> it's not too bad
<oliv3r> and as an embedded 'distro creator' it's focused/optimized for htpc usage, rather then networking (openwrt)
jemk has joined #linux-sunxi
<rellla> which flag may i use, that "-ltwolame" does not use /usr/lib/libtwolame.so at first but that one on the rootfs? where is -ltwolame set?
atiti has quit [Ping timeout: 256 seconds]
<mripard> do someone knows the power consumption of the A13 in suspend?
vicenteH has joined #linux-sunxi
<wingrime> mripard: it depens on board, when cpu sleep some soc parts may not sleep
atiti has joined #linux-sunxi
<oliv3r> i don't have an a13, but planning on doing power measurement tests next week
<oliv3r> if my amp meter goes low enough :)
<mripard> wingrime: yes, of course, I don't really expect some hard numbers, but rather an order of magnitude
<mripard> in the case where all external devices would be shut
<mripard> oliv3r: I'd be very interested in those numbers
<oliv3r> i only have a10 (with broken phy) and 2x a20
<oliv3r> my tablet (a10) isn't interesting as it has a batteryt
lkcl has quit [Ping timeout: 264 seconds]
<wingrime> oliv3r: I just fixed PM compilation (not sure it builds good , may be it need fixes that I have done before for a10)
<wingrime> oliv3r: bit it minefield
shineworld has joined #linux-sunxi
<bamvor> oliv3r: xen on A31 currently fail on gic things. i thought it because of device tree wrong.
<oliv3r> not too bad then :)
<bamvor> mripard: there are lots of arm work done by critix guys, like Ian Compbell, Tim Deegan...
<bamvor> oliv3r: so, i guess i will need the upstream kernel later.
<oliv3r> those patches should be forward compatible i guess
<oliv3r> 2950/3200 on the rebas e:s
<wingrime> oliv3r: sun4i keyboard do you think compatible with sun7i?
<oliv3r> i would think so
lkcl has joined #linux-sunxi
<mripard> oliv3r: why do you have so much to rebase?
<oliv3r> i pulled greg's driver-core-development tree
<oliv3r> what puzzles me is, why my patches aren't on the end
<oliv3r> done
<mripard> wingrime: yes, the IP looks the same.
shineworld has quit [Remote host closed the connection]
shineworld has joined #linux-sunxi
<oliv3r> i pulled in remotes/gregkh/driver-core-next
<mripard> oliv3r: it doesn't have your driver here
<oliv3r> 0ec88b0deaf2d64809e11add5aa0085e4135a26a
<hno> The HPCR is quite well known actually. But nothing we need o bother much with. http://rhombus-tech.net/allwinner_a10/A10_register_guide/A10_DRAMC/#index38h2
<oliv3r> hno: we have more info then that actually :)
eebrah is now known as eebrah|away
<wingrime> mripard: aw changed IRQ naming , now I turn back some IRQ names for make sun4i drivers makes
<wingrime> mripard: now I fixed LRADC , keyboard csi0 csi1
<oliv3r> wingrime: which branch? 3.4?
<oliv3r> yeah hans said, some things might 'just work'
<oliv3r> wingrime: and they dind't change IRQ naming
<oliv3r> wingrime: A10 has 'allwinner IRQ controller'
<oliv3r> wingrime: A20 has 'ARM Generic IRQ controller' I think it's called gic?
<wingrime> oliv3r: changed
<wingrime> oliv3r: old was SW_INT_IRQNO_ now some have AW_IRQ_
<oliv3r> so they replaced the IRQ controller :)
<oliv3r> but yeah, the drivers don't know that; won't be an issue for mainline; might be now
<wingrime> oliv3r: also new irq ids are change position now OLD_IRQ+32
<wingrime> mripard: ^
<oliv3r> probably all due to the new IRQ controller
<wingrime> yeax, but it easy to move to plat
<oliv3r> I would think hansg did most of that allready
<oliv3r> since quite a lot of things work allready
<mripard> yes, the first 32 IRQs in the GIC are per-CPU irqs iirc
<wingrime> I working from top hansg's branch
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
<wingrime> mripard: IRQ controller are comes with CPU IP ?
<mripard> not necesseraly, allwinner used to have a custom irq controller
<mripard> and for the A20/A31, they switched to the ARM one
<mripard> but as usual, they could have very well developped their own
<wingrime> mripard: problem that a20 are multicore, so IRQ controller becomes difficult with it
<mripard> yep, of course
<mripard> but yes, with the GIC, every interrupt < 32 is per-processor
<mripard> interrupts > 32 are shared between each processor
<mripard> which is why there's this + 32
<oliv3r> mripard: have you found my patch yet? :(
<oliv3r> i don't understand why my patch wasn't rebased ontop of it all
<oliv3r> but then again, i'm not great with git
<wingrime> oliv3r: new pm have strange behavior
<oliv3r> uh oh
<mripard> oliv3r: yeah, and you messed up the history as well
<oliv3r> yeah, it failed tons :S
<mripard> your 3.10 commit doesn't have the same commit id as linus'
<oliv3r> which is why i said i'll probably best cherry pick my 2 patches to some other tree
<oliv3r> then again, i'll only submit those 2 commits anyway; and then trash the tree :p
<mripard> yeah, I cherry-picked the few sysfs commits by greg, yours, and your driver
<oliv3r> smart
<oliv3r> but see, greg's stuff simply failed to apply
shineworld has quit [Quit: Leaving]
<oliv3r> so I was like 'fuck it, i'll pull his tree, that should work at the very least'
<mripard> it applied perfectly here on top of 3.11-rc1
<oliv3r> mine was probably to old then
<oliv3r> i was still at 3.10
<mripard> I just pushed the branches sunxi-next-test-sid-next and sunxi-next-test-sid-next-patches if you want.
<oliv3r> okay, i'll pull those
<oliv3r> and use those to continue on
<oliv3r> thanks maxime
<oliv3r> new github foto?
<oliv3r> i like your shirt :p
<oliv3r> don't show my gf; she loves pinguins (the animals)
<mripard> :)
<oliv3r> what's the difference between the two trees?
<mripard> -patches has the sysfs patches
<mripard> the other one has your driver
<oliv3r> check
<mripard> (and is on top of -patches, obviously)
<oliv3r> ya
<oliv3r> i see you added sid to a10s too :)
<mripard> yep
<mripard> I was testing it on my A10s-olinuxino, so... :)
<oliv3r> nice, saves me some typing :p
<oliv3r> ahhh
<oliv3r> turl asked to add it too
<oliv3r> i may have actually even forgotten
<oliv3r> but don't tell him i forgot ;)
jlj has quit [Read error: Connection reset by peer]
jlj has joined #linux-sunxi
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Client Quit]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
jlj has quit [Ping timeout: 240 seconds]
<jukivili> oh why did AW copypasted musb and made their own crappy driver
jlj has joined #linux-sunxi
<techn_> jukivili: otg works already? :D
<oliv3r> jukivili: 'quick, cheap, fast'
<oliv3r> techn_: are we using the musb driver fully allready?
<techn_> oliv3r: jukivili
<oliv3r> techn_:
<techn_> atlest poc.. what I heard
<techn_> atleast
<oliv3r> kk that i knew
<jukivili> I'm trying to hunt all AW hacks and throwing them at musb in hopes that it starts working :P
<jukivili> atleast lsusb works
<oliv3r> lol
<oliv3r> yay!
jlj has quit [Ping timeout: 240 seconds]
<mripard> jukivili: oh, cool that you're working on musb
BJfreeman has quit [Read error: Connection reset by peer]
jlj has joined #linux-sunxi
pitillo has quit [Ping timeout: 252 seconds]
<wingrime> oliv3r: 3.4 hung nearly uart
<wingrime> <6>Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
<wingrime> <6>[uart]: used uart info.: 0x01
<wingrime> <6>[uar|
<oliv3r> ouch
tzafrir has joined #linux-sunxi
jlj has quit [Ping timeout: 276 seconds]
jlj has joined #linux-sunxi
Tsvetan has quit [Read error: Connection reset by peer]
<wingrime> oliv3r: I disabled uart driver, it boots , works, but screen acting like slowpocke
<wingrime> oliv3r: usb works
<oliv3r> wingrime: not bad, not bad
<oliv3r> i can't imagine hans not using uart however
<wingrime> oliv3r: early uart works
<wingrime> oliv3r: but normal driver not
<oliv3r> ahh ok
<oliv3r> so uart only works for console stuff
<oliv3r> good nuff for now :)
<oliv3r> but means a lot of work todo still :(
<wingrime> oliv3r: also I need rebuild kernel with SMP
<oliv3r> i think that's highly experimental if i'm not mistaken :p
<wingrime> oliv3r: I see image on screen
<wingrime> oliv3r: only slow
<wingrime> oliv3r: screen acting slow
<oliv3r> :(
shineworld has joined #linux-sunxi
<wingrime> mripard: SMP works on mainline a20?
<mripard> no
<wingrime> mripard: witch thing it require?
<mripard> the smp_ops
<mripard> to enable/disable a CPU
<wingrime> mripard: than it not a big problem
<wingrime> mripard: I just tested hasng ,usb works , disp works
<wingrime> mripard: uart (not early) hung system
<wingrime> mripard: or not works simply
<wingrime> mripard: but it request some fixes from me
<mripard> I agree that it's not a big deal, I just didn't have time to work on it yet, that's all :)
<wingrime> oliv3r: with SMP it works much faster
<oliv3r> nice one!
Offshore has joined #linux-sunxi
naobsd has joined #linux-sunxi
jemk has quit [Ping timeout: 246 seconds]
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
<shineworld> I've got a strange error with A20 boot: http://paste.debian.net/17051/
<shineworld> I've created SD with that script : http://paste.debian.net/17053/
<shineworld> I don't find where is problem with /dev/xxxp2 ....
<wingrime> shineworld: you need fix you fs
<wingrime> shineworld: but offline
<wingrime> shineworld: this message shows when system try run fsck on living system
<wingrime> shineworld: install flash to pc and fix fs offline
<shineworld> I'm trying to do ....
eebrah|away is now known as eebrah
<shineworld> just to know : the bootload partition is vfat (/p1) and root partition is ext4 (/p2) ... that is right ?
<wingrime> shineworld: yes p2 have problems
<wingrime> oliv3r: ping
<oliv3r> wingrime: pong
<shineworld> ok thank you
<wingrime> oliv3r: can you run git grep arch_timer_common_register on aw 3.3 sources
<oliv3r> wingrime: erm
<oliv3r> lemme see
<shineworld> running e2fsck in script doesn't catch errors: http://paste.debian.net/17056/
<oliv3r> wingrime: http://sprunge.us/jRYI
<oliv3r> shineworld: fsck -f /dev/yourdevicewithproblems
<shineworld> I've got that: http://paste.debian.net/17058/
<shineworld> in linux I can mount and see the files
<shineworld> calling /dev/sdc instead of /dev/sdc2 I've got the error http://paste.debian.net/17059/
wingrime has quit [Ping timeout: 240 seconds]
jemk has joined #linux-sunxi
wingrime has joined #linux-sunxi
<wingrime> nice
<FR^2> me? always.
<wingrime> oliv3r: I made 4 patchs
shineworld has quit [Quit: Leaving]
n01 has quit [Ping timeout: 240 seconds]
<oliv3r> wingrime: awsome!
<wingrime> oliv3r: it fix some compilation problems with menuconfig
<oliv3r> for uart?
<oliv3r> usbc0 is being submitted i think
n01 has joined #linux-sunxi
<wingrime> oliv3r: no uart driver still must be disabled , but uart stillworks over early routines
<oliv3r> good good
<wingrime> oliv3r: funny github not working
<wingrime> oliv3r: usb works normaly without any touch
<wingrime> mripard: ping
<mripard> pong
<wingrime> mripard: there is ARM architect times that AW add to sun7i, have it change anything if present?
<wingrime> *timer
PiyushVerma has quit [Read error: Connection reset by peer]
<mripard> wingrime: i have no idea
PiyushVerma has joined #linux-sunxi
n01 has quit [Read error: Operation timed out]
vicenteH has quit [Ping timeout: 246 seconds]
<wingrime> oliv3r: I send pull to hasng
hipboi has joined #linux-sunxi
<wingrime> oliv3r: need pull to you ?
<wingrime> *want
arete74_ has quit [Ping timeout: 245 seconds]
<oliv3r> hansg is probably the best place
<oliv3r> but he's on vacation for 2 1/2 weeks now
<oliv3r> what our current todo is: Test stage/sunxi-3.4
<oliv3r> fix regressions that can be fixed (without hansg's patchset)
<oliv3r> once stage/sunxi-3.4 is deemed stable; pull hansg's for-amery into stage/sunxi-3.4
<oliv3r> though I am not aware of many regressions with the current 3.4
<oliv3r> ssvb knows of 2 issues; dunno if there's more
<techn_> oliv3r: android is broken :p
<ssvb> techn_: is it a regression in stage/sunxi-3.4?
yuuki has joined #linux-sunxi
<yuuki> a31 rndis function of android_usb gadget driver on 3.3.0 lichee kernel has bug - packets from host to device do not deliver to device. Do someone have patch/fix?
tinti has joined #linux-sunxi
<wingrime> ssvb: after some hand-made patches 3.4 works normaly on a20, disp,usb,wemac works
n01 has joined #linux-sunxi
<ssvb> wingrime: good, what about cedarx? ;)
<ssvb> looks like the SD slot is going to die in my Mele A2000, I'm getting u-boot stuck failing to read mmc increasingly more often :(
<ssvb> maybe it's a good idea to migrate u-boot to NAND before it is too late
<oliv3r> yuuki: we know nothing of 3.3; our work is in 3.0 and 3.4, but i don't think a31 code has been touched at all (other then some preliminary mainline work)
<oliv3r> ssvb: different SD card?
<oliv3r> ssvb: rz2k was working on the mtd stuff
<ssvb> oliv3r: yeah, a good idea, maybe it's actually the card dying
<PiyushVerma> I am having isuse in running es2_info
<PiyushVerma> x11 sunxi_fb driver workin ok
<PiyushVerma> but when I run ./es2_info I get Error: eglGetDisplay() failed mali
yuuki has quit [Read error: Connection timed out]
<PiyushVerma> where If I use egl directly on FB then it works
<PiyushVerma> ssvb: and last time qt build success but still have runtime issue
hglm has joined #linux-sunxi
<ssvb> PiyushVerma: check permissions for /dev/mali and /dev/ump
<WarheadsSE> and maybe membership to video group
<PiyushVerma> that's ok I am as it's able to run on FB
<hglm> PiyushVerma: AFAIK the userspace mali libs can onlt
<hglm> only be intalled for either fb on X, not both at the same time.
<PiyushVerma> the default test program of mali-libs works
<PiyushVerma> hglm: thanks to point it out . any idea how to configure for x ?
<hglm> PiyushVerma: It's in the instructions for the userspace mali libs, it autodetects but you can add a commandline options to make.
<PiyushVerma> hglm: ok checking option in make file
<hglm> PiyushVerma: Should be documented in the README.
<PiyushVerma> done that now it say couldn't open display
<libv> PiyushVerma: how did you install things?
<libv> PiyushVerma: did you use Binary_Drivers?
<PiyushVerma> it's automaticly installed by https://github.com/linux-sunxi/sunxi-mali.git
<techn_> ssvb: currently stage/3.4 is affected
<PiyushVerma> configure with make config MALI_EGL_TYPE=x11 and it show that it's configured for x11
<libv> PiyushVerma: does the test program work in a window in X?
<PiyushVerma> no I try es2_info from mesa
<PiyushVerma> is there any other test program for egl x11 ?
<libv> PiyushVerma: how about first using the test program included in sunxi-mali?
<libv> PiyushVerma: and i really do recommend that you read http://linux-sunxi.org/Binary_drivers
<PiyushVerma> when I install fb lib then sunxi-mali test program work
<PiyushVerma> but when install for x11 then that not work
<PiyushVerma> going to read Common pitfalls
<libv> PiyushVerma: 15:56 < libv> PiyushVerma: how about first using the test program included in sunxi-mali?
<PiyushVerma> libv: as mention by hglm there there is 2 different binary one for fb and other for x11. when I build for fb then it works when build for x11 then error failed to open x display
<ssvb> PiyushVerma: how do you run it? maybe you need to "export DISPLAY=:0" if you run it from the ssh shell?
<PiyushVerma> ssvb: right that was one issue now I run within xwindow and error change to eglInitialise faild
<PiyushVerma> checking code which section
<PiyushVerma> eglInitialize call fail
<ssvb> PiyushVerma: check /var/log/Xorg.0.log and also probably strace the test program
<ssvb> PiyushVerma: make sure that you have the right permissions/ownership for /dev/mali and /dev/ump
<PiyushVerma> I am running as root and have enough permission going to debug as u suggested
n01 has quit [Ping timeout: 240 seconds]
<ssvb> well, there must be something wrong in your system or in what you are doing
<ssvb> maybe also check that you really have the x11 flavour of libMali.so installed
<PiyushVerma> there are 100K + lines of entry in log of SUNXIFB(0): FBIOPUTCMAP: Invalid argument
<PiyushVerma> and with strace it's pollling many time and resource temporarily unavailable
tzafrir has quit [Ping timeout: 240 seconds]
<ssvb> heh, "FBIOPUTCMAP: Invalid argument" is kinda normal, even though we should really suppress it
<PiyushVerma> ssvb: how to verify mali lib
<PiyushVerma> I think lib is change cause bfore fb was working and no fb not working
<ssvb> strace may show if accessing or opening something may be failing
<PiyushVerma> ok lib verified
hglm has quit [Quit: leaving]
<PiyushVerma> md5 sum of installed lib and sunxi-mali/lib/mali/r3p0/armhf/x11 is same
<ssvb> good, can you also run ldd for the test program?
<ssvb> just to be sure that the right libraries are resolved as its dependencies
<PiyushVerma> what could be reson of Resource temporarily unavailable ?
<ssvb> how the hell are we going to know? you are the one who has the complete logs :)
<PiyushVerma> wow it's using libEGL and libUMP but no libMali if test with ldd
<ssvb> libEGL should be a symlink to libMali
<PiyushVerma> right
<PiyushVerma> http://ais.im/pv/log
hglm has joined #linux-sunxi
<hglm> You probably have to reconfigure/recompile/reinstall sunxifb with the userspace X11 mali libs installed.
<wingrime> oliv3r: sound works
<oliv3r> wingrime: yeah hans did say it should
<oliv3r> good to know :)
<PiyushVerma> hglm: already did that going to do again
<hglm> I just installed sunxi-mali on my recent debian install, only problem I encountered was a dependency on XNextEvent in test/test from the sunxi-mali repository. I added -lX11 to fix it.
<hglm> PiyushVerma: Make sure you rerun autoreconf -vi and configure
<PiyushVerma> hglm: ok so it's working ur side u able to render ?
<hglm> Piyush: Yep, test/test works.
<PiyushVerma> hglm: are u using ssvb repo of linux-sunxi ?
<hglm> I had to install the seperate DRI2 lib though as described on the wiki.
<hglm> Piyush: You should use the linux-sunxi repo for Mali, ssvb for sunxifb.
<PiyushVerma> so 2 thing missed one repo and other DRI2
<PiyushVerma> as automake was saying libdri missing so I install libdri-dev
<wingrime> oliv3r: you have pending pull to hasang ?
pitillo has joined #linux-sunxi
<oliv3r> on the mailing list 1 or 2
<libv> PiyushVerma: why is DISPLAY not automatically initialized?
<oliv3r> hopefully we can get that done quickly, so we can work from stage/sunxi-3.4 again
<libv> PiyushVerma: any terminal program under X sets that automatically.
<wingrime> oliv3r: I did pull req over github system
<PiyushVerma> libv: actually early I was using ssh that's why latter I switch to x
eebrah is now known as eebrah|away
<hglm> Regarding stage/sunxi-3.4 stability, I couldn't get wlan to work on that branch, while it works with hansg's latest for-amery branch.
<libv> PiyushVerma: you did use the udev rules?
<PiyushVerma> libv: yes
<libv> PiyushVerma: and the user is in the right group?
<ssvb> hglm: not sure if anyone really cares about this stuff, but it would be interesting to bisect to identify when it your wlan broke and when it got fixed again
<libv> anyway, off for shopping
<hglm> ssvb: Perhaps, it suspect may have to do with USB not being properly configured when I compiled stage/sunxi-3.4 with the default config.
<PiyushVerma> ls
<ssvb> PiyushVerma: can you make sure that you don't have "no 3D acceleration because the driver has been compiled without libUMP" message in your /var/log/Xorg.0.log ?
<PiyushVerma> ssvb: yes message is there
<PiyushVerma> no 3D acceleration
paulk-desktop has joined #linux-sunxi
<ssvb> PiyushVerma: then it is <hglm> You probably have to reconfigure/recompile/reinstall sunxifb with the userspace X11 mali libs installed.
<PiyushVerma> ssvb: right looks we got the issue going to do that thankyou very much
jemk has quit [Ping timeout: 246 seconds]
egbert_ is now known as egbert
pitillo has quit [Changing host]
pitillo has joined #linux-sunxi
<PiyushVerma> ssvb: you are genious
<PiyushVerma> it works
<jukivili> full day spent trying to get musb work.. if anyone else is interested in hacking musb, check https://github.com/jkivilin/linux-sunxi/commits/sunxi-3.4-wip
<PiyushVerma> that you every body very much to make it working ssvb hglm libv thank you
<PiyushVerma> I will move toward gole of my qt5.
paulk-desktop has quit [Remote host closed the connection]
paulk-desktop has joined #linux-sunxi
<PiyushVerma> cd
<PiyushVerma> Wow qt5 also running
<WarheadsSE> i need to revisit those for arch at some point libv ssvb
setkeh has joined #linux-sunxi
jemk has joined #linux-sunxi
shineworld has joined #linux-sunxi
<ssvb> PiyushVerma: updated http://linux-sunxi.org/Binary_drivers to add some notes about this issue
<PiyushVerma> ssvb: some more changes needed many distry don't have libdri2-dev
<PiyushVerma> in my case libdri-dev works without issue
<PiyushVerma> so can escape libdri2 build issue
<WarheadsSE> mmm
atiti has quit [Ping timeout: 245 seconds]
n01 has joined #linux-sunxi
<PiyushVerma> ssvb: one more thing in a qt example top side it's getting line line kind of noice not sure what is that
<PiyushVerma> but content also rendering properly but just some extra noice
<ssvb> PiyushVerma: heh, there is some issue related to how the mali dri2 blob requests the front and back buffers
<ssvb> PiyushVerma: qt5 tries to resize the window just between these requests
<ssvb> PiyushVerma: this should not be a problem with r3p2
<PiyushVerma> ssvb: sorry just back
<PiyushVerma> but I am not resizing window
<ssvb> PiyushVerma: qt does on your behalf
<PiyushVerma> ok
<ssvb> PiyushVerma: are you running the demo in fullscreen mode?
shineworld has quit [Quit: Leaving]
<PiyushVerma> so changing mali drive in kernle is just replacing a folder ? should I try that
_BJFreeman has joined #linux-sunxi
<PiyushVerma> ssvb: not in full screen
_BJFreeman is now known as BJfreeman
<ssvb> PiyushVerma: still the window manager may reposition/resize right after start
<ssvb> PiyushVerma: upgrading mali is not so easy, you also need libMali.so blob with a matching version
<PiyushVerma> ssvb: every mili second ?
<ssvb> PiyushVerma: if you have mismatched back and front dri2 buffers, the picture changes every second frame
<ssvb> PiyushVerma: for example normal pictures on even frames and garbage on odd frames
<PiyushVerma> ok
<ssvb> PiyushVerma: do you have any contacts with Allwinner or whoever might potentially provide a new version of libMali.so blob?
<PiyushVerma> not yet but will check with indirect source
<ssvb> if the framebuffer mali drivers work good for your applications, you should probably go for it
<ssvb> XBMC is using the framebuffer mali drivers
<PiyushVerma> actually qt5 default code is for x11 so to use fremebuffer with qt5 need a bit patch for qt5
n01 has quit [Ping timeout: 240 seconds]
<Offshore> greetings, guys
<Offshore> where to post the feature request for "halt" command in u-boot? :)
n01 has joined #linux-sunxi
wingrime has quit [Ping timeout: 260 seconds]
yuuki has joined #linux-sunxi
<libv> WarheadsSE: the wiki page you mean, or potential installation issues?
<libv> or packaging?
* libv still doesn't get why noone has shown up to package sunxi-mali
<WarheadsSE> libv: getting back to cleanly packaging it
<WarheadsSE> no one has tried aside from me, and I have really had my hands full, plus my office is packed at the moment thanks to a tree falling into it
<libv> cool
<libv> :(
<WarheadsSE> yeah, fun
<libv> trees are terrible. they always are in the way on beautiful forest paths. The block the view from nice rocks on top of hills in the middle of the forest. _And_ they fall on things
<libv> the eu should cut them all down!
<WarheadsSE> I rent, and landlord is 1) dragging his feet 2) possibly being negligent 3) even more slightly intentionally witholding info from the insurance agency
<WarheadsSE> anything inside is covered cost x2 by my own insurance.
<libv> but that doesn't fix the building...
<libv> and endless paperwork...
<WarheadsSE> right
<WarheadsSE> I am out my office space, work bench, massive compile box, etc etc
<WarheadsSE> and this isn't the only thing wrong recently with the property
<WarheadsSE> not touching that.
<WarheadsSE> needless to say, I have refused to pay rent until he clearly communicates with me.
<WarheadsSE> (and I am within my rights to do so without his ability to evict)
<libv> i had good hopes for mdfe and his obs/mer packaging work
<WarheadsSE> Well, I can make it work in Arch without too much of an issue
<WarheadsSE> I just haven't had the time to come back to it.
<libv> but mdfe is too knackered from working 2 tasks at open exchange, and hasn't been able to find time for his tablet since march
<WarheadsSE> but now I have a bunch of the AW Axx series that have the mali400
<WarheadsSE> cubies, hackberry, mele, olimex stuff, etc etc
wingrime has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
yuuki has quit [Read error: Connection timed out]
yuuki has joined #linux-sunxi
n01 has quit [Ping timeout: 240 seconds]
wingrime has quit [Ping timeout: 268 seconds]
arete74 has joined #linux-sunxi
jemk has quit [Quit: bye]
hipboi has quit [Quit: Leaving]
rz2k has joined #linux-sunxi
alcides has joined #linux-sunxi
alcides has quit [Remote host closed the connection]
soul has joined #linux-sunxi
rings has joined #linux-sunxi
wingrime has joined #linux-sunxi
rings has left #linux-sunxi [#linux-sunxi]
_BJFreeman has joined #linux-sunxi
BJfreeman is now known as Guest8492
_BJFreeman is now known as BJfreeman
Guest8492 has quit [Read error: Connection reset by peer]
arete74 has quit [Ping timeout: 246 seconds]
arete74 has joined #linux-sunxi
BJfreeman has quit [Read error: Connection reset by peer]
ibrah has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
rings_IIV has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
BJfreeman has quit [Read error: Connection reset by peer]
_BJFreeman is now known as BJfreeman
<Turl> oliv3r> but don't tell him i forgot ;) <- I can read :p
rz2k has quit []
tzafrir has joined #linux-sunxi
BJfreeman has quit [Read error: Connection reset by peer]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
ibrah has quit [Ping timeout: 240 seconds]
<oliv3r> Turl: i know d'oh i even made sure your name was highlighted a few lines above :)
<oliv3r> you where supposed to say 'oh but i never asked that'
<oliv3r> which means i dind't forget anything!
<oliv3r> wingrime: please send small patches over the mailinglist (additional if anything) github is nice to do a pull; but reviewing or being aware that there is a patch that needs reviewing is easier over the ML
<oliv3r> but priority task 1 still stands; we need to see if stage 3.4 is good to go; so we can merge hansg's patches in
<oliv3r> maybe even move current stage to non-stage
<Turl> oliv3r: :P
ibrah has joined #linux-sunxi
<wingrime> oliv3r: I know, but untill mnemoc not returned yet
<oliv3r> yeah :(
<oliv3r> hopefully monday he said
<wingrime> oliv3r: i can't send it becose it on hsang top
<oliv3r> well we can still review it
rings_IIV has quit []
<Turl> sleep $((15*60)) && ping mripard
<oliv3r> so mripard should respond to you in 15 h ours?
tinti has quit [Ping timeout: 246 seconds]
tinti has joined #linux-sunxi
<Turl> oliv3r: lol, seconds :)
<Turl> that's 15m
tinti has quit [Quit: Leaving]
hglm has quit [Quit: leaving]
<wingrime> oliv3r: if you want review
<wingrime> take a look
Offshore has quit [Ping timeout: 246 seconds]
<wingrime> oliv3r: if menmoc pull hansg branch, I will push it to ml
BJfreeman has quit [Read error: Connection reset by peer]
<oliv3r> wingrime: i hope hans just pulls rom you first ;)
<oliv3r> wow, i'm impressed
<oliv3r> Nouveau VP2 H.264/MPEG2 Decoding Now In Gallium3D
Black_Horseman has joined #linux-sunxi
<oliv3r> ssvb: ping
<ssvb> oliv3r: pong
Offshore has joined #linux-sunxi
<oliv3r> you are knowledgable about vpdau and libva, right?
<oliv3r> or atleast a little
<oliv3r> :p
<oliv3r> more then me for sure
<oliv3r> ssvb: from what i gather (wiki only so far) is both api's offload certain bits
<oliv3r> like you can offload idct
<oliv3r> but our hardware does full decoding. e.g. setup engine, feed data, receive decoded frame
soul has quit [Read error: Connection reset by peer]
<ssvb> oliv3r: I looked at vdpau a bit - http://http.download.nvidia.com/XFree86/vdpau/doxygen/html/
<ssvb> oliv3r: "VDPAU is a slice-level API. Put another way, VDPAU implementations accept "slice" data from the bitstream, and perform all required processing of those slices (e.g VLD decoding, IDCT, motion compensation, in-loop deblocking, etc.)."
<oliv3r> hmm, that's not what the wiki says
<oliv3r> well it does say the slice bit
<oliv3r> a slice contains macro blocks
<oliv3r> and i think, from how i understand it, you feed a slice to the engine (e.g. a group of macro blocks) and then offload 1 operation
<oliv3r> get it back, do the next one
<oliv3r> but that's from the wiki
<oliv3r> vaapi does the same incidentally
<ssvb> I prefer reading the sources :) and vdpau actually provides a nice tracer of api calls, which greatly helps in understanding how it works
Soru has joined #linux-sunxi
<ssvb> I played with nvidia vdpau traces and dumped parts of the bitstream when debugging the cedarx h.264 artifacts problem
<oliv3r> ah; very cool
Offshore has quit [Ping timeout: 240 seconds]
<oliv3r> and vaapi doesn't hae all that at all?
Offshore has joined #linux-sunxi
<ssvb> vdpau also provides simple bitmap surfaces and 2d functionality (for subtitles and osd), where g2d fits quite nicely
ibrah has quit [Ping timeout: 276 seconds]
<oliv3r> ah right, and vaapi needs this all composited via the 3d engine?
<ssvb> that's what I can see in the current implementations of the video players
<oliv3r> all our chips have g2d? even a13?
<ssvb> maybe not a13
paulk-desktop has quit [Quit: Ex-Chat]
<ssvb> I don't have any a13 hardware to verify for sure, but all the information indicates that a13 does not have g2d
<oliv3r> so how would a13 hardware do that?
<oliv3r> osd and subs
<ssvb> I guess using the cpu, or maybe mali
<ssvb> anyway, I think it's better to just implement it and then see how it works in practice instead of speculating :)
Offshore has quit [Ping timeout: 268 seconds]
<oliv3r> well in that regard, libva sounds slightly more interesting
<oliv3r> ewww
<oliv3r> all those typedevs :p
Offshore has joined #linux-sunxi
rings_IIV has joined #linux-sunxi
Offshore has quit [Ping timeout: 240 seconds]
Offshore has joined #linux-sunxi
wingrime has quit [Ping timeout: 268 seconds]
Offshore has quit [Ping timeout: 240 seconds]
Offshore has joined #linux-sunxi
\\Mr_C\\ has quit []
\\Mr_C\\ has joined #linux-sunxi