diff options
author | twischer <twischer@freenet.de> | 2020-06-26 11:34:11 +0200 |
---|---|---|
committer | Timo Wischer <twischer@de.adit-jv.com> | 2020-06-26 14:07:43 +0200 |
commit | 6d3638c3f25325eb65ad70b82c1769dbcfb2ab3b (patch) | |
tree | 061ae58ba01c646370d4e466c584b9e09adcc8da | |
parent | 8fa80d1de59fbef14c8d0e80d8d9a62679a6182a (diff) | |
download | Open-AVB-6d3638c3f25325eb65ad70b82c1769dbcfb2ab3b.tar.gz |
Update AVB_Talker_Listener_Example_Setup.md
to be compatible with the moved sPTP source
-rw-r--r-- | documents/examples/AVB_Talker_Listener_Example_Setup.md | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/documents/examples/AVB_Talker_Listener_Example_Setup.md b/documents/examples/AVB_Talker_Listener_Example_Setup.md index 293eb686..4b767e73 100644 --- a/documents/examples/AVB_Talker_Listener_Example_Setup.md +++ b/documents/examples/AVB_Talker_Listener_Example_Setup.md @@ -4,13 +4,20 @@ _Note:_ this tutorial targets a Linux OS. ## Preparation -Fetch the Open-AVB repository. To ease the further steps, enter your local copy +Fetch the Open-AVB repository and the gPTP repository: +```bash +git clone https://github.com/Avnu/OpenAvnu.git +git clone https://github.com/Avnu/gptp.git +``` +To ease the further steps, enter your local copy and export its path and AVB interfaces via ```bash export AVB_PATH=$(pwd) +export GPTP_PATH="$AVB_PATH/../gptp" export AVB_PC1_IF="eth0" export AVB_PC2_IF="eth2" ``` +Build both repositories as described in the README files. Then, you can use a terminal multiplexer like _byobu_ to start all needed AVB tools in different windows. @@ -19,7 +26,7 @@ We assume the following PC setup: * PC2: ethernet eth2 for AVB connection * Both ethernet cards are using the `igb_avb` driver. * Check via `ethtool -i eth0`. - * If not, launch `sudo ./startup.sh eth0` in `kmod/igb` to load the required + * If not, launch `sudo ./startup.sh eth0` in `lib/igb_avb/kmod` to load the required driver for the AVB interface. * Both PCs can ping each other through the AVB network cards. @@ -29,7 +36,7 @@ Start AVB environment: ```bash # GPTP time synchronization daemon -cd "${AVB_PATH}/daemons/gptp/linux/build/obj" +cd "${GPTP_PATH}/linux/build/obj" sudo ./daemon_cl $AVB_PC1_IF -R 1 # Stream reservation daemon (m: MMRP, v: MVRP, s: MSRP) @@ -50,7 +57,7 @@ Start AVB environment similar to PC 1: ```bash # GPTP time synchronization daemon (will synchronize on PC 1) -cd "${AVB_PATH}/daemons/gptp/linux/build/obj" +cd "${GPTP_PATH}/linux/build/obj" sudo ./daemon_cl $AVB_PC2_IF # Stream reservation daemon (m: MMRP, v: MVRP, s: MSRP) |