Problems with syscall adjtimex on Android

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problems with syscall adjtimex on Android

ソリューションへジャンプ
1,875件の閲覧回数
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,469件の閲覧回数
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,470件の閲覧回数
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 件の賞賛
返信