Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit de092b8 Mar 5, 2019

IoT Mesh & Yun Build for Dragino Devices -- Base on Chaos Calmer 15.05

This repository is a generic OpenWrt version from Dragino devices such as: MS14, HE, LG01,OLG01 and Yun Shield.

User manual of this version for IoT Build IoT Mesh Online Manual.

User manual of this version for Yun Build Yun Build Online Manual

How to compile the image?

git clone openwrt-cc-15.05
cd openwrt-cc-15.05
#build default IoT App on openwrt directory
./ -a IoT

#build default Yun App on openwrt directory
./ -a yun

After complination, the images can be found on openwrt-cc-15.05/image folder. The folder includes:

  • dragino-xxx--vxxxx-kernel.bin kernel files, for upgrade in u-boot
  • dragino-xxx--vxxxx-rootfs-squashfs.bin rootfs file, for upgrade in u-boot
  • dragino-xxx--vxxxx-squashfs-sysupgrade.bin sysupgrade file, used for web-ui upgrade
  • md5sum md5sum for above files

More build option can be viewed by running:

./ -h

How to debug if build fails?

./ -a yun -s

Above commands will enable verbose and build in single thread to get a view of the error during build.

How to customized a build?

As a example, if user want to customize a build named mybuild. mybuild include different packages and default files from the default build. User can do as below: To customize the packages

cd barrier_breaker
# run make menuconfig to select the packages and save
make menuconfig
#Copy the new config to TOP dir and rename it to .config.mybuild
cp .config .config.mybuild

To customize default files

#create default files in TOP dir
mkdir files-mybuild
#put files into this directory. 
#for example, if user want the final build has a default config file /etc/config/network. user can 
#put /etc/config/network into the files-mybuild directory (include directory /etc and /etc/config)

Then run the customzied build by running:

./ -a mybuild

The build process will auto overwrite the default files or pacakges with the customized one. User can customize only default files or pacakges. The build will use the default from IoT build if not specify.

Have Fun!

Dragino Technology

You can’t perform that action at this time.