AnsweredAssumed Answered

Issues about DDR Params

Question asked by tony.l.cai on Sep 17, 2015
Latest reply on Sep 17, 2015 by tony.l.cai

Hi,all,

     I read the values regarding to the MMDC reg. And as is the following:

[  136.455496] ------dump DDR reg------------start---here------ ----------

[  136.462393] addr[f43b0800]:-val[a138abc3]--

[  136.466671] addr[f43b080c]:-val[3f0049]--

[  136.470709] addr[f43b0810]:-val[330039]--

[  136.474737] addr[f43b480c]:-val[19001f]--

[  136.478808] addr[f43b4810]:-val[1f0036]--

[  136.482839] addr[f43b083c]:-val[2400238]--

[  136.486988] addr[f43b0840]:-val[22c022c]--

[  136.491107] addr[f43b483c]:-val[210021c]--

[  136.495222] addr[f43b4840]:-val[2100210]--

[  136.499369] addr[f43b0848]:-val[3e46484a]--

[  136.503575] addr[f43b4848]:-val[44484840]--

[  136.507807] addr[f43b0850]:-val[3a342e30]--

[  136.512011] addr[f43b4850]:-val[3632342c]--

[  136.516239] addr[f43b081c]:-val[33333333]--

[  136.520443] addr[f43b0820]:-val[33333333]--

[  136.524643] addr[f43b0824]:-val[33333333]--

[  136.528868] addr[f43b0828]:-val[33333333]--

[  136.533071] addr[f43b481c]:-val[33333333]--

[  136.537298] addr[f43b4820]:-val[33333333]--

[  136.541501] addr[f43b4824]:-val[33333333]--

[  136.545701] addr[f43b4828]:-val[33333333]--

[  136.549926] addr[f43b08b8]:-val[930000]--

[  136.553955] addr[f43b48b8]:-val[8d0000]--

[  136.558007] addr[f43b0004]:-val[2556d]--

[  136.561950] addr[f43b0008]:-val[333040]--

[  136.566003] addr[f43b000c]:-val[3f4352f3]--

[  136.570206] addr[f43b0010]:-val[b66d8b63]--

[  136.574406] addr[f43b0014]:-val[1ff00db]--

[  136.578543] addr[f43b0018]:-val[40011740]--

[  136.582745] addr[f43b001c]:-val[0]--

[  136.586364] addr[f43b002c]:-val[26d2]--

[  136.590220] addr[f43b0030]:-val[431023]--

[  136.594246] addr[f43b0040]:-val[27]--

[  136.597952] addr[f43b0000]:-val[831a0000]--

[  136.602155] addr[f43b001c]:-val[0]--

[  136.605746] addr[f43b001c]:-val[0]--

[  136.609364] addr[f43b001c]:-val[0]--

[  136.612959] addr[f43b001c]:-val[0]--

[  136.616576] addr[f43b001c]:-val[0]--

[  136.620171] addr[f43b0020]:-val[c000]--

[  136.624023] addr[f43b0818]:-val[22227]--

[  136.627987] addr[f43b4818]:-val[22227]--

[  136.631929] addr[f43b0004]:-val[2556d]--

[  136.635868] addr[f43b0404]:-val[1066]--

[  136.639747] addr[f43b001c]:-val[0]--

[  136.643342] ------dump DDR reg------------finish Now-------------------

 

I didn't motify the params array in busfreq_ddr3.c.  the following params is from my ddr.cfg:

DATA 4,0x021b0800, 0xa1390003

 

 

DATA 4,0x021b080c, 0x003F0049
DATA 4,0x021b0810, 0x00330039
DATA 4,0x021b480c, 0x0019001F
DATA 4,0x021b4810, 0x001F0036

 

DATA 4,0x021b083c, 0x02400238
DATA 4,0x021b0840, 0x022C022C
DATA 4,0x021b483c, 0x0210021C
DATA 4,0x021b4840, 0x02100210

 

DATA 4,0x021b0848, 0x3E46484A
DATA 4,0x021b4848, 0x44484840

 

DATA 4,0x021b0850, 0x3A342E30
DATA 4,0x021b4850, 0x3632342C

 

DATA 4,0x021b081c, 0x33333333
DATA 4,0x021b0820, 0x33333333
DATA 4,0x021b0824, 0x33333333
DATA 4,0x021b0828, 0x33333333
DATA 4,0x021b481c, 0x33333333
DATA 4,0x021b4820, 0x33333333
DATA 4,0x021b4824, 0x33333333
DATA 4,0x021b4828, 0x33333333

 

 

DATA 4,0x021b08b8, 0x00000800
DATA 4,0x021b48b8, 0x00000800

 

DATA 4,0x021b0004, 0x0002002D
DATA 4,0x021b0008, 0x00333040
DATA 4,0x021b000c, 0x3F4352F3
DATA 4,0x021b0010, 0xB66D8B63
DATA 4,0x021b0014, 0x01FF00DB

 

DATA 4,0x021b0018, 0x00011740
DATA 4,0x021b001c, 0x00008000
DATA 4,0x021b002c, 0x000026d2
DATA 4,0x021b0030, 0x00431023
DATA 4,0x021b0040, 0x00000027
DATA 4,0x021b0000, 0x831A0000

 

DATA 4,0x021b001c, 0x02008032
DATA 4,0x021b001c, 0x00008033
DATA 4,0x021b001c, 0x00048031
DATA 4,0x021b001c, 0x15208030

DATA 4, 0x021b001c, 0x04008040

DATA 4,0x021b0020,0x00007800

 

DATA 4,0x021b0818, 0x00022227
DATA 4,0x021b4818, 0x00022227

 

DATA 4,0x021b0004, 0x0002556D
DATA 4,0x021b0404, 0x00011006
DATA 4,0x021b001c, 0x00000000

But you will find the values from the MMDC reg are different from the cfg and params array in busfreq_ddr3.c. So why? And where do all these different values from?

thank you ~

Outcomes