Other Parts Discussed in Thread: 66AK2G02
Tool/software: Linux
Hi,
My customer was saying the Dhrystone score on CortexA15 working with Processor SDK Linux looked small.
I just tried to boot Linux kernel and matrix app (from Processor SDK Linux 04.03.00.05) on K2G02 EVM and confirmed Dhrystone score :
it seems CPU is running 50Mhz... I also checked /proc/cpuinfo:
root@k2g-evm:~# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 48.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc0f
CPU revision : 4
Hardware : Keystone
Revision : 0000
Serial : 0000000000000000
root@k2g-evm:~#
As you see, No CPU Mhz.... But BogoMIPS indicates 48.0 (this sounds very small number).
I also checked no governor was working in /sys/devices/system/cpu/cpufreq.
I believe A15 is running on Mhz configured in u-boot and actually it was 600Mhz in u-boot stage. I confirmed like this:
--------- u-boot command --------
=> getclk
getclk - get clock rate
Usage:
getclk <clk index>
The indexes for clocks:
0 - core_pll_clk
1 - pass_pll_clk
2 - tetris_pll_clk
3 - ddr3a_pll_clk
4 - ddr3b_pll_clk
5 - sys_clk0_clk
6 - sys_clk0_1_clk
7 - sys_clk0_2_clk
8 - sys_clk0_3_clk
9 - sys_clk0_4_clk
10 - sys_clk0_6_clk
11 - sys_clk0_8_clk
12 - sys_clk0_12_clk
13 - sys_clk0_24_clk
14 - sys_clk1_clk
15 - sys_clk1_3_clk
16 - sys_clk1_4_clk
17 - sys_clk1_6_clk
18 - sys_clk1_12_clk
19 - sys_clk2_clk
20 - sys_clk3_clk
21 - uart_pll_clk
=> getclk 2
clock index [2] - frequency 600000000
In summary, the kernel looked running at 600Mhz, but BogoMIPS and Dhrystone show quite a small numbers. Is this expected behavior ?
Best Regards
NK
PS
This is just a side note; EVM TRM state IP address should be displayed on LCD, but I could not see any IP information when the linux kernel is booted on A15. Is this expected behavior ?