Linux build system for Oboo Smart Clock

greenbreakfast 446604514d open sourcing oboo lede source repo 4 лет назад
config 446604514d open sourcing oboo lede source repo 4 лет назад
custom-files 446604514d open sourcing oboo lede source repo 4 лет назад
files 446604514d open sourcing oboo lede source repo 4 лет назад
include 446604514d open sourcing oboo lede source repo 4 лет назад
package 446604514d open sourcing oboo lede source repo 4 лет назад
release 446604514d open sourcing oboo lede source repo 4 лет назад
scripts 446604514d open sourcing oboo lede source repo 4 лет назад
target 446604514d open sourcing oboo lede source repo 4 лет назад
toolchain 446604514d open sourcing oboo lede source repo 4 лет назад
tools 446604514d open sourcing oboo lede source repo 4 лет назад
BSDmakefile 446604514d open sourcing oboo lede source repo 4 лет назад
CHANGELOG.md 446604514d open sourcing oboo lede source repo 4 лет назад
Config.in 446604514d open sourcing oboo lede source repo 4 лет назад
DISCLAIMER.md 446604514d open sourcing oboo lede source repo 4 лет назад
Dockerfile 446604514d open sourcing oboo lede source repo 4 лет назад
LEDE-README.md 446604514d open sourcing oboo lede source repo 4 лет назад
LICENSE 446604514d open sourcing oboo lede source repo 4 лет назад
Makefile 446604514d open sourcing oboo lede source repo 4 лет назад
README.md 446604514d open sourcing oboo lede source repo 4 лет назад
build.sh 446604514d open sourcing oboo lede source repo 4 лет назад
build_info.json 446604514d open sourcing oboo lede source repo 4 лет назад
feeds.conf 446604514d open sourcing oboo lede source repo 4 лет назад
feeds.conf.default 446604514d open sourcing oboo lede source repo 4 лет назад
first.txt 446604514d open sourcing oboo lede source repo 4 лет назад
prepare.sh 446604514d open sourcing oboo lede source repo 4 лет назад
rules.mk 446604514d open sourcing oboo lede source repo 4 лет назад

README.md

Oboo Smart Clock Firmware Build System

This buildsystem for the LEDE Linux distribution has been modified by Onion Corporation to build firmware for the Oboo Smart Clock

Onion Corporation is not responsible for any damage to your device caused by using custom firmware, custom packages, or any other customization activities.

Additional Reading

  • See CHANGELOG.md for a listing of the changes for each firmware version and build
  • See DISCLAIMER.md for Onion’s disclaimer regarding this build system

Prerequisites & System Setup

System requirements for running this build system:

  • Operating System: Linux - Ubuntu 18.04 LTS
  • Storage Space: 20 GB minimum
  • Memory: 4GB RAM minimum
  • CPU: 2 cores minimum

The better the specs of the computer (more CPU cores, more memory) the faster everything will compile. On an 8-core, 16 GB RAM machine the initial compile will take about half an hour.

Required additional software packages:

sudo apt-get update
sudo apt-get install -y \
    build-essential \
    vim \
    git \
    wget \
    curl \
    time \
    subversion \
    build-essential \
    libncurses5-dev \
    zlib1g-dev \
    gawk \
    flex \
    quilt \
    git-core \
    unzip \
    libssl-dev \
    python-dev \
    python-pip \
    libxml-parser-perl \
    default-jdk

Using the Build System

When run, the build system outputs firmware binaries and package files for the Oboo Smart Clock.

To setup and compile the build system, run the following command:

sh build.sh

This will produce:

  • Firmware binaries:
    • Location: bin/targets/ramips/mt7688/
    • For Example: bin/targets/ramips/mt7688/lede-ramips-mt7688-oboo-smart-clock-squashfs-sysupgrade.bin
  • Oboo package files
    • Location: bin/packages/mipsel_24kc/oboo/
    • For Example: bin/packages/mipsel_24kc/oboo/oboo-clock-base_0.0.8-4_mipsel_24kc.ipk

Using the Output Files

Firmware binaries contain an image of the Oboo Smart Clock Linux Operating System. Incorrectly flashing firmware or flashing broken firmware can lead to a bricked device! Proceed with extreme caution! Onion Corporation is not responsible for any damage to your device caused by using custom firmware or packages not built and released by Onion Corporation.

Oboo package files can be installed on Oboo Smart Clock. Transfer the desired *.ipk file to the target Oboo Smart Clock’s filesystem, and use opkg install <IPK NAME HERE> to install/update the package.