Turl changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
mzki has quit [Ping timeout: 246 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
FreezingCold has quit [Remote host closed the connection]
FreezingCold has joined #linux-sunxi
andoma has quit [Ping timeout: 264 seconds]
andoma has joined #linux-sunxi
khuey is now known as khuey|away
nove has quit [Quit: nove]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Client Quit]
Renard- has quit [Quit: Renard-]
Akagi201 has quit [Remote host closed the connection]
hipboi has joined #linux-sunxi
hipboi_ has quit [Ping timeout: 252 seconds]
Froolab has joined #linux-sunxi
Froolab has quit [Client Quit]
Froolap has quit [Ping timeout: 240 seconds]
kurain has joined #linux-sunxi
Andy-D has quit [Ping timeout: 246 seconds]
Akagi201 has joined #linux-sunxi
Andy-D has joined #linux-sunxi
Akagi201 has quit [Ping timeout: 272 seconds]
Akagi201 has joined #linux-sunxi
naobsd has joined #linux-sunxi
khuey|away is now known as khuey
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Akagi201_ has joined #linux-sunxi
Akagi201 has quit [Read error: Connection reset by peer]
Andy-D has quit [Remote host closed the connection]
Akagi201_ has quit []
cnxsoft has joined #linux-sunxi
xeros has quit [Quit: xeros]
kaspter has joined #linux-sunxi
xeros has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
leviathanch has quit [Ping timeout: 265 seconds]
leviathanch has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 256 seconds]
FreezingCold has joined #linux-sunxi
FreezingAlt has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 246 seconds]
FreezingAlt is now known as FreezingCold
rellla has quit [Quit: see you later]
rellla has joined #linux-sunxi
khuey is now known as khuey|away
<kurain> hello all
<kurain> how could I provide my patch to this community
<kurain> or I just mail patch in the mailing list
p1u3sch1_ has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 264 seconds]
StevenWan_ has joined #linux-sunxi
StevenWan has joined #linux-sunxi
StevenWan has left #linux-sunxi ["Leaving"]
JohnDoe_71Rus has joined #linux-sunxi
reinforce has joined #linux-sunxi
cubear has joined #linux-sunxi
toddinpal has quit [Ping timeout: 244 seconds]
StevenWan_ has quit [Ping timeout: 252 seconds]
StevenWan_ has joined #linux-sunxi
StevenWan_ has quit [Ping timeout: 245 seconds]
StevenWan_ has joined #linux-sunxi
domidumont has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
kurain1 has joined #linux-sunxi
kurain has quit [Ping timeout: 244 seconds]
<plaes> kurain1: what kind of patch?
premoboss has quit [Remote host closed the connection]
<oliv3r> mornin'
kaspter has quit [Remote host closed the connection]
<oliv3r> kurain1: the ml 'is' the community :) so ml is your best bet :)
_massi has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 256 seconds]
cnxsoft has joined #linux-sunxi
cnxsoft1 has quit [Ping timeout: 252 seconds]
prz has joined #linux-sunxi
sehraf has joined #linux-sunxi
sehraf has quit [Client Quit]
sehraf has joined #linux-sunxi
_massi has quit [Remote host closed the connection]
StevenWan_ has quit [Quit: Leaving]
HeHoPMaJIeH has joined #linux-sunxi
ganbold_ has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
quitte has joined #linux-sunxi
FR^2 has joined #linux-sunxi
akaizen has joined #linux-sunxi
quitte has quit [Remote host closed the connection]
<kurain1> ok
<kurain1> I have send the patch to the google forum
<kurain1> it's a patch for one new board based on A31
marcin has quit [Quit: Konversation terminated!]
ricardocrudo has joined #linux-sunxi
jinzo has joined #linux-sunxi
marcin__ has joined #linux-sunxi
gianMOD has quit []
mzki has joined #linux-sunxi
jinzo has quit [Read error: Connection reset by peer]
jinzo has joined #linux-sunxi
selfbg has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
premoboss has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
reinforce has joined #linux-sunxi
reinforce has quit [Read error: Connection reset by peer]
gianMOD has joined #linux-sunxi
naobsd has joined #linux-sunxi
gianMOD has quit []
simosx has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
mzki has quit [Quit: leaving]
RSpliet has joined #linux-sunxi
RSpliet has left #linux-sunxi [#linux-sunxi]
reinforce has joined #linux-sunxi
orly_owl has quit [Quit: leaving]
iamfrankenstein has joined #linux-sunxi
orly_owl has joined #linux-sunxi
afaerber has quit [Quit: Verlassend]
iamfrankenstein has quit [Quit: iamfrankenstein]
afaerber has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
Night-Shade has quit [Remote host closed the connection]
Net147 has joined #linux-sunxi
Andy-D has joined #linux-sunxi
nove has joined #linux-sunxi
Renard has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
Andy-D has quit [Ping timeout: 252 seconds]
Andy-D has joined #linux-sunxi
Andy-D has quit [Ping timeout: 264 seconds]
naobsd has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
kevinsan has quit [Quit: ZNC - http://znc.in]
kevinsan has joined #linux-sunxi
premoboss has quit [Ping timeout: 264 seconds]
arete74 has joined #linux-sunxi
arete74_ has quit [Read error: Connection reset by peer]
ssvb has quit [Ping timeout: 246 seconds]
quitte_ has joined #linux-sunxi
quitte_ is now known as quitte
Andy-D has joined #linux-sunxi
domidumont has joined #linux-sunxi
lucaswang has joined #linux-sunxi
leviathancn has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
jinzo has quit [Read error: Connection reset by peer]
leviathancn has quit [Ping timeout: 245 seconds]
jinzo has joined #linux-sunxi
Net147 has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Wibbly Wobbly IRC]
reinforce has quit [Quit: Leaving.]
reinforce has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
lucaswang has quit [Ping timeout: 256 seconds]
toddinpal has joined #linux-sunxi
Andy-D has quit [Ping timeout: 246 seconds]
Zotan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Zotan has joined #linux-sunxi
Zotan has quit [Client Quit]
cnxsoft has quit [Quit: cnxsoft]
selfbg has quit [Quit: Leaving]
Zotan has joined #linux-sunxi
Zotan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
cubear has quit [Quit: Leaving]
Zotan has joined #linux-sunxi
simosx has quit [Quit: Leaving]
leviathancn has joined #linux-sunxi
selfbg has joined #linux-sunxi
VargaD_ has joined #linux-sunxi
VargaD has quit [Ping timeout: 264 seconds]
VargaD_ is now known as VargaD
khuey|away is now known as khuey
ssvb has joined #linux-sunxi
kurain1 has quit [Ping timeout: 252 seconds]
prz has quit [Remote host closed the connection]
selfbg has quit [Quit: Leaving]
Froolap has joined #linux-sunxi
Froolab has joined #linux-sunxi
Froolab has quit [Client Quit]
Froolab has joined #linux-sunxi
Froolap has quit [Ping timeout: 240 seconds]
iamfrankenstein1 has joined #linux-sunxi
khuey is now known as khuey|away
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
iamfrankenstein has quit [Ping timeout: 272 seconds]
iamfrankenstein1 has quit [Ping timeout: 256 seconds]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
iamfrankenstein has quit [Ping timeout: 256 seconds]
kz1 has quit [Ping timeout: 245 seconds]
iamfrankenstein1 has quit [Ping timeout: 256 seconds]
Froolab is now known as froolap
domidumont has quit [Quit: Leaving.]
domidumont has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
cubear has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 252 seconds]
akaizen_ has joined #linux-sunxi
joost_dtn has quit [Ping timeout: 265 seconds]
afaerber has quit [Ping timeout: 265 seconds]
ccube has quit [Ping timeout: 265 seconds]
discopig has quit [Ping timeout: 265 seconds]
leviathanch_ has joined #linux-sunxi
akaizen has quit [Ping timeout: 265 seconds]
leviathanch has quit [Ping timeout: 265 seconds]
xenoxaos has quit [Ping timeout: 265 seconds]
joost_dtn has joined #linux-sunxi
xenoxaos has joined #linux-sunxi
afaerber has joined #linux-sunxi
bsdfox has quit [Ping timeout: 246 seconds]
discopig has joined #linux-sunxi
bsdfox has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
pmattern has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
bsdfox has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-sunxi
Andy-D has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
bsdfox has quit [Ping timeout: 246 seconds]
iamfrankenstein has joined #linux-sunxi
bsdfox has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
khuey|away is now known as khuey
kaspter has quit [Ping timeout: 256 seconds]
bsdfox has quit [Ping timeout: 246 seconds]
Nyuutwo has quit [Ping timeout: 272 seconds]
bsdfox has joined #linux-sunxi
Fsanches has joined #linux-sunxi
_massi has joined #linux-sunxi
Andy-D has quit [Remote host closed the connection]
Nyuutwo has joined #linux-sunxi
leviathancn has quit [Ping timeout: 245 seconds]
bsdfox has quit [Ping timeout: 246 seconds]
_massi has quit [Remote host closed the connection]
khuey is now known as khuey|away
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
khuey|away is now known as khuey
<Fsanches> Looking at the git branches descriptions here: http://linux-sunxi.org/Linux_Kernel#Kernel_versions
<Fsanches> It is not clear to me where the upstreaming effort happens
<Fsanches> is there a branch somewhere (perhaps in some other git repository) where people push commits for the latest upstream development kernel code ?
<Fsanches> I'm working on my own fork of sunxi-3.4 (at https://github.com/portalmod/linux-sunxi/tree/mod-sunxi-3.4-fsanches) and I'm interested in porting my commits to a newer kernel
<Fsanches> to achieve that, what code should I try merging mine with?
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
bsdfox has quit [Ping timeout: 246 seconds]
bonbons has joined #linux-sunxi
<nove> Fsanches: sunxi-next branch, more here -> http://linux-sunxi.org/Mainline_Kernel_Howto
paulk-collins has joined #linux-sunxi
<Fsanches> thanks
bsdfox has joined #linux-sunxi
reinforce has joined #linux-sunxi
froolap has quit [Ping timeout: 240 seconds]
bsdfox has quit [Ping timeout: 246 seconds]
<ssvb> Fsanches: there is already a reference to the mainline kernel here - http://linux-sunxi.org/Linux_Kernel#Upstream_code
<ssvb> Fsanches: but maybe we need a big banner at the top of the page?
<ssvb> Fsanches: just like for u-boot http://linux-sunxi.org/U-boot ?
<ssvb> btw, thanks for the feedback
<Fsanches> Hmmm... maybe I'm confused. Or maybe I did not express myself clearly. What I am looking for is not Linus' tree, but instead, the tree containing all of the sunxi-specific code that is supposed to be sent to Linus
bsdfox has joined #linux-sunxi
<Fsanches> the sunxi-3.4 branch looks pretty much quiet, for instance. I suppose the sunxi developers are working on some other branch based on a newer kernel, right?
<mripard_> there's no such thing then
<Fsanches> or perhaps the bulk sunxi-related development code happens on personal trees for each developer and such code is not hosted at the https://github.com/linux-sunxi/linux-sunxi repository ?
<Fsanches> for instance, where is the MUSB patchset from Hans de Geode (that I've seen this week at the mainling list) going to pushed ?
<Fsanches> *Goede (sorry)
<mripard_> when it will be merged, in linux-next and sunxi-next
<mripard_> before that, you'd better ask Hans
<mripard_> I'm not sure he pushed it somewhere
<Fsanches> ok, cool
<Fsanches> I am specifically interested in his patchset since it may be necessary before I get USB Audio Gadget working on the ICnovaA20 Development Board (that uses an A20 coreboard)
<Fsanches> atsampson: thanks!
<atsampson> I'm not sure if that's the latest version, though, so check against the mailing list
<Fsanches> ok, thanks. I'll try that
ricardocrudo has quit [Ping timeout: 244 seconds]
bsdfox has quit [Ping timeout: 246 seconds]
bsdfox has joined #linux-sunxi
bsdfox has quit [Ping timeout: 246 seconds]
<plaes> ssvb: did you just edit "Linux Kernel" page? :D
<ssvb> plaes: yes
<plaes> heh.. I started editing just before you had added the "warning banner" :P
<plaes> your's is better though..
<ssvb> hopefully this notice is difficult to miss now :)
<Fsanches> ssvb: the product I'm working on is a musical instrument that uses an A20 SoC. So, I guess that for me these legacy linux-sunxi kernels are still the way to go, right?
cooper has joined #linux-sunxi
<Fsanches> the device is headless (requires no video support at all), but requires I2S digital audio support
dev1990 has joined #linux-sunxi
<ssvb> Fsanches: audio support seems to be listed in the http://linux-sunxi.org/Linux_mainlining_effort#Work_In_Progress section
<ssvb> so I guess, it does not quite work yet
<mripard_> i2s surely doesn't work
<mripard_> most notably because we never encountered a device actually using it
<Fsanches> it works for me, using my tree forked from sunxi-3.4 and adding drivers for the Cirrus Logic cs4245 codec and sunxi-i2s support
<cooper> Question: Am I right in saying the PcDuino3 Nano (A20 with Realtek RTL8211E) doesn't support jumbo frames?
<mripard_> I was talking about mainline
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
<Fsanches> this is our device that uses I2S (hardware prototype under final development stage): http://portalmod.com/blog/2014/08/our-mod-duo-audiophile-soundboard/
<ssvb> you can try to port the necessary code to the mainline
<Fsanches> that would be cool, for sure
<mripard_> it would yeah
<atsampson> cooper: oddly enough, that's one of the questions I need to answer at some point... the main reason I want to replace my Cubieboard router with a Nano is to get baby jumbo frame support
leviathancn has joined #linux-sunxi
<mripard_> Turl: btw, any plan on submitting your DMA driver?
<Fsanches> ssvb: regarding a porting effort, how safe is that in terms of license compliance? I've heard some (big) noise on the mailing list about AllWinner violating the (L)GPL licenses
<cooper> atsampson: I'm getting a 'Device or resource busy' when I try to alter it at runtime (i.e. interface is up)
<Fsanches> are the repositores at github.com/linux-sunxi clean in terms of copyright/licensing conformance ?
<ssvb> Fsanches: the intention is to have the primary branches copyright/license clean for sure
<atsampson> cooper: have you tried taking the interface down first? ;-)
<atsampson> the stmmac driver does implement _change_mtu, and it should return -EINVAL if you're asking it for a silly value, not -EBUSY
<ssvb> Fsanches: but some branches may contain the original allwinner code drops with binaries, some repositories contain mali and cedar blobs
bsdfox has quit [Ping timeout: 246 seconds]
<cooper> I'm considering it. The box has since been tucked away a bit and for reasons unknown (well... I'm sure people can guess) it doesn't do the reboot when asked to.
<cooper> As in, it shuts down, says it will reboot, but then just sits there.
<Fsanches> I've seen loads of code comments in chinese
<Fsanches> which sucks...
<cooper> I tried with 9000 (what my router supports), 4000 and 2200.
<Fsanches> would need proper translation into english before being sent upstream
<cooper> No dice.
<atsampson> cooper: I'm pretty sure you can't change MTU with the interface up, IIRC
<ssvb> Fsanches: the code may need a major rework in addition to just translating comments
<cooper> atsampson: Works just fine on my main machine.
<ssvb> cooper: are you experimenting with deviating from the defaults again? ;-)
<atsampson> cooper: it's up to the driver
<cooper> Defaults are for people unwilling to experiment.
<atsampson> cooper: ... and, in fact, in stmmac: "if (netif_running(dev)) { pr_err("%s: must be stopped to change its MTU\n", dev->name); return -EBUSY; }"
<ssvb> cooper: experiments are for the tough people who can take care of themselves :-)
<atsampson> I like experimenting as a team ;-)
<cooper> Well, I can, but I'm not such a male chauvinist pig that I'm incapable of asking others.
leviathancn has quit [Ping timeout: 265 seconds]
leviathancn has joined #linux-sunxi
<cooper> I like the concept of "If you break it, you get to buy the pieces."
froolap has joined #linux-sunxi
<cooper> And, indeed, I get that error in the logs...
<ssvb> nove: crap, the "Derailed thread" is already derailed...
<froolap> lol
<ssvb> I should have probably commented there yesterday, but I don't feel like getting involved in this legal crap
bsdfox has joined #linux-sunxi
domidumont has joined #linux-sunxi
<cooper> From the logs: eth0: invalid MTU, max MTU is: 3838
<cooper> So, there you have it.
<atsampson> ah, cool -- that means it should do baby jumbos quite happily...
bsdfox has quit [Ping timeout: 246 seconds]
afaerber has quit [Quit: Verlassend]
<cooper> atsampson: Looks like the good news is you can, the bad news is you shouldn't.
reinforce has quit [Quit: Leaving.]
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
<nove> ssvb: nobody does
Nyuutwo has quit [Ping timeout: 272 seconds]
khuey is now known as khuey|away
bsdfox has quit [Ping timeout: 246 seconds]
cubear has quit [Quit: Leaving]
Nyuutwo has joined #linux-sunxi
<cooper> atsampson: I'm getting all manner of connection problems with 3838
bsdfox has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
leviathancn has quit [Ping timeout: 256 seconds]
leviathancn has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 246 seconds]
bsdfox has quit [Ping timeout: 246 seconds]
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
dack has joined #linux-sunxi
dack has quit [Read error: Connection reset by peer]
<cooper> atsampson: What I did manage to do was make a cold read of a file via samba move across the network at 61 MB/s with the smb process at about 70% cpu and a hot read at 71 MB/s at under 60% cpu.
<cooper> Considering I came from 45 MB/s reading off a ramdisk, that makes me very happy.
<jelly> 3838 is a weird number for wired interface max mtu anyway
bsdfox has quit [Ping timeout: 246 seconds]
<cooper> Should I try something else?
bsdfox has joined #linux-sunxi
bsdfox has quit [Ping timeout: 246 seconds]
reinforce has joined #linux-sunxi
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
FreezingCold has quit [Ping timeout: 246 seconds]
bsdfox has quit [Ping timeout: 246 seconds]
khuey|away is now known as khuey
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
bsdfox has quit [Ping timeout: 246 seconds]
reinforce has quit [Quit: Leaving.]
domidumont has quit [Ping timeout: 246 seconds]
diego71 has quit [Ping timeout: 246 seconds]
bsdfox has joined #linux-sunxi
diego71 has joined #linux-sunxi
bsdfox has quit [Ping timeout: 246 seconds]
FreezingCold has joined #linux-sunxi
destroyedlolo has joined #linux-sunxi
<destroyedlolo> Hi everybody,
<destroyedlolo> Can someone help me to configure DirectFB on my BananaPI ?
bsdfox has joined #linux-sunxi
Fsanches has left #linux-sunxi [#linux-sunxi]
leviathancn has quit [Ping timeout: 246 seconds]
leviathancn has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
leviathancn has quit [Ping timeout: 256 seconds]
leviathancn has joined #linux-sunxi
nove has quit [Quit: nove]
ricardocrudo has joined #linux-sunxi
leviathancn has quit [Ping timeout: 256 seconds]
ricardocrudo has quit [Ping timeout: 245 seconds]
domidumont has joined #linux-sunxi
<destroyedlolo> quit
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 250 seconds]
domidumont has quit [Ping timeout: 246 seconds]
bonbons has quit [Quit: Leaving]
ricardocrudo has joined #linux-sunxi
ricardocrudo_ has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 256 seconds]
ricardocrudo__ has joined #linux-sunxi
Turl has quit [Ping timeout: 276 seconds]
ricardocrudo_ has quit [Ping timeout: 256 seconds]
ricardocrudo__ has quit [Ping timeout: 252 seconds]
jinzo has quit [Quit: Leaving]
ricardocrudo__ has joined #linux-sunxi
Andy-D has joined #linux-sunxi
ricardocrudo_ has joined #linux-sunxi
leviathancn has joined #linux-sunxi
<cooper> atsampson: Why are you repeating the tests for "JEDEC timings, 648MHz, EMR1=0x04, ZQ=0x29, DCDC3=1.325V (board #2)"? Or are you doing something else that simply isn't reflected by the parameters in that table?
<atsampson> cooper: I'm doing the same thing on board #1 and board #2 to see how different they are, and also trying board #2 with a tweak to the relative phases of the different lanes
ricardocrudo__ has quit [Ping timeout: 265 seconds]
<cooper> Ah, so I see.
khuey is now known as khuey|away
<atsampson> I actually did the lane phase adjustments first; I probably wouldn't have bothered given (a) boards #1/#2 differ in the per-lane errors and (b) now that I have the schematic, the lanes probably aren't routed together anyway
<cooper> I'm feeling mighty tempted to try one of those configs and see what the real-world impact of that would be on my boards.
<atsampson> ssvb pointed out that the biggest performance improvement comes from tweaking the MBUS frequency up, which I've not really experimented with yet
<cooper> That A10 cubieboard1 page of his shows mbus clock at 0...
<atsampson> http://linux-sunxi.org/A10_DRAM_Controller_Performance has some numbers for MBUS vs DRAM clock speeds
<cooper> Fascinating.
nove has joined #linux-sunxi
<cooper> Is there a relation between the mbus speed and the core's operating frequency?
<ssvb> cooper: A10 does not have MBUS, or more like the MBUS clock speed is just not configurable but hardcoded in some way
<cooper> In other words, when you up the mbus speed, would you somehow need to adjust the core frequency or something?
<cooper> ssvb: Aha. Thanks for clearing that up.
leviathancn has quit [Ping timeout: 252 seconds]
ricardocrudo__ has joined #linux-sunxi
linux_salonica has quit [Ping timeout: 246 seconds]
<ssvb> atsampson: it is interesting that the ZQ=0x29 setup is unreliable when calibrated to 0x1996900
<ssvb> atsampson: regarding the MBUS clock increase attempt, it might make sense to verify that dqs_gating_delay=0x07070707 is really good for this board at ~600MHz
linux_salonica has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
ricardocrudo_ has quit [Ping timeout: 265 seconds]
<ssvb> low MBUS clock speed throttles down the data transfer rate, so it may probably hide certain problems
ricardocrudo__ has quit [Ping timeout: 245 seconds]
<cooper> Is there an ideal value for a board? Like you had in x86 land a number of years ago when having the memory speed be a multiple of the core speed would aid performance.
<ssvb> atsampson: I did not get any good results with lane phase adjustments myself, that's why I did not bother to document or make this functionality more user friendly
<ssvb> atsampson: the length of the traces from all lanes is probably already matched, how can we get this information from the schematic?
<ssvb> ddr3 allows fly-by topology, where the length of traces may be different for different lanes and the delay compensation is automatically configured via read/write leveling
ricardocrudo has quit [Ping timeout: 245 seconds]
<ssvb> but most likely we don't have write leveling support in this hardware - http://www.synopsys.com/dw/ipdir.php?ds=dwc_ddr2-lite_phy
<ssvb> so the board manufacturers probably should do the ddr2 style routing, unless the tracks length is already small enough (compared to the desktop PC mainboards) to have a negligible effect either way
<ssvb> cooper: the http://linux-sunxi.org/A10_DRAM_Controller_Performance page provides some hints
destroyedlolo has quit [Quit: Leaving]
paulk-collins has quit [Read error: Connection reset by peer]
<ssvb> it looks like high MBUS speed is needed for fast transfers in one direction (only read or only write)
<ssvb> but if reads and writes are done simultaneously (the copy operation), then low MBUS speed is not a problem
premoboss has joined #linux-sunxi
<cooper> ssvb: Strange. When I look at those numbers I'm getting the feeling that balanced is best and increasing mbus beyond that gains you surprisingly little.
<cooper> ssvb: Only write performance really gets a kick in the backside from that.
<ssvb> cooper: that's for A13, it seems to behave a little bit different
<ssvb> also A13 only has a 16-bit DRAM bus width
<cooper> Ouch.
<ssvb> but we are interested in the A20 numbers (the Cubietruck tables)
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
Turl has joined #linux-sunxi
<cooper> ssvb: Any specific reason for that?
<ssvb> well, these are a bit different chips
<ssvb> also the benchmark programs are different, the A13 tables only use tinymembench numbers (single threaded, CPU only)
leviathancn has joined #linux-sunxi
<ssvb> but on A20 we want to use both CPU cores for accessing DRAM simultaneously, and also together with the Mali GPU at the same time
<ssvb> because otherwise the memory bandwidth measurements are limited by how much a single CPU core can consume, and this is a bit artificial
<cooper> So just a combination of curiosity and the abundant availablity of boards with a more capable chip.
khuey|away is now known as khuey
<cooper> And here I was expecting something like "Phase 3 in our plan for world domination"...
leviathancn has quit [Ping timeout: 264 seconds]
<ssvb> with a 32-bit DRAM bus width and 648MHz DRAM clock speed we may expect 648MHz * 32 bits * 2 = 5.2 GB/s theoretical memory bandwidth limit
<cooper> Nice.
<ssvb> the benchmark shows that writing to DRAM by both the CPU and GPU at once, we may consume up to ~3.6 GB/s
<ssvb> which means roughly 70% memory bandwidth utilization at best :)
ganbold_ has quit [Ping timeout: 255 seconds]
<ssvb> tuning the timing parameters may probably improve this percentage
naobsd has quit [Quit: naobsd]
<cooper> Thanks for explaning this.
<cooper> explaining
cooper has quit [Quit: Off to feed the bed bugs.]
nove has quit [Quit: nove]
ksdncv has joined #linux-sunxi
VargaD has quit [Ping timeout: 245 seconds]
<Turl> moin :)
froolap has quit [Ping timeout: 244 seconds]
VargaD has joined #linux-sunxi
VargaD_ has joined #linux-sunxi
VargaD- has joined #linux-sunxi
VargaD has quit [Ping timeout: 276 seconds]
VargaD- is now known as VargaD
VargaD_ has quit [Ping timeout: 246 seconds]
<atsampson> ssvb: hmm -- ignore me regarding routing -- I'm being stupid
<atsampson> I was looking at how the data lines from the A20 correspond to those on the DRAM chips, and they're mixed up more-or-less randomly, but they aren't mixed up between the different lanes (i.e. D0-7 are still D0-7, just in a different order)
<atsampson> ssvb: do you have any suggestions for dqs_gating_delay values to try? before I fixed it, it would occasionally autodetect values like 0x07070706...
<ssvb> atsampson: ok, maybe they are already fine
<ssvb> you could try different values like 0x05050505, 0x06060606, 0x07070707, 0x08080808, check what fails to boot and pick something in the middle
<atsampson> that's probably a job for the weekend...
<ssvb> but this probably will not improve anything, and 0x07070707 would be already the best
gianMOD has joined #linux-sunxi
<atsampson> I had a couple more questions that you probably know the answers to...
<atsampson> what are sensible limits for DCDC3 voltages? the A20 datasheet says it's OK with up to 1.4V; is there a reason you've used 1.325V in your calibration examples?
<atsampson> and how is termination for the address lines on the DRAMs configured? I can see the bits for toggling ODT for DQ* and DQS*, but on this board those lines only go to one DRAM chip and the address lines go to both...
<ssvb> higher DCDC3 voltages did not seem to improve anything for me, and also I tried to be a bit conservative about this stuff
<ssvb> the DQ and DQS lines should go to both chips (16 lines to one, and 16 more lines to another)
<atsampson> yes; I mean that each DQ/DQS line goes to one chip, but each A line goes to both chips
<atsampson> (e.g. A20 SDQ5 goes to DQL0 on one of the DRAMs, but A20 SA0 goes to A0 on DRAM 1 and A0 on DRAM 2...)
<ssvb> yes, the address is set the same for both chips, additional chips only provide more bits of data
<atsampson> yeah, but how's the address bus terminated? if it's routed to one chip then the other (fly-by), then you'd only want it terminated by the second chip
<ssvb> if I understand it correctly, ODT is not used for the address and command lines because they are single directional