Loading README.md +20 −9 Original line number Diff line number Diff line Loading @@ -22,39 +22,50 @@ The following STFs were or are currently involved in the evolutions of the ETSI ## Compilation ### Deployment with OpenWrt (e.g. Gl.iNet device) - Step 1: Download the Gl.iNet SDK (see https://github.com/gl-inet/sdk) - Step 1: Update your system ``` apt-get update -y && apt-get upgrade -y apt-get install asciidoc bash bc binutils bzip2 fastjar flex gawk gcc genisoimage gettext git intltool jikespg libgtk2.0-dev libncurses5-dev libssl1.0-dev make mercurial patch perl-modules-5.26 python2.7-dev rsync ruby sdcc subversion unzip util-linux wget xsltproc zlib1g-dev zlib1g-dev time -y ``` - Step 2: Download the Gl.iNet SDK (see https://github.com/gl-inet/sdk) ``` git clone https://github.com/gl-inet/sdk.git gl_sdk cd ./gl_sdk ``` - Step 2: List all available targets. We will use mt300n-v2 (target: ramips-1806) for the Gl.iNet mt300n-v2 Mango - Step 3: List all available targets. We will use mt300n-v2 (target: ramips-1806) for the Gl.iNet mt300n-v2 Mango ``` ./download.sh ./download.sh ramips-1806 ``` - Step 3: Build the SDK for the Gl.iNet Mango - Step 4: Build the SDK for the Gl.iNet Mango ``` ./builder.sh -t ramips-1806 -d ./sdk/1806/ramips ``` - Step 4: Clone the ETSI ITS-bridge OpenWrt package - Step 5: Clone the ETSI ITS-bridge OpenWrt package ``` cd ./sdk/1806/ramips git clone https://forge.etsi.org/rep/plugtests/its-plugtests/its-bridge.git package/its-bridge ./scripts/feeds install libpcap ./scripts/feeds install libmicrohttpd ``` - Step 5: Update the configuration using menuconfig. In Utilites section, it_bridge shall be present, add it in the list of the package to be compiled - Step 6: Update the configuration using menuconfig. In Utilites section, it_bridge shall be present, add it in the list of the package to be compiled ``` make menuconfig ``` - Step 6: Build the its_bridge package - Step 7: Build the its_bridge package ``` make package/its_bridge/compile V=s ``` - Step 7: Install the package on the Gl.iNet mt300n-v2 Mango device -- copy the package ```./bin/packages/mipsel_24kc/base/its_bridge_0.0.1-1_mipsel_24kc.ipk``` to the device using SSH access -- execute ```opkg install its_bridge_0.0.1-1_mipsel_24kc.ipk``` to install the package - Step 8: Install the package on the Gl.iNet mt300n-v2 Mango device -- Step 1: Copy the package to the device using SSH access ``` ./bin/packages/mipsel_24kc/base/its_bridge_0.0.1-1_mipsel_24kc.ipk ``` -- Step 2: Execute the following commands to install the package ``` opkg install its_bridge_0.0.1-1_mipsel_24kc.ipk ``` ### Deployment on Linux box device (e.g. NanoPI R2S) See script/install.sh for a complete installation: Loading Loading
README.md +20 −9 Original line number Diff line number Diff line Loading @@ -22,39 +22,50 @@ The following STFs were or are currently involved in the evolutions of the ETSI ## Compilation ### Deployment with OpenWrt (e.g. Gl.iNet device) - Step 1: Download the Gl.iNet SDK (see https://github.com/gl-inet/sdk) - Step 1: Update your system ``` apt-get update -y && apt-get upgrade -y apt-get install asciidoc bash bc binutils bzip2 fastjar flex gawk gcc genisoimage gettext git intltool jikespg libgtk2.0-dev libncurses5-dev libssl1.0-dev make mercurial patch perl-modules-5.26 python2.7-dev rsync ruby sdcc subversion unzip util-linux wget xsltproc zlib1g-dev zlib1g-dev time -y ``` - Step 2: Download the Gl.iNet SDK (see https://github.com/gl-inet/sdk) ``` git clone https://github.com/gl-inet/sdk.git gl_sdk cd ./gl_sdk ``` - Step 2: List all available targets. We will use mt300n-v2 (target: ramips-1806) for the Gl.iNet mt300n-v2 Mango - Step 3: List all available targets. We will use mt300n-v2 (target: ramips-1806) for the Gl.iNet mt300n-v2 Mango ``` ./download.sh ./download.sh ramips-1806 ``` - Step 3: Build the SDK for the Gl.iNet Mango - Step 4: Build the SDK for the Gl.iNet Mango ``` ./builder.sh -t ramips-1806 -d ./sdk/1806/ramips ``` - Step 4: Clone the ETSI ITS-bridge OpenWrt package - Step 5: Clone the ETSI ITS-bridge OpenWrt package ``` cd ./sdk/1806/ramips git clone https://forge.etsi.org/rep/plugtests/its-plugtests/its-bridge.git package/its-bridge ./scripts/feeds install libpcap ./scripts/feeds install libmicrohttpd ``` - Step 5: Update the configuration using menuconfig. In Utilites section, it_bridge shall be present, add it in the list of the package to be compiled - Step 6: Update the configuration using menuconfig. In Utilites section, it_bridge shall be present, add it in the list of the package to be compiled ``` make menuconfig ``` - Step 6: Build the its_bridge package - Step 7: Build the its_bridge package ``` make package/its_bridge/compile V=s ``` - Step 7: Install the package on the Gl.iNet mt300n-v2 Mango device -- copy the package ```./bin/packages/mipsel_24kc/base/its_bridge_0.0.1-1_mipsel_24kc.ipk``` to the device using SSH access -- execute ```opkg install its_bridge_0.0.1-1_mipsel_24kc.ipk``` to install the package - Step 8: Install the package on the Gl.iNet mt300n-v2 Mango device -- Step 1: Copy the package to the device using SSH access ``` ./bin/packages/mipsel_24kc/base/its_bridge_0.0.1-1_mipsel_24kc.ipk ``` -- Step 2: Execute the following commands to install the package ``` opkg install its_bridge_0.0.1-1_mipsel_24kc.ipk ``` ### Deployment on Linux box device (e.g. NanoPI R2S) See script/install.sh for a complete installation: Loading