How can i get memory speed(clock) in imx8mm?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can i get memory speed(clock) in imx8mm?

Jump to solution
207 Views
takeshi100
Contributor III

Hi.

I can't get memory speed with lshw etc...

Is there configuration for getting memory speed? 
Or, Is there any other good tools?

■log
root@XXX:~# lshw -short -C memory
H/W path Device Class Description
===================================================
/0/0/0 memory 32KiB L1 Cache
/0/1/0 memory 32KiB L1 Cache
/0/2/0 memory 32KiB L1 Cache
/0/3/0 memory 32KiB L1 Cache
/0/6 memory 1947MiB System memory
root@XXX:~# lshw -C memory
*-cache
description: L1 Cache
physical id: 0
size: 32KiB
*-cache
description: L1 Cache
physical id: 0
size: 32KiB
*-cache
description: L1 Cache
physical id: 0
size: 32KiB
*-cache
description: L1 Cache
physical id: 0
size: 32KiB
*-memory
description: System memory
physical id: 6
size: 1947MiB
root@XXX:~# dmidecode --type 17
# dmidecode 3.4
# No SMBIOS nor DMI entry point found, sorry.

Best Regards.

0 Kudos
Reply
1 Solution
149 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @takeshi100!

The memory frecuency should be dram_core_clk.

 

Best Regards!

Chavira

View solution in original post

0 Kudos
Reply
4 Replies
188 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @takeshi100!

Thank you for contacting NXP Support!

 

You can use the mxc_clock_test to know the DDR freqency.

That script is on the unit test folder of ourr BSP.

 

https://github.com/nxp-imx/imx-test/tree/8a1fa37664a1e470cf86f1185c08e265e4602a9b/test/mxc_clock_tes...

 

Best Regards!

Chavira

0 Kudos
Reply
173 Views
takeshi100
Contributor III


Hi, Chavira-san.

Thanks for reply.
Is there another way?

 

I'd like to know simpler way.

this way is only that I should refer /sys/kernel/debug/clk/clk_summary. 


■log
/sys/kernel/debug/clk/clk_summary.

root@XXX:/unit_tests/Power_Management# ./dump-clocks-dot.sh

---- Running < dump-clocks-dot.sh > test ----
deprecated!please check /sys/kernel/debug/clk/clk_summary for detailed info
root@XXX:/unit_tests/Power_Management# ./dump-clocks.sh

---- Running < dump-clocks.sh > test ----
deprecated!please check /sys/kernel/debug/clk/clk_summary for detailed info

Best Regards!

0 Kudos
Reply
161 Views
takeshi100
Contributor III

Which is memory speed between dram_pll_out and dram_core_clk? or else?

■log

root@XXX:~# cat /sys/kernel/debug/clk/clk_summary | grep dram
dram_apb 1 1 0 160000000 0 0 50000 Y
dram_alt 0 0 0 100000000 0 0 50000 N
dram_alt_root 0 0 0 25000000 0 0 50000 Y
dram_pll_ref_sel 1 1 0 24000000 0 0 50000 Y
dram_pll 1 1 0 600000000 0 0 50000 Y
dram_pll_bypass 1 1 0 600000000 0 0 50000 Y
dram_pll_out 1 1 0 600000000 0 0 50000 Y
dram_core_clk 1 1 0 600000000 0 0 50000 Y
 

0 Kudos
Reply
150 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @takeshi100!

The memory frecuency should be dram_core_clk.

 

Best Regards!

Chavira

0 Kudos
Reply