2006-10-27 18:16:17

by Michael Trimarchi

[permalink] [raw]
Subject: arm920t s3c24xx

Hi,
I'm working on an s3c2410 and I notice that in the kernel there is not a
function to read the bus mode of the arm920t. The kernel may fail to
report the correct frequencies of the core to the user level. It can
read the cp15 register to show the core frequency that can be taken from
the amba bus or the flck.

Regards Michael



2006-11-12 13:31:32

by Ben Dooks

[permalink] [raw]
Subject: Re: arm920t s3c24xx

On Fri, Oct 27, 2006 at 08:16:15PM +0200, Michael Trimarchi wrote:
> Hi,
> I'm working on an s3c2410 and I notice that in the kernel there is not a
> function to read the bus mode of the arm920t. The kernel may fail to
> report the correct frequencies of the core to the user level. It can
> read the cp15 register to show the core frequency that can be taken from
> the amba bus or the flck.

This question is best of being asked on the linux-arm-kernel list.

--
Ben ([email protected], http://www.fluff.org/)

'a smiley only costs 4 bytes'

2006-11-12 13:30:58

by Ben Dooks

[permalink] [raw]
Subject: Re: arm920t s3c24xx

On Fri, Oct 27, 2006 at 08:16:15PM +0200, Michael Trimarchi wrote:
> Hi,
> I'm working on an s3c2410 and I notice that in the kernel there is not a
> function to read the bus mode of the arm920t. The kernel may fail to
> report the correct frequencies of the core to the user level. It can
> read the cp15 register to show the core frequency that can be taken from
> the amba bus or the flck.

All the frequencies are reported correctly, as there is no
current reporting of the actual ARM frequency, only the system
clocks, F, H and P.

--
Ben ([email protected], http://www.fluff.org/)

'a smiley only costs 4 bytes'