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