User Tools

Site Tools


wibed:prep-firm-dev-env

Differences

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

Link to this comparison view

wibed:prep-firm-dev-env [2017/03/14 16:06] (current)
leandro created
Line 1: Line 1:
 +==== Preparing the environment ====
 +
 +In order to compile the Wibed firmware you have to follow this steps:
 +
 +  * Download source code from Wibed-openwrt repository ((https://​redmine.confine-project.eu/​projects/​wibed-openwrt)).
 +    * Read Only: http://​git.confine-project.eu/​wibed/​wibed-openwrt.git
 +    * Read/Write: gitosis@git.confine-project.eu:​wibed/​wibed-openwrt.git
 +<code bash>
 +    $ git clone http://​git.confine-project.eu/​wibed/​wibed-openwrt.git
 +</​code>​
 +
 +  * Set the environment executing the script for it.
 +<code bash>
 +    $ cd wibed-openwrt
 +    $ ./​set_environment.sh [TARGET] # if no target is specified will use default "​ar71xx"​
 +</​code>​
 +
 +  * Compile the whole system.
 +<code bash>
 +    $ make V=99
 +</​code>​
 +
 +--------
 +
 +=== Updating the Wibed-OpenWRT images ===
 +
 +  * In order to get the latest updates from the Wibed repository just '​remake'​ your images with:
 +<code bash>
 +    $ ./​compile.sh
 +    (Provided in the wibed-openwrt folder)
 +</​code>​
 +  * This will feed the repositories in your folder and make new images (factory and system upgrade). With the new image done, you will just need to use this command:
 +<code bash>
 +    In your PC:
 +    $ scp WiBedImageForSysupgrade.bin root@[Your:​Node:​IPv6:​Address%YourInterface]:/​tmp/​NewName.bin
 +    (It is recommended to put the new image binaries in /tmp owing not to have problems with the placement)
 +    ​
 +    In your node:
 +    $ sysupgrade -n WibedImageForSysupgrade.bin
 +    (Wait until node writes the firmware and reboot from 1 to 2 times)
 +</​code>​
 +
  
wibed/prep-firm-dev-env.txt ยท Last modified: 2017/03/14 16:06 by leandro