Banana pi BPI-M3 A83T octa-core single board comp
  • Initial page
  • LANGS
  • Banana Pi BPI-M3
    • Banana pi BPI-M3 octa-core development board
    • Summary
    • BPI-M3 WIFI interface
    • BPI-M3 Validation test
    • bpi-bootsel commond
    • BPI-M3 3.5 音频接口
    • BPI-M3 quality guarantee
    • BPI-tools
    • BPI-M3 WiringPi
    • How to setup docker env. to build github source code
    • linux_for_kernel_34
    • BPI-M3 GigE RJ45 LAN
    • BPI-M3 software
    • BPI-M3 CE,FCC RoHS Certification
    • All Banana Pi SBC Comparison
    • BPI-M3 SATA interface
    • GPU for kernel 3.4
    • BPI-M3 3.7 V lithium battery interface
    • BPI-M3 schematic diagram
    • BPI-M3 CSI camera interface
    • BPI-M3 Audio microphone interface
    • How to burn Linux image to eMMC
    • android_software
    • BPI-M3 micro SD card slot
    • BPI-M3 OTG interface
    • BPI-M3 USB interface
    • BPI-M3 DC Power interface
    • BPI-M3 MIPI DSI interface
    • linux-sunxi wiki
    • Linux software
    • A83T Linux-sunxi wiki
    • BPI-M3 eMMC flash
    • how_to_burn_android_image_to_emmc
    • BPI-M3 DXF and 3D design
    • BPI-M3 WIFI Lab test
    • how to use fatload uEnv.txt & script.bin & kernel uImage
    • BPI-M3 IR interface
    • BPI-M3 HDMI interfact
    • BPI-M3 online video
    • bpi-bootsel commond
    • BPI-M3 GPIO Pin define
    • BPI-M3 How to control GPIO on Android
    • OpenWRT on banana pi
    • Reference documents
    • Allwinner chip documents
    • BPI-M3 hardware spec
    • BPI-M3 wifi antenna slot
    • BPI-M3 fix rootmydevice issue for Security Alert
    • BPI-M3 bluetooth interface
    • BPI-M3 mainline kernel
    • BPI-M3 source code on github
    • BPI-M3 Quick Start
    • How to rotate display screen
    • Linux mainlining effort
    • BPI-M3 BSP Cross Compile teach
    • BPI-M3 hardware interface
    • Banana pi wikipedia wiki
    • mainline Linux
    • mainline uboot
  • Banana Pi BPI-M3
    • Banana pi wikipedia wiki
    • a83t-datasheet-and-user-manua
    • Summary
    • bpi-copy command
    • android_software
    • android-51-development-document
    • All Banana Pi SBC Comparison
    • A83T Linux-sunxi wiki
    • All banana pi product
    • Allwinner chip documents
    • bpi-bootsel commond
    • bpi-bootsel commond
    • BanaNAS-Nas server based on Debian Jessie
  • Getting Started with M3 - Banana Pi Wiki
Powered by GitBook
On this page

Was this helpful?

  1. Banana Pi BPI-M3

How to setup docker env. to build github source code

PreviousBPI-M3 WiringPiNextlinux_for_kernel_34

Last updated 5 years ago

Was this helpful?

how to setup docker env. to build banana pi github source code

step 1: install docker

step 2: docker run

$ docker run -d -p 2222:22 -v /media:/media sinovoip/bpi-build:ubuntu12.04

on your host

$ ssh -p 2222 root@127.0.0.1 //default passwd is root

or (with --privileged can use /dev/loop for create img)

$ docker run -d -p 3333:22 --privileged -v /media:/media sinovoip/bpi-build:ubuntu12.04

$ ssh -p 3333 root@127.0.0.1 //default passwd is root

step 3: git clone

# cd /media/XXX/your-source
# git clone https://github.com/BPI-SINOVOIP/BPI-M3-bsp.git

step 4: build

# ./build.sh

how to create your own env. to build the code

step 2: vi Dockerfile

step 3. vi build.sh

step 4: ./build.sh

why use docker env. to build banana pi source code 1. allwinner tools needs ubuntu12.04 with ia32-libs ... 2. user maybe use ubuntu 12.04 or 14.04 and newer like 16.04, the docker env. the same, even other linux like fedora opensuse archlinux ...., or other os like macos , windows ... 3. build BPI-Mx-bsp env. than mainline kernel & uboot or android 4.X or android 5.X / 6.X not the same.

step 1: git clone

https://docs.docker.com/engine/installation/linux/ubuntulinux/
https://hub.docker.com/r/sinovoip/bpi-build/
https://github.com/BPI-SINOVOIP/bpi-build.git