Giter VIP home page Giter VIP logo

jchodakowski / bmc-firmware Goto Github PK

View Code? Open in Web Editor NEW

This project forked from turing-machines/bmc-firmware

0.0 0.0 0.0 18.46 MB

Turing-pi BMC firmware

Shell 4.93% JavaScript 4.59% C++ 0.66% Python 10.66% Perl 0.59% C 6.53% Arc 0.04% Java 0.04% Lua 0.17% Tcl 0.13% Forth 0.02% CSS 4.93% Gnuplot 0.01% Makefile 51.67% HTML 14.50% CMake 0.07% Batchfile 0.17% Yacc 0.21% Lex 0.08% SMT 0.01%

bmc-firmware's Introduction

Official Turing Pi BMC firmware

GitHub Workflow Status

Welcome to the new home of the Turing Pi firmware. The Turing Pi is a compact AI & edge computing cluster purposed to run cloud stacks and AI inference at the edge. Find out more on our website.

Wenyi0421 Repository

The Wenyi0421 repository was formerly used for firmware development. We have decided to branch off and commit our fresh inputs to this repository, which implies that we will gradually phase out the Wenyi0421 repository. Currently, we are working towards a first release, which will land here soon.

BMC chip specs

  • CPU Allwinner T113-S3 (ARM Cortex-A7)
  • 128 MB DDR3 RAM
  • 1 GB SPI NAND flash (MX35LF1GE4AB)
  • EEPROM (24C02C)
  • 3 port Gigabit Ethernet Switch (RTL8370MB)
  • Ethernet PHYceiver (RTL8201F-VB-CG)
  • SD card slot
  • Buildroot SDK 2023.02.1
    • Linux 5.4
    • Linaro GCC 7.2
    • U-boot bootloader

Install firmware

There are two ways to upgrade the firmware on your current board.

  1. Using the PhoenixSuit. It allows you to write an entire new image to the board.
  2. Using an OTA package. This package can be uploaded to the board via the web UI. (This method does not update the kernel).

The required images can be found in one of our release packages. get the latest here.

On our website you can find an elaborate manual on performing an update using both methods.

Setup build environment

Using Docker

In the root of our repository there is a dockerfile which can be used to build a development container. It has all the dependencies needed to build the firmware. We recommend to go through the official docker documentation. But if you want to quickly build and run it, execute the following commands in the root of your repository:

# build the docker image
docker build . -t tp_container

# open the docker container
docker run -it -v $PWD:$PWD --workdir $PWD tp_container

Natively

Currently, only X86 Linux build hosts are supported. They are required to have the following packages installed:

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

To build the firmware image manually, execute the following command:

cd buildroot
make BR2_EXTERNAL=../tp2bmc tp2bmc_defconfig
make

To package up a swu (for OTA update via webui):

cd output/images/
cp -a ../../../tp2bmc/swupdate/* .
./genSWU.sh 1.0.0

bmc-firmware's People

Contributors

0xs10 avatar caspermeijn avatar cfsworks avatar defect avatar grhawk avatar petermcd avatar randomblock1 avatar rayrrr avatar ruslashev avatar svenrademakers avatar wenyi0421 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.