![Banana Pi BPI-M2 Series Скачать руководство пользователя страница 56](http://html1.mh-extra.com/html/banana-pi/bpi-m2-series/bpi-m2-series_manual_3646489056.webp)
How to setup docker env. to build github source code
how to setup docker env. to build banana pi github source code
step 1: install docker
https://docs.docker.com/engine/installation/linux/ubuntulinux/
step 2: docker run
https://hub.docker.com/r/sinovoip/bpi-build/
$ do cker run -d -p 2222:22 -v /media:/media sinovoip/bpi-build:ubuntu12.04
on your host
$ ssh -p 2222 [email protected] //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 [email protected] //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
https://github.com/BPI-SINOVOIP/bpi-build.git
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.
How to setup docker env. to build github source code
56
Содержание BPI-M2 Series
Страница 4: ...BPI M2 hardware interface BPI M2 Hardware interface 4...
Страница 5: ...BPI M2 Hardware interface 5...
Страница 6: ...BPI M2 Hardware interface 6...
Страница 7: ...BPI M2 hardware spec BPI M2 hardware spec 7...
Страница 14: ...BPI M2 GigE LAN Banana PI BPI M2 with one Gigabit ethernet port use RTL8211E chip on board BPI M2 GigE LAN 14...
Страница 24: ...BPI M2 RoHS Certification BPI M2 CE FCC RoHS Certification 24...
Страница 25: ...BPI M2 CE FCC RoHS Certification 25...
Страница 30: ...BPI M2 software BPI M2 software 30...
Страница 48: ...mainline kernel Android software 48...
Страница 58: ...Reference documents for BPI M2 Reference documents 58...
Страница 59: ...BPI M2 linux sunxi wiki http linux sunxi org Banana_Pi_M2 BPI M2 linux sunxi wiki 59...
Страница 64: ...All Banana Pi SBC Comparison All Banana Pi SBC Comparison 64...