dallase
Member
Offline
Activity: 129
Merit: 10
|
|
January 30, 2017, 12:11:25 AM |
|
SEQ_RAS [2 2 14 14 2 42] right?
edited... think i messed up b4 TNOPW 1 TNOPR 0 TR2W 21 TR2R 1 TW2R 6 TCL 19 I parsed all the 32bit segments as the MC_SEQ_CAS_TIMING reference says but none of them has the values you mentioned. Are these calculated with or without the value offsets (e.g CAS to read data return latency - 2). So 19 is actually 19+2 or already with the offset 17+2? Neither seems good, it should be somewhere around 14. By the way none of the 32bit segments seems plausible, I think there must be some other trick too. Something with the order of the bits? (MSB-LSB?) Too many combinations, I almost spent my whole day again on this. Nobody said my results were right...
|
|
|
|
|
|
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
Zorg33
Jr. Member
Offline
Activity: 144
Merit: 2
|
|
January 30, 2017, 08:09:11 AM |
|
OK, I found the main timings finally... that was tough af, almost no sleep.
|
|
|
|
dallase
Member
Offline
Activity: 129
Merit: 10
|
|
January 30, 2017, 04:57:15 PM |
|
Whatcha think? $ ./multistrap2 MSI-470-Hynix-Stock-1125 -> 777000000000000022FF1C006BBD572F40550F0D28C9F3060048C5004C0D14205A8900A000003120100C20246F1E2912 MSI-470-Hynix-Stock-1250 -> 777000000000000022FF1C008CC5583460550F0F2C4AB4070048C5005C0F14205A8900A000003120120D23287B222D13 MSI-470-Hynix-Stock-1375 -> 777000000000000022339D00CECD593980551111AE8A84080048C6006C0014206A8900A002003120140F262B88252F15 MSI-470-Hynix-Stock-1425 -> 777000000000000022339D00CE516A3B805511112FCBD408004AE6006C0014206A8900A002003120150F272D8D263015 MSI-470-Hynix-Stock-1500 -> 777000000000000022339D00CE516A3D9055111230CB4409004AE600740114206A8900A002003120150F292F94273116 MSI-470-Hynix-Stock-1625 -> 999000000000000022559D0010DE7B4480551312B78C450A004C0601750414206A8900A00200312018112D34A42A3816 MSI-470-Hynix-Stock-1750 -> 999000000000000022559D0031627C489055131339CDD50A004C06017D0514206A8900A00200312019123037AD2C3A17 MSI-470-Hynix-Stock-2000 -> BBB000000000000022889D0073EE8D53805515133ECF560C004E26017E0514206A8900A0020031201C143840C5303F17 ------------------------------------------------------------------------------------------ Strap (RAS) trc trcdr trcdra trcdw trcdwa trrd ------------------------------------------------------------------------------------------ MSI-470-Hynix-Stock-1125 47 15 15 11 11 5 MSI-470-Hynix-Stock-1250 52 17 17 12 12 5 MSI-470-Hynix-Stock-1375 57 19 19 14 14 5 MSI-470-Hynix-Stock-1425 59 20 20 14 14 6 MSI-470-Hynix-Stock-1500 61 20 20 14 14 6 MSI-470-Hynix-Stock-1625 68 23 23 16 16 7 MSI-470-Hynix-Stock-1750 72 24 24 17 17 7 MSI-470-Hynix-Stock-2000 83 27 27 19 19 8 ------------------------------------------------------------------------------------------ Strap (CAS) tcl tnopr tnopw tr2r tr2w tw2r ------------------------------------------------------------------------------------------ MSI-470-Hynix-Stock-1125 13 0 0 5 20 15 MSI-470-Hynix-Stock-1250 15 0 0 5 22 15 MSI-470-Hynix-Stock-1375 17 0 0 5 24 17 MSI-470-Hynix-Stock-1425 17 0 0 5 24 17 MSI-470-Hynix-Stock-1500 18 0 0 5 25 17 MSI-470-Hynix-Stock-1625 18 0 0 5 24 19 MSI-470-Hynix-Stock-1750 19 0 0 5 25 19 MSI-470-Hynix-Stock-2000 19 0 0 5 24 21 ------------------------------------------------------------------------------------------ Strap (MISC) tcke trfc trp trprda trpwra ------------------------------------------------------------------------------------------ MSI-470-Hynix-Stock-1125 0 55 9 9 40 MSI-470-Hynix-Stock-1250 0 61 10 10 44 MSI-470-Hynix-Stock-1375 0 68 2 10 46 MSI-470-Hynix-Stock-1425 0 70 10 11 47 MSI-470-Hynix-Stock-1500 0 74 2 11 48 MSI-470-Hynix-Stock-1625 0 82 2 12 55 MSI-470-Hynix-Stock-1750 0 86 10 13 57 MSI-470-Hynix-Stock-2000 0 98 11 15 62 ------------------------------------------------------------------------------------------
|
|
|
|
dallase
Member
Offline
Activity: 129
Merit: 10
|
|
January 30, 2017, 07:42:17 PM |
|
Whatcha think? $ ./multistrap2 MSI-470-Hynix-Stock-1125 -> 777000000000000022FF1C006BBD572F40550F0D28C9F3060048C5004C0D14205A8900A000003120100C20246F1E2912 MSI-470-Hynix-Stock-1250 -> 777000000000000022FF1C008CC5583460550F0F2C4AB4070048C5005C0F14205A8900A000003120120D23287B222D13 MSI-470-Hynix-Stock-1375 -> 777000000000000022339D00CECD593980551111AE8A84080048C6006C0014206A8900A002003120140F262B88252F15 MSI-470-Hynix-Stock-1425 -> 777000000000000022339D00CE516A3B805511112FCBD408004AE6006C0014206A8900A002003120150F272D8D263015 MSI-470-Hynix-Stock-1500 -> 777000000000000022339D00CE516A3D9055111230CB4409004AE600740114206A8900A002003120150F292F94273116 MSI-470-Hynix-Stock-1625 -> 999000000000000022559D0010DE7B4480551312B78C450A004C0601750414206A8900A00200312018112D34A42A3816 MSI-470-Hynix-Stock-1750 -> 999000000000000022559D0031627C489055131339CDD50A004C06017D0514206A8900A00200312019123037AD2C3A17 MSI-470-Hynix-Stock-2000 -> BBB000000000000022889D0073EE8D53805515133ECF560C004E26017E0514206A8900A0020031201C143840C5303F17 ------------------------------------------------------------------------------------------ Strap (RAS) trc trcdr trcdra trcdw trcdwa trrd ------------------------------------------------------------------------------------------ MSI-470-Hynix-Stock-1125 47 15 15 11 11 5 MSI-470-Hynix-Stock-1250 52 17 17 12 12 5 MSI-470-Hynix-Stock-1375 57 19 19 14 14 5 MSI-470-Hynix-Stock-1425 59 20 20 14 14 6 MSI-470-Hynix-Stock-1500 61 20 20 14 14 6 MSI-470-Hynix-Stock-1625 68 23 23 16 16 7 MSI-470-Hynix-Stock-1750 72 24 24 17 17 7 MSI-470-Hynix-Stock-2000 83 27 27 19 19 8 ------------------------------------------------------------------------------------------ Strap (CAS) tcl tnopr tnopw tr2r tr2w tw2r ------------------------------------------------------------------------------------------ MSI-470-Hynix-Stock-1125 13 0 0 5 20 15 MSI-470-Hynix-Stock-1250 15 0 0 5 22 15 MSI-470-Hynix-Stock-1375 17 0 0 5 24 17 MSI-470-Hynix-Stock-1425 17 0 0 5 24 17 MSI-470-Hynix-Stock-1500 18 0 0 5 25 17 MSI-470-Hynix-Stock-1625 18 0 0 5 24 19 MSI-470-Hynix-Stock-1750 19 0 0 5 25 19 MSI-470-Hynix-Stock-2000 19 0 0 5 24 21 ------------------------------------------------------------------------------------------ Strap (MISC) tcke trfc trp trprda trpwra ------------------------------------------------------------------------------------------ MSI-470-Hynix-Stock-1125 0 55 9 9 40 MSI-470-Hynix-Stock-1250 0 61 10 10 44 MSI-470-Hynix-Stock-1375 0 68 2 10 46 MSI-470-Hynix-Stock-1425 0 70 10 11 47 MSI-470-Hynix-Stock-1500 0 74 2 11 48 MSI-470-Hynix-Stock-1625 0 82 2 12 55 MSI-470-Hynix-Stock-1750 0 86 10 13 57 MSI-470-Hynix-Stock-2000 0 98 11 15 62 ------------------------------------------------------------------------------------------
RAS and CAS look mostly right. Still a lot to go. I had 2 mistakes in SEQ_MISC above.. 1) 0xE is 2bit, not 3. 2) 0x1B has 1 bit I didnt account for. # MC_SEQ_MISC_TIMING - RW - 32 bits - MCIND:0x63 # # TRP_WRA 5:0 6bit From write with auto-precharge to active - 1. # ---- 7:6 2bit Unused # TRP_RDA 13:8 6bit From read with auto-precharge to active - 1. # ---- 15:14 2bit Unused # TRP 19:16 4bit Precharge command period - 1. # TRFC 26:20 7bit Auto-refresh command period - 1. # ---- 27 1bit Unused # TCKE 31:28 4bit CKE power down exit timer.
So re-running with those corrections produces... ------------------------------------------------------------------------------------------ Strap (MISC) tcke trfc trp trprda trpwra ------------------------------------------------------------------------------------------ MSI-470-Hynix-Stock-1125 0 111 3 9 40 MSI-470-Hynix-Stock-1250 0 123 4 10 44 MSI-470-Hynix-Stock-1375 0 8 4 10 46 MSI-470-Hynix-Stock-1425 0 13 4 11 47 MSI-470-Hynix-Stock-1500 0 20 4 11 48 MSI-470-Hynix-Stock-1625 0 36 5 12 55 MSI-470-Hynix-Stock-1750 0 45 5 13 57 MSI-470-Hynix-Stock-2000 0 69 6 15 62 ------------------------------------------------------------------------------------------
|
|
|
|
dallase
Member
Offline
Activity: 129
Merit: 10
|
|
January 30, 2017, 08:31:34 PM |
|
Still wrong, but not entirely your fault - the documentation you're looking at is outdated.
Surely the 4.9 kernel has the correct offsets? #define MC_SEQ_MISC_TIMING__TRP_WRA__SHIFT 0x0 #define MC_SEQ_MISC_TIMING__TRP_RDA__SHIFT 0x8 #define MC_SEQ_MISC_TIMING__TRP__SHIFT 0xf #define MC_SEQ_MISC_TIMING__TRFC__SHIFT 0x14
|
|
|
|
dallase
Member
Offline
Activity: 129
Merit: 10
|
|
January 30, 2017, 09:10:42 PM |
|
Still wrong, but not entirely your fault - the documentation you're looking at is outdated.
Surely the 4.9 kernel has the correct offsets? #define MC_SEQ_MISC_TIMING__TRP_WRA__SHIFT 0x0 #define MC_SEQ_MISC_TIMING__TRP_RDA__SHIFT 0x8 #define MC_SEQ_MISC_TIMING__TRP__SHIFT 0xf #define MC_SEQ_MISC_TIMING__TRFC__SHIFT 0x14 You don't see TCKE there, do you? Right, but that doesnt effect the offsets for MC_SEQ_MISC_TIMING as its the last 4 bits in the 32 bit index. So if 0x1c is unused, the fact that TCKE shows ZERO's in my table above agrees with that.
|
|
|
|
Zorg33
Jr. Member
Offline
Activity: 144
Merit: 2
|
|
January 31, 2017, 12:55:20 AM |
|
tRFC @1500MHz Hynix strap is 148
|
|
|
|
Zorg33
Jr. Member
Offline
Activity: 144
Merit: 2
|
|
January 31, 2017, 11:12:15 AM Last edit: January 31, 2017, 12:10:34 PM by Zorg33 |
|
Is it true that the tCKE timings are given in mclk and not hclk units? Because I found 7 and it should be 14 hclk (and no shifting is possible).
solved
|
|
|
|
dallase
Member
Offline
Activity: 129
Merit: 10
|
|
January 31, 2017, 03:15:10 PM |
|
tRFC @1500MHz Hynix strap is 148
tRFC is 7 bits... how can you get 148 from 7 bits. w/ all bits set, max decimal value is 127. 1111111 = 0x7F = 127 this takes 8 bits... 10010100 = 0x94 = 148
|
|
|
|
Zorg33
Jr. Member
Offline
Activity: 144
Merit: 2
|
|
January 31, 2017, 04:12:22 PM |
|
Be creative. Thats the advantage of doing it in notepad by hand like me
|
|
|
|
dallase
Member
Offline
Activity: 129
Merit: 10
|
|
January 31, 2017, 05:01:23 PM |
|
Be creative. Thats the advantage of doing it in notepad by hand like me Oh... please show you work! I'd woud LOVE to see 148 come from 7 bits.
|
|
|
|
Zorg33
Jr. Member
Offline
Activity: 144
Merit: 2
|
|
January 31, 2017, 07:02:04 PM |
|
Be creative. Thats the advantage of doing it in notepad by hand like me Oh... please show you work! I'd woud LOVE to see 148 come from 7 bits. I never said that.
|
|
|
|
dallase
Member
Offline
Activity: 129
Merit: 10
|
|
January 31, 2017, 07:14:30 PM |
|
Be creative. Thats the advantage of doing it in notepad by hand like me Oh... please show you work! I'd woud LOVE to see 148 come from 7 bits. I never said that. So then how do you explain a tRFC of 148
|
|
|
|
niko2004x
Member
Offline
Activity: 126
Merit: 10
|
|
January 31, 2017, 07:54:56 PM |
|
Because it is not 7 bits? This is from linux kernel. #define MC_SEQ_MISC_TIMING_LP__TRP_WRA_MASK 0x3f #define MC_SEQ_MISC_TIMING_LP__TRP_WRA__SHIFT 0x0 #define MC_SEQ_MISC_TIMING_LP__TRP_RDA_MASK 0x3f00 #define MC_SEQ_MISC_TIMING_LP__TRP_RDA__SHIFT 0x8 #define MC_SEQ_MISC_TIMING_LP__TRP_MASK 0xf8000 #define MC_SEQ_MISC_TIMING_LP__TRP__SHIFT 0xf #define MC_SEQ_MISC_TIMING_LP__TRFC_MASK 0x1ff00000 #define MC_SEQ_MISC_TIMING_LP__TRFC__SHIFT 0x14
Surely 0x1ff00000 gives 9 bits? The way i see it, it should be decoded as (highter to lower bits): Bits("unused3", 3), #Unused Bits("TRFC", 9), #Auto-refresh command period - 1 Bits("TRP", 5), #Precharge command period - 1 Bits("unused2", 1), #Unused but defined as 1 Bits("TRP_RDA", 6), #From read with auto-precharge to active - 1 Bits("unused1", 2), #Unused Bits("TRP_WRA", 6), #From write with auto-precharge to active - 1
If so then MISC_TIMING decodes from 1500 hynix strap as unused3 = 0 TRFC = 148 TRP = 9 unused2 = 1 TRP_RDA = 11 unused1 = 0 TRP_WRA = 48
I am more interested why unused2 contains data. Did i miss something?
|
|
|
|
dallase
Member
Offline
Activity: 129
Merit: 10
|
|
January 31, 2017, 09:16:18 PM |
|
Your right, the faster memory requires trfc's over 127, so they have to give more bits to accommodate it. That explains why tcke now finds itself in SEQ_PMG. ---------------------------------------------------------------------------------------------------- Strap (MISC) trfc trp trprda trpwra ---------------------------------------------------------------------------------------------------- MSI-470-Hynix-Stock-1125 111 3 9 40 MSI-470-Hynix-Stock-1250 123 4 10 44 MSI-470-Hynix-Stock-1375 136 4 10 46 MSI-470-Hynix-Stock-1425 141 4 11 47 MSI-470-Hynix-Stock-1500 148 4 11 48 MSI-470-Hynix-Stock-1625 164 5 12 55 MSI-470-Hynix-Stock-1750 173 5 13 57 MSI-470-Hynix-Stock-2000 197 6 15 62 ----------------------------------------------------------------------------------------------------
|
|
|
|
Zorg33
Jr. Member
Offline
Activity: 144
Merit: 2
|
|
January 31, 2017, 11:38:23 PM |
|
your trp is still messed up.
|
|
|
|
dallase
Member
Offline
Activity: 129
Merit: 10
|
|
February 01, 2017, 04:01:57 AM |
|
your trp is still messed up.
sure enough ---------------------------------------------------------------------------------------------------- Strap (MISC) trfc trp trprda trpwra ---------------------------------------------------------------------------------------------------- MSI-470-Hynix-Stock-1125 111 7 9 40 MSI-470-Hynix-Stock-1250 123 8 10 44 MSI-470-Hynix-Stock-1375 136 9 10 46 MSI-470-Hynix-Stock-1425 141 9 11 47 MSI-470-Hynix-Stock-1500 148 9 11 48 MSI-470-Hynix-Stock-1625 164 11 12 55 MSI-470-Hynix-Stock-1750 173 11 13 57 MSI-470-Hynix-Stock-2000 197 13 15 62 ----------------------------------------------------------------------------------------------------
|
|
|
|
Foss
|
|
February 01, 2017, 10:20:03 AM |
|
Share please good straps for 290x elpida bbbg. On zec have 337 H/s, 1050/1500 mHz.
|
BTC: 147kwy3LndX6jkwGC3mU9j6rZMWU8g1Amd DASH: XhR4V6ChnQp7LDWhpArwBMXARxU5LGiq8a ETH: 0xe4b10dff72b58a363a3c8b70e21cfb236e2697c9
|
|
|
maxmad_x
Sr. Member
Offline
Activity: 546
Merit: 250
It takes a lot to build but not much to lose
|
|
February 03, 2017, 04:49:42 PM |
|
|
|
|
|
dallase
Member
Offline
Activity: 129
Merit: 10
|
|
February 03, 2017, 06:29:16 PM |
|
$ ./strap -c trc:60 -c trcdw:13 -c trcdwa:13 -c trrd:5 -c tcl:20 -c tr2w:28 -c tw2r:15 -c trfc:145 -c trprda:11 -c trpwra:46 REGISTER KEY VALUE NEWVALUE RAS trc 61 60 RAS trcdr 20 20 RAS trcdra 20 20 RAS trcdw 14 13 RAS trcdwa 14 13 RAS trrd 6 5 RAS unused1 0 0 CAS tcl 18 20 CAS tnopr 0 0 CAS tnopw 0 0 CAS tr2r 5 5 CAS tr2w 25 28 CAS tw2r 17 15 CAS unused1 2 2 CAS unused2 0 0 CAS unused3 0 0 MISC trfc 148 145 MISC trp 9 9 MISC trprda 11 11 MISC trpwra 48 46 MISC unused1 0 0 MISC unused2 1 1 MISC unused3 0 0 Old Strap => 777000000000000022339D00CE516A3D9055111230CB4409004AE600740114206A8900A002003120150F292F94273116 New Strap => 777000000000000022339D00AD515A3CC0550F142ECB1409004AE600740114206A8900A002003120150F292F94273116
What could possibly go wrong!
|
|
|
|
|