Turl 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
adb has quit [Ping timeout: 252 seconds]
<atsampson> oliv3r: yes, sun7i_defconfig does appear to work:
<atsampson> the only oddity is that it doesn't have CONFIG_SUNXI_NAND turned on, so no /dev/nand etc.
rwmjones has quit [Ping timeout: 246 seconds]
rwmjones has joined #linux-sunxi
tzafrir has quit [Read error: Operation timed out]
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
tzafrir has joined #linux-sunxi
popolon has quit [Quit: Quitte]
tomboy64 has quit [Ping timeout: 240 seconds]
wingrime has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
<wens> torbenh3: 1000/FD works on cubietech's lubuntu image
<wens> frustrating...
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<wens> arokux: my wireless works on lubuntu image
Gerwin_J has joined #linux-sunxi
zeRez has joined #linux-sunxi
<Gerwin_J> here also more information about A80 http://www.1pad.cn/34418/
<Turl> 8xA15? I really doubt it
<wens> the chinese article says that his sources didn't reveal which GPU core was used
<Turl> I think it'll be 4xA7 + 4xA15
<wens> nothing on allwinner's website
<Turl> wens: it's a Q1 2014 chip so we'll see in a couple of months
<Turl> it says A7+A15 on there
TheSeven has quit [Read error: Operation timed out]
TheSeven has joined #linux-sunxi
blipi has quit [Quit: Page closed]
Gerwin_J has quit [Quit: Gerwin_J]
ganbold_ has quit [Ping timeout: 245 seconds]
zeRez has quit [Quit: zeRez]
rings_VII has joined #linux-sunxi
rings_IIV has quit [Read error: Connection reset by peer]
<libv> oliv3r: hrm, that would be rather awkward for ARM :)
ganbold_ has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 245 seconds]
tomboy64 has quit [Quit: Uhh ... gotta go.]
fredy has quit [Excess Flood]
tomboy64 has joined #linux-sunxi
fredy has joined #linux-sunxi
tomboy64 has quit [Client Quit]
tomboy64 has joined #linux-sunxi
tomboy64 has quit [Quit: Uhh ... gotta go.]
tomboy64 has joined #linux-sunxi
tomboy64 has quit [Quit: Uhh ... gotta go.]
tomboy64 has joined #linux-sunxi
Quarx has joined #linux-sunxi
slapin has quit [Ping timeout: 245 seconds]
slapin has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
Quarx|2 has joined #linux-sunxi
Quarx has quit [Ping timeout: 265 seconds]
rwmjones has quit [Ping timeout: 246 seconds]
tgaz has quit [Ping timeout: 245 seconds]
Quarx|2 has quit [Read error: Connection reset by peer]
Quarx has joined #linux-sunxi
tgaz has joined #linux-sunxi
Quarx has quit [Ping timeout: 246 seconds]
Quarx has joined #linux-sunxi
Quarx|2 has joined #linux-sunxi
Quarx has quit [Ping timeout: 272 seconds]
Quarx has joined #linux-sunxi
Quarx|2 has quit [Ping timeout: 246 seconds]
AreaScout has joined #linux-sunxi
<eagles0513875> hey guys
<eagles0513875> going to try get a build root setup going on my cubieboard2 :)
<eagles0513875> will keep you all updated
Fusing has joined #linux-sunxi
maz_ has joined #linux-sunxi
<eagles0513875> hey guys
<eagles0513875> im using the latest git version of build root
<eagles0513875> how do i tell it what hardware I am buidling for in otherwords specify the cubieboard2 with the necessary defaults
<eagles0513875> for my particular board
maz_ has quit [Read error: Connection reset by peer]
tomee^ has quit [Ping timeout: 264 seconds]
codingrobot has quit [Quit: leaving]
<eagles0513875> :-/
maz_ has joined #linux-sunxi
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
ncrmnt has joined #linux-sunxi
n01 has joined #linux-sunxi
Fusing has quit [Ping timeout: 252 seconds]
<libv> seems like the itead people did finally publish things: http://itead.cc/down/html/?16.html
<libv> can anyone with hw development knowledge verify this?
<plaes> mm.. 7z :)
n01 has quit [Ping timeout: 246 seconds]
<plaes> they do have gerbers
<plaes> but they are missing the .brd file and schematics
<libv> still?
<libv> so they still are not OSHW compliant?
<plaes> I guess so
<plaes> because I can't take the board layout and start moving wires around
<libv> ok
n01 has joined #linux-sunxi
<plaes> all I can do is to feed the files to manufacture :)
<libv> thanks :)
<plaes> though I'm not sure whether all the required files are there
<libv> you mean, to comply with OSHW?
<plaes> no, to manufacture the board
<plaes> they basically released the binary blobs to run the manufacturing process :)
<plaes> but if you want to change anything you would have to redo the schematics and recreate the board file
<libv> which is actually stupid, as other chinese companies might actually try to use that immediately
<plaes> pcb design was done in Cadence Allegro, which isn't exactly accessible tool for most people
<libv> true, but they used the OSHW logo
<plaes> ah
<plaes> there's no pcb file
FunkyPenguin has quit [Ping timeout: 246 seconds]
FunkyPenguin has joined #linux-sunxi
<plaes> s/design/manufacture/ :)
<plaes> and the design library which they provide seems to include only A10 part
<libv> *sigh*
<plaes> and it's for eagle :)
arokux2 has joined #linux-sunxi
<arokux2> wens: which lubuntu was it exactly, can you post your dmesg?
<plaes> libv: wonder whether it's possible to as Cadence guys whether Itead people are using properly licensed software..
<arokux2> Turl: have you got your ct?
<libv> plaes: no idea
<libv> plaes: i am however now going to fill out a wiki page on them, and i am going to find how i can lock that page down as well
adb has joined #linux-sunxi
<arokux2> tomboy64: have you tried lubuntu?
<tomboy64> arokux2: tell me how to boot it from a usb-stick and i will
hglm has joined #linux-sunxi
deasy has joined #linux-sunxi
Quarx has quit []
Quarx has joined #linux-sunxi
<arokux2> tomboy64: cannot tell you, sorry.
<hglm> I am surprised how well/fast this A20 tablet is running after being configured properly -- the default script.bin file provided was totally screwed up and Android was unbelievably crippled (lockups, low speed, power-grabbing governor, but completely avoidable it seems).
Quarx|2 has joined #linux-sunxi
<hglm> The memory clock was set to 432 MHz in script.bin which is totally unstable on this device! Changed it to 408 MHz and now everything is rock-solid so far...
<plaes> hglm: please add to wiki
<hglm> OK, I will.
Quarx has quit [Ping timeout: 272 seconds]
<hglm> Also the ondemand governor works very well but the default threshold settings are awful -- change them and you get a very fast/responsive system that still revs down to low speed when idle (unlikely the erratic behaviour of the default fantasy governor).
<hglm> Clock for clock single threaded performance seems to be quite a bit faster (about 80%) on the A20 than the A10 at the same clock speed (probably due to Cortex A7 vs A8 and better caches/memory interface).
vrga has joined #linux-sunxi
vrga has left #linux-sunxi [#linux-sunxi]
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<ncrmnt> Hello all, just wonering do recent A20 do ddr frequency scaling like RK3188?
<wens> arokux2: system is not on atm, can get you dmesg on monday
deasy has joined #linux-sunxi
<libv> i hope i struck a decent balance between reprimanding itead, and plain rudeness: http://linux-sunxi.org/Iteaduino
<libv> i will set this page's protection to admin only later today, after some feedback has been gathered on this page
<hglm> ncrmnt: Don't know but in linux-sunxi tinkering with memory timings is only done in the bootloader (not kernel), although the kernel does support CPU voltage and frequency scaling.
<ncrmnt> hglm: Hm... Good that's not become a tradition. In rockchip kernel they are doing ddr freq/voltage scaling in runtime with a super-special buggy kernel hack.
<ncrmnt> Stock sunxi kernel from BSP (before all the fun with linux-sunxi started) now looks neat and polished to me after I've seen stuff rockchip does.
tomee^ has joined #linux-sunxi
<plaes> libv: maybe add oshw_abuse category?
Fusing has joined #linux-sunxi
<libv> plaes: i doubt that an assholes category will be acceptable, so "oshw_abuse" seems like a better option
vinifr has joined #linux-sunxi
ncrmnt has quit [Ping timeout: 241 seconds]
tomboy64 has quit [Ping timeout: 240 seconds]
n01 has quit [Remote host closed the connection]
jemk has joined #linux-sunxi
maz_ has quit [Ping timeout: 272 seconds]
rellla has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
Fusing has quit [Ping timeout: 245 seconds]
Fusing has joined #linux-sunxi
ncrmnt has joined #linux-sunxi
hglm has quit [Quit: leaving]
<oliv3r> atsampson: there's probably more odities :)
<oliv3r> Turl: wens, gerwin_j: A80 will be powerVR
<oliv3r> strange that itead uses ALlegro, yet supply eagle libraries :p
<oliv3r> hglm memory speeds from script.bin do not influence u-boot nor the kernel; so that shouldn't make a diference :)
<tomee^> any idea which system/board was benchmarked here?
<oliv3r> libv: looks good, protect that sucker
<wingrime> jemk: ping
<wingrime> oliv3r: a80 will be pVR, but, I sure must be more SoCs with Mali
<wingrime> oliv3r: that will be together with a80
<jemk> wingrime: pong
TomiK has quit [Ping timeout: 245 seconds]
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
<wingrime> jemk: you working on osd with more one overlay?
ncrmnt has quit [Ping timeout: 240 seconds]
<jemk> wingrime: yes, I try to
<wingrime> jemk: there more one variant, use overlay
<wingrime> err
<wingrime> g2d
<wingrime> jemk: but, I sure there 3rd, best way
<jemk> wingrime: what do you mean with use g2d? I already use g2d for fill and copy, but g2d can't handle the tiled yuv
ncrmnt has joined #linux-sunxi
<ncrmnt> wingrime: There's RK3188 with Mali, but if you've looked in the rockchip sources... Well, it's a huge pile-o-crap.
ncrmnt has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
ncrmnt has joined #linux-sunxi
<wingrime> jemk: I think, according a20 manual cedar have internal alphamixer
<wingrime> jemk: in ISP
adb has quit [Ping timeout: 252 seconds]
hglm has joined #linux-sunxi
<jemk> wingrime: yes, but have you found any code that uses it to find out how it works?
TomiK has joined #linux-sunxi
<hglm> tomee: Regarding those glmark2-es2 benchmarks I think it is probably an A10 with the vsync locked at 60 Hz. I don't think the Mali in the A20 is that much faster than the one the A10 (A20 has low Mali clock speed) but I got something like 150 fps final score running glmark2-es2 on my A20 device with vsync unlocked and fb0_framebuffer_num set to 3 in script.bin.
<wingrime> jemk: there is some parts in h264 encoder
<wingrime> jemk: that defenetly use ISP
<wingrime> jemk: But I not sure alpha blend
<wingrime> jemk: I think, ISP not so difficult, and we can figure out register usage only guessing
<wingrime> jemk: TRIG+CTRL+INBUF+OUTBUFF
<tomee^> hglm: yeah, exactly, my score is 152.
<tomee^> hglm: I wonder what it would be if I managed to build an r3p2 kernel module...
<hglm> tomee: Yeah, there might be some improvements in more recent Mali blobs. Theoretically it may also be possible to tweak Mali GPU speed on the A20.
peje has joined #linux-sunxi
rz2k has joined #linux-sunxi
<tomee^> hglm: someone said the improvement would be ~2x. r3p0 only uses 1 core if I am not mistaken?
<tomee^> hglm: but aside from the blob, I need a kernel module first ;-)
<hglm> tomee: That could well be the case. Performance on the A20 seems to be too low compared to A10 given the two cores in the Mali400MP2.
<hglm> I have tested some of the my own GLSL shaders/3D engine and it doesn't do badly but slows down on more complex shaders (e.g. normal mapping not implemented in the most optimal way) that work fine on PC-class hardware.
<libv> tomee^: 1PP instead of 2
<libv> this is different from "a" core.
<libv> mali is a split shader design
<tomee^> libv: didn't read the datasheet
<hglm> Yeah so triangle rate is unchanged from MP1 to MP4 at a given clock speed, but fillrate is basically quadrupled.
<tomee^> libv: thanks for pointing that out
shineworld has joined #linux-sunxi
<hglm> libv: Does the shader compiler in the Mali driver optimize to the extent that regular OpenGL shader compilers do? Or does it need more tuned shaders?
<libv> hglm: ?
<libv> hglm: "regular openGL shaders"? means what?
<hglm> I mean PC class like nvidia/AMD opengl drivers.
<libv> hglm: what do you want to find out with this?
<libv> yes and no.
peje has quit [Quit: Konversation terminated!]
<libv> the ARM compiler is more compile time optimized than it is run-time optimized
<libv> which is a necessary tradeoff on this hw
<libv> there are a few corners where it could do better
<hglm> OK
<libv> but imho that is not important
<libv> most of the speedups in mesa are not to be gained from the shader compiler
<tomee^> did anyone try building that: DX910-SW-99002-r3p2-01rel2? downloadable from cubieboard.org and the Mali vendor
<libv> i just got 50% more out of specific tests just by tracking whether index buffers were dirty, and by not recounting the indexes
<libv> these sort of easy optimizations are still left open in mesa
<rz2k> tomee^: r3p2 will have the same problem on cubietruck as you have on r3p0
<libv> and i will be pushing to get at least that change upstream
<tomee^> rz2k: the memory issue? yeah, I never counted it would not.
<tomee^> rz2k: but frankly, a 50% performance boost in Mali is more important to me than 100% boost of available memory ;)
<rz2k> tomee^: ok, then you need to contact ssvb, he already ran r3p2 on A20 a lot
<libv> tomee^: it's a mostly 100% boost for normal workloads
<libv> especially when the buffersize goes above like 800x480
<tomee^> rz2k: yeah, I just pulled his kernel from github and applied a gmac driver to it.
<tomee^> rz2k: I wonder if it will even boot ;)
<tomee^> libv: that does sound tempting
<rz2k> tomee^: also you need to use r3p2 branch of fbturbo (plus fix a little bug there - stray return when checking version)
<rz2k> or use the official drivers
<rz2k> for xorg part, I mean.
Quarx has joined #linux-sunxi
<libv> ah, of course, you will not see the equivalent change in framerate if you depend on the cpu to copy the final buffer over
Quarx|2 has quit [Read error: Connection reset by peer]
<tomee^> rz2k: can you elaborate on which bug I must fix?
<tomee^> libv: I'm not sure what you mean. I mean I know what you mean but I am not sure what you are referring to - UMP platform vs. OS backend?
<tomee^> oh
<tomee^> return x = 0;
<tomee^> was this part authored by NSA? :p
<libv> tomee^: you will not be able to fully exploit the 2x increase in what the mali will deliver, as other parts are involved when using X11
<tomee^> libv: ah, that, yes, of course.
<tomee^> libv: my need for x11 is mostly because of the vdpau anyway
<hglm> libv: Regarding Mali drivers in framebuffer mode, I do see some tearing or region copy effect (some screen areas seems to be updated earlier than other parts), it doesn't seem to be doing tear-free page-flipping). Is that correct?
AreaScout has quit [Ping timeout: 245 seconds]
JohnDoe_71Rus has quit [Ping timeout: 245 seconds]
AreaScout has joined #linux-sunxi
Fusing has quit [Ping timeout: 246 seconds]
<tomee^> boo, /dev/g2d is missing from that kernel
ykchavan has joined #linux-sunxi
<tomee^> but the overall score seems a bit better...
JohnDoe_71Rus has joined #linux-sunxi
FunkyPenguin has quit [Ping timeout: 264 seconds]
FunkyPenguin has joined #linux-sunxi
<hglm> tomee: Some of those subtest benchmark scores are much higher than what I got with my A20. For example the jellyfish benchmark I think was 40fps and your result shows 126 fps. The actual real-world performance increase may be larger than indicated by the "glmark2 Score".
<tomee^> hglm: would probably be even better if I managed to transplant g2d into that kernel
<hglm> tomee: Not sure, I think the Mali integration in fbturbo uses the "disp" layer interface, not g2d (which is 2D graphics bitblt acceleration).
<tomee^> oh
shineworld has quit [Quit: Leaving]
<tomboy64> will i want ION memory management for building linux? or is that something android specific? (A20/mail 400)
derethor is now known as printallthething
derethor_ has joined #linux-sunxi
derethor_ has quit [Client Quit]
printallthething has quit [Quit: Leaving]
printallthething has joined #linux-sunxi
FunkyPenguin has quit [Ping timeout: 265 seconds]
FunkyPenguin has joined #linux-sunxi
<tomee^> and the spdif is broken in the r3p2 branch, too
<tomee^> *sighs*
<tomee^> looks like I have to go the other way around
<rz2k> tomee^: to use disp-accelerated hw layers with fbturbo, check what fbturbo said to you in /var/log/Xorg.0.log, I bet you have the message there about it
jemk has quit [Quit: bye]
<rz2k> tomee^: nobody stops you from figuring out what r3p2 branch from ssvb is forked from and merge the changes for spdif from stage/sunxi-3.4 above.
<tomee^> rz2k: [ 1053.575] (II) FBTURBO(0): Creating default Display subsection in Screen section [ 1053.597] (II) FBTURBO(0): using sunxi disp layers for X video extension [ 1053.632] (II) FBTURBO(0): enabled display controller hardware overlays for DRI2
<rz2k> interesting, usually with standard script.bin it will complain
<tomee^> rz2k: yeah, I know. but I can see that led interface is also missing ;)
FunkyPenguin has quit [Ping timeout: 246 seconds]
FunkyPenguin has joined #linux-sunxi
<oliv3r> wingrime: a60 is rumoured to be mali
hglm has quit [Quit: Lost terminal]
torindel has quit [Ping timeout: 272 seconds]
torindel has joined #linux-sunxi
<buZz> will a60 also be a bigLITTLE system?
<Wizzup> or just a littleBIG
<buZz> :P
<libv> oliv3r: rumoured or hoped?
Quarx|2 has joined #linux-sunxi
Quarx has quit [Ping timeout: 246 seconds]
<arokux2> has anybody connected ct with vga cable+vga2dvi converter?
FunkyPenguin has quit [Ping timeout: 272 seconds]
<wingrime> arokux2: vga works but badly
<wingrime> arokux2: wifi interfere with VGA
<arokux2> wingrime: I see only black screen with android logo
<wingrime> arokux2: android worked fine
<arokux2> wingrime: did you have this case: vga cable+vga2dvi ?
<wingrime> arokux2: no, I used only VGA
<arokux2> ok, this can be a problem
FunkyPenguin has joined #linux-sunxi
<arokux2> wingrime: have you flashed lubuntu to uSD?
ncrmnt has left #linux-sunxi ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
vinifr has quit [Ping timeout: 245 seconds]
<wingrime> arokux2: I use own made debian
<arokux2> wingrime: does wifi works for you in this debian?
Taduro has quit [Read error: No route to host]
<arokux2> Turl: this is Hackberry thing.....
Quarx|2 has quit []
Quarx has joined #linux-sunxi
Taduro_ has joined #linux-sunxi
<rz2k> libv: seems like people in our ML forgot how to read. last message gave me cringe.
<ZetaNeta> hi
<ZetaNeta> i have binaries compiled with "-O2 -fomit-frame-pointer -pipe -mcpu=xscale -march=armv5te -mfloat-abi=softfp -mtune=xscale"
<ZetaNeta> will they run on A10?
* ZetaNeta is compiling gentoo for a old HP iPaq h2210 from his Mpman MID74C tablet
<buZz> ha cool ZetaNeta
<ZetaNeta> because doctor said me not to try again to crosscompile x86-armv5
<ZetaNeta> it ruins my mind
<Turl> v3.13-rc1 released
<ZetaNeta> so... will those settings work?
<ZetaNeta> or the binaries wont run? (meaning i will be unable to chroot)
<Turl> .. and I still haven't heard from mike :(
<Turl> ZetaNeta: try compiling something small and see for yourself :p
<ZetaNeta> i can ofcourse downgrade to "-O2 -fomit-frame-pointer -pipe -march=armv5te"
<Turl> like, a hello world
<ZetaNeta> but thats is not prefered
<ZetaNeta> eh... funny setup i got here
<ZetaNeta> I first wanted to share the final rootfs for the iPaq on NFS between the laptop and tablet
<ZetaNeta> but failed
<ZetaNeta> tablet doesnt even want to detect the card if there is ext2 instead of fat32
\\Mr_C\\ has joined #linux-sunxi
<ZetaNeta> so... the rootfs is on a 3550 mb file formated to ext2
<ZetaNeta> which is on fat32 card
rm has quit [Quit: ZNC - http://znc.sourceforge.net]
<ZetaNeta> and i am compiling it through adb over tcp....
<ZetaNeta> "Great!"
<ZetaNeta> i guess next thing il do, is get the gentoo on the tablet.
wingrime has quit [Ping timeout: 248 seconds]
<libv> rz2k: yeah, that was truly astounding
rm has joined #linux-sunxi
<tomboy64> ZetaNeta: you have given the -mcpu switch, meaning if xscale has one itsy bit of optimization that a10 doesn't, the binary will crash
<tomboy64> ZetaNeta: so, unlikely.
<ZetaNeta> tomboy64, sad....
<ZetaNeta> but... what a armv5 cpu can what a A10 cant?
<ZetaNeta> armv5tel
<ZetaNeta> PXA255
<arokux2> Turl: do you have your ct already?
<tomboy64> ZetaNeta: hmm. think of a diesel car from 1950 and a petrol car from 2010. the 1950 car can't do anything that the 2010 can - but it will still not run on diesel.
<ZetaNeta> which was made only satan him self knows when
<ZetaNeta> tomboy64, Maybe you wanted to say that the new one wont run on petrol?
<ZetaNeta> oh...
<ZetaNeta> otherway round
<ZetaNeta> but...
<ZetaNeta> nah, confused
<ZetaNeta> well, lets see if the binaries will run
adb has joined #linux-sunxi
<ZetaNeta> the unoptimized binaries for armv5tel works...
<tomboy64> then good luck. you'll need it.
<ZetaNeta> lets see if the newly compiled will
<Turl> arokux2: no :) I'll let you know when I do
<arokux2> ..
<tomboy64> anybody ever seen something like this at the end of a compile? http://bpaste.net/show/152397/
<tomboy64> of a _kernel_ compile
wezza has joined #linux-sunxi
vinifr has joined #linux-sunxi
wezza has quit [Client Quit]
wezza has joined #linux-sunxi
<vinifr> hi guys, some progress with mmc driver mainline?
<oliv3r> vinifr: someone was working on it last time i heard
n01 has joined #linux-sunxi
<vinifr> it will be great boot from SD :)
FunkyPenguin has quit [Ping timeout: 252 seconds]
ZetaNeta has quit [Ping timeout: 252 seconds]
FunkyPenguin has joined #linux-sunxi
<arokux2> vinifr: patches welcome
<vinifr> was someone working?
<torbenh3> i am working
<arokux2> http://git.o2s.ch/?p=linux-sunxi.git;a=shortlog;h=refs/heads/sunxi-mmc-for-next-plsdsif
<vinifr> mmc driver?
<vinifr> arokux, did you boot from SD?
<arokux2> vinifr: no, nfs
tzafrir has quit [Ping timeout: 272 seconds]
<torbenh3> oliv3r: whats the status of emilio lopez mod0 clk patches ?
<oliv3r> Turl: ^
<JohnDoe_71Rus> oliv3r: You're not looking bsp for cubieboard2?
ZetaNeta has joined #linux-sunxi
<Turl> torbenh3: yeah, it's a toolchain buggy warning, the kernel people worked around it on the newer versions
<Turl> torbenh3: which one(s), more specifically?
<torbenh3> http://git.o2s.ch/?p=linux-sunxi.git;a=shortlog;h=refs/heads/sunxi-mmc-for-next-plsdsif
<torbenh3> there are some sitting there, for the mmc clock.
<Turl> torbenh3: yes, those are not merged yet
<Turl> torbenh3: /w 2
<Turl> fu irssi
<torbenh3> Turl: are they going to be merged until xmas ?
<Turl> torbenh3: no, the merge window for this cycle has closed already
<torbenh3> into sunxi-next, i mean.
<torbenh3> i know that merge window was about to close.
<Turl> torbenh3: maybe, if we can get mike (clk maintainer) to reply
FunkyPenguin has quit [Ping timeout: 240 seconds]
<Turl> torbenh3: so far he hasn't been very responsive lately, and even bug fixes haven't gotten in the merge window and previous -rc cycles
<torbenh3> :S
<JohnDoe_71Rus> Turl: so 3.4 kernel can't boot A20 from SD card?
<Turl> JohnDoe_71Rus: hm? it can
<torbenh3> JohnDoe_71Rus: we are not talking about 3.4
<JohnDoe_71Rus> Oh sorry
* torbenh3 is not willing to touch fex with a long pole :>
<Turl> torbenh3: the lack of clock support shouldn't be a blocker to get mmc reviewed and merged though, if that's your worry
ncrmnt has joined #linux-sunxi
<Turl> at most it'll be unusable until they get the right patches if it's merged before clk support
Gerwin_J has joined #linux-sunxi
FunkyPenguin has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
<torbenh3> Turl: yeah. but my goal is to get a working mmc quickly.
<torbenh3> Turl: i leave the mod0 clock code in the mmc driver for now.
<vinifr> this patch work to all sunxi's SoCs?
<Turl> torbenh3: is it problematic to carry extra out of tree patches?
<torbenh3> Turl: not really.
<vinifr> torbenh3, this patch work to all sunxi's SoCs?
<torbenh3> vinifr: which patch ? from that git ? i dont even know, whether it works.
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<vinifr> was it tested?
<torbenh3> vinifr: that driver also requires all clk patches from emilio lopez. and that last commit on that branch doesnt suggest, that it works yet.
FunkyPenguin has quit [Ping timeout: 272 seconds]
<torbenh3> vinifr: i dont know much about that branch there. i am working on my own forward port from 3.4
<Turl> torbenh3: I think that driver wasn't working yet
<Turl> but it's been a while since I've heard of news related to that
FunkyPenguin has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
FDCX has quit [Remote host closed the connection]
<arokux2> yes, it wasn't working
<vinifr> arokux2, did you test it?
<arokux2> vinifr: its author tested it and reported it here
<vinifr> :(
<torbenh3> vinifr: there is not much, you can do with mainline. whats the point of having mmc *NOW* ?
<torbenh3> we are pretty happy, that we have network working a bit...
<vinifr> I wanted to test other drivers, like i2c
<torbenh3> then use nfsroot ?
<Turl> you can use a ramdisk
<Turl> the devices have a lot of ram :)
<torbenh3> i want to mess with the network phy, so i need another rfs. and i am too lazy to do that with a ramdisk.
FunkyPenguin has quit [Ping timeout: 240 seconds]
<vinifr> rootfs via nfs?
<torbenh3> yes.
<arokux2> torbenh3: you can use usb stick
<Turl> torbenh3: just cpio your current rootfs and load it using tftp
<Turl> or that ^
FunkyPenguin has joined #linux-sunxi
<torbenh3> arokux2: i dont have the usb patches yet ;)
<arokux2> torbenh3: so grab them from my github
<arokux2> torbenh3: if you do, I'll add support to ct's dts
<torbenh3> nah. i want to get mmc going.
<torbenh3> gonna grab usb next time ;)
<arokux2> torbenh3: if you get mmc going it is even better :)
ykchavan has quit [Quit: Leaving]
<torbenh3> mmm... i guess, i need to help cooking a bit.
<arokux2> kriegerod: there?
wingrime has joined #linux-sunxi
FunkyPenguin has quit [Ping timeout: 264 seconds]
FunkyPenguin has joined #linux-sunxi
FunkyPenguin has quit [Excess Flood]
eebrah|mobile has joined #linux-sunxi
<kriegerod> arokux2: yes
FunkyPenguin has joined #linux-sunxi
<arokux2> kriegerod: any news on wifi?
<arokux2> kriegerod: some times I also get this: http://sprunge.us/LDhV
<kriegerod> no news
<kriegerod> $work$...
<kriegerod> btw are there subj related remote jobs existing?
<arokux2> what?
<kriegerod> what what?
<arokux2> <kriegerod> btw are there subj related remote jobs existing?
<arokux2> jobs about allwinner things?
<kriegerod> for example. although anything kernel-related seems interesting
<arokux2> kriegerod: you think you are qualified? :)
<Turl> kriegerod: free electrons was hiring not so long ago, although not sure if remotely
<arokux2> Turl: for sunxi?
<Turl> arokux2: no, for free electrons :)
<arokux2> Turl: for work on sunxi related things I mean...?
<kriegerod> arokux2: i think it makes sense for me to try applying on this area
<Turl> arokux2: f-e doesn't do any sunxi work
<Turl> arokux2: maxime's work is on his own spare time afaik
<kriegerod> although i have almost no knowledge on it curretnly
<Turl> kriegerod: most if not all of prospect employers will require some level of knowledge that you can prove
<Turl> kriegerod: for kernel work, it often means a series of merged patches on mainline linux
<kriegerod> sure
<kriegerod> but i wonder if it happens to work remotely on such jobs
<Turl> kriegerod: many people work remotely, if that's what you wonder
<kriegerod> good then. thanks for info.
<mripard> linaro hires a lot of engineers to work on the kernel, remotely
<mripard> torbenh3: cool, so you're working on MMC now ?
<torbenh3> mripard: yes. at least trying to get something hacky working.
<arokux2> [mmc-err] smc 0 err, cmd 52, RTO
<arokux2> what it is about?
<mripard> what's the status?
<arokux2> it is not about mmc, right?
<mripard> does it compile already?
<torbenh3> mripard: yeah... compiles.
<torbenh3> just wrote the DT nodes.
<mripard> arokux2: CMD52 is reset iirc
<mripard> torbenh3: nice
<tomee^> arokux2: I was wondering as well. grep discard /proc/mounts ?
<mripard> so you're further that what I did :)
<arokux2> mripard: reset of what?
<mripard> the SD card
<tomee^> arokux2: and I will get you that working image. by monday probably
<arokux2> mripard: then why do I get something like this while loading wifi module?
<arokux2> mripard: please take a look at the end of http://sprunge.us/KPAD
wingrime has quit [Ping timeout: 248 seconds]
<Turl> arokux2: ir it an sdio wifi module?
<Turl> looks like so from the log
<arokux2> Turl: yes, seems to be. should it be problem?
n01 has quit [Read error: Connection reset by peer]
<mripard> arokux2: it's usually the first command sent
<mripard> so I don't know, check your muxing, your clocks, etc.
n01 has joined #linux-sunxi
<Turl> arokux2: it's the same controller, maybe it's trying to configure the slot with the sd instead of the wifi one
<arokux2> mripard: it is sunxi-3.4...
<mripard> [ 3.012796] [mmc_pm]: failed to fetch sdio card configuration!
<mripard> arokux2: and sunxi-3.4 has no clocks or no muxing ?
<arokux2> mripard: it has, but I haven't written them. I'm just trying to understand the dmesg :(
<mripard> it's a SoC feature, not a kernel one...
<arokux2> it also has failed to fetch sdio card configuration!
<arokux2> I suspect "mmc" in mmc-err is something else than sd card
<arokux2> there is also bcmsdh_sdmmc
<arokux2> why should a wifi module do something to an sdmmc?!
<rz2k> arokux2: maybe because it is connected with SDIO, which is hosted by sd/mmc controller?
<rz2k> :)
<rz2k> cubietruck has broadcom hybrid IC with SDIO broadcom wifi and UART broadcom bluetooth.
<arokux2> rz2k: has you got wifi working?
<rz2k> no, I had it working only on the cubietech's image for NAND
<arokux2> rz2k: it mean android?
<rz2k> no
<rz2k> linaro image for nand from cubietech, you can flash it with livesuit/phoenixsuit
<rz2k> it has mali broken, by the way
<tomee^> arokux2: http://sprunge.us/KPAD <- this looks very similar to my dmesg (or is it my dmesg? :>)
<rz2k> and to run sdio connection you need to setup the clocks/resets/whatever
<rz2k> which are in sdio_con or something like that in the script.bin
<rz2k> sdio_para maybe
<arokux2> rz2k: wait a sec, i thought everything is configured already?
<rz2k> why you thought so? sdio is not a 'standard' sd/mmc mode, your host should be configured for sdio connection
<rz2k> thats why they check for 'sdio card configuration'
<arokux2> rz2k: it is supposed to have everything configured, or no?
<tomee^> arokux2: and one more thing, I haven't investigated the bluetooth part, but it seems to be connected to an UART. whether it is presented as /dev/ttyX or /dev/ttySX, no idea, but I disabled getty on /dev/tty1 to be safe.
<rz2k> no idea
<rz2k> I flashed NAND image, maybe the sdio is different
<arokux2> you flashed this to NAND, right?
<rz2k> thats the old one
<rz2k> check for v101
<rz2k> they updated it
<rz2k> they have crappy website, I know.;
<tomee^> v101 has a different fex...
<rz2k> :p
<tomee^> I got it working with the "v100" one
<rz2k> tomee^: bluetooth part is standard broadcom UART IP core, you need to setup it first with https://code.google.com/p/broadcom-bluetooth/source/browse/brcm_patchram_plus.c
<rz2k> and upload HCD firmware
<arokux2> tomee^: have you flashed to NAND or uSD?!
<tomee^> rz2k: ok i see, thanks.
<tomee^> arokux2: uSD.
<arokux2> rz2k: where is this v101 one?
<tomee^> arokux2: I still have some crappy android on NAND.
<rz2k> tomee^: then you can setup connection with hciattach /dev/tty*whatever*N
<tomee^> arokux2: but from what you told me, NAND doesn't influence uSD booting.
<tomee^> rz2k: but it *could* be /dev/tty1 or /dev/tty2, no?
<rz2k> wat?
<rz2k> tty1 is your fist console terminal
<rz2k> you have your framebuffer console there
<arokux2> rz2k: also, after flashing to NAND, did you need to configure some sdio or it should work out of the box?
<rz2k> out of the box
<tomee^> rz2k: it's a character device as any other ;-)
<tomee^> what the kernel does with that is another story
popolon has joined #linux-sunxi
<tomee^> yeah, I suspect the bt to be a /dev/ttyS<x> but - didn't verify, so don't know
<arokux2> rz2k: so the point is it doesn't work out of the box. can you please show me a link to v101?
<rz2k> tomee^: you have your kernel saying what 8250 UARTs it initialized at boot stage, check dmesg :p
<rz2k> one of those will be bluetooth uart
<rz2k> arokux2: wait a sec
<tomee^> rz2k: ...and given the amount of magic that's happening around, /dev/ttyS3 could easily be e.g. a pass-through to a JTAG port or whatever ;D
<rz2k> iirc that will happen only if you will build arm ddc
<rz2k> arokux2: http://docs.cubieboard.org/tutorials/ct1/installation/cb3_lubuntu-12.10-desktop_nand_installation_v1.00 seems like this is what I installed, which is very weird, because I had different links and this manual was also missing
<rz2k> arokux2: they have fucked up versioning system
<arokux2> rz2k: ...
<rz2k> i better link you the kernel
<arokux2> rz2k: it is not up-to-date... you have old info
<arokux2> cubieboard/linux-sunxi/tree/cubie/sunxi-3.4
<arokux2> this is the newest...
<rz2k> it has 2 commits on top from benn and git merge origin/stage/sunxi-3.4 for some date in the paste.
<rz2k> :p
<arokux2> rz2k: can you please explain to me.. can a wifi module be used together with mmc card?
<tomee^> btw
<rz2k> yes
* tomee^ just looked at the output of my iwlist scan
<tomee^> this driver is either a pathological lier
<tomee^> or the board has one hell of an antenna
<arokux2> iwlist scan works for me
<arokux2> but I cannot connect
<rz2k> arokux2: what stage of connection fails?
vinifr has quit [Remote host closed the connection]
<tomee^> I also asked that
<arokux2> rz2k: this is what I get after modprobe http://sprunge.us/KPAD
<tomee^> did you try with a WPA2 AP?
<arokux2> it seems to be fucked up already.
<tomee^> ...all I wanted was a cheap board that would do 720p decoding, have SATA and toslink
<rz2k> please, try standard solutions, like, many routres will send you to home if you have date of your system being 1970
<tomee^> and I will end up with a god damn oscilloscope hooked to the pins of the ICs
<tomee^> it's always like this ;)
<arokux2> rz2k: 1970?
<tomee^> arokux2: bad RTC/time
<tomee^> arokux2: wifi PSK is time-based
<arokux2> tomee^: where is it?
Gerwin_J has quit [Quit: Gerwin_J]
<tomee^> arokux2: where is what?
<rz2k> arokux2: if you have bad time in the system, DHCP/WPA auth will go nuts
<arokux2> rz2k: where do you see I have bad time?
<buZz> all allwinners have bad time :P
<rz2k> I dont see that, that is just a standard problem
<rz2k> that I encounter lot of times
<buZz> i think there is just one? board with batterybacked rtc
<rz2k> because many boards have no RTC
<rz2k> cubietruck has battery for RTC by the way
<arokux2> rz2k: i'm on cubietruck
<tomee^> buZz: noo, the ct1 has a real RTC. at least in the docs ;)
<rz2k> but it didnt have proper time from the start
<buZz> yeah, thats the only one, isnt it?
<buZz> tomee^: yes, but no batterybackup
<rz2k> arokux2: attach ethernet and run # ntpdate ntp.corbina.net
<rz2k> then try wifi again
<arokux2> ok..
<tomee^> ... having unplugged the ehternet first
<tomee^> or you will also end up in trouble
<tomee^> if the dhcp server is the same
<tomee^> buZz: none at all? no capacitor? well, nicely done.
<buZz> yes its p00
<buZz> p00p
<buZz> :)
<rz2k> tomee^: networkmanager will route things right
<tomee^> buZz: a ds1307 breakout board with a cr232 battery holder cost me like $1 last time I bought it in retail
<rz2k> (epoc moment: first thing in the history said about networkmanager not blaming it)
<rz2k> s/c/ch/
<mripard> torbenh3: wens: who worked on gmac in u-boot ? is there any public branch for it ?
<tomee^> rz2k: networkmanager is evil.
<buZz> tomee^: dude, 1 dollar is a lot
<rz2k> everything is evil, lets go live in the woods.
<buZz> if you want to make 100000 boards
<rz2k> I did an attachment board to my WandboardQuad with DS1338 for the same purpose
<tomee^> buZz: yes, yes, I know. "a capacitor and a pull-up? can't we just go with a resistor?"
<tomee^> buZz: "hmm, well, the signal slope is almost within bounds. maybe it will work. we can try"
<tomee^> ok
<tomee^> I'm off to watch some stuff on my still impaired media center
<tomee^> albeit showing promise, the r3p2 drivers made a difference today...
Quarx has quit []
<tomee^> now, just implement vdpau with layers
<tomee^> and in about a month I will have a fully working setup
<tomee^> I will lose my daytime job in the meantime
<tomee^> but who cares?
<rz2k> I got my current job doing the support around linux-sunxi ML
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
Black_Horseman has joined #linux-sunxi
<rz2k> dude from local embedded company emailed me with demand for embedded linux developers and that my experience will be enough, turned out it was really enough.
<rz2k> also I got lucky and this dude lives really near me and we are same age.
eebrah|mobile has quit [Read error: Connection reset by peer]
<tomee^> rz2k: given I managed to fit a fully-buffered 16x2 menu and 2 PWM drivers into 2048kB of Atmega SRAM I think I would be able to deal with embedded linux ;) but nonetheless, they pay me for taking care of bigger toys. nevermind. o/
<tomee^> [d]
<tomee^> errr, s/2048kB/2048B/
<rz2k> nice
tzafrir has joined #linux-sunxi
<buZz> right, i figured 2MB would be a bit much :)
<arokux2> tomee^: have you used wpa_supplicant that was in the image?
<rz2k> arokux2: setting date didnt change anything?
<arokux2> rz2k: no, but something is different now, after using config here: http://heroin.pl/upl/cubietruck/wifilogs/wpasupp.conf.txt
<arokux2> not sure something works, finding out...
<arokux2> rz2k: how did you configure? manually?
<rz2k> networkmanager
<arokux2> rz2k: does it work in cli btw?
<rz2k> no idea
<rz2k> but it does the same as you do automatically
<rz2k> (launches wpa_supplicant with configuration)
<arokux2> rz2k: yes, but config is (or can be) crucial
ZetaNeta has quit [Ping timeout: 246 seconds]
rz2k has quit [Read error: Connection reset by peer]
rz2k has joined #linux-sunxi
Fusing has joined #linux-sunxi
Fusing has quit [Client Quit]
AreaScout has quit []
<arokux2> fuck me
Gerwin_J has joined #linux-sunxi
<arokux2> it was networkmanager that had his wpa_supplicant started and it was interfering with me starting my supplicant
<arokux2> rz2k: ^ kriegerod ^
<rz2k> :)
<rz2k> happens
<rz2k> turn it off if you want to go full manual control of networking.
ncrmnt has quit [Ping timeout: 240 seconds]
Taduro_ has quit [Read error: No route to host]
<torbenh3> i just took these patches.
Taduro has joined #linux-sunxi
<tomboy64> arokux2: are you talking about your issues with lubuntu+ct?
<arokux2> yes
<tomboy64> :)
<tomboy64> i learned to hate nm with a passion
<tomboy64> wpa-supp has a gui that's sufficient. and if you need control, there's still wpa_cli.
<tomboy64> but glad to hear you got it working now
<arokux2> tomee^: did you kill your nm???
Gerwin_J has quit [Quit: Gerwin_J]
wingrime has joined #linux-sunxi
n01 has quit [Ping timeout: 264 seconds]
arete74 has quit [Read error: Operation timed out]
<mripard> torbenh3: thanks
n01 has joined #linux-sunxi
ZetaNeta has joined #linux-sunxi
<kriegerod> arokux2: you got wifi working?
<arokux2> kriegerod: yes
<kriegerod> really working?
<kriegerod> how can i reproduce it?
<kriegerod> you said you had two wpa_supp instances interferring
<kriegerod> i remember `ps axf` showed pretty nothing, although didn't check after loading bcmdhd module
<arokux2> kriegerod: ps aux | grep wpa
<arokux2> kriegerod: will you get something?
<kriegerod> arokux2: i'd better check it tomorrow locally
<arokux2> kriegerod: ok
<kriegerod> arokux2: what did you have?
rz2k has quit []
<kriegerod> i mean elaborate, did you have NetworkManager started after boot?
<arokux2> kriegerod: i had an instance of wpa_supplicant running and after I killed it it was respawned
<arokux2> kriegerod: I removed network-manager completely.
<arokux2> kriegerod: yes, I had it started.. it was configured like so.
n01 has quit [Ping timeout: 272 seconds]
fredy has quit [Ping timeout: 245 seconds]
fredy has joined #linux-sunxi
<arokux2> Turl: where should we put firmware?
ZetaNeta has quit [Ping timeout: 272 seconds]
wingrime has quit [Ping timeout: 248 seconds]
wezza has left #linux-sunxi [#linux-sunxi]
mickoo has joined #linux-sunxi
<mickoo> hi, i have some problems about powering USB port
<mickoo> could you give me some advices?
<arokux2> mickoo: hackberry?
<Turl> arokux2: on your system?
<mickoo> yes arokux
<mickoo> wow you are the one that wrote on the issue #158 page
<arokux2> Turl: at sunxi-3.4
<mickoo> right? :)
<arokux2> mickoo: yes
<mickoo> wow :)
<Turl> arokux2: not sure what you mean :)
<arokux2> Turl: bcmdhd (kernel module) requires firmware. where should we host it?
<arokux2> mickoo: take a look at http://linux-sunxi.org/USB#Known_issues
<Turl> arokux2: is it any different from the one distributed by upstream?
<arokux2> mickoo: third bullet, try what is advised there. and report if it works.
<arokux2> Turl: afaik, upstream does not have it.
<mickoo> i've already read that
<arokux2> mickoo: and?
<mickoo> arokux2: for what i understood i had just to enable CONFIG_USB_PORT_POWER_MANAGEMENT and recompile right?
<arokux2> mickoo: ... no
<arokux2> <mickoo> i've already read that
<arokux2> <arokux2> mickoo: and?
<arokux2> Turl: it is not
<Turl> arokux2: do you have a license to distribute the firmware?
<arokux2> Turl: :$
<arokux2> Turl: ask me something simpler
<mickoo> arokux: oh, sorry.. i didn't notice that was changed
<Turl> arokux2: is there a LICENSE file next to the firmware on the tarball you downloaded or whatever?
ZetaNeta has joined #linux-sunxi
<arokux2> Turl: I have no idea where is this firmware from. it can be found in cubietech's images...
<arokux2> Turl: and on the internet
<arokux2> torbenh3: still up?
popolon has quit [Quit: Quitte]
<mickoo> arokux: recompiling :)
ZetaNeta has quit [Ping timeout: 245 seconds]