background image

1.1

1.2

1.2.1

1.2.2

1.2.3

1.2.4

1.2.5

1.2.6

1.2.7

1.2.8

1.2.9

1.2.10

1.2.11

1.2.12

1.2.13

1.2.14

1.2.15

1.2.16

1.2.17

1.2.18

1.2.19

1.2.20

1.3

1.3.1

1.3.2

1.3.2.1

1.3.3

1.3.3.1

1.3.3.1.1

1.3.3.2

1.3.4

1.3.4.1

1.3.4.2

1.3.5

1.3.5.1

1.3.5.2

1.3.5.3

1.3.6

1.3.7

Table of Contents

BPI-M1

BPI-M1 hardware

BPI-M1 hardware interface

BPI-M1 hardware spec

BPI-M1 GPIO Pin define

BPI-M1 SD card slot

BPI-M1 GigE LAN

BPI-M1 HDMI interface

BPI-M1 IR interface

BPI-M1 CAN Bus

BPI-M1 Camera interface

BPI-M1 RGB DSI interface

BPI-M1 SATA interface

BPI-M1 MIC

BPI-M1 Audio

BPI-M1 3.7V lithium battery interface

BPI-M1 OTG interface

BPI-M1 UART interface

BPI-M1 DC Power interface

BPI-M1 schematic diagram

BPI-M1 DXF and 3D design

BPI-M1 CE FCC RoHS Certification

BPI-M1 software

BPI-M1 quick start

Android software

Android Mattrix XBMC\/KODI Image - V3.1

Linux software

Linux kernel 3.4 image

Compulsive modification of HDMI output resolution

Linux mainline kernel image

BPI-M1 WiringPi

WiringPi python

Pi4J Project

OpenWRT

Officeal OpenWRT

How to build OpenWRT image from github

Lamobo Openwrt image

Asterisk for VOIP

Arch Linux

1

Содержание BPI-M1

Страница 1: ...N Bus BPI M1 Camera interface BPI M1 RGB DSI interface BPI M1 SATA interface BPI M1 MIC BPI M1 Audio BPI M1 3 7V lithium battery interface BPI M1 OTG interface BPI M1 UART interface BPI M1 DC Power in...

Страница 2: ...D on BPI M1 CentOS 7 Linux for BPI lakka tv DietPi FreeBSD NetBSD Reference documents BPI M1 linux sunxi wiki NetBSD evbarm on Allwinner Technology SoCs Arch linux wiki for BPI M1 Nas for BPI Building...

Страница 3: ...and Cubieboard Banana PI BPI M1 has a Gigabit Ethernet port and a SATA Socket It can run with Android 4 2 2 smoothly The size of Banana PI M1 is about the same size as a credit card It can easily run...

Страница 4: ...BPI M1 Hardware BIP M1 with 26 PIN BPI M1 with 40 pin and support WIFI onboard BPI M1 hardware 4...

Страница 5: ...BPI M1 hardware 5...

Страница 6: ...BPI M1 hardware interface Hardware interface BPI M1 hardware interface 6...

Страница 7: ...BPI M1 hardware interface 7...

Страница 8: ...hardware interface BPI M1 hardware interface 8...

Страница 9: ...e Video Outputs HDMI CVBS LVDS RGB Audio Output 3 5 mm Jack and HDMI Power Source 5 volt via MicroUSB DC In Only and or MicroUSB OTG USB 2 0 Ports 2 direct from Allwinner A20 chip Buttons Reset button...

Страница 10: ...Pi BPI M1 has a 26 pin GPIO header that matches that of the Model A and Model B Raspberry Pi Following is the Banana Pi GPIO Pinout Note 5V1 5V2 only support output not support input CSI Camera Connec...

Страница 11: ...ON1 P08 ADC_Y1 CON1 P09 FMINR CON1 P10 ADC_Y2 CON1 P11 GND CON1 P12 CSI FLASH PH17 CON1 P13 LRADC0 CON1 P14 TWI1 SDA PB19 CON1 P15 LRADC1 CON1 P16 TWI1 SCK PB18 CON1 P17 CSI D0 PE4 CON1 P18 CSI0 STBY...

Страница 12: ...PSOUT 5V output CON2 P02 TWI3 SDA PI1 CON2 P03 IPSOUT 5V output CON2 P04 TWI3 SCK PI0 CON2 P05 GND CON2 P06 LCD0 IO0 PH7 CON2 P07 LCDIO 03 PH12 CON2 P08 LCD0 IO1 PH8 CON2 P09 LCD0 D0 LVDS0 VP0 PD0 CON...

Страница 13: ...or developers of Banana Pi this is an easy way to get the UART console output to check the system status and log message J11 Pin Pin Name Multiplex Function Select GPIO Multi 1 Multi 2 J11 Pin1 TXD UA...

Страница 14: ...BPI M1 GPIO Pin define 14...

Страница 15: ...BPI M1 SD card slot BPI M1 have support a SD card slot you can burn image to SD card and use it boot BPI M1 same as raspberry pi BPI M1 SD card slot 15...

Страница 16: ...BPI M1 GigE RJ45 LAN BPI M1 have one GigE LAN port use RTL8211E chip on board BPI M1 GigE LAN 16...

Страница 17: ...MI interface 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 M1 to the display monitor Note if the HDMI to...

Страница 18: ...uinput Don t start lircmd even if there seems to be a good config file START_LIRCMD false Don t start irexec even if a good config file seems to exist START_IREXEC false Try to load appropriate kerne...

Страница 19: ...please note value 0 value 1 press is 1 unpress is 0 BPI M1 IR interface 19...

Страница 20: ...package git clone https github com Bananian linux bananapi apt get install build essential u boot tools uboot mkimage apt get install libusb 1 0 0 libusb 1 0 0 dev git wget fakeroot kernel package zl...

Страница 21: ...ules echo can4linux etc modules reboot Build CAN example apt get install swig apt get install python dev cd can4linux code can4linux examples Update CAN speed and device in file pyCan example py ex se...

Страница 22: ...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 CSI pin define please see BPI M1 GPIO pine define BPI M1 CSI c...

Страница 23: ...nitions of this connector are shown as below This is marked on the Banana Pi board as DSI DSI pin define please see BPI M1 GPIO pine define BPI M1 LCD touch panel accessories https bananapi gitbooks i...

Страница 24: ...rt sata interface and onboard power port you can use sata line connect your hardisk on BPI M1 Note if you use 3 5 big hardisk you may need power with outside power on board power can not support enoug...

Страница 25: ...ike pcm default type hw card 0 for headphone turn 1 to 0 device 0 ctl default type hw card 0 for headphone turn 1 to 0 Shutdown make a cold boot Call the alsamixer alsamixer Press F5 Your channels sho...

Страница 26: ...l MicL 0 Capabilities volume volume joined Playback channels Mono Capture channels Mono Limits 0 3 Mono 1 33 Simple mixer control MicR 0 Capabilities volume volume joined Playback channels Mono Captur...

Страница 27: ...Mixer 0 Capabilities pswitch pswitch joined Playback channels Mono Mono Playback on Simple mixer control Right Capture Mute 0 Capabilities pswitch pswitch joined Playback channels Mono Mono Playback o...

Страница 28: ...ced Recording Devide recording and postprocessing in two parts rec t raw remix sox t raw r 48000 c 1 b 16 e signed integer t mp3 c 1 C 32 test mp3 Recording t raw forward raw input to pipe remix Mix t...

Страница 29: ...in bash send sigterm and wait for exit of the process function stop kill while kill 0 do sleep 1 done function log echo date T log Stopping previus recording stop pidof rec dev null DATE date Y m d lo...

Страница 30: ...ntab env EDITOR nano crontab e Insert at the end the following PATH usr local bin usr local sbin sbin usr sbin bin usr bin 0 0 root record sh root record mic log A new recording should start every day...

Страница 31: ...MI as output turn 0 to 1 device 0 ctl default type hw card 0 If you want to set HDMI as output turn 0 to 1 Plug in the headphone and type speaker test twav c2 The sound sound left sound right sound le...

Страница 32: ...M 3 7V lithium battery interface 1 Battery interface of BPI M1 use way same as BPI M3 https bananapi gitbooks io bpi m3 content bpim3lithiumbatteryinterface html BPI M1 3 7V lithium battery interface...

Страница 33: ...BPI M1 OTG interface banana pi BPI M1 have 1 OTG port on board Note you also can use OTG port power BPI M1 BPI M1 OTG interface 33...

Страница 34: ...BPI M1 have 4 UART port on board How to use serial port with minicom 1 use ssh connect to BPI M1 and install minicom sudo apt get install minicom 2 choose serial port minicom s Uart port for BPI M1 BP...

Страница 35: ...now we test UART2 setting as below save BPI M1 UART interface 35...

Страница 36: ...exit minicom runing check Uart number dmesg grep ttyS so you can see UART0 is ttyS1 3 you can use windows hyperterminal or putty on you PC and setting the right Uart number BPI M1 UART interface 36...

Страница 37: ...4 test function BPI M1 send hello pc BPI M1 receive hello Ok BPI M1 UART interface 37...

Страница 38: ...5 you can use the same way to test UART3 ttyS2 UART7 ttyS3 so all is working fine BPI M1 UART interface 38...

Страница 39: ...BPI M1 UART interface 39...

Страница 40: ...BPI M1 DC Power interface BPI M1 DC power is micro USB interface you need use 5V 2A micro USB power adapter BPI M1 DC Power interface 40...

Страница 41: ...BPI M1 schematic diagram You can refer to the contents of our forum from this link Google driver File name BPI M1 schematic pdf BPI M1 schematic diagram 41...

Страница 42: ...design banana pi BPI M1 have public DXF file and 3D design file so user can DIY case by theyself BPI M1 DXF file download link Google driver BPI M1 3D design file download link Google driver BPI M1 DX...

Страница 43: ...ocess from developing testing manufacturing to certification We put quality first users can mass produce their products using our boards directly we ve been dedicating to providing the most cost perfo...

Страница 44: ...BPI M2 RoHS Certification BPI M1 CE FCC RoHS Certification 44...

Страница 45: ...BPI M1 CE FCC RoHS Certification 45...

Страница 46: ...BPI M1 BPI M1 software 46...

Страница 47: ...and mouse Any standard USB keyboard and mouse should work keyboards or mice that take a lot of power from the USB ports however may need a powered USB hub This may include some wireless devices 4 Ethe...

Страница 48: ...ite an OS image to your SD card under Windows os and Linux os 1 Insert your SD card into your computer The size of SD should be larger than the OS image size generally 8GB or greater 2 Format the SD c...

Страница 49: ...rd node 3 Download the OS image from Download district http www banana pi org 4 Unzip the download file to get the OS image Windows Right click on the file and choose Extract all Linux Run unzip downl...

Страница 50: ...5 3 Press Image File and Select system img 5 4 Press Burn to start upgrading Upgraded complete Press Exit BPI M1 quick start 50...

Страница 51: ...ully complete writing 5 7 burun Linux image under Linux os Run fdisk l command to check the SD card node Run dd if imagename of dev sdx command to write image file to SD card Wait patiently to success...

Страница 52: ...umber 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 s...

Страница 53: ...Android software Banana pi BPI M1 support android 4 2 and android 4 4 Image download link http www banana pi org download html Android software 53...

Страница 54: ...ONS Unzip image burn with PhoenixCard Boot and then wait about 1 2 mins KODI will automatically start signalling the end of the installation process That s it If using 1080p version exit KODI and set...

Страница 55: ...Mount Fix Set to stock Android Launcher Ethernet Default to ON Remove all apps can be added back via PlayStore if required Add XBMC App Add MX Player Add SuperSu App Give it a go and let me know any...

Страница 56: ...Linux software Banana pi have support raspbian ubuntu debian linux os image download link http www banana pi org download html Note you need download BPI M1 image Linux software 56...

Страница 57: ...untu mate org download 2 BPI M1 BPI M1P BPI R1 u boot 2016 05 kernel 3 4 112 based on armbian s build 3 username password pi bananapi root bananapi 4 support HDMI 1080P 720P default 5 support GMAC 6 s...

Страница 58: ...m1 m1p r1 img 2016 07 19 2016 07 19 edu ubuntu mate 1604 preview bpi m1 m1p r1 img zip 1 based on ubuntu 16 04 mate from bpi m3 mate http opensource ntpc edu tw 2 BPI M1 BPI M1P BPI R1 u boot 2016 05...

Страница 59: ...e google com file d 0B_YnvHgh2rwjUXZmZTh3ZG5LTEU view usp sharing MD5 37d6599eac4daced375fba8fa58dc1d5 discuss on forum http forum banana pi org t bpi m1 m1 new image edu ubuntu mate 1604 preview bpi...

Страница 60: ...file d 0B_YnvHgh2rwjaXQtVGUtbFplTUU view usp sharing MD5 1951f3abc0a54675d9bbbac387760e4e discuss on forum http forum banana pi org t bpi m1 m1 new image kanux beta 3 3 0 preview bpi m1 m1p r1 img 201...

Страница 61: ...ogle com file d 0B_YnvHgh2rwjdTh5ZnVZam1rb0E view usp sharing MD5 156b09907586ea9e86481bda73f4254f discuss on forum http forum banana pi org t bpi m1 m1 new image raspbian jessie bpi m1 m1p r1 img 201...

Страница 62: ...com file d 0B_YnvHgh2rwjRXRuWHJ5V3BJTmc view usp sharing MD5 302063f7417079390da79334258dd538 discuss on forum http forum banana pi org t bpi m1 m1 new image raspbian lite bpi m1 m1p r1 img 2016 07 12...

Страница 63: ...ib by armbian s work 13 special thanks for linux sunxi s work https linux sunxi org Google Drive https drive google com file d 0B_YnvHgh2rwjUXFrU0ZDX3Z2NlE view usp sharing MD5 b900b9ba3b0f664a2cfae1f...

Страница 64: ...Compulsive modification of HDMI output resolution Linux kernel 3 4 image 64...

Страница 65: ...nanapi 4 support HDMI 720P 1080P default 5 support GMAC 6 support SATA 7 support extlinux conf to select kernel 4 5 5 or 4 6 5 8 thanks to fedora s work https arm fedoraproject org 9 ref https fedorap...

Страница 66: ...rg wiki Architectures ARM 10 support nodejs 11 support nodered Google Drive https drive google com file d 0B_YnvHgh2rwjM19qQ0tlZDJrdUU view usp sharing MD5 04919cfc9c259a6846442643d26d2855 discuss on...

Страница 67: ...ipt to load zImage fdtfile initrd 7 thanks to opensuse s work https www opensuse org 8 ref https en opensuse org Portal ARM 9 support nodejs 10 support nodered Google Drive https drive google com file...

Страница 68: ...ps github com BPI SINOVOIP WiringPi https github com BPI SINOVOIP WiringPi tree master wiringPi board install BPI M1 WiringPi 1 Download WiringPi from github For BPI M1 git clone https github com BPI...

Страница 69: ...HIGH delay 500 digitalWrite 0 LOW delay 500 compile and run it gcc Wall o blink blink c lwiringPi runing it sudo blink BPI have many extend board support WiringPi so you can free DIY by youself more...

Страница 70: ...ne by the BPI team BPI Github now officially releases BPI WiringPi2 Python We ve customized WiringPi for BPI products with the latest WiringPi2 Python version V1 1 1 Source on github https github com...

Страница 71: ...Discuss on forum http forum banana pi org t do you develop apps with python banana pi gpio python test is ok code uploaded to github 276 WiringPi python 71...

Страница 72: ...SPI and UART serial There is no documentation yet specifically for the Banana platforms but apart from a few subtle differences in configuring a platform and pin bus addressing its basically the same...

Страница 73: ...PI R1 BPI R1_OpenWrt_V4 0 MD5 CB597EE79A6E27630AD7F903D23C4A7B http pan baidu com s 1mg8Gjna https drive google com file d 0B3EGHv0FSPOGeHJNdmVXS3UtMUU view usp sharing source Code on github https git...

Страница 74: ...se 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...

Страница 75: ...d BPI OpenWRT 4 update package and install scripts feeds update a scripts feeds install a 5 Enter the customization interface please choose your need Target System default is BananaPi its the only cho...

Страница 76: ...ages reserved 0 000000 Normal zone 194560 pages LIFO batch 31 0 000000 HighMem zone 512 pages used for memmap 0 000000 HighMem zone 65536 pages LIFO batch 15 0 000000 psci probing for conduit method f...

Страница 77: ...dummy no parameters 0 071879 NET Registered protocol family 16 0 072229 DMA preallocated 256 KiB pool for atomic coherent allocations 0 111482 reg fixed voltage ahci 5v could not find pctldev for nod...

Страница 78: ...egulator 0 978474 input 1c22800 lradc as devices soc 01c00000 1c22800 lradc input input0 0 991771 axp20x regulator axp20x regulator regulators node not found 0 998630 LDO1 1300 mV 1 001767 LDO2 at 300...

Страница 79: ...number 4 1 622242 ohci platform 1c1c400 usb irq 97 io mem 0x01c1c400 1 688838 usb usb4 New USB device found idVendor 1d6b idProduct 0001 1 695643 usb usb4 New USB device strings Mfr 3 Product 2 Seria...

Страница 80: ...cfg80211 57240000 KHz 63720000 KHz 2160000 KHz N A 0 mBm N A 10 033695 PPP generic driver version 2 4 2 10 039216 NET Registered protocol family 24 10 057795 rtl8192cu Chip version 0x11 10 148074 rtl...

Страница 81: ...xt4 img 2 Prepare a TTL thread for to connent OpenWrt bash terminal 3 Connect to OpenWrt terminal throught TTL thread modify OpenWrt packages source All Of OpenWrt packages is released on elastos org...

Страница 82: ...n device eth0 option ports 0 1 2 4 8t option vlan 1 config interface wan option ifname eth0 2 option proto dhcp config switch_vlan option device eth0 option vlan 2 option ports 3 8t start router web s...

Страница 83: ...munications applications It includes all the building blocks needed to create a PBX an IVR system a conference bridge and virtually any other communications app you can imagine Source Official Asterix...

Страница 84: ...Arch Linux Arch Linux have official support BPI M1 BPI M1 Image download and wiki page https wiki archlinux org index php Banana_Pi Arch Linux 84...

Страница 85: ...raphical options will be published as well As root extract the image onto your SD Card replace sdX with the device name of your SD Card WARNING all previous data on the SD Card will be lost xzcat imag...

Страница 86: ...turns off on inactivity Kernel Support for 8 channels hdmi more information please bananian official website https www bananian org download the team of the Bananian Linux project is pleased to announ...

Страница 87: ...based wifi access points router NAS systems monitoring devices etc Bananian Linux is a pre installed Debian 8 image optimized for Banana Pi It uses the official Debian Jessie armhf repositories with a...

Страница 88: ...sing various plug ins website link http www openmediavault org Image for Banana Pi is based on Debian Linux Image already have instaled OpenMediaVault software and includes omv extras org reposytory f...

Страница 89: ...x Armbian Linux have official support BPI M1 BPI M1 BPI M2 BPI M2 BPI R1 Image download and armbian forum page http www armbian com download armbian github link https github com igorpecovnik lib Armbi...

Страница 90: ...oo Linux have officeal support banana pi BPI M1 so you also can use on BPI M1 and BPI R1 all is base on allwinner A20 chip Gentoo Linux official WiKi https wiki gentoo org wiki Banana_Pi_the_Gentoo_Wa...

Страница 91: ...rs get started Initially they will start off pretty basic but will expand in different directions to support different goals Initial goals include Education and Entertainment All of our images are bui...

Страница 92: ...ted new on the CentOS 7 build 1511 rolling release which brought a assorted new features software updates and enhancements such as Kerberos HTTP proxy for identity management ECC support for TLS conne...

Страница 93: ...ana pi Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console and lakka tv have official support banana pi image download http www lakka tv get linux...

Страница 94: ...MB in size 3x lighter than Raspbian Lite With features of low process memory footprint and DietPi RAMlog installed by default DietPi allows you to get the maximum performance from your device Now it s...

Страница 95: ...ort many Allwinner so easy to use on banana pi board Allwinner A20 sun7i a dual core Cortex A7 BPI M1 BPI M1 BPI R1 Allwinner A31 and A31s sun6i a quad core Cortex A7 BPI M2 Allwinner A64 sun50i a qua...

Страница 96: ...Reference documents Reference documents 96...

Страница 97: ...linux sunxi wiki lemaker banana pi is same as banana pi BPI M1 http linux sunxi org LeMaker_Banana_Pi BPI M1 linux sunxi wiki 97...

Страница 98: ...it excellent for use in both production and research environments and the source code is freely available under a business friendly license NetBSD is developed and supported by a large and vivid inte...

Страница 99: ...Arch linux wiki for BPI M1 https wiki archlinux org index php Banana_Pi Arch linux wiki for BPI M1 99...

Страница 100: ...age device such as disk arrays CD DVD drives tape drives or removable storage medium and embedded system software can provide a cross platform file sharing function more please see https www hackster...

Страница 101: ...te from a piece of MDF and used the template to drill holes in each of the banking plates I drilled small holes for plastic PCB supports which I use to hold each board in place The bolts are inserted...

Страница 102: ...nana Pi has SATA port SATA power supply I had no idea of where to begin So Googled it Found 3 sites that more or less described how to proceed but both where for Raspbian only and dead ended me along...

Страница 103: ...creative banana pi cookbook utm_source SI www bananapi com utm_medium pod utm_campaign 1783552441 Learning Banana Pi https www packtpub com hardware and creative learning banana pi utm_source SI www b...

Страница 104: ...ub goals with milestones for adding Allwinner support in the upstream mainline Linux Kernel It is very important to note that this is intended as a rough set of minimal goals it is not meant to collid...

Страница 105: ...Allwinner chip documents allwinner chip online datasheet and documents http dl linux sunxi org Allwinner chip documents 105...

Страница 106: ...s comparison_20170612 excel file download https drive google com file d 0B4PAo2nW2KfnUlVfQ2NQRTF2b2M view usp sharing Banana Pi series comparison_20170612 pdf file download https drive google com file...

Страница 107: ...tra content Banana pi BPI M3 allwinner A83T R58 H8 octa core single board computer gitbook online datasheet https bananapi gitbooks io bpi m3 content en banana pi BPI M64 allwinner A64 64 bit single b...

Страница 108: ...nagement personnel We have complete SMT production lines plug ins production line assembly line production line testing your Idea we will help you optimize and design your Design we will help you brin...

Страница 109: ...erful device that most people would want to have it you knew it quite well that your success is just around the corner The only last step is to produce it but without manufactruing capability no probl...

Страница 110: ...BPI 4 0 customized Server 110...

Отзывы: