Problems with syscall adjtimex on Android

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Problems with syscall adjtimex on Android

跳至解决方案
1,447 次查看
christianköstli
Contributor I

we ported an open source implementation of ptp-v2 (http://code.google.com/p/ptpv2d/) to the android sabre-sd platform.

the same code runs good between two desktops or one desktop and a raspberry pi.

running on the sabre board we get very bad timing values:

- to adjust the clock in linux the program uses settimeofday to adjust big differences,

- and the syscall adjtimex, with modes ADJ_FREQUENCY to fine tune the frequency of the kernel clock (which we had to add to android libc).

we are no kernel experts and are wondering if adjtimex works as expected on this board/kernel.

do you have experience with ptp and or the clock behavior on the sabre-sd board in linux or android?

regards

christian

p.s.: we are using your android sdk 13.4


标签 (2)
0 项奖励
回复
1 解答
1,041 次查看
daiane_angolini
NXP Employee
NXP Employee

I don´t know enough regarding ptp-v2 or adjtimex, but in my point of view, you cannot compare desktop or raspberry pi power management strategies with imx6 sabre sd.

It looks like adjtimex will change core clock/voltage in order to test something (or even get measurements), but you cannot set any clock value, as I know (you can choose between a range, or some values).

Could you, please, detail the clock behavior you´ve been expecting from imx6 sd?

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,042 次查看
daiane_angolini
NXP Employee
NXP Employee

I don´t know enough regarding ptp-v2 or adjtimex, but in my point of view, you cannot compare desktop or raspberry pi power management strategies with imx6 sabre sd.

It looks like adjtimex will change core clock/voltage in order to test something (or even get measurements), but you cannot set any clock value, as I know (you can choose between a range, or some values).

Could you, please, detail the clock behavior you´ve been expecting from imx6 sd?

0 项奖励
回复