Hello
I think my custom AM3358 board is not running at max speed, it runs @ 199 BogoMIPS, but I've seen logs in this forum with 500 and even more than 700 BogoMIPS. Moreover I had DDR3 RAM @303MHz and it run @298 BogoMIPS, but now I have tuned DDR3 @ 400MHz and now it runs slower.
root@am335x-evm:~# cat /proc/cpuinfo Processor : ARMv7 Processor rev 2 (v7l) BogoMIPS : 199.06 Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc08 CPU revision : 2 Hardware : am335xevm Revision : 0000 Serial : 0000000000000000
- TI's SDK demo videos do not play at actual speed (~25s instead of ~18s)
- There is a warning when Linux boots:
[ 0.000000] Linux version 3.2.0-g5dc5573-dirty (user@ubuntu-sitara) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #141 PREEMPT Thu Jan 23 15:51:26 CET 2014 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: am335xevm [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] AM335X ES1.0 (sgx neon ) [ 0.000000] ------------[ cut here ]------------ [ 0.000000] WARNING: at arch/arm/mach-omap2/clkt_clksel.c:194 omap2_clksel_recalc+0xc8/0x134() [ 0.000000] clock: Could not find fieldval 0 for clock dpll_core_m6_ck parent dpll_core_x2_ck [ 0.000000] Backtrace: [ 0.000000] [<c0017e3c>] (dump_backtrace+0x0/0x10c) from [<c040c938>] (dump_stack+0x18/0x1c) [ 0.000000] r6:c0030fdc r5:00000009 r4:c05e1e78 r3:00000000 [ 0.000000] [<c040c920>] (dump_stack+0x0/0x1c) from [<c003f7b0>] (warn_slowpath_common+0x50/0x68) [ 0.000000] [<c003f760>] (warn_slowpath_common+0x0/0x68) from [<c003f834>] (warn_slowpath_fmt+0x38/0x40) [ 0.000000] r8:80000200 r7:c0658024 r6:00000000 r5:c05f40b8 r4:00000000 [ 0.000000] r3:00000009 [ 0.000000] [<c003f7fc>] (warn_slowpath_fmt+0x0/0x40) from [<c0030fdc>] (omap2_clksel_recalc+0xc8/0x134) [ 0.000000] r3:00000000 r2:c04b18ec [ 0.000000] [<c0030f14>] (omap2_clksel_recalc+0x0/0x134) from [<c0034c64>] (propagate_rate+0x34/0x54) [ 0.000000] r6:c065805c r5:c05f3fb8 r4:c05f40b8 [ 0.000000] [<c0034c30>] (propagate_rate+0x0/0x54) from [<c0034c70>] (propagate_rate+0x40/0x54) [ 0.000000] r5:c05f3f5c r4:c05f3fa4 [ 0.000000] [<c0034c30>] (propagate_rate+0x0/0x54) from [<c0034c70>] (propagate_rate+0x40/0x54) [ 0.000000] r5:c05f3ea4 r4:c05f3f48 [ 0.000000] [<c0034c30>] (propagate_rate+0x0/0x54) from [<c0034c70>] (propagate_rate+0x40/0x54) [ 0.000000] r5:c05f3d90 r4:c05f3e90 [ 0.000000] [<c0034c30>] (propagate_rate+0x0/0x54) from [<c0034e44>] (recalculate_root_clocks+0x40/0x58) [ 0.000000] r5:c0602928 r4:c05f3d7c [ 0.000000] [<c0034e04>] (recalculate_root_clocks+0x0/0x58) from [<c0527c40>] (am33xx_clk_init+0x84/0xa0) [ 0.000000] r5:c05f3c0c r4:c05f3c0c [ 0.000000] [<c0527bbc>] (am33xx_clk_init+0x0/0xa0) from [<c0527988>] (omap3xxx_clk_init+0xe0/0x314) [ 0.000000] r5:c086f840 r4:00003517 [ 0.000000] [<c05278a8>] (omap3xxx_clk_init+0x0/0x314) from [<c0521738>] (am33xx_init_early+0x3c/0x40) [ 0.000000] r7:c0658024 r6:c065805c r5:c086f840 r4:c0547c7c [ 0.000000] [<c05216fc>] (am33xx_init_early+0x0/0x40) from [<c051df60>] (setup_arch+0x714/0x804) [ 0.000000] [<c051d84c>] (setup_arch+0x0/0x804) from [<c051a5a4>] (start_kernel+0x78/0x2f4) [ 0.000000] [<c051a52c>] (start_kernel+0x0/0x2f4) from [<80008040>] (0x80008040) [ 0.000000] r6:c05490e8 r5:c05e2084 r4:10c53c7d [ 0.000000] ---[ end trace 1b75b31a2719ed1c ]--- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
Why do I get this warning?, why does my board (DDR3@400MHz) run slower than my AM335x-EVM (DDR2)?, how can I config AM3358 and DDR3 to run at max speed?. I already tuned DDR3 and I think it is correctly configured by u-boot.
Thank you in advance