Difference between revisions of "Compile Firmware MS14"

From Wiki for Dragino Project
Jump to: navigation, search
Line 13: Line 13:
 
to build image for ms14
 
to build image for ms14
  
You should be able to get the firmware in bin directory under image directory.
+
You should be able to get the firmware in bin directory under <span CLASS=subtitle>image</span> directory.
 +
 
 +
The <span CLASS=subtitle>./build_image.sh ms14</span> will generated the firmware base on the default <span CLASS=subtitle>.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
 +
The firmware under this build locates in the <span CLASS=subtitle>ms14/bin</span> directory.

Revision as of 20:21, 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.