background image

J13-P01

UART0-RX

PB23

J13-P02

UART0-TX

PB22

BPI-R1 GPIO Pin define

14

Summary of Contents for BPI-R1

Page 1: ...R1 Audio BPI R1 IR interface BPI R1 USB interface BPI R1 OTG interface BPI R1 SATA interface BPI R1 HDMI interfact BPI R1 Camera interface BPI R1 RGB DSI interface BPI R1 5 GbE Ethernet ports BPI R1 3...

Page 2: ...Pi python Pi4J Project Reference documents linux sunxi wiki Manual for HW setup and basic router functionalities NetBSD evbarm on Allwinner Technology SoCs David Bentham openwrt bpi r1 prebuilt Linux...

Page 3: ...Linux product It can run with Android 4 4 smoothly and with 5 Gigabit ethernet port SATA Socket also support Linux OS and Openwrt os it can easily run with the game and support 1080P high definition...

Page 4: ...First Chapter GitBook allows you to organize your book into chapters each chapter is stored in a separate file like this one BPI R1 hardware 4...

Page 5: ...BPI R1 hardware interface BPI R1 hardware interface Front Back BPI R1 hardware interface 5...

Page 6: ...Hardware connect sketch map Front Back BPI R1 hardware interface 6...

Page 7: ...BPI R1 hardware interface 7...

Page 8: ...BPI R1 hardware spec BPI R1 hardware spec 8...

Page 9: ...ole input output Whilst this is useful if you want to login using the serial port So it is the most common used PIN J12 also contains serial port CON3 contains CAN bus SPI bus PWM serial port and etc...

Page 10: ...gnal pin mappings The pin definitions of the CSI interface are shown as below PIN PIN define GPIO CON1 P01 LINEINL CON1 P02 LINEINR CON1 P37 HPL CON1 P36 HPR CON1 P07 FMINL CON1 P09 FMINR CON1 P04 ADC...

Page 11: ...1 SCK PB18 CON1 P12 CSI0 FLASH PH17 CON1 P22 CSI0 PWR EN PH16 CON1 P35 CSI IO0 PH11 CON1 P38 IPSOUT CON1 P40 IPSOUT CON1 P05 GND CON1 P11 GND CON1 P39 GND CON1 P03 VCC CSI LVDS Pin specification LVDS...

Page 12: ...P30 LCD0 D21 PD21 CON2 P28 LCD0 D22 PD22 CON2 P26 LCD0 D23 PD23 CON2 P22 LCD0 CLK PD24 CON2 P20 LCD0 CS PH6 CON2 P18 LCD0 HSYNC PD26 CON2 P16 LCD0 VSYNC PD27 CON2 P14 LCD0 DE PD25 CON2 P12 LCD0 IO2 PH...

Page 13: ...2_RTS PI16 CON3 P11 UART2_RX PI19 CON3 P13 UART2_TX PI18 CON3 P10 UART3_RX PH1 CON3 P08 UART3_TX PH0 CON3 P12 PH2 PH2 CON3 P07 PWM1 PI3 CON3 P01 VCC 3V3 CON3 P17 VCC 3V3 CON3 P02 VCC 5V CON3 P04 VCC 5...

Page 14: ...J13 P01 UART0 RX PB23 J13 P02 UART0 TX PB22 BPI R1 GPIO Pin define 14...

Page 15: ...BPI R1 SD card slot BPI R1 have support a TF card slot you can burn image to TF card and use it boot BPI R1 same as raspberry pi BPI R1 SD card slot 15...

Page 16: ...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...

Page 17: ...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...

Page 18: ...BPI R1 WIFI interface banana pi BPI R1 have support rtl8192CU 2T2R wifi module onboard it support 802 11 b g n wifi BPI R1 WIFI interface 18...

Page 19: ...ntenna slot banana pi BPI R1 have support rtl8192CU 2T2R wifi module onboard so it need 2 extend antenna line you can use 3DB 5DB extend antenna line wifi extend antenna wifi slot spec BPI R1 wifi ant...

Page 20: ...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...

Page 21: ...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...

Page 22: ...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...

Page 23: ...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...

Page 24: ...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...

Page 25: ...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 re cord mic log A new recording should start every da...

Page 26: ...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...

Page 27: ...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...

Page 28: ...please note value 0 value 1 press is 1 unpress is 0 BPI R1 IR interface 28...

Page 29: ...BPI R1 USB interface BPI R1 just only 1 USB 2 0 interface on board so you can connect Keyboard mouse USB camera and on BPI R1 BPI R1 USB interface 29...

Page 30: ...BPI R1 OTG interface banana pi BPI R1 have 1 OTG port on board Note you also can use OTG port power BPI R1 BPI R1 OTG interface 30...

Page 31: ...BPI R1 SATA interface BPI R1 support sata interface onboard you can use 2 5 hardisk on BPI R1 BPI R1 SATA interface 31...

Page 32: ...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 R1 to the display monitor Note if the HDMI to...

Page 33: ...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 R1 GPIO pine define BPI R1 CSI c...

Page 34: ...nitions of this connector are shown as below This is marked on the Banana Pi board as DSI DSI pin define please see BPI R1 GPIO pine define BPI R1 LCD touch panel accessories https bananapi gitbooks i...

Page 35: ...n the b53 driver then the BCM53125 always acts as a primitive layer 2 switch forwarding Ethernet frames between all external Ethernet ports not differentiating between the so called WAN port and the 4...

Page 36: ...R1 3 7V lithium battery interface 1 Battery interface of BPI R1 use way same as BPI M3 https bananapi gitbooks io bpi m3 content bpim3lithiumbatteryinterface html BPI R1 3 7V lithium battery interface...

Page 37: ...BPI R1 DC Power interface BPI R1 DC power is micro USB interface you need use 5V 2A micro USB power adapter BPI R1 DC Power interface 37...

Page 38: ...schematic diagram google driver download link https drive google com file d 0B4PAo2nW2KfnNTBaVENGeHZfSzA view usp sharing File name banan pi BPI R1 MP Schematic SD_V3 20140922 pdf BPI R1 schematic dia...

Page 39: ...BPI R1 3D DXF file download link https drive google com file d 0B4PAo2nW2KfnOVhFMFp6MFFfa00 view usp sharing BPI R1 3D and DXF file 39...

Page 40: ...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...

Page 41: ...BPI R1 RoHS Certification BPI R1 CE FCC RoHS Certification 41...

Page 42: ...BPI R1 CE FCC RoHS Certification 42...

Page 43: ...BPI R1 Software BPI R1 support linux android and openwrt system BPI R1 Software 43...

Page 44: ...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...

Page 45: ...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...

Page 46: ...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...

Page 47: ...5 3 Press Image File and Select system img 5 4 Press Burn to start upgrading Upgraded complete Press Exit BPI R1 quick start 47...

Page 48: ...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...

Page 49: ...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...

Page 50: ...BPI R1 android software banana pi PBI R1 support android 4 4 image google download link https drive google com file d 0BxpbZWFFuHmyUHRYeE9uenFTVmc view BPI R1 android software 50...

Page 51: ...BPI R1 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 R1 image BPI R1 Linux software 51...

Page 52: ...cmd can switch to bpi m64 bpi m3 bpi m2 bpi m2p bpi m1 m1p r1 9 support boot scr boot cmd to fatload script bin uImage uInitrd 10 support boot scr to set video 1080P 720P 480P 11 based on armbian s bu...

Page 53: ...support SATA 8 support bpi bootsel cmd can switch to bpi m64 bpi m3 bpi m2 bpi m2p bpi m1 m1p r1 9 support boot scr boot cmd to fatload script bin uImage uInitrd 10 support boot scr to set video 1080...

Page 54: ...112 based on armbian s build username password pi bananapi root bananapi support HDMI 1080P 720P default support GMAC support WIFI support SATA support bpi bootsel cmd can switch to bpi m64 bpi m3 bpi...

Page 55: ...oot bananapi 4 support HDMI 1080P 720P default 5 support GMAC 6 support WIFI 7 support SATA 8 support bpi bootsel cmd can switch to bpi m64 bpi m3 bpi m2 bpi m2p bpi m1 m1p r1 9 support boot scr boot...

Page 56: ...i bananapi root bananapi 4 support HDMI 1080P 720P default 5 support GMAC 6 support WIFI 7 support SATA 8 support bpi bootsel cmd can switch to bpi m64 bpi m3 bpi m2 bpi m2p bpi m1 m1p r1 9 support bo...

Page 57: ...ild 3 username password pi bananapi root bananapi 4 support HDMI 1080P 720P default 5 support GMAC 6 support WIFI module only no wireless tools 7 support SATA 8 support bpi bootsel cmd can switch to b...

Page 58: ...bpi m1p bpi r1 8 support boot scr boot cmd to fatload script bin uImage uInitrd 9 support boot scr to set video 1080P 720P 480P 10 support GPU Mali 400 glmark2 es2 11 support video hw decode 1080p wi...

Page 59: ...Linux kernel 3 4 BSP image 59...

Page 60: ...g a new solution to modify the resolution of HDMI no other risks if you do it according to this document step by step 1 install compile sunxi tools depended upon packages sudo apt get install libusb 1...

Page 61: ...cd1_hue 50 just change screen0_output_mode 5 note other not do any change A20 support as below HDMI TV mode numbers 0 480i 1 576i 2 480p 3 576p 4 720p 50Hz 5 720p 60Hz 6 1080i 50 Hz 7 1080i 60 Hz 8 10...

Page 62: ...115200 console tty1 root dev mmcblk0p2 rootwait init init vmalloc 384M ion_c ma_list 120m 176m 512m loglevel 8 bootmenutimeout 10 datadev mmcblk0p2 disp screen0_output_type 3 disp screen0_o utput_mode...

Page 63: ...file zImage uInitrd 9 support boot scr to set video 1080P 720P 10 based on armbian s build env rootfs thanks for armbian http www armbian com 11 github from https github com igorpecovnik lib by armbia...

Page 64: ..._YnvHgh2rwjV3I5RlpwdmZHYWs view usp sharing MD5 f6952fc265ba26c953eb929d23d1ac95 discuss on forum http forum banana pi org t bpi r1 new image armbian 5 17 bpi r1 debian jessie 4 6 5 desktop build by b...

Page 65: ...97EE79A6E27630AD7F903D23C4A7B Image download http www banana pi org download html source code on github https github com BPI SINOVOIP BPI OpenWRT also you can see openwrt org http downloads openwrt or...

Page 66: ...hip 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...

Page 67: ...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...

Page 68: ...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...

Page 69: ...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...

Page 70: ...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...

Page 71: ...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...

Page 72: ...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...

Page 73: ...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...

Page 74: ...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...

Page 75: ...pgradable to 12 desktop system with FreePBX running on the BPi R1 Further Bananian offers lightening fast boot and load times with remarkable performance You can compare the speed with my earlier RasP...

Page 76: ...BPI R1 OpenBSD BPI R1 booting OpenBSD current http www openbsd org armv7 html BPI R1 OpenBSD 76...

Page 77: ...zh3Fns Jo edit version armbian 2 7 kernel 3 4 107 if your R1 is connected to both https docs google com document d 1V0Kcnl ySOUeLEAng2ZzkIO65Cf3IkT1E FWF6CPQro edit IP routing slides https docs google...

Page 78: ...tput 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 a...

Page 79: ...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...

Page 80: ...WiringPi from github For BPI R1 git clone https github com BPI SINOVOIP BPI WiringPi git b BPI_R1 2 Installation cd BPI WiringPi chmod x build sudo build 3 test wiringPi is install success gpio v gpi...

Page 81: ...y 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 about BPI...

Page 82: ...hon We ve customized WiringPi for BPI products with the latest WiringPi2 Python version V1 1 1 Source on github https github com BPI SINOVOIP BPI WiringPi2 Python Discuss on forum http forum banana pi...

Page 83: ...puts PWM I2C 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 basica...

Page 84: ...Reference documents Thank many user writer document for banana pi BPI R1 Reference documents 84...

Page 85: ...d manufacturer is neither cooperative nor supplies necessary hardware details for the board more please see this link http linux sunxi org Lamobo_R1 note Lamobo R1 is same as BPI R1 all hardware is fo...

Page 86: ...thought such a document would help to become not only faster but to get a better result as well My know how is getting better but many things are missing I have now written a new manual for IGOR s 2 7...

Page 87: ...nner Technology SoCs NetBSD 7 0 has support for A20 and A31 SoCs NetBSD current adds support for A80 SoCs more please see https wiki netbsd org ports evbarm allwinner index1h1 NetBSD evbarm on Allwinn...

Page 88: ...ilt images are located at gitlab or google drive VM build system OpenwrtBuild BPI R1 VM V1 0 torrent if you wish to spin up your own version from scratch more please see https gitlab com db260179 open...

Page 89: ...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...

Page 90: ...Allwinner chip documents allwinner chip online datasheet and documents http dl linux sunxi org Allwinner chip documents 90...

Page 91: ...ltra 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...

Page 92: ...roduction line assembly line production line testing your Idea we will help you optimize and design your Design we will help you bring it to live your Product we will help you mass produce it Customiz...

Page 93: ...u 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 problem let us carry you through Our 13 years of SCM experi...

Reviews: