Professional Documents
Culture Documents
of Contents
About BPI-M3 1.1
how to use fatload uEnv.txt & script.bin & kernel uImage 1.3.3.2.3
mainline Linux 1.3.3.3
uboot 1.3.3.3.1
1
OpenWRT 1.3.4
BPI-tools 1.3.8
bpi-update 1.3.8.4
BPI-M3 source code on github 1.4
2
About BPI-M3
Banana Pi BPI-M3
Banana PI BPI-M3 is the open source hardware platform, Banana PI BPI-M3 is an octa-core version of Banana Pi, Banana
PI it support WIFI+BT on board.
Banana Pi BPI-M3 series run Android, Debian linux, Ubuntu linux,Raspbian image and other OS.
Banana PI PBI-M3 hardware: 1.8GHz ARM Cortex-A7 octa-core processor, 2GB LPDDR3 SDRAM, 8G eMMC flash on
board
Banana PI BPI-M3with Gigabit Ethernet port, It can run Android 5.1 smoothly. The size of Banana PI BPI-M3 same as
Banana Pi M1, it can play games at 1080P, the GPIO header is pin-compatible with Raspberry Pi and can run the ROM
Image
The Banana Pi BPI-M3 is SinoVoip latest single board computer equipped with an Octa Core processor using the A83T
TSMC 28nm chip,based on eight ARM Cortex-A7 CPU core operating at high frequency up to 2.0GHZ.Board hardware
specs include 2G LPDDR3 memory operating frequency up to 800Mhz capable of smooth playback at 1901200HD
resoltion.Following the A31/A31s design A83T has a PowerVR SG544 GPU runs at frequencies up to around 700MHZ with
high image processing performance ensuring the ultimate gaming experience and fluency.
In Multimedia processing,A83T can play 1080P@60fbs including 1080P@20fps videos with H.265 codec support,More
than sufficient to meet the needs of end-users daily audio-visiual entertainment.
A83T built ISP image signal processor can support 8MP camera interface and also integrates a full-color display Lai Chip
technology that enhances image display quality,not only for the end-users,it brings a more vivid visual experience,while
optimizing degree in pastel colors and enhance the end-user,even minimizing eyesight damages especially to children.
Integrated full hardware security system is another major feature of the A83T supports DRM solutions which include high-
grade Widevine Level1. HDCP 2.* for Miracast support secure boot \secure storage capabilities to ensure the security
system and data.In the power saving area 28nm advanced technology uses high energy-effieient.Cortex-A7
architecture,Performance and power consumption is very balanced in the PoweVR 5 GPU series due to software
optimization.
3
About BPI-M3
forum: http://www.banana-pi.org
forum: http://www.bananapi.com
product: http://www.banana-pi.com
Video:
https://www.youtube.com/watch?time_continue=308&v=uvW72fhhz48
4
BPI-M3 hardware
5
BPI-M3 hardware
BPI-M3 use allwinner A83T chip on board. but also can support H8, R58 chip on board.
but software need to do some changewhen software boot , allwinner source code will check Chip ID and PMU IP, just
need change this,all code will can run on three boards. so if you want use allwinner H8 or R58. it is easy to development
software.
6
BPI-M3 hardware
https://www.youtube.com/watch?v=AUCOKEDcUGA&feature=youtu.be
7
BPI-M3 hardware
https://www.youtube.com/watch?v=XEZqG5yqCcY&feature=youtu.be
8
BPI-M3 hardware interface
9
BPI-M3 hardware interface
10
BPI-M3 hardware spec
GPU PowerVR SGX544MP1 Comply with OpenGL ES 2.0, OpenCL 1.x, DX 9.3
40 Pins Header, 28GPIO, some of which can be used for specific functions including UART, I2C, SPI,
GPIO
PWM, I2S.
On board
10/100/1000Mbps Ethernet (Realtek RTL8211E/D)
Network
Wifi
WiFi 802.11 b/g/n (AP 6212 module on board)
Module
Bluetooth BT4.0
On board MicroSD (TF) card,SATA2.0(up to 2TB - USB-to-SATA: GL830), eMMC 8G on board (option
Storage 16/32/64G)
Supports multi-channel HD display: HDMI 1.4 (Type A - full),MIPI Display Serial Interface (DSI) for raw
Display
LCD panels,1.4 HDMI resolutions from 640480 to 19201200
Multi-format FHD video decoding, including Mpeg1/2, Mpeg4, H.263, H.264, etc H.264 high profile
Video
1080p@60fps or 720p@120fps encoding,HEVC/H.265 decoder 1080P@30fps with software
Audio
HDMI, analog audio (via 3.5 mm TRRS jack), I2S audio (also potentially for audio input)
outputs
Audio
On board microphone
input
IR on board IR receiver
Sizes 92mm60mm
Weight 45g
11
BPI-M3 GPIO Pin define
Banana Pi has a 40-pin GPIO header that matches that of the Model B+ Raspberry Pi. Following is the Banana Pi GPIO
Pinout:
12
BPI-M3 GPIO Pin define
13
BPI-M3 GPIO Pin define
CON1-P01 VCC-3V3
CON1-P02 DCIN
CON1-P04 DCIN
CON1-P06 GND
CON1-P09 GND
CON1-P14 GND
CON1-P17 VCC-3V3
CON1-P20 GND
CON1-P25 GND
CON1-P30 GND
CON1-P34 GND
14
BPI-M3 GPIO Pin define
CON1-P39 GND
The CSI Camera Connector is a 40-pin FPC connector which can connect external camera module with proper signal pin
mappings. The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as CSI.
CN7-P01 IPSOUT
CN7-P02 AFVCC
CN7-P03 IPSOUT
CN7-P04 IOVDD
CN7-P05 GND
CN7-P06 GND
CN7-P07 CSI2-D3N
CN7-P08 AVDD-CSI
CN7-P09 CSI2-D3P
CN7-P10 DVDD-CSI-R
CN7-P11 GND
CN7-P12 NC
CN7-P13 CSI2-D2N
CN7-P15 CSI2-D2P
CN7-P17 GND
CN7-P19 CSI2-CKN
CN7-P21 CSI2-CKP
CN7-P23 GND
CN7-P25 CSI2-D1N
CN7-P27 CSI2-D1P
15
BPI-M3 GPIO Pin define
CN7-P29 GND
CN7-P31 CSI2-D0N
CN7-P33 CSI2-D0P
CN7-P35 GND
Display specification
The display Connector is a 40-pin FPC connector which can connect external LCD panel (MIPI DSI) and touch screen (I2C)
module as well. The pin definitions of this connector are shown as below. This is marked on the Banana Pi board as DSI.
CN6-P01 VCC-MIPI
CN6-P02 IPSOUT
CN6-P03 VCC-MIPI
CN6-P04 IPSOUT
CN6-P05 GND
CN6-P06 IPSOUT
CN6-P07 GND
CN6-P08 IPSOUT
CN6-P09 NC
CN6-P10 GND
CN6-P11 NC
CN6-P12 DSI-D0N
CN6-P13 NC
CN6-P14 DSI-D0P
CN6-P15 NC
CN6-P16 GND
CN6-P18 DSI-D1N
CN6-P20 DSI-D1P
16
BPI-M3 GPIO Pin define
CN6-P22 GND
CN6-P24 DSI-CKN
CN6-P25 GND
CN6-P26 DSI-CKP
CN6-P28 GND
CN6-P30 DSI-D2N
CN6-P32 DSI-D2P
CN6-P33 GND
CN6-P34 GND
CN6-P36 DSI-D3N
CN6-P37 GND
CN6-P38 DSI-D3P
CN6-P39 AP-RESET#
CN6-P40 GND
UART specification:
The header CON4 is the UART interface.For developers of Banana Pi, this is an easy way to get the UART console output
to check the system status and log message.
17
BPI-M3 micro SD card slot
Note:
18
BPI-M3 GigE LAN
19
BPI-M3 eMMC flash
http://forum.banana-pi.org/t/replace-the-on-board-8g-emmc-with-64g-emmc-including-some-test-results/1432
So, you can burn your image to eMMC flash and boot from eMMC flash.
Note:
the first boot is from microSD card. if you want to boot from eMMC flash ,please remove microSD card from BPI-M3
microSD card slots.
20
BPI-M3 SATA interface
BPI-M1,BPI-M1+,BPI-R1 use A20 chip on board ,A20 have support SATA interface.
21
BPI-M3 WIFI interface
we have do Validation test for onboard AP6212 wifi module,all test is pass.
http://forum.banana-pi.org/t/bpi-m3-validation-wifi-sdio-test/969
http://wiki.friendlyarm.com/wiki/images/5/57/AP6212_V1.1_09022014.pdf
22
BPI-M3 wifi antenna slot
if you want use a extend antenna for bpi-M3, you can add by youself.
23
BPI-M3 wifi antenna slot
note: please remove Rs for extend antenna. if you use extend antenna , need to antenna Adaptive test at first.
24
BPI-M3 bluetooth interface
we have do Validation test for onboard AP6212 module bluetooth fuction test ,all test is pass.
http://forum.banana-pi.org/t/bpi-m3-validation-uart-bluetooth-test/968
25
BPI-M3 HDMI interfact
But If the display monitor doesn't have HDMI interface,only VGA or DVI port. We should use HDMI-to-VGA or HDMI-to-DVI
cable to connect the BPI-M3 to the display monitor.
Note: if the HDMI-to-VGA/DVI cable is a bad quality cable,it will go wrong on the monitor display. please choose a good
quality cable for BPI-M3
Model number:BPI-M3
Android Version: Andriod 5.1
Test Equipments
1. Scope: Tektronix DSA72004 Digital Serial Analyzer Oscilloscope
2. Probe: Tektronix P7380SMA (8GHz/BW)*2&P7313SMA(13GHz/BW)
3. Test Fixture: HDMI Test Board
Test Software:HDMI Compliance test solution V4.0.5
Ref Documents
1. HDMI Specification: High-Definition Multimedia Interface Revision: 1.4
2. High-Definition Multimedia Interface Compliance Test Specification Revision: 1.3b
26
BPI-M3 HDMI interfact
27
BPI-M3 CSI camera interface
BPI-M3 CSI Camera Connector is a 40-pin FPC connector which can connect external camera module with proper signal
pin mappings. The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as CSI.
https://bananapi.gitbooks.io/bpi-accessories/content/bpim3camera.html
OV5640 driver:
This is my modified OV5640 driver for the CMOS camera that incorporates many image resolutions and/or image quality.
You can take advantage of a higher FPS, Image Quality (Preview or Capture) or Window size, choosing the one that best fit
your needs.
This is expected to work with reasonable quality for AW platform (32 bit and 64 bit).
link:
https://github.com/avafinger/ov5640
28
BPI-M3 CSI camera interface
$ mkdir update_file
$ cd update_file
$ sudo bpi-update -c bpi-m3-ov8865.conf
$ sudo reboot
Step 4: Check again to see if the kernel's been updated. The version should be newer than Thu Nov 17 08:10:07 UTC
2.016
$ sudo uname -a
pi@bpi-iot-ros-ai:~$ uname -a
Linux bpi-iot-ros-ai 3.4.39-BPI-M3-Kernel #4 SMP PREEMPT Thu Nov 17 08:10:07 UTC 2016 armv7l armv7l armv7l GNU/Linux
$ sudo ffmpeg-3.1.4 -f v4l2 -channel 0 -video_size 1920x1080 -i /dev/video0 -pix_fmt nv12 -r 22 -c:v cedrus264 bpi-m3
_ov8865_test_1920x1080.mp4
https://www.youtube.com/watch?v=Jp8jjKAlubM
$ cd bpi-tools
$ sudo ./bpi.tools -u -U
$ mkdir update\_file
$ cd update\_file
$ sudo reboot
The version should be newer than **Thu Nov 17 08:10:07 UTC 2.016**
$ sudo uname -a
pi@bpi-iot-ros-ai:~$ uname -a
Linux bpi-iot-ros-ai 3.4.39-BPI-M3-Kernel \#4 SMP PREEMPT Thu Nov 17 08:10:07 UTC 2016 armv7l armv7l armv7l GNU/Linu
x
29
BPI-M3 CSI camera interface
$ sudo ffmpeg-3.1.4 -f v4l2 -channel 0 -video\_size 1920x1080 -i /dev/video0 -pix\_fmt nv12 -r 22 -c:v cedrus264 bpi-
m3\_ov5640\_test\_1920x1080.mp4
https://www.youtube.com/watch?v=I3XV2rOXBfM
30
BPI-M3 MIPI DSI interface
The display Connector is a 40-pin FPC connector which can connect external LCD panel (MIPI DSI) and touch screen (I2C)
module as well. The pin definitions of this connector are shown as below. This is marked on the Banana Pi board as DSI.
https://www.youtube.com/watch?v=tSqELzDR410
https://bananapi.gitbooks.io/bpi-accessories/content/bpi70lcdtouchpanel.html
note:the touch panel accessories support RGB interface and MIPI interface ,when you use BPI-M3, please choose
MIPI interface.
31
BPI-M3 3.5 mm TRRS jack Audio interface
rm -f /usr/share/icons/hicolor/scalable/apps/libreoffice-*.svg || true
rm -f /usr/share/applications/squeak.desktop || true
/usr/sbin/alsactl restore
# headset mixer
/usr/bin/amixer -c 0 cset numid=114 1
/usr/bin/amixer -c 0 cset numid=65 0
/usr/bin/amixer -c 0 cset numid=66 0
/usr/bin/amixer -c 0 cset numid=75 1
/usr/bin/amixer -c 0 cset numid=68 1
/usr/bin/amixer -c 0 cset numid=84 1
/usr/bin/amixer -c 0 cset numid=88 1
/usr/bin/amixer -c 0 cset numid=104 0
/usr/bin/amixer -c 0 cset numid=103 0
/usr/bin/amixer -c 0 cset numid=26 61
# amic mixer
/usr/bin/amixer -c 0 cset numid=108 0
/usr/bin/amixer -c 0 cset numid=107 0
/usr/bin/amixer -c 0 cset numid=99 1
/usr/bin/amixer -c 0 cset numid=95 1
/usr/bin/amixer -c 0 cset numid=28 0
/usr/bin/amixer -c 0 cset numid=27 0
/usr/bin/amixer -c 0 cset numid=41 1
/usr/bin/amixer -c 0 cset numid=34 1
/usr/bin/amixer -c 0 cset numid=15 4
/usr/sbin/alsactl store
exit 0
Step 3: Try it
32
BPI-M3 Audio microphone interface
33
BPI-M3 IR interface
BPI-M3 IR interface
BPI-M3 support IR interface on board. you can use it as remote control.
$ cd /sys/module/sunxi_ir_rx/parameters
$ sudo su
$ echo 0xff > debug_mask
[ 2797.200733] dcnt = 70
[ 2797.200753] 351 active_delay = 128
[ 2797.200772] 366 len = 153
[ 2797.200795] IR code = 0x609ff708
[ 2797.200821] IR RAW CODE : 159
[ 2797.200903] IR CODE : 159
[ 2797.201020] IR KEY VALE 159
[ 2797.201047] ir_rx_irq_service: Rx Packet End, code=0x609ff708, ir_code=0x609
34
BPI-M3 IR interface
Reference Key_Map:
https://www.redhat.com/archives/libvir-list/2011-May/msg01609.html
https://bananapi.gitbooks.io/bpi-accessories/content/irremotecontrol.html
35
BPI-M3 USB interface
http://www.logitech.com/en-hk/product/hd-pro-webcam-c9203
Step 1 :
http://www.banana-pi.org/download.html#e-panel1
Step 2 :
http://apk-dl.com/usb-camera-trial2
Step 3 :
36
BPI-M3 USB interface
https://www.youtube.com/watch?v=gbK_Qi5B7_Y
http://forum.banana-pi.org/t/bpi-m3-validation-usb2-0/974
37
BPI-M3 OTG interface
38
BPI-M3 DC Power interface
Dc power size:
for banana pi BPI-M3 power , all power is spport from AXP PMU.
How to change:
39
BPI-M3 DC Power interface
Note : if you have do this change , if you use 3.7 battery to power , USB port will not work.
40
BPI-M3 DC Power interface
41
BPI-M3 3.7V lithium battery interface
2,The red wire of battery connects to the anode on the board, the black wire to the cathode on the board(Note:
DCIN pins in the GPIO need 5.0V DC Input)
42
BPI-M3 3.7V lithium battery interface
3,when plugging with lithium battery,the power LED is not on until you press the power-on button for several seconds, and
then it boots up.
43
BPI-M3 3.7V lithium battery interface
44
BPI-M3 3.7V lithium battery interface
45
BPI-M3 schematic diagram
Google driver
46
BPI-M3 DXF and 3D design
Google driver
Google driver
47
BPI-M3 software
BPI-M3 software
banana pi BPI-M3 support Android 5.1.1 and linux
48
BPI-M3 Quick Start
First time to enjoy your Banana Pi, you need at least the accessories in the table below.
SD card is optional. If need to boot form SD card, Minimum size 8GB, class 10 (the class
1 MicroSD card indicates how fast the card is). We recommend using branded SD cards as they are
more reliable.
avHDMI(Full
HDMI to HDMI lead (for HD TVs and monitors with HDMI input).OR HDMI to DVI lead
2 sized) to HDMI
(for monitors with DVI input).
/ DVI lead
Any standard USB keyboard and mouse should work. keyboards or mice that take a lot
Keyboard and
3 of power from the USB ports, however, may need a powered USB hub. This may include
mouse
some wireless devices.
Networking is optional, although it makes updating and getting new software for your
4 Ethernet cable
Banana Pi much easier.
Micro USB A good quality, USB Power supply that can provide at least 5V/2A is essential.OTG also
5
power adapter can power the board, but it is not recommended.
Audio lead
6 You can choose a 3.5mm jack audio led to connect to audio port to get stereo audio.
(Optional)
Mobile Hard
7 You can choose to connect a mobile hard disk to USB port to store more files.
disk (Optional)
49
BPI-M3 Quick Start
Please visit our webmaster: www.banana-pi.org to download image, banana pi all image can be download form this web.
In order to enjoy your Banana Pi BPI-M3, you will need to install an Operating System (OS) onto an SD card or eMMC
Flash. Instructions below will teach you how to write an OS image to your SD card or eMMC Flash under Windows and
Linux.
1.Insert your SD card into your computer. The size of SD should be larger than the OS image size, generally 8GB or
greater.
*Unzip the download file and run the setup.exe to install the tool on your machine.
*In the "Options" menu, set "FORMAT TYPE" option to QUICK, "FORMAT SIZE ADJUSTMENT" option to "ON".
50
BPI-M3 Quick Start
*Check that the SD card you inserted matches the one selected by the Tool.
*Run mkfs t vfat /dev/sdx command to format the entire SD card as FAT. (x should be replaced according to your SD card
node)
Android image
5.1 You need to use Phoenix Card to make the SD card. Download the Phoenix Card from https://drive.google.com/open?
id=0BzoTh3Vdt47ffi1ld0RuWXhUVzdYdjFjaHEtMlNQWVFTRmIxcC1OQnczSTV6OGRZWGplNU0
51
BPI-M3 Quick Start
5.2 Run PhoenixCard.exe, Press Disk Check and select disk of SD Card.
52
BPI-M3 Quick Start
Linux image:
*Download a tool that can wirte image to SD card, such as Win32 Diskimager from:
http://sourceforge.net/projects/win32diskimager/files/Archive/
*Run dd if=[imagename] of=/dev/sdx command to write image file to SD card. Wait patiently to successfully complete
writing.
According to the set up diagram below, you can easily set up your Banana Pi.
53
BPI-M3 Quick Start
1. Insert the written-image SD card that to the SD card spot on the left side edge of the underside of the board.
2. 2.On the bottom "edge" in the middle of the board is the HDMI Type A (Full sized) port. Just connect any HDMI cable
from the board to your TV or HDMI Monitor.
3. Plug a USB keyboard and mouse into the USB slots located on the right edge.
4. Just under the USB ports on the right edge is the Ethernet connector for anyone who wants to plug the Banana Pi into
a wired network.
5. 5.Finally, at the very left of the bottom edge is the USB power connector. Plug in a regulated power supply that is rated
at 5V 5% / 2000mA (or 2A). Any number bigger than 700 mA will also work. Avoid using the smaller chargers used for
small GSM phones, as these are often unregulated, even if they claim "5V 1A", they may do "5V" and may do "1A", but
not at the same time!
If all goes well, the Banana Pi will boot in a few minutes. The screen will display the OS GUI.
You can use the GUI to shut down the Banana Pi safely.
This will shut down the PI safely, (just use the power key to turn off might damage the SD-cards file system). After that you
can press the power key for 5 seconds to turn it off.
video on youtube : how to burn kali linux to your SD card ,all linux image is same:
https://www.youtube.com/watch?v=MRNNC6D4F48
54
BPI-M3 Quick Start
55
Android software
Release Note:
******
**_HDMI-Version_**
Google Drive:
https://drive.google.com/open?id=0B\_YnvHgh2rwjcXkxczlmOWxWV00
Baidu Cloud:
https://pan.baidu.com/s/1pKF3Ggj
MD5: d7b7abf3443a49fb0f178ccf2f6e82d0
_**LCD-Version**_
Google Drive:
https://drive.google.com/open?id=0B\_YnvHgh2rwjSkM5NHFWYVdlakk
Baidu Cloud:
https://pan.baidu.com/s/1mi2YOeG
MD5: b27dd45ac5fd1fd3b02db8ffd92c2871
********
56
Android software
Release Note:
HDMI-Version
Google Drive:
https://drive.google.com/open?id=0B_YnvHgh2rwjMVFnQzRhTmM5Q0U
Baidu Cloud:
https://pan.baidu.com/s/1sl6fXBv
MD5: 85915509ad849fc7fa28bcaf0528e877
LCD-Version
Google Drive:
https://drive.google.com/open?id=0B_YnvHgh2rwjazUxenhSVnllaDQ
Baidu Cloud:
https://pan.baidu.com/s/1jIK7wAq
MD5: feada8d6ee0ae29a30d1aa1b1be40472
57
Android software
Release Note:
HDMI-Version
Google Drive:
https://drive.google.com/file/d/0B-L3cPQfpxGZeGRDTER1U0tTdkU/view23
Baidu Cloud:
http://pan.baidu.com/s/1c2juiZY3
MD5: 918b1d3707ce58cd203d0b392fa4cc8b
LCD-Version
Google Drive:
https://drive.google.com/file/d/0B-L3cPQfpxGZb2NnYTJfUjdNWnc/view10
Baidu Cloud:
http://pan.baidu.com/s/1c1TfhIw1
MD5: d5d8e33b05d1db502ad3d527e512ab27
discuss on forum:
58
Android software
http://forum.banana-pi.org/t/bpi-m3-new-image-android-5-1-vsersion-v3/1850
59
How to burn android image to eMMC
2,if your PC is windows OS, please download PhoenixSuit.zip tooling to burn if your PC is Linux OS, please download
Linux 32bit or Linux 64bit tooling
1,install PhonenixSuit.
2,running PhonenixSuit. chick "one key to burn" choose your android image file .
3,press on BPI-M3 uboot key. and plug in micro USB data line.
60
How to burn android image to eMMC
6,if all is ok , try to boot from eMMC , if not success ,just need try again.
This is a guide on burning the Android image onto the eMMC on the Banana Pi BPI-M3. The eMMC is 8GB and decently
fast.
You will need to burn android onto MicroSD with Phoenix Card first and boot it. Then you need to enable USB debugging,
install Google Composite ADB drivers, and write the image to eMMC with Phoenix Suit. Then you can take out the MicroSD
card and boot M3 from eMMC.
https://www.youtube.com/watch?v=FZp6wGtgKd8&feature=youtu.be
61
How to burn android image to eMMC
sudo ./LiveSuit.run
sudo ./LiveSuit.run
4install drivers:
save & reboot or just reboot udev server, so you can run LiveSuit.sh as a general user,reboot udev commond :
./LiveSuit.sh
62
How to burn android image to eMMC
10, when all is OK ,just rebbot BPI-M3, and boot android image from eMMC flash.
63
How to control GPIO on Android
adb remount
adb shell
chmod /system/bin/su
Sample Code
64
How to control GPIO on Android
package com.bpim3.leddemo;
import android.app.Activity;
import android.os.Environment;
import android.os.Handler;
import android.os.HandlerThread;
import android.util.Log;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
TestLED() {
}
@Override
public void run() {
// TODO Auto-generated method stub
try {
Runtime command = Runtime.getRuntime();
Process proc;
DataOutputStream opt;
proc = command.exec("su");
opt = new DataOutputStream(proc.getOutputStream());
Log.d(TAG, "LED Testing start.");
while (true) {
LEDRun(opt);
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
https://www.youtube.com/watch?v=3oxzamthXHw
65
How to control GPIO on Android
66
android 5.0 development document
https://drive.google.com/file/d/0B4PAo2nW2KfnekpvMnlNZ2p6NWs/view?usp=sharing
67
Linux software
Linux software
68
How to burn Linux image to eMMC
Step 1: Start up the computer with the SD card which has been burnt with the Linux images.
Step 2: Put the images which you'd like to burn to the EMMC Storage to the USB drive.
Step 3: Run "fdisk -l" command line on your BPI-M3 and you can see the EMMC path as " /dev/mmcblk1"
sudo fdisk -l
69
How to burn Linux image to eMMC
Step 5:When finish burning, remove the SD card, and restart the BPI-M3
Step 6:Check if the system starts normally on the EMMC flash boot.
https://www.youtube.com/watch?v=o9YmGhqUYg4&feature=youtu.be
70
Linux for Kernel 3.4 image
MD5: d242f1914913ad2b73139780ef601c4d
discuss on forum:
71
Linux for Kernel 3.4 image
http://forum.banana-pi.org/t/bpi-m3-new-image-berryboot-preview-bpi-m3-img-2016-08-24/2167
google drive:
https://drive.google.com/file/d/0B_YnvHgh2rwjTElER3djb0FhYzQ/view?usp=sharing
MD5: ef066f2bd78eeadbf7b2675197d3124d
72
Linux for Kernel 3.4 image
note : this image is from ubuntu 16.04 for raspberry pi version ,we let it support banana pi. support mali GPU and powerVR
gpu function.
discuss on forum:
http://forum.banana-pi.org/t/pbi-m3-new-image-ubuntu-mate-16-04-desktop-armhf-raspberry-pi-bpi-m3-sd-emmc-img-2016-
07-21/2049
73
Linux for Kernel 3.4 image
MD5: fb2c9c8413edaa004ab414cb72544a7e
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-edu-ubuntu-mate-1604-preview-bpi-m3-img/2040
74
Linux for Kernel 3.4 image
google drive:
https://drive.google.com/file/d/0B_YnvHgh2rwjQ0lkakxQeEJFQVU/view?usp=sharing
MD5: a52e9205e400d559728b1cfa3f6b58ba
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-raspbian-jessie-bpi-m3-img-2016-07-13/2009
75
Linux for Kernel 3.4 image
google drive:
https://drive.google.com/file/d/0B_YnvHgh2rwjMlhfUTZZY0RubFU/view?usp=sharing
MD5: bce09c9a4610cba893943e5653449073
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-raspbian-lite-bpi-m3-img-2016-07-12/2001
google drive:
https://drive.google.com/file/d/0B_YnvHgh2rwjS0JNZEl6dmhCZUU/view?usp=sharing
76
Linux for Kernel 3.4 image
MD5: a9a84e90435f0e3deddb6640246168fa
busybox-1.24.2-preview-bpi-m3.img 2016-6-14
2016-06-14-busybox-1.24.2-preview-bpi-m3.img.zip
google drive:
https://drive.google.com/file/d/0B6FbwMfcqfFZc0hSbzJUVURsZTg/view?usp=sharing
MD5: 5af633b0f731da08abe236e2ec922f69
discuss on forum:
77
Linux for Kernel 3.4 image
http://forum.banana-pi.org/t/bpi-m3-new-image-busybox-1-24-2-preview-bpi-m3-img-2016-6-14/1878
Ubuntu-mate-16.04-Xenial-ros-kinetic-preview-bpi-m3-sd-
emmc 2016-6-11
2016-06-11-ubuntu-mate-16.04-Xenial-ros-kinetic-preview-bpi-m3-sd-emmc.img.zip
Google driver:
uploading
MD5: b04a903a9c6ddfbc5b6c94505d629004
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-ubuntu-mate-16-04-xenial-ros-kinetic-preview-bpi-m3-sd-emmc-2016-6-
11/1871
78
Linux for Kernel 3.4 image
2016-05-16-debian-8-jessie-mate-gpu-mpv-1080p-bpi-m3-
sd-emmc.img.zip
2016-05-16-debian-8-jessie-mate-bpi-m3-sd-emmc.img.zip
Google Drive:
https://drive.google.com/file/d/0B_YnvHgh2rwjX0djZERFcmlYWGM/view?usp=sharing
MD5: f9b4b038ff02fabfd35b1fe70aa58090
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-debian-8-jessie-mate-gpu-mpv-1080p-bpi-m3-sd-emmc-img-2016-5-
16/1708
79
Linux for Kernel 3.4 image
MD5: 08f1c6d7f7a30d2ed5c4b623b63726d5
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-debian-8-jessie-lite-bpi-m3-sd-emmc-img-2016-5-15/1698
80
Linux for Kernel 3.4 image
2016-05-13-raspbian-jessie-mate-gpu-bpi-m3-sd-emmc.img.zip
MD5: b8eafe5c4c03b1de2230116b18f35278
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-raspbian-jessie-mate-gpu-bpi-m3-sd-emmc-img-v1-0-2016-5-13/1666/1
81
Linux for Kernel 3.4 image
MD5: 0b0ee2f45bcec3a7d7a610fa48e74cda
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-dietpi-preview-bpi-m3-sd-emmc-image-2016-5-14/1685
82
Linux for Kernel 3.4 image
MD5: 024f033b00099800c909d0e4dd524721
discuss on forum
http://forum.banana-pi.org/t/bpi-m3-new-image-kali-xfce-bpi-m3-sd-emmc-img-2016-5-12/1661
83
Linux for Kernel 3.4 image
MD5: 7e2397952da69bdd72f923234b838365
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-centos-lite-preview-bpi-m3-img-2016-5-12/1662
84
Linux for Kernel 3.4 image
Google Drive:
https://drive.google.com/file/d/0B_YnvHgh2rwjQU11b3ZhTEhXb3c/view?usp=sharing
MD5: c056a4345a229eb380cd46e23105eb7f
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-gentoo-stage3-armv7a-lite-bpi-m3-sd-emmc-img-v1-0-2016-5-12/1648
85
Linux for Kernel 3.4 image
Google Drive:
https://drive.google.com/file/d/0B_YnvHgh2rwjSzkzem9TSG81MjQ/view?usp=sharing
MD5: ca4b8e0a1d7809f5ffeaab018a138d6d
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-opensuse-tumbleweed-arm-mate-bpi-m3-sd-emmc-2016-5-11/1641
86
Linux for Kernel 3.4 image
Google Drive:
https://drive.google.com/file/d/0B_YnvHgh2rwjSTlUb2pkb1dBQm8/view?usp=sharing
MD5: 0d53b27094548aa98076c70c48b308a7
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-crux-arm-3-2-lite-bpi-m3-img-2016-05-012/1643
87
Linux for Kernel 3.4 image
Google Drive:
https://drive.google.com/file/d/0B_YnvHgh2rwjRWdVNXZDcl9NUVU/view?usp=sharing
MD5: f52524ca5625f43c98ad7ccfe2154384
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-fedora-mate-armhfp-23-10-bpi-m3-sd-emmc-2016-5-11/1636
88
Linux for Kernel 3.4 image
Google Drive:
https://drive.google.com/file/d/0B_YnvHgh2rwjOEttQUdyRTBzRE0/view?usp=sharing
MD5: 2f0b41f4cfe7fb34aadcaa60f45d1283
discuss on forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-archlinuxarm-lite-bpi-m3-2016-5-10/1625
89
Linux for Kernel 3.4 image
BPI-M3 kernel 3.4 username & password: pi/bananapi , root/bananapi support HDMI 1080P & 720P(default) support eMMC
support GMAC support WIFI support SATA support bpi-bootsel cmd to switch mode support uEnv.txt to fatload script.bin &
uImage support uEnv.txt to set video 1080P & 720P & 480P ... support power max. up to 2.5A ~ for DC-IN. support video
play 1080p with vdpau (mpv) support GPU PowerVR SGX544MP (glmark2-es2) chromuim default turn on webgl
(chrome://gpu, modify /etc/chromium-browser/default) support youtube video play support flash video play. support scratch
2.0 change usb0 setting with script.bin from otg mode to host only (fix: Average load always above 1)
MD5: f96b2b0486c919c95142b87ae7d54935
http://forum.banana-pi.org/t/bpi-m3-new-image-debian-8-jessie-mate-gpu-mpv-1080p-bpi-m3-beta-v1-0-2016-4-27/1545
90
Linux for Kernel 3.4 image
https://drive.google.com/file/d/0B6FbwMfcqfFZY0I4SUZ2QlhQYUk/view?usp=sharing
http://forum.banana-pi.org/t/bpi-m3-new-image-ubuntu-mate-16-04-beta-v1-0-2016-04-25/1528
Google Drive:
91
Linux for Kernel 3.4 image
https://drive.google.com/file/d/0B_YnvHgh2rwjNjNlcEpqQVNDLTg/view?usp=sharing
Baidu Cloud:
http://pan.baidu.com/s/1dEe53PZ
MD5: 46f55765f7cd210678dd05cd6de08deb
Release Note:
discuss at forum:
http://forum.banana-pi.org/t/bpi-m3-new-image-berryboot-and-gpu-powervr-sgx544-included-in-ubuntu-mate-15-10/1133
92
Linux for Kernel 3.4 image
download link:
https://drive.google.com/file/d/0B4PAo2nW2KfnVFBYNzB2N1ZKU00/view?usp=sharing
step 4: reboot
root@bananapi:~# ps ax | grep X
629 tty7 Ss+ 0:09 /usr/local/XSGX/bin/X -verbose -config /usr/local/XSG
X/etc/xorg.conf :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7
-novtswitch
1449 ttyS0 S+ 0:00 grep --color=auto X
root@bananapi:~#
93
Linux for Kernel 3.4 image
Section "Device"
Identifier "Raspberry Pi FBDEV"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"
Option "SwapbuffersWait" "true"
Option "rotate" "cw"
EndSection
Parameter Description
clockwise 90
clockwise 180
94
Linux for Kernel 3.4 image
95
Linux for Kernel 3.4 image
https://github.com/BPI-SINOVOIP/BPI-files/tree/master/debs
file:linux-bananapi-bpi-m3-kernel3_1.2.8_armhf.deb:
step 6: reboot
root@bananapi:/media/bpi/BPI-BOOT/bananapi/bpi-m3/linux# ls -l
total 5648
-rw-r--r-- 1 bpi bpi 55408 2 23 14:27 script.bin
-rw-r--r-- 1 bpi bpi 2013 2 25 08:39 uEnv.txt
-rw-r--r-- 1 bpi bpi 5718480 2 24 10:53 uImage
# cat uEnv.txt
bpi=bananapi
board=bpi-m3
chip=a83t
service=linux
#kernel=kernel_bpi-m3_aufs.img
#kernel=boot.fex
kernel=uImage
scrip=script.bin
aboot=if fatload $device $partition 0x43100000 ${bpi}/berryboot.img; then bootm 0x48000000 0x43100000; else bootm 0x4
8000000; fi
aload_script=fatload $device $partition 0x43000000 ${bpi}/${board}/${service}/${script}
aload_kernel=fatload $device $partition 0x48000000 ${bpi}/${board}/${service}/${kernel}
96
Linux for Kernel 3.4 image
#
# from sys_config.fex
#
#;output_type (0:none; 1:lcd; 2:tv; 3:hdmi; 4:vga)
#;output_mode (used for tv/hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50 5:720p60 6:1080i50 7:1080i60 8:1080p24
9:1080p50 10:1080p60 11:pal 14:ntsc)
#
# vi uEnv.txt
# ref. sys_config.fex, use default script.bin
bootargs=enforcing=1 console=ttyS0,115200 console=tty1 root=/dev/sda2 rootwait init=/init vmalloc=384M ion_cma_list="
120m,176m,512m" loglevel=8 bootmenutimeout=10 datadev=sda2
97
Linux for Kernel 3.4 image
demo video:
https://www.youtube.com/watch?time_continue=2&v=aF_WZFDxGs4
98
mainline Linux
mainline Linux
Many open source development help us to use mainline linux on BPI-M3.
if someone want to help use ,please contact us ,we will send free sample to you.
99
mainline Linux
mainline uboot
sunxi: Add suport for A83T based Banana-pi M3 Board
https://patchwork.ozlabs.org/patch/563980/
Download (v2016.05-rc1)
http://git.denx.de/?p=u-boot.git;a=summary
100
mainline Linux
101
OpenWRT
OpenWRT on banana pi
OpenWRT have support many allwinner chip . so easy to use it on banana pi
Allwinner Sun4i/5i/6i/7i/9i (sunxi) Various vendors are offering development boards / single-board computer based on the
Allwinner SoCs. These are running various flavors of the A1x, A20, A31, and soon H3 SoCs, with different buildouts. The
mach is called "sunxi".
https://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi?s[]=banana&s[]=pi
102
BanaNAS - SimpleNas
Bittorrent
DLNA
SMB
FTP ...
http://simplenas.com/download/banana-m3
103
Lakka TV
Lakka TV
The newly supported boards are:
for BPI-M1 and BPI-M1+ use A20 chip design ,also can find some support for A20.
As you can see, H3 is used in a lot of boards. Each of them have different specs. Some of them are available at a very
cheap price.
The original OpenELEC and LibreELEC port has been done by @jernejsk and we backported it to Lakka.
http://mirror.lakka.tv/nightly/
@Ntemis took care of testing the image on some of these boards and Lakka and RetroArch are working well on them.
If you are new to Lakka and want to test one of the images, just adapt the installation instruction that you can find on our
website for any other ARM board.
As I dont own any of these boards myself, I cant check them for regressions and support them officially for now. But I will
as soon as some contributors send me one or two.
We need more owners of any of these boards on our IRC chan to check if all the images are really working well. Remember
that this is mainly untested work when you report bugs.
http://www.lakka.tv/
104
BPI-M3 WiringPi
BPI-M3 WiringPi
support all raspberry pi module and all banana pi module :BPI-M1,BPI-M1+,BPI-R1,BPI-M2,BPI-M2+,BPI-M2 Ultra,BPI-M2
Magic,BPI-M3,BPI-M64
https://github.com/BPI-SINOVOIP/WiringPi
https://github.com/BPI-SINOVOIP/WiringPi/tree/master/wiringPi/board
2Installation
cd BPI-WiringPi
chmod +x ./build
sudo ./build
gpio -v
gpio readall
105
BPI-M3 WiringPi
#include <wiringPi.h>
int main(void)
{
wiringPiSetup() ;
pinMode (0, OUTPUT) ;
for(;;)
{
digitalWrite(0, HIGH) ; delay (500) ;
digitalWrite(0, LOW) ; delay (500) ;
}
}
runing it:
sudo ./blink
BPI have many extend board support WiringPi. so you can free DIY by youself:
https://bananapi.gitbooks.io/bpi-accessories/content/
link to forum:
http://forum.banana-pi.org/t/bpi-wiringpi-officially-supports-bpi-m3-kernel-3-4/998/4
https://www.youtube.com/watch?v=OJeFWyiTqgQ
106
BPI-M3 WiringPi
107
BPI-tools
BPI-tools
[bpi-tools]: v1.0.3: bpi-tools bpi-get cmd support update tools & download images
on x86 pc:
dpkg -i bananapi-bpi-tools*.deb
github:
https://github.com/BPI-SINOVOIP/BPI-files/raw/master/debs/bananapi-bpi-tools_1.0.3_armhf.deb
google drive:
https://drive.google.com/file/d/0B_YnvHgh2rwjc29jNVdoaDNXRUU/view?usp=sharing
MD5: 0408a434003651001f0131e61cadc2fd
on other system :
MD5: 82e35dba52bc3edb48e96c8a544ac216
HOW TO USE:
108
BPI-tools
root@bananapi:~# bpi-tools
bpi-tools v1.0.6
usage: bpi-tools
bpi-tools FILE
bpi-tools --all | --update | --download | --version
bpi files:
bpi-tools v1.0.6
bpi-bootsel v1.0.4
bpi-copy v1.0.10a
bpi-get v1.0.3
root@bananapi:~# bpi-tools --update
bpi-tools v1.0.6
usage: bpi-tools
bpi-tools FILE
bpi-tools --all | --update | --download | --version
BPIFILE=/root/.bpi-tools.lst
Wait for download index file ...
OK!!\n
bpi files:
bpi-tools v1.0.6
bpi-bootsel v1.0.4
bpi-copy v1.0.10a
bpi-get v1.0.3
root@bananapi:~# bpi-tools --version
bpi files:
/usr/bin/bpi-tools v1.0.6
/usr/bin/bpi-bootsel v1.0.4
/usr/bin/bpi-copy v1.0.10a
/usr/bin/bpi-get v1.0.3
root@bananapi:~# bpi-tools --download
BPIFILE=/root/.bpi-files.lst
109
BPI-tools
bpi files:
2016-05-05-u1510_gpu_vpu_camera_bt_bpi-m2p_beta.img.zip
2016-05-05-debian-8-jessie-lite-bpi-m2p_beta-sd-emmc.img.zip
2016-04-27-debian-8-jessie-mate_gpu_mpv_1080p-bpi-m3_beta-sd-emmc.img.zip
2016-04-25-ubuntu-mate-16.04_Xenial_gpu_mpv_1080p_bt-bpi-m3_beta-sd-emmc.img.zip
u1510_gpu_vpu_camera_bpi-m2p-20160413_preview.img.zip
2016-04-11-Armbian_5.07_Bananapim2plus_Debian_jessie_3.4.111_desktop_preview.img.zip
2016-04-08-raspbian-jessie-bpi-m2.img.zip
2016-04-08-raspbian-jessie-bpi-m2p.img.zip
2016-04-08-raspbian-jessie-bpi-m3.img.zip
110
BPI-tools
if you want to use bpi-m2p image for bpi-m3, you can re-insert SD card:
root@bananapi:~# bpi-bootsel
bpi-bootsel v1.0.4
usage: bpi-bootsel
bpi-bootsel IMGFILE
bpi-bootsel IMGFILE DEVICE
bpi images:
/usr/lib/u-boot/bananapi/u-boot-2016.05-rc1/u-boot-2016.05-rc1-bpi-m1.img.gz
/usr/lib/u-boot/bananapi/u-boot-2016.05-rc1/u-boot-2016.05-rc1-bpi-m2.img.gz
/usr/lib/u-boot/bananapi/u-boot-2016.05-rc1/u-boot-2016.05-rc1-bpi-m1p.img.gz
/usr/lib/u-boot/bananapi/u-boot-2016.05-rc1/u-boot-2016.05-rc1-bpi-m2p.img.gz
/usr/lib/u-boot/bananapi/u-boot-2016.05-rc1/u-boot-2016.05-rc1-bpi-r1.img.gz
/usr/lib/u-boot/bananapi/u-boot-2016.05-rc1/u-boot-2016.05-rc1-bpi-m3.img.gz
/usr/lib/u-boot/bananapi/bpi-m2/BPI_M2_720P.img.gz
/usr/lib/u-boot/bananapi/bpi-m2p/BPI_M2P_720P.img.gz
/usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_720P.img.gz
111
bpi-bootsel command
bpi-bootsel commond
How to use bpi-bootsel command (Multi-use SD card supported)
From now on, just download either M2 or M3, then you can switch to any of them as you wish!
bpi-bootsel v1.0.5
usage: bpi-bootsel
bpi-bootsel IMGFILE
bpi-bootsel IMGFILE DEVICE
2. Install BPI-Tools
112
bpi-bootsel command
4. Update BPI-Tools
Video Demo
https://www.youtube.com/watch?v=HdBNcrOKngM&feature=youtu.be
113
bpi-get command
bpi-get command
How to use bpi-get command (Download BPI Images)
bpi-get v1.0.3
usage: bpi-get
bpi-get FILE
2. Install BPI-Tools
4. Update BPI-Tools
114
bpi-get command
Video Demo
https://www.youtube.com/watch?v=Bf4QfDnwKAk&feature=youtu.be
115
bpi-copy command
bpi-copy command
How to use bpi-copy command (Burning images to EMMC , Copying data from SD-Card/EMMC to be Images)
usage: bpi-copy
bpi-copy IMGFILE
bpi-copy IMGDIR
bpi-copy IMGFILE DEVICE
bpi-copy DEVICE IMGFILE
2. Install BPI-Tools
116
bpi-copy command
4. Update BPI-Tools
6-3 :To burn into certain device,please run the following command
https://www.youtube.com/watch?v=Arn7HC2urt4
https://www.youtube.com/watch?v=H1LjORwzO3E
117
bpi-update
bpi-update command
How to : Use bpi-update command to update kernel image
$ bpi-tools -v
$ mkdir update_file
$ cd update_file
BPI-M2U
BPI-M2P
BPI-M3
118
BPI-M3 source code on github
https://github.com/BPI-SINOVOIP/BPI-M3-bsp
119
How to setup docker env. to build github source code
https://docs.docker.com/engine/installation/linux/ubuntulinux/
https://hub.docker.com/r/sinovoip/bpi-build/
on your host
# cd /media/XXX/your-source
# git clone https://github.com/BPI-SINOVOIP/BPI-M3-bsp.git
step 4: build
# ./build.sh
step 2: vi Dockerfile
step 3. vi build.sh
step 4: ./build.sh
120
BPI-M3 Cross Compile teach
BLOGhttp://blog.jim60105.com/2016/03/bananapi-m3-cross-compile.html
jim@jim-Ubuntu:~$ uname -a
Linux jim-Ubuntu 4.2.0-34-generic #39-Ubuntu SMP Thu Mar 10 22:13:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
create a dir for BPI-M3 and get source code from gitgub
mkdir bananapi
cd bananapi
git clone https://github.com/BPI-SINOVOIP/BPI-M3-bsp.git
cd BPI-M3-bsp
mkdir -p linux-sunxi/output/lib/firmware
the official kit was compiled on 32 bit platform ,so you must support 32bit execution in your 64 bits ubuntu.
121
BPI-M3 Cross Compile teach
3,install necessary tools:(skip this if you have executed the two instructions in the segment of the 64 bits)
4,begin to Compile
./build.sh
Now configuring...
Configure success!
please waitting , it need long time to compile,it takes a while and depends on the performance of your computer
122
BPI-M3 Cross Compile teach
Note: if compile success ,will have ../bananapi/BPI-M3-BSP dir.if it does not show up, any other "build success" screen are
deceptive.
sudo fdisk -l
123
BPI-M3 Cross Compile teach
umount /dev/sdf*
clean
please use "d" clean partition.And then dropped the device completely clear
dd if=/dev/zero of=/dev/sdf bs=4M
buru official image to SD card .please do not Android and Berryboot image.
example: ArchLinux
unzip 2015-12-09-ArchLinuxARM-lite-bpi-m3-sd-emmc.img.zip -d ~
cd ~
sudo dd if=2015-12-09-ArchLinuxARM-lite-bpi-m3-sd-emmc.img of=/dev/sdf bs=4M
umount /dev/sdf*
check partition
Write the first compiled data: next step will clean partition table, so we must transcribe it at first
124
BPI-M3 Cross Compile teach
cd ~/bananapi/BPI-M3-bsp/download/BPI_M3_LCD7
Empty memory card 1m before space (and clears the partition table)
125
BPI-M3 Cross Compile teach
recovery partition table,and increase the capacity to the memory card is the largest,also change to /dev/sdf2.
all is finish. just use this SD card to boot your banana pi.
126
BPI-M3 fix rootmydevice issue for Security Alert
STEP 1. download update file & install STEP 2. update boot files
=======================STEP 1:==========================
github: https://github.com/BPI-SINOVOIP/BPI-files/raw/master/debs/linux-bananapi-bpi-m3-kernel3_1.2.9_armhf.deb
MD5: aeb90ff97a536c2c31fccfedd6d1c164
on other system :
MD5: aef73f35266e78957066dd5be2bab3b2
=======================STEP 2:==========================
127
BPI-M3 fix rootmydevice issue for Security Alert
# sudo su
# ls -l /usr/lib/u-boot/bananapi/bpi-m3/linux/
total 5908
-rwxr-xr-x 1 root root 55408 4 27 06:11 script.bin
-rwxr-xr-x 1 root root 55408 4 30 05:01 script.bin.emmc
-rwxr-xr-x 1 root root 55408 2 23 06:27 script.bin.otg
-rwxr-xr-x 1 root root 74463 4 27 04:07 sys_config.fex
-rwxr-xr-x 1 root root 74529 4 30 04:55 sys_config.fex.emmc
-rwxr-xr-x 1 root root 2254 5 4 07:49 uEnv.txt
-rw-r--r-- 1 root root 5717352 5 3 21:47 uImage
128
How to compile BPI-M3-bsp kernel on BPI-M3
129
How to compile BPI-M3-bsp kernel on BPI-M3
linux:
$(Q)scripts/mk_linux.sh $(ROOTFS)
help:
@echo ""
@echo "Usage:"
@echo " make bsp - Default 'make'"
@echo " make linux - Build target for linux platform, as ubuntu, need permisstion confirm during the build
process"
@echo " Arguments:"
@echo " ROOTFS= - Source rootfs (ie. rootfs.tar.gz with absolute path)"
@echo ""
@echo " make pack - pack the images and rootfs to a PhenixCard download image."
@echo " make clean"
@echo ""
@echo "Optional targets:"
@echo " make kernel - Builds linux kernel"
@echo " make kernel-config - Menuconfig"
@echo " make u-boot - Builds u-boot"
@echo ""
4.eidt BPI-M3-bsp/linux-sunxi/arch/arm/mach-sunxi/pm/standby/Makefile
find here
and add
hostprogs-y := mksunxichecksum
/*
* (C) Copyright 2015 Jean-Francois Moine
* (C) Copyright 2014 Henrik Nordstrom
*
* Based on mksunxiboot
*
* (C) Copyright 2007-2011
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdint.h>
#include <stdlib.h>
/* boot head definition from sun4i boot code */
struct boot_file_head {
uint32_t b_instruction; /* one intruction jumping to real code */
uint8_t magic[8]; /* ="eGON.BT0" or "eGON.BT1", not C-style str */
uint32_t check_sum; /* generated by PC */
uint32_t length; /* generated by PC */
/*
* We use a simplified header, only filling in what is needed
* for checksum calculation.
*/
};
#define STAMP_VALUE 0x5F0A6C39
130
How to compile BPI-M3-bsp kernel on BPI-M3
run
./build.sh
After the completion of the copy Uimage to boot partition boot/BPI m3 below
131
How to compile BPI-M3-bsp kernel on BPI-M3
132
Reference documents
Reference documents
133
A83T datasheet and user manua
https://drive.google.com/file/d/0B4PAo2nW2KfnM2VqeTR3SXpGdVE/view?usp=sharing
https://drive.google.com/file/d/0B4PAo2nW2KfnRjlQaU9uR0J0elE/view?usp=sharing
134
A83T Linux-sunxi wiki
http://linux-sunxi.org/A83T
https://en.wikipedia.org/wiki/Allwinner_Technology
135
BPI-M3 linux-sunxi wiki
linux-sunxi wiki
Be aware that the board manufacturer is not cooperative. Despite its name the M3 is incompatible to Banana
Pi/M1/M1+/Pro due to a different SoC requiring different boot loaders and drivers. It's just another attempt to cash in on the
Banana Pi's popularity with another incompatible SBC sharing brand, name, form factor and GPIO header.
http://linux-sunxi.org/Banana_Pi_M3
136
Banana pi wikipedia wiki
https://en.wikipedia.org/wiki/Banana_Pi
137
Linux mainlining effort
It is very important to note that this is intended as a rough set of minimal goals - it is not meant to collide with the huge effort
of rewriting major drivers!
http://linux-sunxi.org/Linux_mainlining_effort
138
BPI-M3 online video
https://www.youtube.com/watch?v=y4PtSTN3R-8
https://www.youtube.com/watch?time_continue=308&v=uvW72fhhz48
https://www.youtube.com/watch?v=2rWsTpDYMwg
https://www.youtube.com/watch?v=tv18IHQD264
banna pi BPI-M3 Andorid 5.1.1 test and how to install :Mit Android zum Mediencenter auf dem Bastelrechner
https://www.youtube.com/watch?v=_FmtB7NP1Ms
Banana Pi BPI-M3 Android Web Server with Servers Ultimate via Play Store
https://www.youtube.com/watch?v=bdfGECuyUng
https://www.youtube.com/watch?v=AUCOKEDcUGA
https://www.youtube.com/watch?v=XEZqG5yqCcY
https://www.youtube.com/watch?v=1d5enpxQpWE
https://www.youtube.com/watch?v=FZp6wGtgKd8
https://www.youtube.com/watch?v=foxnnQT58FE
https://www.youtube.com/watch?v=-4dgZZLFl3g
banana pi BPI-M3 BPI 8x8 RGB LED Martix module how to use
https://www.youtube.com/watch?v=K6mRB_CtOlI
Banana Pi M3 Review Parte 1 - Web browser, Multimidia and Android Games ( BPI-M3 )
https://www.youtube.com/watch?v=fdxjSuBLmzk
Banana Pi M3 Review Parte 2 - Testing android emulators ( Dreamcast / PSP / N64 / PS1 )
https://www.youtube.com/watch?v=zAIKmh6FI34
139
Allwinner chip documents
http://dl.linux-sunxi.org/
140
BPI-M3 quality guarantee
We put quality first, users can mass produce their products using our boards directly, we've been dedicating to providing the
most cost performance products.
141
BPI-M3 WIFI Lab test
142
BPI-M3 WIFI Lab test
143
BPI-M3 WIFI Lab test
144
BPI-M3 WIFI Lab test
145
BPI-M3 WIFI Lab test
146
BPI-M3 Validation test
http://forum.banana-pi.org/t/bpi-m3-validation-rf-connectivity-test/996
http://forum.banana-pi.org/t/bpi-m3-validation-usb2-0/974
http://forum.banana-pi.org/t/bpi-m3-validation-hdmi-720p/971
http://forum.banana-pi.org/t/bpi-m3-validation-hdmi-1080p/972
http://forum.banana-pi.org/t/bpi-m3-validation-wifi-sdio-test/969
http://forum.banana-pi.org/t/bpi-m3-validation-uart-bluetooth-test/968
http://forum.banana-pi.org/t/bpi-m3-validation-signal-integrity-test/967
http://forum.banana-pi.org/t/bpi-m3-validation-over-load-protection-test/966
http://forum.banana-pi.org/t/bpi-m3-validation-ripple-noise-test/965
147
BPI-M3 CE,FCC RoHS Certification
148
BPI-M3 CE,FCC RoHS Certification
149
BPI-M3 CE,FCC RoHS Certification
150
All Banana Pi SBC Comparison
151
BPI-M3 vs ODROID-XU4
BPI-M3 vs ODROID-XU4
152
All banana pi product
banana pi BPI-M1+(BPI-M1+ plus) allwinner A20 dual core single board computer
banana pi BPI-M2 Ultra allwinner R40 quad core single board computer
Banana pi BPI-M3 allwinner A83T (R58 H8) octa-core single board computer
153
BPI 4.0 customized Server
Our factory:Sinovoip In order to meet the companys development needs, and further production capacity and product
quality. Sources Communication shareholders decided to invest in new plant to build their own, the new factory site is
located in manholes and covers an area of more than 10000 square meters,equipped with full range of production
equipment and high quality technical management personnel . We have complete SMT production lines, plug-ins
production line, assembly line, production line testing.
Customize Pi
If you want to tailor your Banana pi to your specific use or to minimize the cost for mass production purpose, you are
coming the right place. We provide the customization service of banana pi such as remove/add headers or
connectors,change component layout,add/remove components,change interfaces etc.
154
BPI 4.0 customized Server
155