This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6A816x Processor questions



Hi All,

Hopefully someone can advise on these queries - thanks.

1). Other than the readout that you get during booting, how do I confirm what the current ARM processor clock speed is?. Is there a unix command line command?.

2). How do I control the processor clock speed?. I had believed it was just a case of adding 'mpurate=xx' to the boot args although my initial attempts seem to make no difference in performance. As I don't have an answer for the above question, I can't tell whether I've actually managed to change anything. Can someone advise?.

3). Is there a command line option or prog which will show me the current ARM processor usage?. Something equivalent to the Windows task manage is what I'm after.

I've had a good search through the forums and through the pdf documentad for this stuff and haven't unearthed much. Any pointers would be uesful - thanks.

Dave

  • 1) Usually you would run something like "cat /proc/????" where the question marks are what you have to find out yourself by poking around in the /proc folder.

    2) Not sure but you may have to build the kernel with power management options enabled to allow you to change the processor speed on the fly. Then you would do "echo ??? > /proc/???" similar to in 1) in order to change the processor speed.

    3) See 1). Also look through your kernel source tree for a file called "kernel-parameters.txt". This contains the arguments appropriate to your processor.

    Hope that's of some help, The TI people can probably do better.


    Ralph

  • David Moore said:
    Is there a unix command line command?.

    $ cat /proc/cpuinfo

    David Moore said:
    just a case of adding 'mpurate=xx' to the boot args

    This is currently not supported. Since the clk settings are done only in U-Boot, if you want to change the clk speed you need to make appropriate changes in U-Boot.

    David Moore said:
    Is there a command line option or prog which will show me the current ARM processor usage?

    $ top

    This will show the CPU usage, processes running etc.

    Regards,

    Vaibhav

  • Vaibhav Bedia said:

    This is currently not supported. Since the clk settings are done only in U-Boot, if you want to change the clk speed you need to make appropriate changes in U-Boot.

    If I want to get 300MHz clk speed on TI8148, just change MODENA_M from 0x3C to 0x1E in arch/arm/include/asm/arch-ti81xx/clocks_ti814x.h?

    Regards,

    Joe