Giter VIP home page Giter VIP logo

grandhsu / bpi-w2-bsp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bpi-sinovoip/bpi-w2-bsp

0.0 1.0 0.0 504.49 MB

Supports Banana Pi BPI-W2 (RTD1296) (Kernel 4.9.119)

Makefile 0.34% Shell 0.11% C 90.97% Assembly 2.47% C++ 4.21% Objective-C 0.86% Perl 0.18% Awk 0.01% Python 0.14% GDB 0.01% sed 0.01% Yacc 0.02% Lex 0.01% UnrealScript 0.01% SmPL 0.01% Gherkin 0.01% XS 0.02% Perl 6 0.01% Roff 0.65% Clojure 0.01%

bpi-w2-bsp's Introduction

BPI-W2-bsp

Overview

This project is for banana-pi W2 board, including U-boot 2015.7 and Linux Kernel 4.9.119.

How to build both U-boot and Linux kernel

Get the docker image from Sinovoip Docker Hub , Build the source code with this docker image to avoid environment issues.

  1. Clone this code to a host PC on which the Ubuntu 16.04 is installed
  2. Run script build.sh
./build.sh
  1. Select 1 to build both uboot and kernel
  2. Both new uboot and kernel will be generated in folder SD when it completes

How to update both u-boot and Linux kernel

If you don't have tools for banana-pi products, please run below commands to install them:

apt-get install pv
curl -sL https://github.com/BPI-SINOVOIP/bpi-tools/raw/master/bpi-tools | sudo -E bash
  1. Install SD card to this host PC, please ensure image(Ubuntu, Debian, ...) is installed on this SD card
  2. Enter folder SD which is generated after building
  3. Run below command to update u-boot and Linux kernel
bpi-update -c bpi-w2.conf -d /dev/sdX
or
bpi-update -d /dev/sdX

and update u-boot (if changed or first time)

bpi-bootsel 100MB/BPI-W2-720P-2k.img.gz /dev/sdX
  1. After it completes, move SD to W2 board
  2. Press power button to activate this board

How to install images on SD card

  1. Downloading image for W2 board from http://forum.banana-pi.org/c/Banana-pi-BPI-W2/BPI-W2-image
  2. Running below command to burn this image to SD card which must be larger than 8GB
bpi-copy <image file> /dev/sd<drive letter>

Example: bpi-copy ubuntu.img /dev/sdf
  1. Install this SD to W2 board
  2. Press power button a few seconds to activate this board. The default baud rate of serial port is 115200, the default username/password are root/bananapi

bpi-w2-bsp's People

Contributors

bpi-sinovoip avatar dangku avatar jackzengbpi avatar

Watchers

 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.