On Fri, 12 May 2000 15:07:14 -0400 (EDT), Nicolas Pitre wrote:
> On Fri, 12 May 2000, Gregor Pogatzki wrote:
>> Is there any Initialization to be done, to make the StrongARM running on full
> 221Mhz clock frequency?
> 
> It is already done.

If you want to check the current speed, get my clock scaling patch from:

  http://www.lart.tudelft.nl/lartware/port/

It is actually designed for the SA-1100 and it _will_ crash a SA-1110 if
you try to change the clock speed, but it's safe to read the current clock
speed. Apply the patch to the (2.3.99-x) kernel, enable clock scaling (as
a module) in the configuration, make modules. Download the module to your
Assabet. Insert it with: "insmod scale.o debug=1". Now check the current
clock speed with "cat /proc/scale"; this will show the current clock
divisor and the current clock speed in MHz. I'm not quite sure if the
clock speed is correct for SA-1110 CPUs, but you can look up the real
speed in the SA-1110 manual. Of course I did not test this, because I
don't have an Assabet...

>> What compiler options should I use to make a program as fast as possible on
> SA-1110?
> 
>   -cpu-strongarm110 -O2

You probably mean -mcpu=strongarm110 ;-). Or use -march=armv4
-mtune=strongarm110, allthough this should generate the same code.

Did somebody already test the new ARM backend from gcc CVS? Does it
generate better code?


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/




unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to