Commit a9eb59d5 authored by Yann Garcia's avatar Yann Garcia
Browse files

Update README.md

parent e53eea17
Loading
Loading
Loading
Loading
+11 −10
Original line number Original line Diff line number Diff line
@@ -27,17 +27,20 @@ The following STFs were or are currently involved in the evolutions of the ETSI
apt-get update -y && apt-get upgrade -y
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
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)
- 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
git clone https://github.com/gl-inet/sdk.git gl_sdk
cd ./gl_sdk
cd ./gl_sdk
```
```

- Step 3: 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
./download.sh ramips-1806
./download.sh ramips-1806
```
```
- Step 4: Build the SDK for the Gl.iNet Mango

- Step 4 (optional): Build the SDK for the Gl.iNet Mango
```
```
./builder.sh -t ramips-1806 -d ./sdk/1806/ramips
./builder.sh -t ramips-1806 -d ./sdk/1806/ramips
```
```
@@ -46,24 +49,22 @@ cd ./gl_sdk
```
```
cd ./sdk/1806/ramips
cd ./sdk/1806/ramips
git clone https://forge.etsi.org/rep/plugtests/its-plugtests/its-bridge.git package/its-bridge
git clone https://forge.etsi.org/rep/plugtests/its-plugtests/its-bridge.git package/its-bridge
./scripts/feeds install libpcap
./scripts/feeds install libpcap libmicrohttpd
./scripts/feeds install libmicrohttpd
```
- 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
make package/its_bridge/compile V=s
```
```
- Step 8: Install the package on the Gl.iNet mt300n-v2 Mango device

- Step 7: Install the package on the Gl.iNet mt300n-v2 Mango device
-- Step 1: Copy the package to the device using SSH access
-- 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
scp ./bin/packages/mipsel_24kc/base/its_bridge_0.0.1-1_mipsel_24kc.ipk root@192.168.8.1:/root
```
```
-- Step 2: Execute the following commands to install the package
-- Step 2: Execute the following commands to install the package
```
```
ssh root@192.168.8.1
opkg install its_bridge_0.0.1-1_mipsel_24kc.ipk
opkg install its_bridge_0.0.1-1_mipsel_24kc.ipk
```
```