User Tools

Site Tools


build_testptp_debian


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
build_testptp_debian [2023/03/08 15:33] – created millerjsbuild_testptp_debian [2024/11/14 02:30] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Build ''testptp'' on Debian ======+====== Build testptp on Debian ======
 Applies to Debian-based distros too. Applies to Debian-based distros too.
  
   - Install build-essential and kernel source <code>sudo apt install linux-source build-essential</code>   - Install build-essential and kernel source <code>sudo apt install linux-source build-essential</code>
   - Decompress kernel source <code>cd /usr/src ;   - Decompress kernel source <code>cd /usr/src ;
-sudo tar -xf linux-source-5.10.tar.xz ; +sudo tar -xf linux-source-5.10.tar.xz</code> 
-cd /usr/src/linux-source-5.10/tools/testing/selftests/ptp</code> +  - Build! <code>cd /usr/src/linux-source-5.10/tools/testing/selftests/ptp ; 
-  - Build! <code>gcc -static testptp.c -o testptp</code>+gcc -static testptp.c -o testptp</code>
   - Optional - install <code>mv testptp /usr/bin/.</code>   - Optional - install <code>mv testptp /usr/bin/.</code>
-  - Test! <code>sudo testptp /dev/ptp0 -c</code>+  - Test! <code>sudo testptp /dev/ptp0 -c 
 +capabilities: 
 +  62499999 maximum frequency adjustment (ppb) 
 +  0 programmable alarms 
 +  2 external time stamp channels 
 +  2 programmable periodic signals 
 +  1 pulse per second 
 +  4 programmable pins 
 +  0 cross timestamping 
 +  0 adjust_phase</code>
build_testptp_debian.1678289586.txt.gz · Last modified: 2024/11/14 02:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki