Giter VIP home page Giter VIP logo

openwrt-ckt-feeds's Introduction

openwrt-ckt-feeds

Feeds for CreatorKit packages.

Package Description
button-gateway Button gateway is an application running on Ci40 which acts as a gateway for MikroE boards.
button-led-controller Button-Led controller is an application for controlling LED on Ci40 as per button-press on Clicker boards.
motion-led-controller Motion-Led controller is an application running on Ci40 which controls the LED based on the motion sensor events from MikroE board.
device-manager Device manager is an application for provisioning devices with access details for FlowCloud.
libflow Binary package for FlowLibraries.
webscripts Webscripts to provision Gateway and Constrained devices.
Command Description
$ ./scripts/feeds/install device-manager Install only the package device-manager

Building CreatorKit packages using pre-compiled OpenWrt SDK for Ci40 (Marduk):

  1. First download the latest SDK from https://downloads.creatordev.io/pistachio/marduk/ e.g. say OpenWrt-SDK-0.9.4-pistachio-marduk_gcc-5.2.0_musl-1.1.11.Linux-x86_64.tar.bz2 is the latest SDK available.

  2. Extract the SDK and go to the extracted folder.

       tar -xjvf OpenWrt-SDK-0.9.4-pistachio-marduk_gcc-5.2.0_musl-1.1.11.Linux-x86_64.tar.bz2
       cd OpenWrt-SDK-0.9.4-pistachio-marduk_gcc-5.2.0_musl-1.1.11.Linux-x86_64.tar.bz2
    
  3. Check whether the feeds.conf.default file has an entry of https://github.com/CreatorKit/openwrt-ckt-feeds.git

  4. Update all the feeds and install the required one from openwrt-ckt-feeds. e.g. if you want to install just button-led-controller then

       ./scripts/feeds update -a
       ./scripts/feeds install button-led-controller
    
  5. You can build just the specific package as

       make package/button-led-controller/compile
    
  6. Once the package is built successfully, it's .ipk files are generated in the bin/pistachio directory.

  7. To copy the .ipk files on to the Ci40 board which is running the CreatorDev/openwrt image, you can either scp them or first copy them on a USB stick, connect the stick to the board, mount it and copy the files in /tmp folder.

  8. You can install the ipk by using

       root@OpenWrt:/# opkg install /tmp/button-led-controller_HEAD-1_pistachio.ipk
    
  9. However, please note that if a package requires some dependent packages, then those need to be installed first, only then a package can be installed using opkg. Since SDK is a stripped down version, Package.gz is not getting generated and opkg update would fail.

  10. e.g. if you want change something in say "button-led-controller", then it would be good to install the default "button-led-controller" using opkg on the Vanila CreatorDev/Openwrt image first. i.e.

      root@OpenWrt:/# opkg update
      root@OpenWrt:/# opkg install button-led-controller
    
  11. Now,to install your own version of "button-led-controller", you can remove the default version (it will keep intact the dependent packages though) and install your version.

      root@OpenWrt:/# opkg remove
      root@OpenWrt:/# opkg install /tmp/button-led-controller_HEAD-1_pistachio.ipk
    

You can follow this approach for building any other packages using OpenWrt SDK. 12. For more details about how to use openwrt sdk please refer https://wiki.openwrt.org/doc/howto/obtain.firmware.sdk

openwrt-ckt-feeds's People

Contributors

nikhil-zinjurde-imgtec avatar mayank-sirotiya-imgtec avatar rahul-daga-imgtec avatar pratik-prajapati-imgtec avatar manohar-narkhede-imgtec avatar avinash95 avatar mar3kk avatar

Watchers

James Cloos avatar  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.