Difference between revisions of "Compile Firmware MS14"

From Wiki for Dragino Project
Jump to: navigation, search
Line 23: Line 23:
 
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 (build directory) to select their preferable modules and 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 (build directory) to select their preferable modules and build the firmware:  
 
  make menuconfig
 
  make menuconfig
Select the moduels and then
+
Select modules and then
 
  make -j8
 
  make -j8
 
The firmware generated in this build process will locates in the <span CLASS=greentext>ms14/bin</span> directory. User can move to the new .config to the source directory and rename it to .config.IoT to use the  <span CLASS=greentext>./build_image.sh ms14</span> command.
 
The firmware generated in this build process will locates in the <span CLASS=greentext>ms14/bin</span> directory. User can move to the new .config to the source directory and rename it to .config.IoT to use the  <span CLASS=greentext>./build_image.sh ms14</span> command.

Revision as of 19:49, 29 July 2014

Below are tested under Ubuntu 10.04.


Get source code from Github

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


Set up build environment

cd dragino2
./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.


Customized Selected Modules

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 (build directory) to select their preferable modules and build the firmware:

make menuconfig

Select modules and then

make -j8

The firmware generated in this build process will locates in the ms14/bin directory. User can move to the new .config to the source directory and rename it to .config.IoT to use the ./build_image.sh ms14 command.