Giter VIP home page Giter VIP logo

panguiquan / openwrt-bb-1407 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dragino/openwrt-bb-1407

0.0 0.0 0.0 8.97 MB

Experimental code base on Barrier Breaker 14.07

Shell 10.62% Roff 0.01% HTML 6.53% JavaScript 0.62% CSS 0.62% Makefile 23.34% Lua 15.98% Perl 0.82% C 23.53% Awk 0.01% C# 0.42% Java 0.48% Visual Basic 0.32% Lex 0.07% Yacc 0.14% ApacheConf 0.01% M4 7.63% PHP 1.86% C++ 7.01% Vim Script 0.01%

openwrt-bb-1407's Introduction

Experimental code base on Barrier Breaker 14.07

IoT Mesh -- A Generic OpenWrt Version with mesh, IoT, VoIP support for Dragino Devices.

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

The user manual of this version can be found at IoT Mesh Online Manual.

There is another Arduino Yun Alike firmware version. With the source in this link

Difference between these two firmware can be found difference between IoT Mesh and Dragino Yun firmware

How to compile the image?

Below procedure are basic on a Ubuntu 14.04 machine.

git clone https://github.com/dragino/openwrt-bb-1407.git dragino2-BB-IoT
cd dragino2-BB-IoT
./set_up_build_enviroment.sh
#build default IoT App on barrier_breaker directory
./build_image.sh -a IoT

After complination, the images can be found on dragino2-BB-IoT/image folder. The folder includes:

  • openwrt-ar71xx-generic-dragino2-kernel.bin kernel files, for upgrade in u-boot
  • openwrt-ar71xx-generic-dragino2-rootfs-squashfs.bin rootfs file, for upgrade in u-boot
  • openwrt-ar71xx-generic-dragino2-squashfs-sysupgrade.bin sysupgrade file, used for web-ui upgrade
  • md5sum md5sum for above files

More build option can be viewed by running:

./build_image.sh -h

How to debug if build fails?

./build_image.sh -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:

./build_image.sh -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

openwrt-bb-1407's People

Contributors

dragino avatar dimitarpenev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.