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.
Solved! Go to Solution.
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.
Best Regards!
Chavira
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!
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