Giter Club home page Giter Club logo

turing-pi-2-community-edition-firmware's Introduction

About

 _____ _   _ ____  ___ _   _  ____   ____  ___   ___  
|_   _| | | |  _ \|_ _| \ | |/ ___| |  _ \|_ _| |_  \ 
  | | | | | | |_) || ||  \| | |  _  | |_) || |    ) | 
  | | | |_| |  _ < | || |\  | |_| | |  _ / | |   / /  
  |_|  \___/|_| \_|___|_| \_|\____| |_|   |___| |___| 
Community Updates by DhanOS

This is an UNOFFICIAL build of the Turing Pi 2 firmware. Created as a fork of the original Turing Pi 2 firmware. The aim for this project is to add the most wanted functionalities before the new official firmware is being created.

Even if it's generally safe to use this firmware, I must mention that you are using it on your own risk. Neither TURING MACHINES INC. nor me are not responsible for any possible damage made by this firmware.

While this is never necessary, if you like my work, you can consider buying me a coffee and keep me fueled for longer :)


Changelog and TODO:

The full changelog and TODO can be found on the changelog page.

The most important changes:

  • Add SSH root logins
  • Set static MAC address (12:34:56:78:9A:BC)
  • Add ntp and ntpd (automatic time synchronization from the internet)
  • Add login/password protection to the webpanel
  • Add an ability to set the MAC address read from the SD card
  • Add an ability to set the IP address read from the SD card
  • Synhcronize the hardware clock when the system clock is being set
  • Fix possible buffer-overflow errors found in the firmware
  • Add timezone settings for the time to be set correctly

Installing the firmware

The easiest way to install the firmware is to download the swu file from the latest release and upgrade it through the web panel:

In general, the upgrade process is the same as with the original fimrmware and the more detailed instructions can be found in the Turing Pi documentation.


Compiling the firmware

You can compile the formware on your own and the steps to follow are similar to the steps to compile the original firmware.

Install the necessary dependent packages

sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lib32z1 lib32z1-dev lib32stdc++6 libstdc++6 libncurses-dev u-boot-tools mkbootimg -y

build

cd buildroot
make   BR2_EXTERNAL="../br2t113pro"  100ask_t113-pro_spinand_core_defconfig
make cjson-rebuild
make V=1

//update config  //Only once
cd ../
cp bmc4tpi/config/sun8iw20p1* buildroot/output/build/linux-5112fdd843715f1615703ca5ce2a06c1abe5f9ee/arch/arm/boot/dts/
cp bmc4tpi/config/kernelconfig buildroot/output/build/linux-5112fdd843715f1615703ca5ce2a06c1abe5f9ee/.config
cp bmc4tpi/config/swupdateconfig buildroot/output/build/swupdate-2021.11/.config
cp bmc4tpi/swupdate/sw-description buildroot/output/images/
cp bmc4tpi/swupdate/genSWU.sh buildroot/output/images/
cp bmc4tpi/swupdate/env0.fex buildroot/output/images/
cp bmc4tpi/swupdate/env1.fex buildroot/output/images/

//rebuild 
cd buildroot
make linux-rebuild
make swupdate-rebuild

make V=1

//build swu
cd output/images/
./genSWU.sh

//generate the images
cd ../../../
./mkfw.sh

turing-pi-2-community-edition-firmware's People

Contributors

daniel-kukiela avatar rayrrr avatar wenyi0421 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

turing-pi-2-community-edition-firmware's Issues

BUG: when turning all nodes off via the API, this does not turn off the PSU with the last node.

Issue

Whenever the nodes are turned off via the API (either via web interface or tpi), the PSU still remains on. This results in anything (fans, HDDs, etc) powered by it, except for the nodes, to remain active.

Steps to reproduce

  1. Plug a fan into the board
  2. Power on the nodes (any method)
  3. Power off the nodes using the API (either tpi or web interface)
    a. Fan remains on.

Desired solution

The PSU is powered off when nodes are powered off

Workarounds

Turning the nodes off via key1 works as expected (PSU is powered off with the last node).

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.