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
<arokux2> Montjoie: montjoie[home] : you do not need those testing results on my page?
<arokux2> Montjoie: montjoie[home] : otherwise, I'd like to delete them.
<arokux2> steev: can you please explain me your concern on ML?
<hno> oliv3r, yes, of you mix using O= and without then disaster is ahead.
<hno> applies to any project supporting out-of-tree builds. out-of-tree builds requires the source tree to be absolutely clean.
* arokux2 doesn't like projects that encourage in-tree builds
wingrime has joined #linux-sunxi
<Turl> arokux2: it's a great DE though, I like it quite a bit
<Turl> last I tried lxde it was rather unpolished
<Turl> granted, it was several years ago, it may be better now
<arokux2> Turl: from LXDE devs I've heard it is buggy and they move to Qt - faster and more stable.
<arokux2> Turl: I believe it is better now.
<arokux2> Turl: but what do you need from DE?
<Turl> arokux2: a tool to configure screens, for example. I don't recall it having any back then
<arokux2> Turl: I need tray, keyboard layout switcher, file manager, Alt+F2..
<arokux2> Turl: there is a basic one now.
<arokux2> Turl: enough for me
<Turl> user management app wasn't there either I think
<arokux2> Turl: user management app? :) sudo vim /etc/group
<Turl> lol, that's dangerous :)
<Turl> usermod ftw if you're on a console
pfdm has joined #linux-sunxi
<arokux2> Turl: right. I use that
<pfdm> xfce4 + xmonad , and i'm happy !
<arokux2> pfdm: xfce4 is also nice. but Thunar lacks one so basic feature that it is unusable for me
<arokux2> pfdm: switch to detailed list view and try to create a directory (if the list is longer than the window height)
<pfdm> lol, i see. I use mkdri , I only use thunar when i have file to select without obvious pattern !
<Turl> arokux2: ctrl+shift+n
<arokux2> Turl: yes. but I want both: with and without mouse.
<arokux2> pcmanfm was buggy, it is ok now.
<arokux2> the cool thing is, lxde, xfce4 are blazing fast
<Turl> arokux2: blocky view can do that :p
<arokux2> Turl: the only view I find useful is details list, it is my default, I never change it.
<arokux2> sorting features by size, type, mtime are killer features for me
<Turl> I never do that
<Turl> I can get mime by the icon
<Turl> you can sort in that view too, at least on nautilus
<Turl> my killer feature is filtering by filename
<arokux2> Turl: how do you find just downloaded file in firefox in a big pile?
<Turl> arokux2: firefox has a icon where it shows downloaded files
<Turl> you can open or drag/drop from there :)
<arokux2> Turl: :p ok, just received file per skype? :)
<arokux2> Turl: ( I have some really stupid addon that for downloaded files...)
<Turl> arokux2: I just go to the top of my downloads folder
<Turl> nautilus remembers my sorting style per folder
<arokux2> Turl: but first you should set the sorting style
<Turl> arokux2: it's just two clicks...
<Turl> view option->sorted by mod time
<arokux2> Turl: then... once in a while there is no enough space. I sort dowloads by size and kill some fat files
<Turl> there's options to sort by name, type, size, mtime, atime
<arokux2> Turl: ok, what I mean that having a list with all the columns is best for me.
<arokux2> just got used to it that way.
<Turl> to each his own :)
<Turl> I'd rather have big icons with previews on them
<Turl> easy to spot a zip file between srt's and the like
wingrime has quit [Ping timeout: 246 seconds]
<Turl> arokux2: btw, did you hear back from benn?
<arokux2> Turl: on what?
<arokux2> Turl: are you registered here? http://www.cubieforums.com/
<Turl> arokux2: nvm, I see the list was cc'ed :p
<Turl> arokux2: nope
<Turl> at least not that I recall
<arokux2> ok
<arokux2> good night
<Turl> night
arokux2 has quit [Remote host closed the connection]
TehCaptain has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
<wens> drachensun: last i heard Google doesn't let engineers go
pirea has quit [Quit: Leaving]
pfdm has quit [Ping timeout: 250 seconds]
popolon has quit [Quit: Quitte]
egbert has quit [Disconnected by services]
egbert_ has joined #linux-sunxi
andoma has quit [Read error: Operation timed out]
andoma has joined #linux-sunxi
Amitabha has quit [Remote host closed the connection]
\\Mr_C\\ has quit [Quit: .]
ynezz_ has joined #linux-sunxi
CaCtus491 has quit [Ping timeout: 264 seconds]
wigyori has quit [Ping timeout: 268 seconds]
iamfrankenstein has quit [*.net *.split]
diego71 has quit [*.net *.split]
ynezz has quit [*.net *.split]
bamvor has quit [*.net *.split]
diego71 has joined #linux-sunxi
CaCtus491 has joined #linux-sunxi
wigyori has joined #linux-sunxi
bamvor has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 260 seconds]
eebrah_ has joined #linux-sunxi
<wens> arokux: just tried jemk's u-boot-gmac on cb2, tweaked a bit to get it in MII mode
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
<wens> arokux: and stmmac in kernel can detect phy now... stuck on DHCP for nfsroot
<wens> arokux: libphy: stmmac-0:01 - Link is Up - 100/Full
eebrah_ has quit [Ping timeout: 246 seconds]
eebrah_ has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Excess Flood]
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
* wens thinks something to do with dma
eebrah_ has quit [Ping timeout: 244 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 260 seconds]
prasannapete has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
<JohnDoe_71Rus> update u-boot-sunxi. still hangs at starting kernel http://pastebin.com/87HFPwmd cb2
eebrah_ has quit [Read error: Connection reset by peer]
<JohnDoe_71Rus> looks like it try load kernel from nand instead of sd card
<JohnDoe_71Rus> no, my mistake. kernel from sd
wolfy has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
wolfy has quit [Ping timeout: 252 seconds]
prasannapete has quit [Quit: prasannapete]
ynezz_ is now known as ynezz
prasannapete has joined #linux-sunxi
arokux2 has joined #linux-sunxi
<arokux2> wens: I'm not sure why Hramrach has written this: http://linux-sunxi.org/index.php?title=Linux_mainlining_effort&diff=prev&oldid=5833
<arokux2> wens: hm.. how can u-boot patch make kernel see the phy?
<arokux2> wens: it was the problem in u-boot, phy was visible, but gmac won't work due to dma
<steev> arokux2: it's not really a concern, just saying keep in mind that while that patch is good (seriously, i like it) - it can be overridden, especially if someone is using a kernel that a distro created rather than compiled their own
<arokux2> steev: alright
<arokux2> mnemoc: please apply on stage: [PATCH] defconfigs: Let kernel name contains the hash of the tree
arokux2 has quit [Remote host closed the connection]
<wens> arokux: not sure, either u-boot correctly inits gmac, then kernel just works or something
n01 has joined #linux-sunxi
fredy has quit [Excess Flood]
<arokux> wens: weirdness
fredy has joined #linux-sunxi
<arokux> wens: are you still passing clk_ignore_unused? you can try to remove this to see what happens, but this is just random advice
<arokux> wens: but does gmac work completely in u-boot or only phy? you'd like to test ping/tftp to really know.
<wens> arokux: it loads kernel using tftp and boots :)
<arokux> wens: nice :)
Quarx has joined #linux-sunxi
<arokux> wens: the next stopper for jemk was that data actually comes from phy but gmac won't react on it. I don't know how jemk detected this.
n01 has quit [Ping timeout: 272 seconds]
<arokux> ( wens: the last was dma problem )
<wens> arokux: it seems data is not being sent out, don't see any DHCP packets from my board with tcpdump
tzafrir has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
cubear has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Excess Flood]
maz_ has joined #linux-sunxi
rellla has joined #linux-sunxi
wolfy has joined #linux-sunxi
maz_ has quit [Ping timeout: 244 seconds]
<cubear> Is cubieboard 2 powerful enough for OpenCV video processing with a decent framerate? I.e. face recognition?
<cubear> I read on google some people were having framerate problems
<Montjoie> arokux, you can delete the page
<oliv3r> hno: yeah but i had forgotten I ddid that, so was like 'how's that even possible' and i rm -r build/*u-boot and still got error ...
eebrah_ has quit [Read error: Connection reset by peer]
panda84kde has joined #linux-sunxi
rellla2 has joined #linux-sunxi
<oliv3r> Turl: arokux for YEARS i used the 'detailed' list, especially in my win98 days. I even switched to detailed view on my first years of linux. Once I did my first Ubuntu install I noticed the default was icon mode, and at first I switched it back, I got to use it a few times and actually quite like it. I hardly need to sort stuff, I switch to detailed sorted mode if I have to find stuff, but I now love icon mode
<oliv3r> wens: awesome work; if gmac works for both modes in u-boot, we're 90% there. just gotta talk ot the deisngware u-boot maintaner about our suggested changes and merge them
eebrah_ has joined #linux-sunxi
n01 has joined #linux-sunxi
<libv> i think that i have been watching too much top gear: http://linux-sunxi.org/UART
BluesBoy has joined #linux-sunxi
<libv> i will poke at two more board pictures later
<oliv3r> :D
<wens> gmac in u-boot + emac in kernel doesn't work... stuck in kernel DHCP
<oliv3r> libv: maybe add a photo and a section about http://linux-sunxi.org/MicroSD_Breakout
<libv> oliv3r: good point, will add that later as well
bamvor has quit [Quit: Leaving]
bamvor has joined #linux-sunxi
n01 has quit [Ping timeout: 260 seconds]
n01 has joined #linux-sunxi
jemk has joined #linux-sunxi
_massi_ has joined #linux-sunxi
jemk_ has joined #linux-sunxi
jemk has quit [Write error: Broken pipe]
jemk_ is now known as jemk
wolfy has quit [Remote host closed the connection]
wolfy has joined #linux-sunxi
hramrach has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
vicenteH has quit [Ping timeout: 246 seconds]
<gzamboni> i cant understand, i'm trying to use libspi, i do activate the spi0 in my fex for my cubieboard but i dont have the SPI0-CLK in the output when i open the device with a c app. do i have to set a clock setting somewhere else ?
<wens> wierd message: genirq: Flags mismatch irq 87. 00000000 (eth0) vs. 00000000 (eth0)
<arokux> Montjoie: montjoie[home] what should be added to mainline so that SS works there?
<Montjoie> DMA
<gzamboni> what is SS ?
pitillo has quit [Changing host]
pitillo has joined #linux-sunxi
<Montjoie> Security System
<wens> gzamboni: crypto acceleration
<Montjoie> hardware cryptographic helper
<gzamboni> humm, k, didnt know
<wens> Montjoie: maybe you can do PRNG first?
<Montjoie> I have finished SHA1 MD5 and AES, I will release shortly the current stage and them do PRNG DES 3DES
<Montjoie> I just need to track done some random DMA timeout
<arokux> Montjoie: how is that done? do you need to implement some library that can be use by the other software then?
<Montjoie> no, for prng it is just an ioread
<wens> hopefully exported via kernel crypto system?
<wens> https://github.com/wens/u-boot-sunxi # sunxi-dw-gmac-cb2
<Montjoie> yes, see tegra_aes_get_random() in drivers/crypto/tegra-aes.c
<Montjoie> it seems simple
<wens> arokux, jemk: enables gmac on cb2 for u-boot.
<arokux> can anybody please try to register at www.cubieforums.com? i'm not getting their activation e-mail, and admin says my provider is rejecting the mails. but I have tried two mail address already.
HeHoPMaJIeH has quit [Ping timeout: 268 seconds]
FR^2 has joined #linux-sunxi
<arokux> wens: nice. sorry I cannot test it, ct here.
<wolfy> arokux: try randomaddress@mailinator.com and http://www.mailinator.com
<arokux> Sorry, but you're not allowed to register multiple accounts at the same time from the same computer.
<arokux> :(
gzamboni has quit [Read error: Connection reset by peer]
gzamboni has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
notmart has joined #linux-sunxi
Tsvetan3 has joined #linux-sunxi
<cubear> wow just found out about Allwinner A80!
<arokux> cubear: and why is it "wow"?
<cubear> 8 cores?
<arokux> there are some octa cores now, or you are happy for AW?
Tsvetan2 has quit [Ping timeout: 240 seconds]
<cubear> I just wonder how long until A10 becomes deprecated in favor of other multi-core mpu's
<arokux> cubear: afaik it is already deprecated in favor of A20
<cubear> well there you go
<arokux> and there is quad core, but nobody likes it, ppl go for RK3188
<cubear> and A31 is gonna replace A20, then A80 replaces A31 etc
<cubear> hmm
<oliv3r> i think a10 is 'long term support'
<oliv3r> also, a80 is poop
<oliv3r> it's powervr, so useless
<arokux> :)
<oliv3r> A31 will never replace A20
<arokux> oliv3r: what if one day we will have another libv for powervr?
<oliv3r> as a20 is mali based; a60 will hopefully replace a20
<libv> no, we won't
<oliv3r> arokux: doubt it :)
<hramrach> wens: cb2 works with gmac too?
<oliv3r> nobody will burn themselves with the crap that's powervr
<libv> i have put a lot of effort into discouraging people from going powervr
<arokux> hramrach: yes
<hramrach> cool
<oliv3r> hramrach: you can use gmac driver with MII PHY (like cubieboard2)
<arokux> hramrach: you did some comment at mainlining effort. where do you know this?
<libv> i am amazed how well at least that bit turned out.
<oliv3r> libv: what last bit?
<hramrach> arokux: know what?
<oliv3r> ohh discourarging, good :D
Tsvetan3 is now known as Tsvetan
<cubear> tbh I don't really care about the graphics, as I'm using allwinner's for servers
<oliv3r> cubear: maybe so, but it also sends the wrong message and the money into the wrong pockets ;)
<arokux> libv: why..? I mean, it is not bad to let ppl try. powervr won't disappear, right?
<oliv3r> since you are paying for it
<hramrach> the upstream designware driver reportedly works for u-boot
<hramrach> so why would it not work for linux?
<oliv3r> arokux: libv actually worked with/on powerVR; he 'knows' what nbody knows!
<cubear> oliv3r, then which one should I choose for CPU power?
<wens> hramrach: u-boot or kernel?
<oliv3r> cubear: x86 :p
<wens> hramrach: works in u-boot
<arokux> hramrach: well that is the question, but you seem to know the answer, right? so where do you know it from?
<oliv3r> hramrach: DMA probablly
<hramrach> I say it needs testing
<libv> arokux: robclark, who used to work for ti, wholeheartedly agrees with me
<hramrach> but the driver for the same IP is laready there
<oliv3r> it will be made to work; i have zero doubt about that; just give it time
<mnemoc> arokux: what about the other sunxi related defconfigs?
<arokux> mnemoc: others? there is only crane, I do not know what is that for.
<mnemoc> a10/android
<arokux> libv: ok, but my point is powervr won't disappear.. :(
<mnemoc> and nuclear is a13/android
<arokux> mnemoc: so you want me to add config to them too?
<hramrach> related to that is anybody working on dma for mainline?
<mnemoc> arokux: allwinner also mentioned an A60... which still might be in the A10 family
<mnemoc> arokux: I can do it, I'm just wondering if we should
<libv> arokux: it might get relegated to apple only
<arokux> hramrach: mripard once told he is, or will work once he finishes SPI ..
<arokux> mnemoc: why should it be harmful? this is very valuable info if looking at dmesg
<mnemoc> +1
AreaScout has joined #linux-sunxi
vicenteH has joined #linux-sunxi
<cubear> seems like there's A9X too
popolon has joined #linux-sunxi
<oliv3r> mnemoc: i'm not sure it can hurt, can it? i mean it's the version string only; people paste their dmesg, we know immediatly which kernel they use. advanced users that mangle it; will know this and probably say so
<arokux> libv: any reports on that?
<oliv3r> even allwinner said they burned their hands on powerVR and don't want to use it anymore then they have to (they have to since they payed money for it, and need to sell some volume because of ROI)
<arokux> oliv3r: really?
<arokux> oliv3r: and how did they "burn hands" on it? just interesting, they get blobs for it, what else do they need?
<mnemoc> oliv3r: arokux: funnily savedefconfig opted to simply remove the # CONFIG_LOCALVERSION_AUTO is not set lines as it seems to be default y
<libv> arokux: any reports on what?
<arokux> libv: it might get relegated to apple only
eebrah_ has quit [Ping timeout: 264 seconds]
<libv> arokux: apple is the only consistent powervr customer, and their 64bit A7 uses the new powervr rogue
<arokux> wens: sure, but tonight I'll have only time to tell you if it worked or not, not more.
<wens> arokux: gmac can connect to phy, get link state. that's about it
<arokux> wens: you mean on cb2 in ml?
eebrah_ has joined #linux-sunxi
<mnemoc> is it Ack-by or Acked-by ?
<wens> arokux: yes. (though the tree i pushed has ct dts, not cb2)
<libv> acked
<arokux> Acked-by3
<arokux> Acked-by
iamfrankenstein has joined #linux-sunxi
<oliv3r> arokux: they BUY blobs for it; but they hate it too; it has many problems for them, A31 itself has even (memory controler etc)
<arokux> wens: yes.
<arokux> oliv3r:
<arokux> oliv3r: they buy blobs for Mali too, no?
<oliv3r> arokux: yes
<libv> arokux: but for some reason, the mali blobs tend to work
<oliv3r> arokux: difference is, if you buy android blobs for mali, you get linux blobs for free; powerVR wants to sell both seperatly
<libv> arokux: have you ever worked with powervr?
bsdfox\ has quit [Ping timeout: 252 seconds]
<arokux> libv: no, and I will not, i'm simply say there are these guys and the won't go away.
<libv> their relevance is seriously waning
<libv> they used to be absolute
<arokux> oliv3r: hm.. and since when is AW interested in Linux? :)
<arokux> libv: that is good.
<mnemoc> eva added me on linkedin a couple of days ago...
<libv> arokux: their marketshare in the android world is shrinking very rapidly
<mnemoc> something odd is happening inside AW
<arokux> maybe she just like u
<mnemoc> doubt so
atsampson has quit [Ping timeout: 272 seconds]
<oliv3r> arokux: they acknoledge it
<mnemoc> also, the adoption of "high end" ARM cores goes against the initial allwinner concept, conquering the lowest-end market
<oliv3r> and they are loosing their grip on the lowest-end as people 'want more''
eebrah_ has quit [Read error: Connection reset by peer]
<mnemoc> moto g is a singnal on that
<mnemoc> signal*
<arokux> ppl always want more :)
rz2k has joined #linux-sunxi
<arokux> we'll see about aw, we got no docs recently from anywhere.
<mnemoc> mripard: have you been told anything? (even if you can't tell what)
<arokux> I really dislike such "telling" I should say.
eebrah_ has joined #linux-sunxi
<mnemoc> i just wonder if they are keeping everything inside their walls or there is some level of disclosure with "outsiders"
atsampson has joined #linux-sunxi
<arokux> i see.
<mnemoc> openness-friendly outsiders who could be in a better possition to make suggestions before everything is set
bsdfox\ has joined #linux-sunxi
<arokux> mnemoc: something like this is ok
<mnemoc> maybe even preparing an [[Open letter to Allwinner]]...
<binaryferret> Has anyone had any luck with getting an ektf2k driver for 3.4 linux-sunxi working?
<mnemoc> arokux: documentation is one thing, sure. but I mean something broader
<arokux> mnemoc: you want a *hug* from Eva? :)
<mnemoc> arokux: touching details about official linux support, community support, and mali vs pvr
<mnemoc> arokux: basically yes
prasannapete has quit [Quit: prasannapete]
<arokux> mnemoc: you know, money is talking there. unless they get lots of Linux customers they won't do anything, I think
<arokux> mnemoc: but do they get those customers now?
<mnemoc> android is linux, tizen is linux, xmbc is linux
<mnemoc> servers are linux
<arokux> mnemoc: who should really care about us are all the companies which produce SoMs and boards
<mnemoc> and those are AW customers
<arokux> mnemoc: but I get the feeling that they are happy there is free (as in beer) code for them at sunxi.org.
<mnemoc> that's why the letter should be directed to AW and not to SoM/board manufacturers
<arokux> mnemoc: they actually get docs from allwinner, but they do nothing to share it with us. the reason is, they regard this as there winning bit against the others. like they'll be able to release some feature earlier.
<mnemoc> as they can increase their marketshare in that world just by realizing that android is only ONE frontend of Linux
<arokux> ah, you want to try to open their eyes broader, I see.
<arokux> consider Cubietech, they were holding the driver for the GMAC back, till ct was released.
<arokux> there are other examples I know of.
<mnemoc> but after that they released it
<arokux> yes, not bad, true.
<mnemoc> I don't mean exposing everything before the product is done. I mean doing their secrets aware of this broader market share they have
<mnemoc> and then, once the product is ready, release everything they can to hit the market strongerly
<arokux> mnemoc: the secret was SoC doc, not their awesome feature
<mnemoc> they did voluntarely share the latest user manuals, they weren't leaked
<mnemoc> a10's was leaked
<arokux> mnemoc: there is no doc on EMAC
<arokux> GMAC*
<mnemoc> even if those documents are poor they did show intention
<mnemoc> arokux: because they simply don't own the right
<mnemoc> EMAC/GMAC is not their IP
<arokux> hmm... I see. but the question is: do they try to ask to publish it?
<mnemoc> but they can design their future products considering the importance of been able to open a bit more
<mnemoc> arokux: we can't know as that is private between allwinner and davicom or dw
<oliv3r> using IP that is allready supported makes things a lot easier, even for them
<mnemoc> oliv3r: that should be on that letter
<mnemoc> been wiser when choosing the IPs
<arokux> mnemoc: http://linux-sunxi.org/Letter_Draft start it now
<mnemoc> need to prepare for an exman on monday :(
<arokux> mnemoc: exam?
<mnemoc> "interview"
<arokux> mnemoc: how can you prepare for smth like this?
<mnemoc> reading and writting code :p
<arokux> mnemoc: http://linux-sunxi.org/A20-Cubietruck#Status_of_the_community_kernel_.28sunxi-3.4.29_.2F_U-Boot you can fix some issues here
<JohnDoe_71Rus> reading code before sleep :)
<arokux> JohnDoe_71Rus: have you fixed your problems?
<JohnDoe_71Rus> with u-boot? no
rellla has quit [Ping timeout: 244 seconds]
<JohnDoe_71Rus> I have a lot of problems :)
<arokux> u-boot? u-boot is working perfectly.
<JohnDoe_71Rus> arokux: update u-boot-sunxi. still hangs at starting kernel http://pastebin.com/87HFPwmd cb2
<JohnDoe_71Rus> at the sd card
<arokux> JohnDoe_71Rus: perform the command manually and show it then.
<arokux> JohnDoe_71Rus: who knows what is inside of your uEnv.txt etc.
<JohnDoe_71Rus> but work for me u-boot-hwpack
<JohnDoe_71Rus> the only difference is in the u-boot
<wens> arokux: i have my cb2 booted with usb ethernet now, but not sure what to look for about stmmac problems
<wens> and the system is wierdly sluggish :(
<arokux> wens: I hope it is not usb...
<arokux> wens: jemk might know what you could investigate further.
<wens> arokux: it was fine the first five minutes. it could be stmmac trying to resend stuff or something
<arokux> I see...
<arokux> wens: if it is a module, you can rmmod it to see if the sluggischness is caused by stmmac.
<wens> arokux: i have my led set to flash according to cpu usage, and it's not flashing a lot
<wens> arokux: good idea. i'll rebuild with stmmac as module.
<arokux> JohnDoe_71Rus: the problem could be you image size. if the kernel is so fat u-boot can override something in memory. make sure u-boot will not relocate anything
<JohnDoe_71Rus> arokux: http://pastebin.com/TuUYBT8t uEnv.txt
mkutsevol has left #linux-sunxi [#linux-sunxi]
<arokux> fatload mmc 0 0x43000000 ; fatload mmc 0 0x48000000 ;
<arokux> is it legal?
<JohnDoe_71Rus> it work with hwpack
<arokux> I've always seen: fatload mmc 0 0x43000000 script.bin
mkutsevol has joined #linux-sunxi
<JohnDoe_71Rus> only change u-boot to hwpack version
<arokux> I see, but try to do something that others do: https://github.com/linux-sunxi/u-boot-sunxi/wiki#uenvtxt-support
<arokux> JohnDoe_71Rus: past commands by hand first.
<arokux> JohnDoe_71Rus: hm.. but things got loaded, so it is legal somehow.
<JohnDoe_71Rus> yes
<JohnDoe_71Rus> and hangs with green led
<JohnDoe_71Rus> some one this confirmed problem
<arokux> JohnDoe_71Rus: is the size of the uImage the same?
<JohnDoe_71Rus> yes. the same sd card, the same files. diffrent only u-boot
<JohnDoe_71Rus> U-Boot 2013.04-07297-gc8f265c-dirty (Jun 23 2013 - 14:31:49) Allwinner Technoloy
<arokux> JohnDoe_71Rus: but you do realize that everybody uses it and it is just fine? :)
<JohnDoe_71Rus> http://pastebin.com/0esjDuAi but with other kernel.
<arokux> JohnDoe_71Rus: for example wens is using latest U-Boot with cb2
<JohnDoe_71Rus> I know how to find problems :)
<arokux> JohnDoe_71Rus: it is not the same kernel.......
<arokux> Data Size: 3887840 Bytes = 3.7 MiB
<JohnDoe_71Rus> ш know
<JohnDoe_71Rus> *I
<arokux> <arokux> JohnDoe_71Rus: is the size of the uImage the same?
<arokux> <JohnDoe_71Rus> yes. the same sd card, the same files. diffrent only u-boot
<arokux> so no, NOT THE SAME FILES
<wens> arokux: stmmac loaded as module, now it can't find phy's...
<arokux> wens: :( sorry.
<arokux> wens: no errors what so ever?
<wens> arokux: so seems like u-boot correctly initializes it, then the kernel can screw it up
<arokux> JohnDoe_71Rus: so try to reduce the size of your uImage and see if it helps
<JohnDoe_71Rus> http://pastebin.com/yBqrNiF0 find
<arokux> wens: you'd like to dump GMAC registers clocks.. maybe. just a thought.
<wens> arokux: trying clk_ignore_unused first
<JohnDoe_71Rus> kernel from this image http://ubuntuone.com/0HdTKPlNHb5zsqOgNhpBPW
<wens> arokux: and it works again :)
<arokux> wens: :)
<arokux> JohnDoe_71Rus: http://sprunge.us/YigC you can try this. I cannot test you kernel, i do not have cb2
<arokux> wens: so this is a race. kernel just disabled clocks that you enabled.
<wens> arokux: I guess the kernel disables unused clocks *after* platform devices have been scanned
<arokux> wens: I suggest you always boot with clk_ignore_unused until you add needed clocks to clk-sunxi or sunxi-clk...
<arokux> wens: could be, because of this i scratched my head for several days.
andoma has quit [Read error: Operation timed out]
<wens> u-boot doesn't seem to touch any other clock gates...
andoma has joined #linux-sunxi
<arokux> wens: maybe something else is cleared by kernel. wild guess: pinmuxing?
_massi_ has quit [Read error: Connection reset by peer]
Soru has joined #linux-sunxi
rellla2 has quit [Quit: Nettalk6 - www.ntalk.de]
_massi_ has joined #linux-sunxi
<arokux> wens: did sluggishness went away? (or on rmmod?)
<wens> arokux: it never appeared, possibly because it wasn't used for DHCP/nfsroot
<arokux> wens: have you now switched to in-kernel rootfs?
<wens> arokux: not yet. still running off nfsroot, over usb dongle
<arokux> wens: ok, I got it.
<arokux> wens: you can use the dongle in u-boot too, btw
rellla has joined #linux-sunxi
<arokux> wens: in that case env. variable ethact can be useful.
rellla2 has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<Tsvetan> yay LIME works both with A10 and A20 :)
<arokux> Tsvetan: +1
<arokux> Tsvetan: what is the difference in price A10 vs A20? why not just use A20 always?
<Tsvetan> arokux LIME is very cost sensitive project every cent counts :)
<arokux> Tsvetan: hm.. and how many cents is it exactly? :p price(A20) - price(A10) = ?
<Tsvetan> arokux if I tell you I have to kill you ;)
<mnemoc> a % maybe?
<arokux> Tsvetan: what I really like is that it comes with boxing - that is awesome.
<cubear> A10 is like what? 7 bucks?
<Tsvetan> Let see if this will attract more developers to Linux-Sunxi
* arokux dreams of 2xethernet on LIME-A20..
<mnemoc> Tsvetan: price(A20)/price(A10) ?
<Tsvetan> as the difference will be only $4 between Lime and Pi
<mnemoc> and FAR more power and openness
<arokux> Tsvetan: imho, you should do some benchmarking and show how faster LIME is.
<oliv3r> Tsvetan: lime will be 31 USD vs PI's 35 USD?
<mnemoc> Tsvetan: will you also be selling connectors for those tiny 0.05" pins?
<Tsvetan> aokux Lime is x4 times faster than Pi
<Tsvetan> mnemoc yes and shield with 0.1" LCD connector
<mnemoc> cool
<Tsvetan> oliv3r Lime is $39 Pi is $35
<arokux> Tsvetan: $39 without VAT? :p
<Tsvetan> arokux yes same like Pi
<oliv3r> ah bummer :( while its only 4 bux and offers a LOT more power; 31 would have been totally over the top awesome :)
<oliv3r> hell even the same price would be redicilously awesome
<arokux> so its 40 EUR without shipping. what is your offer Tsvetan ?
<mnemoc> Tsvetan: what about a comparison with the BBB?
<oliv3r> still 39 is really good still and if you can ramp up production to come close to pi's prices could drop?
<Tsvetan> oliv3r in electronics everything depend on quantities
<oliv3r> Tsvetan: aye :(
<oliv3r> didn't the pi sell at a loss or zero profit at first?
<Tsvetan> all calculations we made are for 5K per month
<Tsvetan> if we manage to start selling 10K per month the price may go below $30
<mnemoc> \o/
tinti has joined #linux-sunxi
<Tsvetan> but I do not want to make empty promises
<mnemoc> Tsvetan: you should bring a few to the sunxi talk in fosdem ;-)
<Tsvetan> mnemoc I hope we will have table at FOSDEM
<Tsvetan> I apply but have no reply yet
<oliv3r> have you had tables in previous years?
<Tsvetan> no
<mnemoc> Tsvetan: as they accepted the sunxi talk and you have several oshw sunxi products it seriously make sense to grant you a table there
<arokux> Tsvetan: cubietech sold 25K in total.
<arokux> Tsvetan: not sure if cb+cb2.
<Tsvetan> arokux we probably sold more
<mnemoc> pi has sold millions
<Tsvetan> mnemoc do not believe everything you read about pi ;)
Black_Horseman has quit [Quit: Αποχώρησε]
<cubear> it's all about marketing :(
<Tsvetan> I have intern info anf their sales are far below what they write
<mnemoc> Tsvetan: feel free to make a comparison table between the lime, the pi and the bb in our wiki ;-)
<oliv3r> Tablecloth!!
<oliv3r> remember to bring that
<arokux> mnemoc: what is BBB?
<mnemoc> beagle bone black
<JohnDoe_71Rus> arokux: I have to try different branchs?
<mnemoc> arokux: the reaction of TI to the CB
<arokux> mnemoc: link?
<arokux> JohnDoe_71Rus: yes, different commits. and find the particular commit when bug appears, but be sure to reproduce the issue first.
<mnemoc> 512MB just like Tsvetan's lime
<mnemoc> and also 1GHz cortex-a8
<mnemoc> so it's a more reasonable competitor
<arokux> mnemoc: but no SATA
<mnemoc> the pi is a marketing BS
<Tsvetan> and no native HDMI
<mnemoc> go lime go
<Tsvetan> BBB use converter
<arokux> Tsvetan: is there some thoughts LIME with 2xethernet? :)
<arokux> Tsvetan: and wlan :)
<arokux> ok.. it won't be LIME anymore..
<Tsvetan> arokux A10 have no 2 MACs
<mnemoc> Tsvetan: that why I said, feel free to add the lime to our frontpage and provide a comparisson table with the "mainstream" competitors
<binaryferret> I have an A13 Generic whitelabel tablet. I have the Fedora-19 r1 image running on an SD card. Works, able to log in. The issue I'm having is that when I install the 8188eu with modprobe, it's still not detecting any wifi interfaces.
<mnemoc> binaryferret: you might need to modify the script.bin and pre-enable the corresponding usbc
<binaryferret> I did a test with no SD card in, and let it boot to android. Used adb shell and then did rmmod 8188eu, and this brough the wireless down on android. This is basically what made me think that this was the driver I required.
<Tsvetan> mnemoc I will do this during the weekend
<binaryferret> mnemoc: Thanks mnemoc, I'm still new to all this, and I have got my own build of the kernel running with the same issue, so I thought I'd go back to the image. I have used the script.bin from the actual tab, and not the standard script.bin that came with it.
<arokux> Tsvetan: have you asked for any support by AW for GMAC, you had problems with it initially.
<mnemoc> binaryferret: the script.bin describes your board. it's critical to use the right one
<Tsvetan> arokux this was long time ago, yes we asked and we didnt received
<Tsvetan> not because they didnt want to help
<Tsvetan> but we just cant speak chinese and they cant english
<arokux> gosh
<binaryferret> I will have a look at how to pre-enable the corresponding usbc, I just assumed that if using the script.bin that was from the tablet itself, then it would work.
<arokux> Tsvetan: there is software that can help you both!
<mnemoc> Tsvetan: after eva added me to linked in some days ago I realized she has a degree in english literature, not in marketing or businesses
<mnemoc> Tsvetan: so she is there because her english :p
<arokux> binaryferret: just do: usb_used = 1 in [usbc2] and [usbc1] (just to be sure) I never remember which one is used by wlan
<mnemoc> usbc2 normally
<mnemoc> but it's about the initial power state, not onlt the _used
<mnemoc> for "power saving" allwinners turns on/off the usbc when loading/unloading the wifi module
<binaryferret> In the .bin that I converted to fex from my tab I have usbc0 and usbc1 defined. Both have the key/value of usb_used = 1
bennhuang has joined #linux-sunxi
<mnemoc> usb_host_init_state = 0
<mnemoc> that's the important part
<hramrach> hmm, lime is interesting. cheaper than a10s olinuxino, more expensive than a13 olinuxino, has sata and hdmi but sucky miniature pins
<binaryferret> Ok cheers. It's suddently hit me, that I bet a document exists somewhere discussing all these various settings.
<mnemoc> notmart: and usb_wifi_usbc_num = 1 tells you which usbc is connected to the wifi
<hramrach> I guess many people don't use the pins so won't mind but I read about these pins on the a20 som bending easily so even with just shields it sucks
<binaryferret> OOoo Thanks mnemoc and arokux
<hramrach> even worse than what cubieboard has :S
<binaryferret> Dinner time, then I'll make changes. Thanks again.
<oliv3r> Tsvetan: lime brings out i2s? VGA/Composite boards etc?
<cubear> what's the pin spacing on that lime thing? 2.0mm?
<mnemoc> it seems to expose every pin
<mnemoc> 0.05"
<mnemoc> so 1.27mm
<cubear> buttz
<mnemoc> tiny
<oliv3r> looks like it's mini-IDE
jemk has quit [Read error: Operation timed out]
<JohnDoe_71Rus> micro
<cubear> I'll need to buy new connectors
<hramrach> 2.5" ide is 2mm, right?
<mnemoc> cubear: Tsvetan said they will sell contectors and a "cape" with 0.1" and lvds
<oliv3r> hramrach: 1mm?
<Tsvetan> these connectors are cheap
<Tsvetan> 1.27 mm step
<oliv3r> US size, bleh
<cubear> well I was talking about pcboard-to-wire style connectors like the crimp sockets
<Tsvetan> Imperial ;)
<mnemoc> Tsvetan: not when distributors charge absurd shipping prices and large minimal order
<oliv3r> Lime 2.0; gbit PHY, A20 only, second memory chip underneath! or instead of FLASH, more ram and only boot from SD ;)
<cubear> and you need a special tool for those crimp pins
<hramrach> 2mm are not expensive either. just hard to get
<oliv3r> cubear: i just use pliers and solder if I have to
<cubear> I found 2mm ones for cubieboard on Farnell
<oliv3r> ebay has a lot of connectors etc
<oliv3r> but trying to find them is hard
<oliv3r> what's the 2 JST connectoo called cb3 and olimex use for battery connectors?
<hramrach> yes, it's just that *every* store that sels something like connectors has the 2.54 ones
<oliv3r> i really really like the lime
<cubear> that's jst?
<oliv3r> the right one
<oliv3r> or atlest, I thought that's what it is, and there's normal, mini and micro sizes too :)
<oliv3r> the olimex VGA connector is 5 pin micro connector
<cubear> oh right
<cubear> I bought some JST's by accident from Farnell and they looked totally different than what's on that pic
<oliv3r> yeah JST is so 'generic'
bennhuang has quit [Ping timeout: 261 seconds]
<cubear> that must be 2.54mm
<oliv3r> 2.54, 2 and 1mm
<oliv3r> i think the micro vga Olimex is 1mm
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
tinti has quit [Read error: Connection reset by peer]
<Tsvetan> lime with A20 works with same image we have for big olinuxino
bennhuang has joined #linux-sunxi
<Tsvetan> and android runs without any changes for the memory :)
<mnemoc> android 4.4 is supposed to support 512MB devices ;-)
<Tsvetan> in linux you should tell uboot the DDR3 bus width
<Tsvetan> android seems to detect this as just write to NAND and it runs
<Tsvetan> both on 16 and 32 bit DDR memory buswidth
<mnemoc> nice
<Tsvetan> hno maybe uboot can be modified to detect the memory buswidth too? ;)
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<Tsvetan> its possible to see memory size too with test reading to different memory locations
wingrime has joined #linux-sunxi
Soru has quit [Ping timeout: 268 seconds]
prasannapete has joined #linux-sunxi
tzafrir has quit [Ping timeout: 260 seconds]
rellla2 has quit [Quit: Nettalk6 - www.ntalk.de]
naobsd has joined #linux-sunxi
cubear has quit [Quit: Leaving]
<oliv3r> Tsvetan: i think it could be technicalyl possible to detect various memory controler parameters, but we have zero docs, so probably not in my lifetime :)
<Tsvetan> oliv3r simple write and read back can solve this simply
<Tsvetan> write 32 bit bus value read and see if your 32 bit are same
<Tsvetan> if only 16 bits are same then bus is 16 bit
<Tsvetan> then write and read pattern to different memory addresses to see where RAM start and ends
<Tsvetan> it should be few lines of code
<Tsvetan> which to config these two memory parameters
<oliv3r> we talked about this on the ML a while ago
<Tsvetan> the speed and timing let stay in FEX
<oliv3r> u-boot doesn't use fex :p
<Tsvetan> Android image do it so its possible
<oliv3r> android does it?!
<oliv3r> noway
<Tsvetan> yes
<oliv3r> noway!
<oliv3r> show me
<Tsvetan> we just programmed Android image for OLinuXino (with 32bit bus) to LIME and it runs
<oliv3r> anyway, we talked about it and concluded not yet, there's so many things that we don't know
<Tsvetan> without changes
<Tsvetan> I can log the console messages
<oliv3r> i think yalk about io-width vs bus-width
<Tsvetan> and post
<oliv3r> you talk*
<oliv3r> one was guessed to be for 'drive strenght'
<oliv3r> e.g. if you have 2-4 chips you need more 'power' to drive them, and we expected that to be the same
<oliv3r> same = set by the io/bus width parameters
rz2k has quit [Ping timeout: 246 seconds]
<oliv3r> i think hno said, the CPU _always_ communicates with the ram at 32 bit, the difference is
<oliv3r> 16 bit = 2 chips, 32 bit is 1 chip
<arokux> Tsvetan: Lime is $39, A10 or A20?
<Tsvetan> arokux: A31
<Tsvetan> hahahaha
<Tsvetan> there is picture with A10
<arokux> Tsvetan: yes, ok, I've checked your blog :p here you were saying that both are ready, and saying the price, so I was puzzled.
<Tsvetan> yesterday when I blogged we had just A10
<mripard> mnemoc: heard something about what?
<arokux> Tsvetan: cann't amazon sell your boards with free shipping? :(
<Tsvetan> today we assembled A20 too and surprisingly it works with 512MB too
<mripard> hramrach: doesn't the GMAC have its own DMA controller?
<arokux> Tsvetan: no price for A20-LIME so far?
<Tsvetan> arokux no
<binaryferret> Fex
<binaryferret> Ignore that.
<Tsvetan> as I didnt know if it will work at all, but seems it works
<hramrach> mripard: does it? it depends on HAS_DMA in kconfig but not sure if just selecting that would work
<arokux> Tsvetan: I see. what about amazon?
<Tsvetan> we have to make some benchmark now to see if it worth to have DualCore A7 on 512MB and how it compare to Single Core A8
<Tsvetan> arokux only the cheese in the mouse trap is free
<hramrach> I the mainlining effort page suggests that ethernet uses the main dma controller but that might apply to emac only
<arokux> Tsvetan: true. :) I was just curios.
<naobsd> I really have interest to A20-LIME
iamfrankenstein has quit [Quit: Nettalk6 - www.ntalk.de]
<arokux> Tsvetan: hm.. I've just realized amazon will be only local.
<naobsd> Tsvetan: please check power consumption too
<naobsd> under cpu load
<Tsvetan> naobsd yes, lot of things to check
HeHoPMaJIeH has quit [Remote host closed the connection]
<arokux> mripard: we were curious if allwinner was releasing/communicating some doc/info to recently. so mnemoc asked if they maybe communicated with you off-the list, so to say. it is interesting if they start to (pure) Linux as a target.
<arokux> mripard: start to see* ...
<wingrime> oliv3r: should we have speical ML for maline?
<wingrime> *err mainline
iamfrankenstein has joined #linux-sunxi
<arokux> wingrime: it was discussed. mripard is reluctant to have a special list, he insists on sending everything to upstream only without even CCing linux-sunxi. (not that I like it)
<arokux> wingrime: are you going to do some mainline work? :)
<binaryferret> ls
<wingrime> arokux: I have IR driver
<wingrime> arokux: but still not able send it to ML
<wingrime> err
<wingrime> Mainline
<arokux> wingrime: because of clocks?
<wingrime> yes
<wingrime> arokux: I think I will try bring sata, but , same
<wingrime> Tsvetan: LIME realy 30$ ???
<wingrime> Tsvetan: thats awesome
<arokux> wingrime: 39$
<arokux> wingrime: LIME-A10
<wingrime> arokux: mass production can beat rPI
* arokux dreams of LIME mass produced
<Tsvetan> wingrime order me 100K LIMEs and I will do them for you at $25 ;)
<wingrime> Tsvetan: are you still soldeded componets by hand
<arokux> I hate those RPi ppl
<arokux> they think they have invented everything :((
<wigyori> hmm
<wigyori> this lime stuff looks nice
<Tsvetan> wingrime you greatly overestimate my soldering skills :)))))
<Tsvetan> I do not solder manually all boards we sell :))))
<wingrime> Tsvetan: currently, A10 most opensource on market
<wingrime> Tsvetan: no idea what I will do with 100k ))))))
<arokux> Tsvetan: I (as programmer) wonder. You had an A10-board already, why producing LIME take so much time, isn't it copy-paste and throwing out features?
<Tsvetan> wingrime but you will have best price :)))
<wolfy> wingrime: you preserve one , purchased at $25 and throw away the others, as you do not need them
<arokux> wingrime: give them as gits to russian children на новый год!
<Tsvetan> arokux as hardware engineer I also do wonder why it takes you so much time to move to Kernel 3.12 isnt is just copy and paste from kernel 3.0?
<arokux> (for new year)
<wingrime> arokux: I have no such amounts of money
<arokux> Tsvetan: :) I can explain you that since I understand this. but can you explain me the problems of hw devs? :p
<wingrime> arokux: testing, fixing,etc
<Tsvetan> I guess same is here ;)
<arokux> wingrime: do you need to pay customs if ordering at Olimex?
<oliv3r> wingrime: not sure if splitting the ML is a good idea; libv thinks its a bad idea to split users from devs
<oliv3r> wingrime: i think ian got sata to work! but i haven't tested it all; a little busy still
<wingrime> oliv3r: no, I thinkied not about stilt ml's
<wingrime> oliv3r: simply move mainline messages to other
* arokux will happily test SATA, but no SATA HDD around
<oliv3r> wingrime: thunderbird message filter if cc or to = linux@vger -> mainline folder
vicenteH has quit [Read error: Operation timed out]
<wingrime> oliv3r: I use gmane
<wingrime> oliv3r: but without any [MAINLINE] thats hard to figure out what is it
<wingrime> oliv3r: OR maybe we should ask all peolple use [3.4] tag for all non ml
rwmjones has joined #linux-sunxi
* arokux wishes wingrime has stepped up as he begged mripard to CC linux-sunxi
<wens> I can test SATA on mainline next week if needed. I have HDDs and SSDs lying around
shineworld has joined #linux-sunxi
prasannapete has quit [Quit: prasannapete]
<plaes> ohh.. A10-Lime looks wonderful
<rwmjones> has anyone connected a serial port to the cubie*truck*? will http://www.cubietruck.com/products/usb-to-ttl-uart-serial-cable work?
<mnemoc> that's for connecting your computer to the serial console of the CT
<mnemoc> sure it will work. but there are cheaper sources ;-)
<rwmjones> right, has anyone connected their computer to the UART of the cubietruck using that cable?
<tomboy64> is someone aware of the differences (in CFLAGS) between vfpv4, vfpv4-d16, vfpv4-sp-d16 and vfpv4-neon?
<tomboy64> (i assume for a20 i will want -mfpu=vfpv4-neon?)
<mnemoc> tomboy64: look at the gcc manual ;-)
<tomboy64> mnemoc: i am
<arokux> rwmjones: works like a charm.
<arokux> mnemoc: what cheaper sources (with boxed chip)?
<oliv3r> wingrime: that'll be hard :(
<mnemoc> arokux: well... I don't mean "boxed chip" ones, I have no troubles seeing the PCBs :p
<arokux> mnemoc: and touching them with fingers too?
<mnemoc> arokux: as with the CDs... be sure to touch them from the sides only ;-)
* arokux asks himself if he can damage such UART2USB all the time
<wingrime> Tsvetan: AW offered to you some new sdks?
<arokux> wingrime: why do you thinks so?
<wingrime> arokux: just asking
<Tsvetan> wingrime they dont until I ask :)
<arokux> Tsvetan: but you do not ask since sunxi-3.4 is just so much better.
* arokux hopes so
<Tsvetan> in 3.4 we have everything we need so far
<arokux> Tsvetan: now even gmac
<mnemoc> arokux: is https://github.com/bjzhang/linux-allwinner.git the right source for the sunxi-dom0/U code? (for nightlies)
<mripard> hramrach: yeah, from what I looked at, gmac has its own dma controller
<arokux> mnemoc: how should I know? e-mail bamvor he always replies timely.
<mripard> while emac uses the "global" one
<mnemoc> arokux: I thouyght you were into that too
<arokux> mripard: why then it wouldn't work in u-boot without dcaches disabled or it is not related?
* arokux is still a noob
<mripard> arokux: yes, allwinner and I are in contact
<mripard> not a very regular one, but we exchange a few mails
<arokux> mripard: some nice news?
<mripard> arokux: and I'm not against cc'ing linux-sunxi, I'm not convinced to aggressively tell anyone that they *must* send it to linux-sunxi.
<wigyori> arokux: for the gmac stuff, you're talking about what Zalan put together, right?
<mripard> arokux: not really yet :(
<arokux> wigyori: 1) gmac in u-boot by jemk, 2) gmac in sunxi-3.4 taken from cubieboard tree (by cubietech). Zalan patches allow gmac to talk to mii too, something wens is also working on.
<mripard> and it won't work with dcaches precisely because it uses dma, and does something in the cpu's back :)
<arokux> mripard: I see :)
<wigyori> arokux: gotcha - for the kernel side stuff, do you know if they're hooked up already? i'm in daily contact with Zalan, so just in case you want to pass something on
<arokux> wigyori: which kernel?
<arokux> wigyori: there are too kernel we care of.
<wigyori> Zalan's focusing on mainline
<arokux> wigyori: his patches are against -3.4 though.
<arokux> wigyori: gmac is not yet working in mainline - only partially.
<wigyori> hrm
<arokux> wigyori: so only in u-boot for cb2/ct and -3.4 ct and maybe cb2
<wingrime> mripard: we defenetly need place for sunxi only, mainline patches, so CC is a good thing
* arokux happy wingrime steps up
<arokux> :)
<arokux> ~ 15k e-mail in my mailbox...
<wingrime> arokux: BT and wifi still In way for CT
<arokux> only 200 are sunxi related
<arokux> wingrime: yes, check: http://linux-sunxi.org/A20-Cubietruck#Status_of_the_community_kernel_.28sunxi-3.4.29_.2F_U-Boot
<wingrime> arokux: also, power managment is brocken hard
<wingrime> arokux: for a20
<arokux> wingrime: I hope to cherry pick stuff from cubietech's kernel as fast as time allows
<wingrime> arokux: It's half brocken for build
<arokux> wingrime: do you have a patch I can test?
<mripard> wingrime: except that kernel development, even sunxi-related one, is wider than just linux-sunxi
<mripard> you will have patches that are done by people that are not here for sunxi stuff
<mripard> you'll have fixes for drivers that have already been merged
<wingrime> mripard: yes, I know,
<mripard> you'll have core arm changes that will have an indirect impact on sunxi
<wingrime> mripard: but arm linux have much trafic
<wingrime> mripard: but you a maintrainer, so you always will get mail related to sunxi
<mripard> not even
* mnemoc opted for subscribing the linux-arm list and making a filter to classify sunxi related mails as such
<mripard> I'll have all the patches that are in arch/arm/mach-sunxi, or arch/arm/boot/dts/sun*i*
<mripard> that's all
<mripard> I don't have to be cc'ed for any patch that modifies every other file
<arokux> life is complicated
* arokux agrees the best option is to filter thousands of e-mails.
<oliv3r> mripard: just in case you missed it, GMAC is actually designware gbit IP
<mnemoc> even then it's hard to keep the pace
<mnemoc> wingrime: if you grep the mainline sources you'll see it's pretty common to assign values to the preempt_count() macro
<mnemoc> no clue why they made it look like a function
<wingrime> mnemoc: ok
<mnemoc> it's disturbing
<wingrime> mnemoc: but it's looks not realy nice
Soru has joined #linux-sunxi
<oliv3r> wingrime: it looks very confusing
<mnemoc> looks awful
<arokux> but it has given me an idea to ask my students what preempt_count() should be, so that the code compiles.
<mnemoc> that macro should be turned into PREEMPT_COUNT, not a function macro
* arokux looks forward to mnemoc's patch
* mnemoc is alergic to lkml
<mnemoc> too much... unpoliteness
<mnemoc> and disqualifications
<oliv3r> mnemoc: not to newbies :)
<mnemoc> just not a nice place to linger around. in that sense the arm list is far more civilized
<arokux> I'm not sure pure lkml mails are read by somebody
<arokux> it should be only CCed it seems
<mnemoc> *g*
<oliv3r> pure lkml mails are def. read
<oliv3r> they are archived via google etc, so are searched and read
<oliv3r> phoronix reads interesting threads without beeing CCed
<oliv3r> so there are very real use cases
<arokux> phoronix is awful resource.
<oliv3r> But 'generic' mails to the ml tend to get overlooked yes I agree
* arokux wonders how phoronix makes its living
<oliv3r> arokux: yes, but we lack anything better
<arokux> oliv3r: lwn is much better
<arokux> oliv3r: but very technical
<oliv3r> lwn has only very few articles :p
<mnemoc> $$...
<arokux> mnemoc: after one week free
<mnemoc> after one week you forgot you wanted to read the article :p
<arokux> mnemoc: :D it is the same with me!!
<Tsvetan> A20 is faster and need less power :)
<mnemoc> Tsvetan: but how much more expensive would it make the lime?
<Tsvetan> mnemoc you mean with A20?
<mnemoc> yes
* arokux is also curious
<Tsvetan> I don't know I have to convince AW to give me good price
<mnemoc> but you are already buying A20's
<Tsvetan> yes, but I can't make low cost LIME with the prices I pay now for A20
<mnemoc> ok
<arokux> if allwinner agrees it means they believe in pure Linux
<mnemoc> an A20 lime would allow you to run xen, linux/android + RTOS
<arokux> + gigabit LAN
<arokux> err, Eth*
<Tsvetan> and A20 require 30% less power and runs x1.7 times faster than A10 :-)
<mnemoc> just thinking in the applications of such small board as replacement of MCU + fancy interface
<wigyori> does the a20 sata support sata port multipliers?
<mnemoc> no
<Tsvetan> we just did some measurements LIME with A10 need 1W to run with A20 it needs 0.7W
<mnemoc> wingrime: you need a multiplier that "fakes" a single drive
<mnemoc> Tsvetan: nice^2
<wigyori> mnemoc: okay - i was thinking along the lines of replacing f.e. hp microserver-grade boxes with a nas/microserver based on the lime, or a similar board
<arokux> wigyori: no, no sata port multipl
<WarheadsSE> Thoughts: would fbturbo work on non-sunxi?
<WarheadsSE> ala: XE303 ?
<mnemoc> wigyori: in this price range, and with A20's GMAC you can make a farm of one-drive-nodes
<mnemoc> WarheadsSE: iirc it even works awesome on the Rpi
<WarheadsSE> orly
<mnemoc> that's why it was renamed from sunxifb to fbturbo
<WarheadsSE> ah
<WarheadsSE> interesting
<mnemoc> *g*
<arokux> WarheadsSE: Update Arch linux-sun*i packages: http://linux-sunxi.org/User:Arokux#TODO
<WarheadsSE> I need to tpeak to these people about putting shit in the AUR that is ARM specific.
bsdfox\ has quit [Ping timeout: 264 seconds]
<WarheadsSE> because they REALLY need to stop doing that
<binaryferret> Still having issues getting wifi drivers working on A13 tab. I'm using a script.bin from the tablet, with the usb_host_init_state = 1 as recommend earlier. I'm also using modprobe 8188eu with options rtw_power_mgnt=0 rtw_enusbss=0. However alas no device.
<arokux> WarheadsSE: you do not have something to offer them in return.
<arokux> WarheadsSE: why is it so bad? :(
<WarheadsSE> arokux: to some degree, you are correct
<binaryferret> http://pastebin.com/kdyHkCtW that's the current fex file along with some info from dmesg
<WarheadsSE> Well, its more about Arch community blowback that anything else
<WarheadsSE> I am not personally against it myself, but the 86 community frowns a bit @ seeing ARM only packages
<WarheadsSE> arokux: not the devs mind you
<Turl> binaryferret: lsusb?
<WarheadsSE> the damned bitchy community
<binaryferret> lsusb has a few entries one is
<WarheadsSE> whois Red54 .. .
<arokux> WarheadsSE I frown at the community for not adding ARM arches :)
<binaryferret> Bus 002 Device 002: ID 0bda:0179 Realtek Semiconductor Corp
<WarheadsSE> Yeah, they don't need to most of the time :P
<WarheadsSE> also, don't use yaourt.
<Turl> binaryferret: try running "echo 0bda 0179 > /sys/bus/usb/drivers/rtl8188eu/new_id"
<binaryferret> Turl: Will do.
<Turl> WarheadsSE: anything I should be aware of? I do use yaourt :p
<binaryferret> Turl: When doing ifconfig it now displays wlan0
<binaryferret> Turl: What did that do? replaced the wrong id with the one that actual exists?
<WarheadsSE> Turl: don't, its bad, dangerous, and full of stupid assumptions
<binaryferret> well I say 'wrong id' the one that came with the image.
<arokux> WarheadsSE: I see arch devs keep saying it all the time.. "do not use yaourt", but should I build it by hand? there are potentially myriad of deps!! we are not in ancient distro times anymore.
<Turl> WarheadsSE: what do you recommend then?
<WarheadsSE> cower
<WarheadsSE> packer
<binaryferret> Thank you Turl. I appreciate it.
<WarheadsSE> any number of not-insane things
<Turl> WarheadsSE: what's so insane about it?
<Turl> I mean, it never killed my box so far or failed in weird ways
mkutsevol has left #linux-sunxi [#linux-sunxi]
<WarheadsSE> Just never use it to do updates :P
<arokux> I only used yaourt to install packages, worked perfect so far.
<WarheadsSE> so far
<Turl> WarheadsSE: I do yaourt -Syua :|
<WarheadsSE> You're lucky then
<Turl> WarheadsSE: packer is insecure, and cower doesn't have pacman syntax
<arokux> the problem is that Arch devs don't really care about AUR infrastructure, so the result
naobsd has quit [Quit: Page closed]
<WarheadsSE> To a degree, yes
<WarheadsSE> though I do know a few people that dev on cower
<WarheadsSE> and I like handling package building myself.. sooo
bsdfox\ has joined #linux-sunxi
<arokux> AUR is an important part of Arch, and the infrastructure (not the content) should be cared about.
diego has joined #linux-sunxi
<WarheadsSE> I can't disagree witht htat
<WarheadsSE> /horrible typos/
diego is now known as Guest4627
<arokux> WarheadsSE: even those that need deps that need deps.. etc... do you like to waste your time on that?
<Turl> WarheadsSE: you still haven't told me what can happen if I keep yaourt -Syua'ing
<Turl> :p
<wens> arokux: by in kernel rootfs, did you mean custom initramfs?
<WarheadsSE> arokux: Yup.
<arokux> wens: yes. you can put rootfs into the kernel image.
<wens> arokux: i'll look into it. seems a bit of work though, building an arm root image
<arokux> wens: you can use buildroot, I could send you config.
<arokux> wens: it boots very fast and you save some time
<wens> arokux: that'd be nice :)
<arokux> wens: ok!
<wens> arokux: you could put it on the wiki? benefit others as well?
<arokux> wens: yes.. was going to do this long time ago. will do it finally this time!
panda84kde has quit [Ping timeout: 268 seconds]
Guest4627 is now known as panda84kde
tomee^ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<wens> arokux: could not remove 'stmmac': Function not implemented
<wens> arokux: so sad
shineworld has quit [Ping timeout: 264 seconds]
<binaryferret> lsusb
<binaryferret> Darn. Ignore.
Soru has quit [Read error: Connection reset by peer]
<tomee^> arokux: FYI, re-loading the bcmdhd module in cubietech kernel also doesn't work.
rz2k has joined #linux-sunxi
Soru has joined #linux-sunxi
shineworld has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 268 seconds]
eebrah_ has joined #linux-sunxi
diego_ has joined #linux-sunxi
pfdm has joined #linux-sunxi
diego_ has quit [Client Quit]
panda84kde has quit [Ping timeout: 268 seconds]
<wingrime> Tsvetan: do you have plans about GMAC?
<Tsvetan> A20-SOM-EVB have Gigabit Ethernet
<wingrime> something smaller?
<wingrime> also are you camera finished?
Soru has quit [Read error: Connection reset by peer]
vicenteH has joined #linux-sunxi
Soru has joined #linux-sunxi
<mnemoc> lime2 :p
eebrah_ has quit [Ping timeout: 268 seconds]
eebrah_ has joined #linux-sunxi
<Quarx> hello. someone know how v4l ioctls works?
<Quarx> s_power, wont call.. just ignored
eebrah_ has quit [Read error: Connection reset by peer]
tzafrir has joined #linux-sunxi
<Quarx> in struct v4l2_int_ioctl_desc
eebrah_ has joined #linux-sunxi
Soru has quit [Read error: No route to host]
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
Soru has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 265 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
tzafrir has quit [Ping timeout: 246 seconds]
arokux2 has joined #linux-sunxi
_massi_ has quit [Quit: Leaving]
Super-noob has joined #linux-sunxi
<arokux2> wens: it is sad indeed, not only aw writes shitty code
eebrah_ has joined #linux-sunxi
<arokux2> wens: take a look at http://linux-sunxi.org/User:Arokux#DONE I've uploaded config for buildroot
rz2k has quit []
<arokux2> yay, I've got my 2.52" pins, 2 weeks later than expected, though.
<arokux2> 2.54"
<mnemoc> 2.54 inches spacing? oh
techn__ has joined #linux-sunxi
<mnemoc> *g*
<mnemoc> 0.1" = 2.54mm! ;-)
techn_ has quit [Ping timeout: 272 seconds]
<arokux2> mnemoc: thanks))
FR^2 has quit [Quit: Connection reset by peer]
<Turl> hey Quarx :)
<Super-noob> hmm, how much speed does an asix gigabit adapter bring netto over usb2 ?
<Turl> Super-noob: rm should be able to tell you
<Turl> but I think it was around 200-300Mb/s
<rm> 280-320
<rm> depending somewhat on the RAM clock I think
<rm> and
<rm> that's on the A10
<rm> the adapter itself maybe can do more
<rm> with a more powerful host
<arokux2> rm: how it is connected with A10?
<rm> USB2
<Super-noob> which one do you have ?
<arokux2> that's a lot!
<Super-noob> sry, i should use link shortener
<rm> no
<rm> please never
<rm> mine looks about the same as by the 1st link, except no branding by "Plugable"
fredy has quit [Excess Flood]
<arokux2> Super-noob: u-boot supports usb2eth dongles too. maybe you want to make sure yours will be supported.
<rm> and yeah I just wanted to say that these days you might want to look into USB 3.0 adapters
fredy has joined #linux-sunxi
<arokux2> is it possible to turn on ct on button press not on plug?
<rm> since price is the same, it's a better bang for the buck overall, even if it will work at USB 2.0 speeds with sunxi SoCs
<Super-noob> yes! i wanted to buy the usb3 with the 5$ coupons from aliexpress but they were used within an hour or so
<rm> however it's not known which chip is in that USB 3.0 one
<wens> arokux2: thanks!
<rm> and if it's supported by the Linux kernel, or specifically by version 3.4
<wens> arokux2: will do it tomorrow
eebrah_ has quit [Ping timeout: 291 seconds]
<wens> 1 AM already *yawn*
<arokux2> wens: stay around, i'm testing your patches in mainline
<Super-noob> my usb1 100mbit :P adapter failed and i was thinking of buying a new one, ur image is running stable for over a month btw!
eebrah_ has joined #linux-sunxi
<wens> arokux2: need sleep
<Super-noob> good night to you
<arokux2> ok, wens :) check my page when you wake up :)
<arokux2> Super-noob: which image?
<Super-noob> rm´s minimum server image
<arokux2> Super-noob: is there ref to it at wiki?
<Super-noob> yes
iamfrankenstein has quit [Read error: Connection reset by peer]
<arokux2> Ok, good to know
<arokux2> is there clear screen in u-boot?
<mnemoc> damn xen doesn't support O=
<arokux2> :(
<arokux2> wens: tested, see dmesg at my page.
<rm> btw I tried using two dual-band (2.4GHz+5GHz) USB WiFi NICs with the Cubieboard
<rm> neither is supported in 3.4.67...
<rm> and I am nooot a fan of compiling chinese drivers from the manufacturer's webiste
<JohnDoe_71Rus> how much git repo 3.4?
<rm> site*
<rm> and for ARM (i.e. fun*10)
<arokux2> JohnDoe_71Rus: do you already have some kernel tree?
<arokux2> rm: what do you need from kernel?
<arokux2> rm: what features?
<JohnDoe_71Rus> arokux2: i have SDK 4.2 for Cubieboard2 with 3,3 kernel
<Super-noob> with an ra 5370 (nano dongle) i have a netto wifi throuput of 20-25mbit at 130-150mbit brutto connection can that be improved much ?
n01 has quit [Ping timeout: 246 seconds]
<rm> arokux, do you mean to suggest trying mainline kernel?:)
<arokux2> rm: yes, there is USB host already
<arokux2> JohnDoe_71Rus: you can add 3.4 to 3.3, then you only download the difference
<arokux2> JohnDoe_71Rus: why do you mess with SDK?
<Super-noob> strangly my old rtl8187b even tho only a g rated adapter is faster then the N nano dongle
<rm> Super-noob, I am now using ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter
<rm> it gives 65-75 Mbit/sec
<rm> and get this: the whole wifi dongle with its antenna is enclosed in a metal box (an old ATX case)
<rm> I was amazed that it works without issue even despite that
<JohnDoe_71Rus> arokux2: because i am newbie
<arokux2> JohnDoe_71Rus: then you shouldn't mess with it at all!
<JohnDoe_71Rus> I need a work my wifi and bluetooth module
<arokux2> JohnDoe_71Rus: wifi works without problems.
<arokux2> don't know about bt
<JohnDoe_71Rus> not rt3270
<bfree> rm: I guess the two failing dual-bands weren't ath9k then (say ar9[23]80)?
<rm> no, Ralink 5572, and the latest-whatever from Realtek
<arokux2> JohnDoe_71Rus: rt3270?
<tomee^> arokux2: me neither, can't get the bt to work ;-)
popolon has quit [Quit: Quitte]
<arokux2> tomee^: but you are board is ct
<arokux2> tomee^: JohnDoe_71Rus uses cb2
<tomee^> arokux2: yes
<tomee^> arokux2: but you asked me about bt on ct earlier
<tomee^> arokux2: so far - no idea
<JohnDoe_71Rus> I do not remember exactly, but it does not work in a standard image. I need rt2x00usb module
<tomee^> arokux2: don't even know if the thing can work wifi OR bt, or both at once
<arokux2> tomee^: ah, ok, thanks.
<arokux2> tomee^: i'll look at it on sunday evening.
<tomee^> arokux2: 'k
<arokux2> JohnDoe_71Rus: there is no standard image
<JohnDoe_71Rus> I accessed the images http://docs.cubieboard.org/tutorials/cb2/installation/cubieboard2_android-4.2.2_releases they do not work with my hardware. So I'm trying to build himself.
<arokux2> JohnDoe_71Rus: you need android?
<arokux2> JohnDoe_71Rus: I meant there are no standard images at sunxi.org.
<JohnDoe_71Rus> yes, need android. Kernel androidable
<arokux2> .. I see.
<JohnDoe_71Rus> I wonder how much weigh source.
<arokux2> JohnDoe_71Rus: 1.2 ~ 1.5 GiB
<arokux2> JohnDoe_71Rus: kernel git tree
<JohnDoe_71Rus> thanks
<JohnDoe_71Rus> it is too much
<JohnDoe_71Rus> :(
<arokux2> JohnDoe_71Rus: you can download only the difference
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #linux-sunxi
wingrime has quit [Ping timeout: 252 seconds]
<Turl> mripard: yay patches :)
<Turl> mripard: I got a dt one I need to send, so linux keeps the uboot macs
wolfy has quit [Quit: Cine a zis ca sexul este un raspuns? Sexul este o intrebare. "Da" este raspunsul. (Woody Allen)]
<mripard> Turl: a kernel patch?
woprr_ has joined #linux-sunxi
woprr has quit [Ping timeout: 244 seconds]
<mripard> the proper way to do this would be to make u-boot patch the DT emac node and set local-mac-address
<mripard> and this is already supported, without any patch
<Turl> mripard: it's a dt only patch
<Turl> mripard: we just need ethernet0 = &emac on the alias block
<Turl> then uboot can find and autocomplete the mac for us
<arokux2> mripard: hm.. - Added back the sun6i compatible and the request_mem_region
<arokux2> mripard: will I still be able to use your driver for sun4i?
<mripard> Turl: ok
<mripard> arokux2: yes, but it won't be merged as is for sun4i
iamfrankenstein has joined #linux-sunxi
<mripard> whenever Turl's clocks will be merged, we will also register them as reset controllers
<mripard> and use them directly
<arokux2> mripard: request_mem_region-- i hope that doesn't mean I won't be able to share bits between you driver and sunxi-clk.
\\Mr_C\\ has joined #linux-sunxi
arokux2 has quit [Remote host closed the connection]
<mripard> arokux: again, you won't use the driver I just submitted. You'll have a clk driver that drive
<mripard> *drives whatever it has to drive
<mripard> plus, will act as a reset controller.
<mripard> if you want to use my driver for now, fine, it will work
<mripard> but that's not what we're going to merge in our case
<mripard> s/our/your/
woprr_ has quit [Quit: Ex-Chat]
woprr has joined #linux-sunxi
BluesBoy has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Organize your IRC]
iamfrankenstein has quit [Read error: Connection reset by peer]
FDCX has quit [Remote host closed the connection]
popolon has joined #linux-sunxi
<hramrach> Turl: can you post patch for that?
<hramrach> I am currently using a code hack to set the mac
awafaa has quit [Quit: Connection closed for inactivity]
n01 has joined #linux-sunxi
<Turl> hramrach: http://sprunge.us/cJaH
<Turl> I'm going to add some extra remarks and send it to the list later today
<hramrach> and what is required for u-boot to patch in the mac?
<oliv3r> bootenv is probably clenest
<hramrach> does it patch it automagically to ethernet0 or do you need to do something?
<oliv3r> arokux: is there some universal network USB driver in u-boot?
atsampson has quit [*.net *.split]
diego71 has quit [*.net *.split]
mouchon has quit [*.net *.split]
setkeh has quit [*.net *.split]
dwilkins has quit [*.net *.split]
ojn has quit [*.net *.split]
<hramrach> there is not universal USB network but there are some usbnet drivers
<Turl> hramrach: automagical, as long as you set the mac on uboot
<Turl> (ethaddr property iirc)
dwilkins has joined #linux-sunxi
atsampson has joined #linux-sunxi
diego71 has joined #linux-sunxi
mouchon has joined #linux-sunxi
setkeh has joined #linux-sunxi
ojn has joined #linux-sunxi
Quarx has quit [Read error: Connection reset by peer]
tzafrir has joined #linux-sunxi
<hramrach> yes, seems to work
<hramrach> thanks
<hramrach> how do you set module parameters?
<hramrach> module.parameter=value ?
<hramrach> actually non-module
<Turl> parameter=value?
<hramrach> on commandline
<Turl> hramrach: I just sent the patch to the lists, you're cc'ed
<Turl> hramrach: you mean on modprobe?
<hramrach> I don't modprobe when the driver is built-in
<Turl> ah
<Turl> module.parameter=stuff on kernel cmdline I think
<hramrach> so the doc is bogus :/
<hramrach> it says mudule=parameter:value,..
<Turl> it may be that way too
<Turl> but I've seen i915.stuff=blah on cmdline
<Turl> (although that might've been a module)
<hramrach> it should be the same module or not
<Turl> maybe it supports both syntaxes
<hramrach> and the module=parameter:value,.. is probably old way
<Turl> docs on Documentation/ tend to get a bit obsolete
<hramrach> I guess
<Turl> SubmittingPatches still recommends using diff
<Turl> hramrach: what hardware did you test the patch on, btw?
<hramrach> which patch?
<hramrach> the mac address?
<Turl> yep
<hramrach> I patched it in manually on cb2
<hramrach> but I do not get the damn debug prints
<hramrach> there is pr_Debug in the driver which never gets printed
<Turl> you need to add a special #define to enable those I think
<Turl> hramrach: try #define DEBUG on the top of the file, before any header
bennhuang has quit [Quit: Leaving]
<Turl> hramrach: or change it to a pr_err or something
<hramrach> it's a config option
<hramrach> CONFIG_DYNAMIC_DEBUG
<Turl> yeah but then you have to echo something on sysfs to enable them
n01 has quit [Read error: Connection reset by peer]
n01 has joined #linux-sunxi
<hramrach> or pass an argument
* hramrach building debug kernel
paulk-collins has joined #linux-sunxi
<hramrach> ok, now it works
<hramrach> but ethernet still does not
iamfrankenstein has joined #linux-sunxi
<Turl> what issue are you having?
Fusing has joined #linux-sunxi
Fusing has quit [Read error: Connection reset by peer]
<hramrach> I compiled the designware driver into Linux and it fails
<hramrach> I will try on CT. Should be easier with full-featured phy
<hramrach> and if it fails the same way at least I can see it's not because of that
tzafrir has quit [Ping timeout: 264 seconds]
<hramrach> is there the patch for using gmac in u-boot on cb2 somewhere?
<hramrach> cannot find it
<mnemoc> hramrach: on the ML
<mnemoc> posted by jens kuske yesterday
<hramrach> that's for CT but it's supposed to work with cb2 too
<mnemoc> i thought the cb2 was using emac anyway
<hramrach> it can use either it seems
<mnemoc> but switching to gmac should improve the performance due to the separated dma
iamfrankenstein has quit [Read error: Connection reset by peer]
<pfdm> mnemoc: does that means you can do gigabit connection with cb2 ?
pirea has joined #linux-sunxi
<pirea> bakc
<pirea> back
<mnemoc> pfdm: no. the phy only allows 10/100
<pfdm> mnemoc: Ok. anyway I barely do 2Mo/s using scp on my cb2. If I could reach 10 i'd be happy !
<mnemoc> try switchimg to perfor,ance governor
<oliv3r> anybdoy tried sunxi KVM yet?
<Turl> and use a lighter crypto on ssh
<hramrach> and get the crypto accel working
<Turl> With arcfour perf is pretty decent
<hramrach> but we have aes accel ;-)
<oliv3r> is it confirmed that the designware mac has it's own DMA controller?
Super-noob has quit []
<hramrach> since the dw driver actually works it's quite likely
shineworld has quit [Quit: Leaving]
<pfdm> I use a lighter cypher, and the performance optimization of the wiki .
<Turl> pfdm: do you use a armhf distro?
<pfdm> yes, archlinux powered !
Black_Horseman has joined #linux-sunxi
<oliv3r> can someone explain to me how it's possible taht some IP has their own dma controller? i mean, the soc has one, how do they 'talk'
<Turl> pfdm: ah, cb2
<Turl> my tests are on A10 (cb1 like)
<Turl> pfdm: if you feel like experimenting, try two simultaneous transfers via two connections
<pfdm> Turl : yes cb2, but the A20 should be more powerfull ?
<pfdm> Turl ? what do you mean two connections ? two ssh session ?
<Turl> pfdm: it's dual core, but each A7 core may independently perform more slowly than the old A8 core
notmart has quit [Quit: notmart terminated!]
<Turl> pfdm: yes, two independent ssh sessions
<pfdm> I wonder if it's not a cache issue with disk io or the sd -reader two slow
<pfdm> I can try from 2 different laptop at the same time
<Turl> oh, you are transfering from/to sd card?
<Turl> that may be the limit then
<pfdm> Turl: to sdcard, I burned my sata hdd trying to power it (feeling stupid)
<Turl> ouch
<oliv3r> burned how did you burn it?
<Turl> pfdm: you can make a tmpfs and try to upload files there
<pfdm> I know the sdcard can do pretty well !
<pfdm> oliv3r: The disk was resetting all the time when doing intensive io, so i decide not to power it through cb but using an external power, i used an external case board and use the pin for the fan...and dead !
<pfdm> Turl : Yes I can try tmpfs too see
<oliv3r> pin from the fan?!?!
<Turl> oliv3r: molex?
<oliv3r> but those are usualyl 12V
<Turl> yeah, and disk is 5v right?
<oliv3r> exactly
<Turl> so it burns :)
<oliv3r> lol literally
<oliv3r> i blew upa pc once
<pfdm> oliv3r: yes the +- two pins connector, I thought it was a much smaller fan but i was wrong...
<pfdm> but if some cb team hear me, it would be nice to have a sata cable with separate data and power, specially if the board can't deliver enough for the disk
<ssvb> pfdm: cortex-a8 runs circles around cortex-a7 for the crypto stuff
<pfdm> ssvb: alright, let's hope hw crypto will help then
<ssvb> pfdm: yep
<ssvb> pfdm: http://git.openssl.org/gitweb/?p=openssl.git;a=blob;f=crypto/sha/asm/sha256-armv4.pl;h=2a0a98947e09455208867e3aa4bcd2e0935d66b4;hb=HEAD
<ssvb> pfdm: "Rescheduling for dual-issue pipeline resulted in 22% improvement on Cortex A8 core"
<ssvb> pfdm: and then "Profiler-assisted and platform-specific optimization resulted in 16% improvement on Cortex A8 core"
<pfdm> ssvb: nothing is done for A7 now, or there is nothing to be done ?
<ssvb> pfdm: this is just a good example with nice comments, but the other assembly optimized functions from openssl have similar performance properties
<oliv3r> pfdm: it is seperate :p
<oliv3r> but you should have a beefy PSU
<oliv3r> needing two psu's is silly
<ssvb> pfdm: the difference is that A8 is a true superscalar dual-issue processor capable of sustained execution of ~2 instructions per cycle with proper tuning
<ssvb> pfdm: but A7 has only very limited dual-issue support
AreaScout has quit []
<ssvb> pfdm: on compiler generated code A8 is only a little bit faster per mhz, but with hand optimized assembly A8 leaps ahead
<pfdm> ssvb: wow, means when gcc will do a better job, A10 will beat A20
<pfdm> oliv3r : what do you mean needing to psu ? one for the board one for the hdd ?
<ssvb> pfdm: I don't think that this is going to happen any time soon :) Itanium was designed to rely on clever compilers, but this did not work well
<pfdm> ssvb: yeah remember my old IA64 ...never used at full capacity :(
<oliv3r> pfdm: yeah 2x 220 -> 5v/12V
<oliv3r> big pile of crap article again
<pfdm> oliv3r : lol, actually i power cb2 with the usb port of my sleeping laptop, pretty sure it can't give 2A
<oliv3r> LOL no
<oliv3r> you really shouldn't do that anyawy; cb2 needs like .7A realistically
<oliv3r> why hasn't anybody ported dalvik to work on an opengl context
<oliv3r> insteaed of needing its own special hardware driver
<pfdm> oliv3r: It's in my todo list to buy it a proper psu !
<libv> oliv3r: you mean egl display and gles context
<libv> oliv3r: the reason for that is because it is a real minefield to give each app its own context
<libv> oliv3r: cfr nokia n9
<libv> oliv3r: there, every application had its own context
<libv> which meant that we found a seemingly endless amount of bugs with the pvr driver
<oliv3r> heheh
<oliv3r> well i'm just thinking, there's tons of apk's
<oliv3r> being able to run those on a x86 desktop or arm linux tablet would be awesome
<oliv3r> i knwo there's the emulator
<mnemoc> btw, android 4.4 replaced dalvik with a new vm and they recompile the bytecode :p
paulk-collins has quit [Quit: Ex-Chat]
tomboy64 has quit [Ping timeout: 240 seconds]
<oliv3r> yeah, but how does it help if we an't use x86
<mnemoc> it's bytecode and the vm oss.... it should be portable to normal linux
<oliv3r> davlik is oss
tomboy64 has joined #linux-sunxi
<mnemoc> "art" is not?
<mnemoc> (what a google unfriendly name)
<libv> oliv3r: native apps are going to be more trouble though, but nothing insane really
<oliv3r> well i'm just looking at the size of the number of apps etc
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<oliv3r> ubuntu touch, is that based on mir or on dalvik?
<Turl> oliv3r: on neither
<Turl> at least on the past
<Turl> I think the idea was to move to mir on the long run
<Turl> but they were using android's surfaceflinger and stuff
<Turl> mnemoc: pretty sure art is too
<Turl> mnemoc: it's a great name, android runtime :p
pfdm has quit [Ping timeout: 250 seconds]
pirea has quit [Quit: Leaving]
pirea has joined #linux-sunxi
<pirea> WarheadsSE thank you for this
<pirea> libGL error: failed to load driver: lima
<pirea> libGL error: Try again with LIBGL_DEBUG=verbose for more details.
<pirea> :X:X:X:X:X:*:*:*:*
<hramrach> that's expected. No such driver
<pirea> haramrach i know :) but i can install it :P
tomboy64 has quit [Remote host closed the connection]
codingrobot has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
popolon has quit [Quit: Quitte]