mnemoc 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
avsm has quit [Quit: Leaving.]
alexst has quit [Ping timeout: 250 seconds]
bertrik has quit [Remote host closed the connection]
xinj has joined #linux-sunxi
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 250 seconds]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
popolon has quit [Quit: Quitte]
akaizen has quit [Ping timeout: 240 seconds]
prahal has quit [Ping timeout: 272 seconds]
prahal has joined #linux-sunxi
prahal has quit [Ping timeout: 240 seconds]
xinj has quit [Ping timeout: 264 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
alexst has joined #linux-sunxi
prahal has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
mmarker has joined #linux-sunxi
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
xavia has joined #linux-sunxi
mmarker has quit [Read error: Connection reset by peer]
mmarker has joined #linux-sunxi
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 256 seconds]
ganbold_ has quit [Ping timeout: 240 seconds]
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 264 seconds]
akaizen has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
montjoie[home] has joined #linux-sunxi
alexst has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
nicksydney has joined #linux-sunxi
Zboonet has quit [Quit: Leaving]
alexst has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
shineworld has joined #linux-sunxi
alexst has quit [Ping timeout: 264 seconds]
kuldeepdhaka has joined #linux-sunxi
mmarker1 has joined #linux-sunxi
forcev has joined #linux-sunxi
ganbold__ has joined #linux-sunxi
lukas_2511 has joined #linux-sunxi
swabbles_ has joined #linux-sunxi
mripard_ has joined #linux-sunxi
npcomp_ has joined #linux-sunxi
ecelis_ has joined #linux-sunxi
joedj_ has joined #linux-sunxi
slapin__ has joined #linux-sunxi
fredy has quit [Ping timeout: 240 seconds]
ecelis has quit [Ping timeout: 240 seconds]
swabbles has quit [Ping timeout: 240 seconds]
joedj has quit [Ping timeout: 240 seconds]
lukas2511 has quit [Ping timeout: 240 seconds]
prahal has quit [Ping timeout: 240 seconds]
CaptHindsight has quit [Ping timeout: 240 seconds]
diego71 has quit [Ping timeout: 240 seconds]
ganbold_ has quit [Ping timeout: 240 seconds]
mmarker has quit [Ping timeout: 240 seconds]
GeertJohan has quit [Ping timeout: 240 seconds]
afaerber has quit [Ping timeout: 240 seconds]
FunkyPenguin has quit [Ping timeout: 240 seconds]
diego71 has joined #linux-sunxi
GeertJohan has joined #linux-sunxi
TJvV_ has joined #linux-sunxi
joedj_ is now known as joedj
GeertJohan has quit [Changing host]
GeertJohan has joined #linux-sunxi
TJvV has quit [Ping timeout: 240 seconds]
npcomp has quit [Ping timeout: 240 seconds]
mripard has quit [Ping timeout: 240 seconds]
mtr has quit [Ping timeout: 240 seconds]
FreezingCold has quit [Ping timeout: 240 seconds]
juanfont has quit [Ping timeout: 240 seconds]
VargaD has quit [Ping timeout: 240 seconds]
indy has quit [Ping timeout: 240 seconds]
slapin_ has quit [Ping timeout: 240 seconds]
ccaione has quit [Ping timeout: 240 seconds]
afaerber has joined #linux-sunxi
juanfont has joined #linux-sunxi
ccaione has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
CaptHindsight has joined #linux-sunxi
fredy has joined #linux-sunxi
VargaD has joined #linux-sunxi
indy_ has joined #linux-sunxi
indy_ is now known as indy
mtr has joined #linux-sunxi
diego_r has joined #linux-sunxi
sehraf has joined #linux-sunxi
kuldeepdhaka has quit [Ping timeout: 260 seconds]
alexst has joined #linux-sunxi
libcg has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
ganbold__ has quit [Ping timeout: 264 seconds]
kuldeepdhaka has joined #linux-sunxi
<oliv3r> eva got back with me
<oliv3r> i got in her spam box :(
<mripard_> so, what was the answer?
nabblet has joined #linux-sunxi
bbrezillon has quit [Quit: WeeChat 0.4.2]
focus has quit [Ping timeout: 250 seconds]
bbrezillon has joined #linux-sunxi
xavia has quit [Ping timeout: 260 seconds]
xavia has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
focus has joined #linux-sunxi
alexst has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
nabblet has quit [Quit: leaving]
wickwire has joined #linux-sunxi
alexst has joined #linux-sunxi
notmart has joined #linux-sunxi
alexst has quit [Ping timeout: 240 seconds]
dantob has joined #linux-sunxi
Quarx|2 has joined #linux-sunxi
alexst has joined #linux-sunxi
dantob has quit [Client Quit]
dantob has joined #linux-sunxi
deasy has joined #linux-sunxi
nicksydney has quit [Remote host closed the connection]
ccube has quit [Remote host closed the connection]
ccube has joined #linux-sunxi
FR^2 has joined #linux-sunxi
jemk has joined #linux-sunxi
xinj has joined #linux-sunxi
alexst has quit [Ping timeout: 260 seconds]
alexst has joined #linux-sunxi
alexst has quit [Client Quit]
dantob has quit [Quit: dantob]
ecelis_ has quit [Ping timeout: 240 seconds]
<wens> mripard_: wow, the mmc clock is complicated
<mripard_> not that much actually
<mripard_> but the code is :)
<wens> i'll look through it if my headache (not related) lessens
<mripard_> you actually have 3 clocks
<mripard_> a mod0 one, that is output directly on the SD card
<mripard_> but since there's some delay between the clock output and the SD, you have to out-phase the two other clock that we provide, that are the output clock, that is used by the controller to output data on the bus, and the sample clock, to sample data from the bus
<mripard_> 0 in the phase register means out phased by 180 deg.
<mripard_> 1-7 is the delay you want to outphase the clocks from, the unit being a period of the parent clock
<mripard_> so PLL6, most likely
bertrik has joined #linux-sunxi
bertrik has quit [Remote host closed the connection]
bertrik has joined #linux-sunxi
<wens> you got this info from aw engineers?
<mripard_> yep
<mripard_> finally...
<wens> a fine example of why datasheets shouldn't be just register definitions
kuldeepdhaka has quit [Ping timeout: 264 seconds]
ganbold_ has joined #linux-sunxi
<mripard_> yep....
<montjoie[home]> I read that A80 will not have datasheet, does it true?
bgal has joined #linux-sunxi
<mripard_> montjoie[home]: I don't know ...
<mripard_> but it's not the only one
<mripard_> a10s and a31 don't either
<wens> merrii released android 4.4 sdk for a31 hummingbird
Renard has joined #linux-sunxi
bgal has quit [Ping timeout: 256 seconds]
focus has quit [Remote host closed the connection]
focus has joined #linux-sunxi
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
shineworld has quit [Remote host closed the connection]
Quarx|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Net147 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
xinj has quit [Ping timeout: 264 seconds]
eagles0513875 has quit [Quit: ZNC @ TrekWeb - https://trekweb.org]
nedko has quit [Quit: kernel panic]
xinj has joined #linux-sunxi
<ssvb_> oliv3r, jemk: if you want to test higher dram clock speed on your cubietruck, here is u-boot branch - https://github.com/ssvb/u-boot-sunxi-dram/commits/highspeedtruck-sunxi-3.4
<Net147> http://linux-sunxi.org/Fex_Guide - added screen0_out_color_range under [disp_init] for setting HDMI color range. apparently it isn't using the full color range by default... it uses 16-255 instead of 0-255.
<Net147> I couldn't find it documented anywhere
eagles0513875 has joined #linux-sunxi
prahal has joined #linux-sunxi
shineworld has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
<arete74_> ssvb_: hi, is possible use with cubieboard2 ?
<ssvb_> arete74_: not exactly with this branch, but significant dram clock speed increase should be possible for all a10/a13/a20 devices via http://linux-sunxi.org/A10_DRAM_Controller_Calibration
<ssvb_> arete74_: maybe in a few days or weeks
npcomp_ is now known as npcomp
<arete74_> but the cubietruck and cubie2 have same cpu, only port the changeset to cubieboard work?
kuldeepdhaka has joined #linux-sunxi
<ssvb_> arete74_: the CPU is the same, but the tracks geometry on the PCB is different and the DDR3 chips are different too
focus has quit [Ping timeout: 240 seconds]
prahal has quit [Ping timeout: 240 seconds]
xavia has quit [Quit: Leaving.]
focus has joined #linux-sunxi
Net147 has quit [Quit: I love my HydraIRC -> http://www.hydrairc.com <-]
prahal has joined #linux-sunxi
shineworld has quit [Remote host closed the connection]
dack has joined #linux-sunxi
<dack> I'm trying to get the script.bin off of a device but am having issues... I tried accessing /dev/block/nanda through Android and there's no script.bin in there! There's also no uboot or kernel... I don't get it.
xinj has quit [Ping timeout: 264 seconds]
Gerwin_J has joined #linux-sunxi
Renard has quit [Remote host closed the connection]
ssvb_ has quit [Quit: Leaving]
issue_ has joined #linux-sunxi
<libv> oliv3r: hrm, has my blogpost had some effect, or is this all just coincidence?
<libv> "it landed in my spam folder" smells like "my dog ate my homework"
<libv> especially since a lot of stuff must've been hitting evas spam folder in the last few months
prahal has quit [*.net *.split]
ricardocrudo has quit [*.net *.split]
ricardocrudo has joined #linux-sunxi
HeHoPMaJIeH has quit [Remote host closed the connection]
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
ecelis has joined #linux-sunxi
bertrik_ has joined #linux-sunxi
issue__ has joined #linux-sunxi
dlan_ has joined #linux-sunxi
GeertJohan_ has joined #linux-sunxi
dlan has quit [Remote host closed the connection]
diego71_ has joined #linux-sunxi
jemk_ has joined #linux-sunxi
TJvV has joined #linux-sunxi
Turl has quit [Ping timeout: 256 seconds]
ganbold__ has joined #linux-sunxi
issue_ has quit [*.net *.split]
paulk-collins has quit [*.net *.split]
popolon has quit [*.net *.split]
indy has quit [*.net *.split]
TJvV_ has quit [*.net *.split]
diego71 has quit [*.net *.split]
GeertJohan has quit [*.net *.split]
ricardocrudo has quit [*.net *.split]
kuldeepdhaka has quit [*.net *.split]
bertrik has quit [*.net *.split]
ganbold_ has quit [*.net *.split]
jemk has quit [*.net *.split]
bbrezillon has quit [*.net *.split]
mtr has quit [*.net *.split]
ccaione has quit [*.net *.split]
indy_ has joined #linux-sunxi
ssvb has joined #linux-sunxi
Turl has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
mtr has joined #linux-sunxi
ccaione has joined #linux-sunxi
popolon has joined #linux-sunxi
ccaione has quit [Changing host]
ccaione has joined #linux-sunxi
netlynx_ has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
xavia has joined #linux-sunxi
Nyuutwo has quit [Read error: No route to host]
Nyuutwo has joined #linux-sunxi
<dack> libv: blog post?
netlynx_ is now known as netlynx
<Turl> mripard_: yay patches, 20 of 'em :)
<libv> dack: check my blog.
<dack> libv: after much searching I finally found it at http://libv.livejournal.com/
* libv types "libv" in google
<libv> dack: it's only hit #1
prahal has joined #linux-sunxi
<libv> same when searching for my name
<ccaione> libv: that post was on reddit today also
ganbold__ has quit [Ping timeout: 240 seconds]
bertrik_ is now known as bertrik
prahal has quit [Remote host closed the connection]
prahal has joined #linux-sunxi
rz2k has joined #linux-sunxi
<dack> so... is it at all normal to have no script.bin on /dev/block/nanda ? Could it be hidden on there and just not in the file table?
libcg has quit [Quit: rtfm]
prahal has quit [Remote host closed the connection]
prahal has joined #linux-sunxi
<wens> Turl: 20?
<wens> did i miss some?
<wens> dack: the new A23 devices seem to work without the script.bin in nanda
<wens> they are loaded into a part of u-boot
<dack> wens: this is an A20
<Turl> wens: 14 from maxime and 6 others from Tomeu
bonbons has joined #linux-sunxi
FergusL has joined #linux-sunxi
<FergusL> Hi, where is the hwpack for cubieboard 2 ?
notmart has quit [Quit: notmart terminated!]
diego_r has quit [Ping timeout: 260 seconds]
FreezingCold has quit [Ping timeout: 256 seconds]
bgal has joined #linux-sunxi
Zboonet has joined #linux-sunxi
kuldeepdhaka has quit [Ping timeout: 240 seconds]
<wens> Turl: i don't see those from Tomeu :/
<Turl> wens: for some reason it's not on lakml yet hm
FreezingCold has joined #linux-sunxi
deasy has joined #linux-sunxi
<Turl> wens: btw, what distro did you use to play music the other day?
notmart has joined #linux-sunxi
zombu2-km4daj has quit [Ping timeout: 240 seconds]
zombu2 has joined #linux-sunxi
<wens> Turl: debian
<FergusL> sunxi-media-create complains about no u-boot.img, only u-boot.bin is there, it wasn't in the hwpack I got, is it bad ?
<FergusL> I dled a hwpack for cubie2, modified it to add a kernel I compiled
hypno__ has joined #linux-sunxi
<Turl> wens: jon is having trouble playing stereo on linaro, the channels seem to be wrong or something
<Turl> wens: what was it that you had problems with?
hypno has quit [Ping timeout: 240 seconds]
<FergusL> also I notice /boot on the rootfs partition of the resulting image of sunximediacreate is empty, is that normal ?
jemk_ is now known as jemk
<jemk> ssvb: looks good and boots fine, but lima-memtester crashes after 10-60s without any error message.
<jemk> ssvb: looks like i've to do some parameter tuning again to see whats the problem
<Turl> FergusL: /boot is most often a different partition altogether
<FergusL> so the other partition has just uImage and script.bin
<FergusL> I just tested the sdcard it didn't work :s the screen didn't even display anything. Again, media-create complained about missing u-boot.img
<Turl> without uboot you won't get too far
<FergusL> there is u-boot.bin at least
<Turl> you need u-boot-sunxi-with-spl.bin
prahal has quit [Ping timeout: 264 seconds]
<FergusL> http://linux-sunxi.org/BSP#Create_your_own_hwpack doesn't that do it ? :s
<ssvb> jemk: heh, this does not look good
<ssvb> jemk: what is your current dcdc3 voltage?
<jemk> ssvb: uh, good idea...
<FergusL> Turl: reading this wiki, but it doesn't explain how to build u-boot, the BSP wiki is the right way ? :s
<Turl> FergusL: if you use the bsp that way you should be fine
<FergusL> ok
<Turl> but you said you downloaded one, which may be ancient
<wens> Turl: didn't have any
<Turl> wens: ah ok :)
<Turl> wens: if you want to play with it again, mono & 24b audio work now
<wens> might not get time until next week
<ssvb> jemk: there is also a cold start problem, potentially resulting in a somewhat different zq calibration outcome
<jemk> ssvb: no, dcdc3 is 1.3V, as u-boot sets it
<FergusL> Turl: the hwpack I dled has u-boot.bin and sunxi-spl.bin in the bootloader/ folder, but I can't find it in the SD card that media-create created. Is that nrmal ? shouldsn't these files be in the boot partition ?
<Turl> FergusL: those files are dd'ed to the card directly, but they are old, it's been a while since uboot doesn't build those anymore
<Turl> so make a fresh one
<FergusL> Turl: ok... I hope I can find a solution, my goal is : Ubuntu 14.04 with a realtime kernel. I built the kernel folliwing the wiki page for this. But then I can't find a recent ubuntu version for sd cards. So I found BSP, I tried to make a media, but it didn't work, I modified an hwpack but ddn't work. so I ran ./configure cubieboard2 and then make which should create an hwpack, let's hope media-create will work when all this is done !
<FergusL> right now it's cloning the full sunxi repo, duh !
<FergusL> it's going to compile a full kernel actually... right ?
<Turl> yes, and uboot as well
<FergusL> erh, ok
kuldeepdhaka has joined #linux-sunxi
<ssvb> jemk: in fact maybe I have selected not the very best tpr3 value in that branch, here are some more results - http://linux-sunxi.org/User:Ssvb/Cubietruck_DRAM_Calibration
kuldeepdhaka has quit [Max SendQ exceeded]
<ssvb> jemk: can you run an extended variant of a10-meminfo from https://github.com/ssvb/a10-dram-tools and paste what it says about zq?
<jemk> ssvb: what parameter changed the tpr3 table that much? in our first tests the green area was top left, not middle.
<ssvb> jemk: dram_zq and dram_emr1
npcomp has quit [Ping timeout: 256 seconds]
prahal has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
ninolein has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
<FergusL> Turl: I dd'ed u-boot-sunxi-with-spl to the sdcard that wasn't working and now it's working
<FergusL> and meanwhile the big hwpack make has finished
prahal has quit [Quit: prahal]
<Turl> :)
notmart has quit [Quit: notmart terminated!]
wickwire has quit [Quit: Leaving]
<jemk> ssvb: looks like dcdc3 is too low, 1.35V and it works till now
netlynx has quit [Quit: Leaving]
<jemk> ssvb: ok, too early, it crashed again, but lasted almost 30min
<ssvb> jemk: yes, this is still not good, and I only had to increase dcdc3 voltage for 600mhz mbus
<ssvb> jemk: for just 400mhz mbus, I could successfully run tests at rather low dcdc3 settings - http://linux-sunxi.org/User:Ssvb/Cubietruck_DRAM_Calibration
<ssvb> jemk: the dark green table cells mean that the tpr3 value is confirmed by a much longer test, light green color means a failure on a longer confirmation test run
<Turl> ssvb: are you becoming a dangerous OCer? :)
<ssvb> jemk: it might be a good idea to move tpr3 to 0x081111 or 0x101111, I really screwed it up a bit in https://github.com/ssvb/u-boot-sunxi-dram/commit/554343bcc839ee93 :(
<ssvb> jemk: and our boards already had somewhat different behaviour in the top left corner, when tested earlier without ODT tweaks
<jemk> ssvb: yes, I'll try to run a tpr3 scan with your new u-boot next days
<ssvb> jemk: ok, thanks
<jemk> ssvb: eta for tpr3 scan?
<oliv3r> anything i can test on a few limes?
<ssvb> jemk: maybe 5-6 hours, but now it is more clever and starts searching around the original tpr3 from u-boot
<ssvb> jemk: so you get the most interesting results reasonably fast
<ssvb> oliv3r: nah, only cubietruck so far
<jemk> ssvb: ok, thats good
<ssvb> oliv3r: and a10-lime keeps changing zq resistor nominals in every revision :( that's a pretty bad choice for experiments
<ssvb> jemk: could you paste the a10-meminfo log?
<oliv3r> ssvb: i got one of those too
<oliv3r> ssvb: and i have a lot of revC boards :p
<oliv3r> ssvb: and we'll likly switch to a20 lime
<oliv3r> price diff is negiable
<ssvb> jemk: now it reports something like "dram_zq = 0x2c (0x10d3900)", where 0x2c is the ZPROG value, which gets translated into 0x10d39 ZDATA after calibration
<ssvb> jemk: I wonder if you get the same or different numbers
<oliv3r> ssvb: anyway, if you want me to run some test or something, i can do stuff
<ssvb> oliv3r: do you still have a cubietruck?
<oliv3r> of course, upstairs :)
<oliv3r> (at home now)
<ssvb> oliv3r: it would be very interesting if you could try the https://github.com/ssvb/u-boot-sunxi-dram/commits/highspeedtruck-sunxi-3.4 u-boot branch and run lima-memtester with it
<oliv3r> do i need to watch u-boot output?
<oliv3r> can i do the test remotly?
<dack> Alright.. I recompiled my kernel for my MK808C with the sunxi_nand built in. I manually created a /dev/nanda with mknod and tried mounting it. I now have a 'nandd' process going at 100% cpu and the shell that tried to do the mount is unresponsive. wtf?
<jemk> ssvb: a10-meminfo with dcdc3=1.35V http://sprunge.us/aVag
<dack> k.. restarted.. seems nandd is running at 100% without creating node or trying to mount it.
<ssvb> jemk: 0x10d1800 is what I'm getting on a cold start, and 0x10d3900 after the board has worked for a while and has heated up
<ssvb> jemk: these are 4 packed values, 5 bits for each
formruga has joined #linux-sunxi
<ssvb> jemk: ignore the lowest 00 byte (it is reserved for ZPROG)
<ssvb> jemk: it looks like the zq calibration results are mostly the same on our boards, so an interesting question is whether it would be a good idea to configure ZDATA instead of ZPROG
<jemk> ssvb: board is pretty warm, 25C ambient and powered on since ~4h
<ssvb> jemk: you may get something entirely different on a cold start, after letting it to cool down for maybe ~5 minutes after power off
<jemk> ssvb: doesn't zq calibration have to be redone sometimes
<ssvb> jemk: it does not have, but it is surely a good idea
<ssvb> jemk: for the DDR3 chip, re-calibration is supposedly done at the same time as refresh, but the DRAM controller needs to do it explicitly via ZQCS command
<ssvb> jemk: and this is something that I have no idea how to verify
<jemk> ssvb: ah, ok
Renard has joined #linux-sunxi
<ssvb> jemk: and on the DRAM controller side, we have http://linux-sunxi.org/A10_DRAM_Controller_Register_Guide#SDR_ZQCR0
<oliv3r> ssvb: its rebooting, lets hope it comes back :)
<ssvb> jemk: as the ZCTRL value in SDR_ZQSR register remains the same after boot, I assume that the periodic re-calibration is not done automatically there
<ssvb> jemk: I mean, I do a cold boot, get 0x10d18 in SDR_ZQSR and it just stays there
<ssvb> jemk: then I reboot the system without letting it to cool down, get 0x10d39 and it also stays there until the next reboot
<jemk> ssvb: or zqcs isn't as accurate as the long zqc
<ssvb> jemk: ZACL and ZQCS happens in the DDR3 chip and affects the side of the PCB tracks, which connects to the DDR3 chip
<ssvb> *ZQCL
<ssvb> jemk: but the SDR_ZQCR0/SDR_ZQSR deal with the impedance on the side of the PCB tracks, which connects to the SoC
<ssvb> jemk: they even use different ZQ resistors (one is connected to the SoC, and one is connected to the DRAM chip)
<oliv3r> ssvb: bah, board didn't come back up; i'll check later don't have uart nearby
<oliv3r> maybe things crashed due to FAST_MBUS :(
<ssvb> oliv3r: oh, sorry about that
<oliv3r> ssvb: it's no problem, what's the best way to make your u-boot boot
<oliv3r> on my 'weird' cb3
<ssvb> oliv3r: write it to the sd card?
<oliv3r> i did that lol
<oliv3r> i mean can I just disable FAST_MBUS
<oliv3r> and still help testing for you
<ssvb> oliv3r: there is no FAST_MBUS anymore, just "clock" and "mbus_clock"
<ssvb> oliv3r: you can set "mbus_clock" to 300
<oliv3r> ah you split it up in dram settings, ok
<ssvb> oliv3r: and maybe reduce "clock" to something more reasonable, like 528, 480 or 432
<oliv3r> will it affect your test?
<ssvb> oliv3r: well, it appears that my test has failed already on your board :)
<oliv3r> lol
<oliv3r> i'll check in a minute what went wrong
<oliv3r> oh wait, i can't, i'll have to reset to try again :p
<oliv3r> i'll do that in amin
<jemk> ssvb: bwdsp manual says zqcr0[30]: "NOICAL, initialization impedance calibration control. When this bit is set, then the DDR2 controller does not perform automatic impedance matching operation in the initialization time, otherwise, the controller automatically performs impedance matching operation during initialization."
Skaag has quit [Ping timeout: 260 seconds]
<ssvb> jemk: this seems to talk about the initialization time, and not about the periodic correction at runtime
<ssvb> jemk: zq calibration works fine at the initialization time, as can be seen by tweaking the settings (some settings are clearly better than the others)
<ssvb> jemk: does the bwdsp manual mention anything about ZQCS and period between ZQCS?
<oliv3r> ssvb: hmm, i just got a ram error, please reset board; but i recompiled with lower timings, lets see what happens now
<ssvb> oliv3r: you can also try to tweak the 'dqs_gating_delay' parameter (set it to 0 for auto-detection, and also check 0x06060606)
<jemk> ssvb: zqcr1 looks good, but google translate produces bullshit
<ssvb> oliv3r: this used to be a problem on your board earlier
<ssvb> jemk: ZQCR1 is particularly strange on A20, I had some notes about it at http://linux-sunxi.org/A10_DRAM_Controller_Register_Guide#SDR_ZQCR1
<jemk> ssvb: 26:24 is reserved, but 30:28 says CALTYPE, 001 = "When calibration is performed automatically refresh (google translate)" and 31 CALEN 1= perform auto impedance matching
<oliv3r> ssvb: ok i'll experiment more on a later time
<oliv3r> ssvb: it failed now with mmc read error blk0
<ssvb> oliv3r: error in u-boot?
<oliv3r> yeah
<oliv3r> i'll test a known working u-boot on the mmc at a later time
<oliv3r> btw, i only have /boot on sd card, rootfs is on an ssd
<ssvb> ok, thanks
<ssvb> jemk: this description makes sense, at least it appears to be quite common to issue ZQCS commands (and sometimes also ZQCL) to let the DDR3 chip re-calibrate itself during refresh
<jemk> oliv3r: be carefull, some ssds dont like too many hard resets
<jemk> ssvb: some things sound strange and could also be the other way around, i can't read chinese
<ssvb> jemk: yes, still the biggest problem is that we very likely can't really verify whether this all works by using just the software methods
<ssvb> jemk: this is a one way communication from the DRAM controller to the DDR3 chip
<ssvb> jemk: and we have no idea if the calibration at the initialization time is good enough or actually needs correction
bonbons has quit [Quit: Leaving]
<ssvb> jemk: I have some ideas about how to interpret this and maybe will try some tests later
<ssvb> jemk: the mysterious bit 24 in the SDR_ZQCR1 on A20 might have something to do with ZQCSB from bwdsp "1 = Do not send commands to the SDRAM when ZQCS impedance calibration"
<ssvb> jemk: by setting it to 1, we are disabling something that otherwise deadlocks the system
<jemk> ssvb: but thats bit 27. I thougt it might be simply some extension placed in the reserved area
<ssvb> jemk: the four bits 24-27 in A20 behave like they are read-only (read back as 0), but writing 1 to bit 24 is necessary
<jemk> ssvb: i mean, bwdsp is much older, only ddr2 and so on
<ssvb> jemk: the bit 27 is just on the opposite side of this group of bits
<ssvb> jemk: in any case, the difference in optimal settings between our boards is unlikely to be zq related
<ssvb> jemk: we might try to find some intersection of good settings, and a safe clock speeds range that works everywhere
dack has quit [Read error: Connection reset by peer]
<ssvb> oliv3r: have you tried the mainline u-boot on your cubietruck (other than the one with my patches)? we would need your board to ensure that everything is fine
TJvV has quit [Ping timeout: 250 seconds]
<jemk> ssvb: yes, sure. I will run some tests as soon as possible, but i first need to change some things, ct runs pretty productive at the moment, can't risk destroying the filesystem or even the whole harddisk with all those hard resets
TJvV has joined #linux-sunxi
<ssvb> jemk: what I mean is that the temperature induced differences in the impedance settings are rather minor at least for me
<ssvb> jemk: the differences between "cold start" and "normal" do exist: http://linux-sunxi.org/User:Ssvb/Cubietruck_DRAM_Calibration
<jemk> ssvb: what power supply do you use? the old tests i did with lab supply, but now i was using some 5V/3A switching ps
<oliv3r> ssvb: i haven't tried mainline yet, was using u-boot sunxi
<jemk> ssvb and to me it seems there are stability differences
<ssvb> jemk: these impedance related differences are nowhere close to the differences between my board and yours
<ssvb> jemk: I have many power bricks, but none of them is a lab power supply
<ssvb> jemk: and the power supply does not seem to matter, I have already checked that
<ssvb> jemk: in any case, we are likely targeting something like 528mhz in the end, trying 600mhz is just to see how far we can go
<ssvb> jemk: and to check to what extent different boards may vary
VargaD_ has joined #linux-sunxi
VargaD has quit [Ping timeout: 245 seconds]
VargaD_ is now known as VargaD
formruga has quit [Quit: Konversation terminated!]
<ssvb> jemk: I also tried to check whether we should favor MBUS or DRAM clock speed - http://linux-sunxi.org/A10_DRAM_Controller_Performance
akaizen has quit [Read error: No route to host]
akaizen has joined #linux-sunxi
<ssvb> jemk: it does not look like fast DRAM clock speed has much use without fast MBUS on the systems with 32-bit memory interface
<ssvb> jemk: but some cedarx benchmarks would be interesting too
akaizen_ has joined #linux-sunxi
afaerber has quit [Quit: Verlassend]
afaerber has joined #linux-sunxi
akaizen_ has quit [Read error: Connection reset by peer]
akaizen_ has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
bgal has quit [Ping timeout: 256 seconds]
akaizen has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
<Black_Horseman> meres
<jemk> ssvb: I want to figure out something about cedar memory access patterns, caches, bursts and so on since ages, but never had time to intensively try it
akaizen_ has quit [Ping timeout: 240 seconds]
<jemk> ssvb: anyway, i'm out for today, lets see what scan-tpr3 will reveal.
<jemk> bye
<ssvb> ok, see you later
akaizen_ has joined #linux-sunxi
jemk has quit [Quit: leaving]
akaizen has quit [Ping timeout: 240 seconds]
wickwire has joined #linux-sunxi
FergusL has quit [Remote host closed the connection]
Nyuutwo has quit [Ping timeout: 250 seconds]
Nyuutwo has joined #linux-sunxi
issue__ has quit [Remote host closed the connection]
petr has quit [Ping timeout: 240 seconds]
xavia has quit [Quit: Leaving.]
petr has joined #linux-sunxi
dlan_ is now known as dlan
kz1 has quit [Ping timeout: 264 seconds]
akaizen_ has quit [Read error: Connection reset by peer]
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
akaizen has joined #linux-sunxi
alexvf has quit [*.net *.split]
wickwire has quit [Remote host closed the connection]
alexvf has joined #linux-sunxi
afaerber has quit [*.net *.split]
Black_Horseman has quit [*.net *.split]
ssvb has quit [*.net *.split]
diego71_ has quit [*.net *.split]
bertrik has quit [*.net *.split]
GeertJohan_ has quit [*.net *.split]
eagles0513875 has quit [*.net *.split]
y0g1 has quit [*.net *.split]
link0 has quit [*.net *.split]
buZz has quit [*.net *.split]
wigyori has quit [*.net *.split]
tomboy65 has quit [*.net *.split]
arete74_ has quit [*.net *.split]
jelly-home has quit [*.net *.split]
dl9pf_ has quit [*.net *.split]
apo_ has quit [*.net *.split]
orly_owl has quit [*.net *.split]
aep has quit [*.net *.split]
cajg has quit [*.net *.split]
arokux has quit [*.net *.split]
tgaz has quit [*.net *.split]
alexvf has quit [*.net *.split]
ninolein has quit [*.net *.split]
rz2k has quit [*.net *.split]
Nyuutwo has quit [*.net *.split]
Zboonet has quit [*.net *.split]
popolon has quit [*.net *.split]
ccaione has quit [*.net *.split]
mtr has quit [*.net *.split]
VargaD has quit [*.net *.split]
TJvV has quit [*.net *.split]
FreezingCold has quit [*.net *.split]
hypno__ has quit [*.net *.split]
bbrezillon has quit [*.net *.split]
indy_ has quit [*.net *.split]
zombu2 has quit [*.net *.split]
captainigloo has quit [*.net *.split]
awafaa has quit [*.net *.split]
setkeh has quit [*.net *.split]
plaes has quit [*.net *.split]
rZr has quit [*.net *.split]
rm has quit [*.net *.split]
HeavyMetal has quit [*.net *.split]
cybin has quit [*.net *.split]
xenoxaos has quit [*.net *.split]
jeremb_ has quit [*.net *.split]
book` has quit [*.net *.split]
atsampson has quit [*.net *.split]
rah has quit [*.net *.split]
speakman has quit [*.net *.split]
WarheadsSE has quit [*.net *.split]
petr has quit [*.net *.split]
dlan has quit [*.net *.split]
focus has quit [*.net *.split]
slapin__ has quit [*.net *.split]
swabbles_ has quit [*.net *.split]
forcev has quit [*.net *.split]
akaizen has quit [*.net *.split]
Renard has quit [*.net *.split]
paulk-collins has quit [*.net *.split]
slapin has quit [*.net *.split]
bamvor has quit [*.net *.split]
RaYmAn has quit [*.net *.split]
uwe_ has quit [*.net *.split]
discopig has quit [*.net *.split]
gaby has quit [*.net *.split]
andoma has quit [*.net *.split]
lauri has quit [*.net *.split]
ynezz has quit [*.net *.split]
MSameer has quit [*.net *.split]
FR^2 has quit [*.net *.split]
CaptHindsight has quit [*.net *.split]
joedj has quit [*.net *.split]
yann_s has quit [*.net *.split]
lioka has quit [*.net *.split]
slopez has quit [*.net *.split]
mnemoc has quit [*.net *.split]
vinceh has quit [*.net *.split]
moofree has quit [*.net *.split]
Uninstall has quit [*.net *.split]
torindel has quit [*.net *.split]
steev has quit [*.net *.split]
joga has quit [*.net *.split]
ChanServ has quit [*.net *.split]
fredy has quit [*.net *.split]
ricardocrudo has quit [*.net *.split]
lukas_2511 has quit [*.net *.split]
mripard_ has quit [*.net *.split]
egbert has quit [*.net *.split]
blsd has quit [*.net *.split]
wens has quit [*.net *.split]
marcin_ has quit [*.net *.split]
libv has quit [*.net *.split]
rellla has quit [*.net *.split]
earny has quit [*.net *.split]
morfoh has quit [*.net *.split]
TheSeven has quit [*.net *.split]
fiola has quit [*.net *.split]
leviathanch has quit [*.net *.split]
selsinork has quit [*.net *.split]
dreamer has quit [*.net *.split]
tm512 has quit [*.net *.split]
souther has quit [*.net *.split]
mdp has quit [*.net *.split]
kelvan has quit [*.net *.split]
ojn has quit [*.net *.split]
bsdfox has quit [*.net *.split]
lynxis has quit [*.net *.split]
netchip has quit [*.net *.split]
ccube has quit [*.net *.split]
mmarker1 has quit [*.net *.split]
gzamboni has quit [*.net *.split]
Wizzup has quit [*.net *.split]
miup has quit [*.net *.split]
zumbi has quit [*.net *.split]
merbanan has quit [*.net *.split]
vbmithr has quit [*.net *.split]
Tartarus has quit [*.net *.split]
heffer has quit [*.net *.split]
Montjoie has quit [*.net *.split]
jukivili has quit [*.net *.split]
MackBoy has quit [*.net *.split]
Zboonet has joined #linux-sunxi
FR^2 has joined #linux-sunxi
Nyuutwo has joined #linux-sunxi
akaizen has joined #linux-sunxi
TJvV has joined #linux-sunxi
hypno__ has joined #linux-sunxi
fredy has joined #linux-sunxi
leviathanch has joined #linux-sunxi
mripard_ has joined #linux-sunxi
CaptHindsight has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
mmarker1 has joined #linux-sunxi
dreamer has joined #linux-sunxi
arete74_ has joined #linux-sunxi
TheSeven has joined #linux-sunxi
slapin__ has joined #linux-sunxi
selsinork has joined #linux-sunxi
swabbles_ has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
zombu2 has joined #linux-sunxi
ninolein has joined #linux-sunxi
rz2k has joined #linux-sunxi
alexvf has joined #linux-sunxi
indy_ has joined #linux-sunxi
Renard has joined #linux-sunxi
MSameer has joined #linux-sunxi
dlan has joined #linux-sunxi
gzamboni has joined #linux-sunxi
egbert has joined #linux-sunxi
wens has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
blsd has joined #linux-sunxi
fiola has joined #linux-sunxi
VargaD has joined #linux-sunxi
petr has joined #linux-sunxi
lukas_2511 has joined #linux-sunxi
forcev has joined #linux-sunxi
ccube has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
focus has joined #linux-sunxi
ccaione has joined #linux-sunxi
mtr has joined #linux-sunxi
popolon has joined #linux-sunxi
joedj has joined #linux-sunxi
ynezz has joined #linux-sunxi
andoma has joined #linux-sunxi
bamvor has joined #linux-sunxi
gaby has joined #linux-sunxi
discopig has joined #linux-sunxi
slapin has joined #linux-sunxi
lauri has joined #linux-sunxi
uwe_ has joined #linux-sunxi
atsampson has joined #linux-sunxi
rah has joined #linux-sunxi
cybin has joined #linux-sunxi
book` has joined #linux-sunxi
jeremb_ has joined #linux-sunxi
plaes has joined #linux-sunxi
speakman has joined #linux-sunxi
xenoxaos has joined #linux-sunxi
rZr has joined #linux-sunxi
setkeh has joined #linux-sunxi
rm has joined #linux-sunxi
RaYmAn has joined #linux-sunxi
WarheadsSE has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
captainigloo has joined #linux-sunxi
awafaa has joined #linux-sunxi
joga has joined #linux-sunxi
steev has joined #linux-sunxi
Uninstall has joined #linux-sunxi
torindel has joined #linux-sunxi
slopez has joined #linux-sunxi
vinceh has joined #linux-sunxi
mnemoc has joined #linux-sunxi
moofree has joined #linux-sunxi
lioka has joined #linux-sunxi
yann_s has joined #linux-sunxi
marcin_ has joined #linux-sunxi
ChanServ has joined #linux-sunxi
earny has joined #linux-sunxi
rellla has joined #linux-sunxi
arokux has joined #linux-sunxi
heffer has joined #linux-sunxi
Montjoie has joined #linux-sunxi
jukivili has joined #linux-sunxi
tgaz has joined #linux-sunxi
Tartarus has joined #linux-sunxi
libv has joined #linux-sunxi
bsdfox has joined #linux-sunxi
vbmithr has joined #linux-sunxi
lynxis has joined #linux-sunxi
mdp has joined #linux-sunxi
cajg has joined #linux-sunxi
MackBoy has joined #linux-sunxi
ojn has joined #linux-sunxi
kelvan has joined #linux-sunxi
souther has joined #linux-sunxi
aep has joined #linux-sunxi
merbanan has joined #linux-sunxi
apo_ has joined #linux-sunxi
netchip has joined #linux-sunxi
tm512 has joined #linux-sunxi
orly_owl has joined #linux-sunxi
miup has joined #linux-sunxi
zumbi has joined #linux-sunxi
dl9pf_ has joined #linux-sunxi
Wizzup has joined #linux-sunxi
morfoh has joined #linux-sunxi
jelly-home has joined #linux-sunxi
afaerber has joined #linux-sunxi
ssvb has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
buZz has joined #linux-sunxi
link0 has joined #linux-sunxi
GeertJohan_ has joined #linux-sunxi
diego71_ has joined #linux-sunxi
y0g1 has joined #linux-sunxi
eagles0513875 has joined #linux-sunxi
wigyori has joined #linux-sunxi
bertrik has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
morfoh has quit [*.net *.split]
morfoh has joined #linux-sunxi
TheSeven has quit [*.net *.split]
leviathanch has quit [*.net *.split]
fiola has quit [*.net *.split]
selsinork has quit [*.net *.split]
dreamer has quit [*.net *.split]
tm512 has quit [*.net *.split]
mdp has quit [*.net *.split]
souther has quit [*.net *.split]
kelvan has quit [*.net *.split]
ojn has quit [*.net *.split]
bsdfox has quit [*.net *.split]
lynxis has quit [*.net *.split]
netchip has quit [*.net *.split]
ccube has quit [*.net *.split]
mmarker1 has quit [*.net *.split]
gzamboni has quit [*.net *.split]
Wizzup has quit [*.net *.split]
miup has quit [*.net *.split]
merbanan has quit [*.net *.split]
zumbi has quit [*.net *.split]
vbmithr has quit [*.net *.split]
Tartarus has quit [*.net *.split]
heffer has quit [*.net *.split]
Montjoie has quit [*.net *.split]
jukivili has quit [*.net *.split]
MackBoy has quit [*.net *.split]
leviathanch has joined #linux-sunxi
fiola has joined #linux-sunxi
TheSeven has joined #linux-sunxi
dreamer has joined #linux-sunxi
selsinork has joined #linux-sunxi
tm512 has joined #linux-sunxi
mdp has joined #linux-sunxi
kelvan has joined #linux-sunxi
souther has joined #linux-sunxi
ojn has joined #linux-sunxi
bsdfox has joined #linux-sunxi
netchip has joined #linux-sunxi
lynxis has joined #linux-sunxi
ccube has joined #linux-sunxi
vbmithr has joined #linux-sunxi
gzamboni has joined #linux-sunxi
MackBoy has joined #linux-sunxi
miup has joined #linux-sunxi
jukivili has joined #linux-sunxi
mmarker1 has joined #linux-sunxi
merbanan has joined #linux-sunxi
zumbi has joined #linux-sunxi
Montjoie has joined #linux-sunxi
Tartarus has joined #linux-sunxi
Wizzup has joined #linux-sunxi
heffer has joined #linux-sunxi
mmarker has joined #linux-sunxi
mmarker1 has quit [Remote host closed the connection]
swabbles has joined #linux-sunxi
slapin_ has joined #linux-sunxi
FergusL has joined #linux-sunxi
slapin__ has quit [Write error: Broken pipe]
swabbles_ has quit [Write error: Broken pipe]
dlan has quit [Remote host closed the connection]
ricardocrudo has quit [Remote host closed the connection]
dlan has joined #linux-sunxi
montjoie1home] has joined #linux-sunxi
montjoie[home] has quit [Ping timeout: 256 seconds]
montjoie1home] has quit [Ping timeout: 245 seconds]
paulk-collins has quit [Quit: Ex-Chat]
montjoie[home] has joined #linux-sunxi
Skaag has joined #linux-sunxi
chrs_ has joined #linux-sunxi
xavia has joined #linux-sunxi
xavia has quit [Remote host closed the connection]
nicksydney has joined #linux-sunxi