Code Monkey home page Code Monkey logo

hackiebox_cfw's Introduction

hackiebox_cfw

Custom firmware for the Toniebox WIP

This firmware is dropped for favour of the new HackieboxNG Custom Firmware project


State of development

The custom bootloader is fully functional. The hackiebox custom firmware itself isn't ready as daily driver yet.

Implemented features:

  • Custom (sd) bootloader
  • Hardware drivers (WiFi, AMP/DAC, RFID reader, accelleration sensor, battery/charger, SD, LEDs)
  • Webinterface with basic CLI and file upload/download
  • JSON configuration file
  • Battery stamina test with csv log
  • Tonie file header decoder
  • WAV player (with cli + by wav file in /rCONTENT//)

Todo

Known bugs

  • WiFi configuration is cleared and replaced with the credentials from the json config

Compiling

Preface

Currently building only works with Windows. Linux doesn't work on a x64 only system. You should prepare the toniebox with the sd bootloader to load the cfw from your sd card.

Prerequisite

Energia

Please install the latest Energia release (1.8.10E23 tested).

CC3200 board library

In addition you need to install the cc3200 board library.

Toniebox board library

Replace the cc3200 board library files with the toniebox-cc3200-core and restart energia. The folder with the boards packages are located at:

Windows

%LOCALAPPDATA%\Energia15\packages\hardware\

Linux

~/.energia15/packages/energia/hardware/

macOS

~/Library/Energia15/packages/hardware/

Additional libraries

SimpleCLI ESP8266Audio ESP8266SAM

Build

Open hackiebox_cfw.ino with energia and build the cfw. Remember the path where the hackiebox.ino.bin is saved. Usally you find it at C:\Users\<User>\AppData\Local\Temp\arduino_build_XXXXXX.

Installation

Preface

It is recommended to have a second copy of the cfw to be able to load the working image and update a broken cfw image over your backup cfw.

Copy to sd

First of all you need to create "/revvox/web" on your sd card (subdir revvox should be already there if you have successfully installed the sd bootloader) and copy over the content of the /web/ directory of this repository. In addition you have to copy your cfw image to your selected slot(s) on the sd card. (ex. "/revvox/boot/pre-img1.bin")

First boot

Reinsert the sd card and run the cfw once. Then shutdown the box again (put the box onto the front where the speaker/tonie logo is and press both ears for 10s). Then remove the sd card again and add your wifi credentials to the created "/revvox/hackiebox.config.json" config file.

Firmware updates

To update the firmware ota you can just use the hackiebox website und the box' ip address. (Expert->File Upload).

Additional information for developers

Keep in mind that connecting the RX Pin of the box to a serial interface blocks the big ear. For reading the log messages it is enough to have the TX Pin only connected (beside GND). Trello Hackiebox Dev Board

hackiebox_cfw's People

Contributors

scilor avatar scubapanks 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.