Difference between revisions of "Compile Firmware MS14"

From Wiki for Dragino Project
Jump to: navigation, search
Line 14: Line 14:
  
 
You should be able to get the firmware in bin directory under <span CLASS=greentext>image</span> directory.
 
You should be able to get the firmware in bin directory under <span CLASS=greentext>image</span> directory.
 +
 +
 +
  
 
The <span CLASS=greentext>./build_image.sh ms14</span> will generated the firmware base on the default <span CLASS=greentext>.config</span> file. If user has changed the package selection. they can run below command in the ms14 directory to build the firmware:  
 
The <span CLASS=greentext>./build_image.sh ms14</span> will generated the firmware base on the default <span CLASS=greentext>.config</span> file. If user has changed the package selection. they can run below command in the ms14 directory to build the firmware:  
 
  make -j8
 
  make -j8
 
The firmware under this build locates in the <span CLASS=greentext>ms14/bin</span> directory.
 
The firmware under this build locates in the <span CLASS=greentext>ms14/bin</span> directory.

Revision as of 20:22, 2 June 2014

The compile is base on Linux machine.

Get source code from Github:

git clone https://github.com/dragino/dragino2.git dragino2


cd into the source directory. Set up build environment,

./set_up_build_enviroment.sh ms14

Build image:

./build_image.sh ms14

to build image for ms14

You should be able to get the firmware in bin directory under image directory.



The ./build_image.sh ms14 will generated the firmware base on the default .config file. If user has changed the package selection. they can run below command in the ms14 directory to build the firmware:

make -j8

The firmware under this build locates in the ms14/bin directory.