<hexdump0815>
jernej: Ashleee: i gave the rank=1 hack a try on my h6 box and it does not work - but i'm getting a different error mesage with it - maybe some other change is required too? - here are the different outputs
<jernej>
hexdump0815: It would be really useful if you could do DRAM register dumps like Ashleee did
<jernej>
so we can compare registers
<hexdump0815>
jernej: Ashleee: can you maybe paste me some steps to do? problem is that i only have read-only serial as i was not able to find the tx pad on the board ...
<hexdump0815>
jernej: can you please send me a diff with the proper printk for dumping the registers out in mainline u-boot? then i could buuld and run that too ...
<hexdump0815>
jernej: i just looked at the old irc logs - which region to actually md dump? 4002000 or 0x4005000 or something else?
<jernej>
I don't have code for reg dump, hopefully Ashleee still have it
<jernej>
DRAM is from 0x04002000 to 0x04006000
<jernej>
this region contains 3 things - controller, phy and probably some glue logic
<jo0nas>
I can help test as needed, but won't try write the code
<hexdump0815>
jernej: ok then my dump should have it all in already - but just in case here is the 0x04005000 dump as well: https://pastebin.com/raw/WkAStfXn
<hexdump0815>
Ashleee: whenever you are around again, can you please pastebin me a diff of your register dumping printk for mainline u-boot?
<jernej>
better just remove it, ranks=1 makes things worse
<hexdump0815>
Ashleee: thx a lot - let me try that :)
<Ashleee>
np
<hexdump0815>
Ashleee: jernej: hm - i added the printing but i still do only get "DRAM:This DRAM setup is currently not supported." - maybe it does not even come to the deug prints in my case?
<Ashleee>
yeah
<Ashleee>
copypaste the for (xdebug..) few lines above
<Ashleee>
which device do you have hexdump0815 ? TX6 as well or the Eachlink?
<hexdump0815>
no its some noname box with just printed h6 and 6k on it :)
<hexdump0815>
the error i get is in "Check for dual rank and half DQ ..." - any idea?
<jernej>
hexdump0815: this is caused by ranks = 1
<jernej>
you should leave it on 2
<jernej>
and also remove the line Ashleee mentioned, it does same thing
<hexdump0815>
same error still with rank on 2 and the 0x00010237 write removed from the patch
<hexdump0815>
i have just removed that panic and this is what i get then: https://pastebin.com/raw/dLbYDUe0 - does that make any sense?
<Ashleee>
yeah that's the memdump
<Ashleee>
now go byte for byte and compare it to the libdram one :)
<Ashleee>
and check against the zynq mp specs and the struct in source :D
<hexdump0815>
ooops - i think this is a bit beyond my skill level :)
<Ashleee>
heh
<Ashleee>
I'm making a lunch and then driving away, I can check later today
<Ashleee>
(maybe 6 - 7 hours from now)
victhor has joined #linux-sunxi
<hexdump0815>
Ashleee: that would be cool - i'll keep watching the irc then tonight
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
fl_0 has quit [Ping timeout: 272 seconds]
warpme_ has quit [Quit: Connection closed for inactivity]
fl_0 has joined #linux-sunxi
jo0nas has quit [Read error: Connection reset by peer]
jo0nas has joined #linux-sunxi
hexdump0815 has quit [Remote host closed the connection]
_whitelogger has joined #linux-sunxi
fl_0 has quit [Ping timeout: 246 seconds]
fl_0 has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
cnxsoft1 has quit [Quit: cnxsoft1]
florian_kc has joined #linux-sunxi
rex_victor has joined #linux-sunxi
vagrantc has joined #linux-sunxi
rex_victor has quit [Quit: Bye]
rex_victor has joined #linux-sunxi
rex_victor has quit [Client Quit]
rex_victor has joined #linux-sunxi
rex_victor has quit [Client Quit]
rex_victor has joined #linux-sunxi
kilobyte_ch has quit [Ping timeout: 272 seconds]
jstein has joined #linux-sunxi
florian_kc has quit [Ping timeout: 256 seconds]
lurchi_ is now known as lurchi__
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
florian_kc has joined #linux-sunxi
kilobyte_ch has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
sunshavi has quit [Read error: Connection reset by peer]
sunshavi has joined #linux-sunxi
psydread has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
kilobyte_ch has quit [Read error: Connection reset by peer]
sunshavi has quit [Remote host closed the connection]
iamfrankenstein has quit [Remote host closed the connection]
<hexdump0815>
jernej: btw. are there any plans to submit a ddr3 tv box config to mainline u-boot? i think the mainline kernel has the tx6 dtb in it, so maybe its dtb and config could be added to u-boot too?
lurchi__ is now known as lurchi_
<hexdump0815>
jernej: i can try to set them to 0 - shall i do it with rank=1 or rank=2 and with that panic put back or leave it commented out?