Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
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
TableofContentsBPI-M1
BPI-M1hardware
BPI-M1hardwareinterface
BPI-M1hardwarespec
BPI-M1GPIOPindefine
BPI-M1SDcardslot
BPI-M1GigELAN
BPI-M1HDMIinterface
BPI-M1IRinterface
BPI-M1CANBus
BPI-M1Camerainterface
BPI-M1RGBDSIinterface
BPI-M1SATAinterface
BPI-M1MIC
BPI-M1Audio
BPI-M13.7Vlithiumbatteryinterface
BPI-M1OTGinterface
BPI-M1UARTinterface
BPI-M1DCPowerinterface
BPI-M1schematicdiagram
BPI-M1DXFand3Ddesign
BPI-M1CEFCCRoHSCertification
BPI-M1software
BPI-M1quickstart
Androidsoftware
AndroidMattrixXBMC\/KODIImage-V3.1
Linuxsoftware
Linuxkernel3.4image
CompulsivemodificationofHDMIoutputresolution
Linuxmainlinekernelimage
BPI-M1WiringPi
WiringPipython
Pi4JProject
OpenWRT
OfficealOpenWRT
HowtobuildOpenWRTimagefromgithub
LamoboOpenwrtimage
AsteriskforVOIP
ArchLinux
1
1.3.8
1.3.9
1.3.10
1.3.11
1.3.12
1.3.13
1.3.14
1.3.15
1.3.16
1.3.17
1.4
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8
1.4.9
1.5
1.6
1.7
OpenSuse
BananianLinux
OpenMediaVault
ArmbianLinux
GentooLinux
RaspBSDonBPI-M1
CentOS7LinuxforBPI
lakka.tv
DietPi
FreeBSD/NetBSD
Referencedocuments
BPI-M1linux-sunxiwiki
NetBSD\/evbarmonAllwinnerTechnologySoCs
ArchlinuxwikiforBPI-M1
NasforBPI
BuildingtheclusteronBPI
HowtobootingfromSSDusingLubuntu\/Raspbian
bananapibooks
Linuxmainliningeffort
Allwinnerchipdocuments
AllBananaPiSBCComparison
Allbananapiproduct
BPI4.0customizedServer
2
bananapiBPI-M1
BPI-M1isanOpenSourcehardwareplatform.BananaPIBPI-M1adualcore,whichismuchbetterthantheRaspberryPi.
TheBananaPiBPI-M1hardwarerunsAndroid,DebianLinux,UbuntuLinux,OpenSuselinuxandimagesthatrunontheRaspberryPiBandCubieboard.
BananaPIBPI-M1hasaGigabitEthernetportandaSATASocket.ItcanrunwithAndroid4.2.2smoothly.ThesizeofBananaPIM1isaboutthesamesizeasacreditcard,
Itcaneasilyrungamesasitsupports1080Phighdefinitionvideooutput.TheGPIOiscompatiblewithRaspberryPiandcanrunRaspberryPiimagesdirectly.
forum:http://www.banana-pi.org
forum:http://www.bananapi.com
product:http://www.banana-pi.com
easytobuyasample:
BPI-M1
3
http://www.bananapi.comhttp://www.banana-pi.comhttps://pt.aliexpress.com/store/302756
BPI-M1Hardware
BIP-M1with26PIN
BPI-M1+with40pinandsupportWIFIonboard
BPI-M1hardware
4
BPI-M1hardware
5
BPI-M1hardwareinterfaceHardwareinterface:
BPI-M1hardwareinterface
6
BPI-M1hardwareinterface
7
hardwareinterface:
BPI-M1hardwareinterface
8
Hardwarespecification
CPU A20ARMCortex™-A7Dual-Core
GPU ARMMali400MP2ComplieswithOpenGLES2.0/1.1
Memory (SDRAM)1GBDDR3(sharedwithGPU)
OnboardStorage SD(Max.64GB)/MMCcardslotUPto2Ton2.5SATAdisk
OnboardNetwork 10/100/1000EthernetRJ45,optionalWIFI
VideoInput ACSIinputconnectorallowsfortheconnectionofadesignedcameramodule
VideoOutputs HDMI,CVBS,LVDS/RGB
AudioOutput 3.5mmJackandHDMI
PowerSource 5voltviaMicroUSB(DCInOnly)and/orMicroUSB(OTG)
USB2.0Ports 2(directfromAllwinnerA20chip)
Buttons Resetbutton:NexttoMicroUSBconnector,Powerbutton:NexttoResetbutton,Bootbutton(Optional):BehindHDMIconnector
GPIO(2X13)pin GPIO,UART,I2Cbus,SPIbuswithtwochipselects,CANbus,ADC,PWM,+3.3v,+5v,ground.
LED PowerKey&RJ45
Remote IR(Optional)
OS Android4.2,Linuxetc.OS
Productsize 92mm×60mm
Weight 48g
workingtemperaturerange -15~75℃
BPI-M1hardwarespec
9
bananapiBPI-M126PINGPIOdefineBananaPiBPI-M1hasa26-pinGPIOheaderthatmatchesthatoftheModelAandModelBRaspberryPi.FollowingistheBananaPiGPIOPinout:
Note:5V1,5V2onlysupportoutput,notsupportinput
CSICameraConnectorspecification:
BPI-M1GPIOPindefine
10
CSICameraConnectorTheCSICameraConnectorisa40-pinFPCconnectorwhichcanconnectexternalcameramodulewithpropersignalpinmappings.ThepindefinitionsoftheCSIinterfaceareshownasbelow.ThisismarkedontheBananaPiboardas“CON1″.
CSIPin PinName GPIO
CON1P01 LINEINL
CON1P02 LINEINR
CON1P03 VCC-CSI
CON1P04 ADC_X1
CON1P05 GND
CON1P06 ADC_X2
CON1P07 FMINL
CON1P08 ADC_Y1
CON1P09 FMINR
CON1P10 ADC_Y2
CON1P11 GND
CON1P12 CSI-FLASH PH17
CON1P13 LRADC0
CON1P14 TWI1-SDA PB19
CON1P15 LRADC1
CON1P16 TWI1-SCK PB18
CON1P17 CSI-D0 PE4
CON1P18 CSI0-STBY-EN PH19
CON1P19 CSI0-D1 PE5
CON1P20 CSI-PCLK PE0
CON1P21 CSI-D2 PE6
CON1P22 CSI0-PWR-EN PH16
CON1P23 CSI-D3 PE7
CON1P24 CSI0-MCLK PE1
CON1P25 CSI-D4 PE8
CON1P26 CSI0-RESET# PH14
CON1P27 CSI-D5 PE9
CON1P28 CSI-VSYNC PE3
CON1P29 CSI-D6 PE10
CON1P30 CSI-HSYNC PE2
CON1P31 CSI-D7 PE11
CON1P32 CSI1-STBY-EN PH18
CON1P33 RESET#
CON1P34 CSI1-RESET# PH13
BPI-M1GPIOPindefine
11
CON1P35 CSI-IO0 PH11
CON1P36 HPR
CON1P37 HPL
CON1P38 IPSOUT
CON1P39 GND
CON1P40 IPSOUT
LVDSspecification
LVDS(LCDdisplayinterface)TheLVDSConnectorisa40-pinFPCconnectorwhichcanconnectexternalLCDpanel(LVDS)andtouchscreen(I2C)moduleaswell.Thepindefinitionsofthisconnectorareshownasbelow.ThisismarkedontheBananaPiboardas“CON2″.
LVDSPin PinName MultiplexFunctionSelect GPIO
Multi1 Multi2
CON2P01 IPSOUT(5Voutput)
CON2P02 TWI3-SDA PI1
CON2P03 IPSOUT(5Voutput)
CON2P04 TWI3-SCK PI0
CON2P05 GND
CON2P06 LCD0-IO0 PH7
CON2P07 LCDIO-03 PH12
CON2P08 LCD0-IO1 PH8
CON2P09 LCD0-D0 LVDS0-VP0 PD0
CON2P10 PWM0 PB2
CON2P11 LCD0-D1 LVDS0-VN0 PD1
CON2P12 LCD0-IO2 PH9
CON2P13 LCD0-D2 LVDS0-VP1 PD2
CON2P14 LCD0-DE PD25
CON2P15 LCD0-D3 LVDS0-VN1 PD3
CON2P16 LCD0-VSYNC PD27
CON2P17 LCD0-D4 LVDS0-VP2 PD4
CON2P18 LCD0-HSYNC PD26
CON2P19 LCD0-D5 LVDS0-VN2 PD5
CON2P20 LCD0-CS PH6
CON2P21 LCD0-D6 LVDS0-VPC PD6
CON2P22 LCD0-CLK PD24
CON2P23 LCD0-D7 LVDS0-VNC PD7
CON2P24 GND
CON2P25 LCD0-D8 LVDS0-VP3 PD8
BPI-M1GPIOPindefine
12
CON2P26 LCD0-D23 PD23
CON2P27 LCD0-D9 LVDS0-VN3 PD9
CON2P28 LCD0-D22 PD22
CON2P29 LCD0-D10 PD10
CON2P30 LCD0-D21 PD21
CON2P31 LCD0-D11 PD11
CON2P32 LCD0-D20 PD20
CON2P33 LCD0-D12 PD12
CON2P34 LCD0-D19 PD19
CON2P35 LCD0-D13 PD13
CON2P36 LCD0-D18 PD18
CON2P37 LCD0-D14 PD14
CON2P38 LCD0-D17 PD17
CON2P39 LCD0-D15 PD15
CON2P40 LCD0-D16 PD16
UARTspecification:
ThejumperJ11istheUARTinterface.FordevelopersofBananaPi,thisisaneasywaytogettheUARTconsoleoutputtocheckthesystemstatusandlogmessage.
J11Pin PinName MultiplexFunctionSelect GPIO
Multi1 Multi2
J11Pin1 TXD UART0-TX PB22
J11Pin2 RXD UART0-RX PB23
ThejumperJ12providesthepowersourceincluding3.3Vand5V.ThereisapairofUARTTX/RXsignalsoutputhere.
J12Pin PinName MultiplexFunctionSelect GPIO
Multi1 Multi2
J12Pin1 5V
J12Pin2 3.3V
J12Pin3 NC IO-7 PH5
J12Pin4 RXD UART7_RX PI21
J12Pin5 NC IO-8 PH3
J12Pin6 TXD UART7_TX PI20
J12Pin7 GND
J12Pin8 GND
AllGPIOdefinelist:
BPI-M1GPIOPindefine
13
BPI-M1GPIOPindefine
14
BPI-M1SDcardslotBPI-M1+havesupportaSDcardslot.youcanburnimagetoSDcard,anduseitbootBPI-M1sameasraspberrypi.
BPI-M1SDcardslot
15
BPI-M1GigERJ45LANBPI-M1haveoneGigELANport.useRTL8211Echiponboard
BPI-M1GigELAN
16
BPI-M1HDMIinterfaceBPI-M1hasastandardHDMI1.4interface.soWecanuseHDMI-to-HDMIcabletoconnectBPI-M1tothedisplaymonitorthathasHDMIinterface.
ButIfthedisplaymonitordoesn'thaveHDMIinterface,onlyVGAorDVIport.WeshoulduseHDMI-to-VGAorHDMI-to-DVIcabletoconnecttheBPI-M1tothedisplaymonitor.
Note:iftheHDMI-to-VGA/DVIcableisabadqualitycable,itwillgowrongonthemonitordisplay.pleasechooseagoodqualitycableforBPI-M1
BPI-M1HDMIinterface
17
BPI-M1IRinterfaceBPI-M1supportIRinterfaceonboard.youcanuseitasremotecontrol.
HowtouseIRinterface
testonbananianimage:
1,installlirc
apt-getinstalllircapt-getinstallevtest
2,edit/etc/lirc/hardware.confasbelow:
nano/etc/lirc/hardware.conf
#/etc/lirc/hardware.conf##ArgumentswhichwillbeusedwhenlaunchinglircdLIRCD_ARGS="--uinput"#Don'tstartlircmdevenifthereseemstobeagoodconfigfile#START_LIRCMD=false
#Don'tstartirexec,evenifagoodconfigfileseemstoexist.#START_IREXEC=false
#TrytoloadappropriatekernelmodulesLOAD_MODULES=true
#Run"lircd--driver=help"foralistofsupporteddrivers.DRIVER="UNCONFIGURED"#usually/dev/lirc0isthecorrectsettingforsystemsusingudevDEVICE="/dev/input/event0"MODULES="sunxi-ir"
ctrl+Osaveandctrl+xexit.
3,testlirc
servicelircstart
4testremote-controlunit
evtest
choose"0"mustxunxi-ir
BPI-M1IRinterface
18
pleasenote:value0value1
pressis:1,unpressis:0
BPI-M1IRinterface
19
BPI-M1CANBusInordertoportcan4linuxtotheBananaPi,theCANmoduledescriptionisneededfromtheA20hardwaremanual.can4linuxisacharacter-driver-basedLinuxdriverusedalreadyondesktopPCsandembeddedplatformslikeFreescaleFlexCAN(thei.MXseriesofmicrocontrollers)orXilinyZynq.
ThereisamoredetaileddocumentaboutCANontheA20athttps://dl.linux-sunxi.org/A20/CAN%20Bus1.pdf
ThisisatutorialforusingCANBUSonbananapiwithbananian15-01
Thankselqcirsharethisexample:
Downloadandinstall"bananian-1501.img"into8GBSDCard.Expandtherootfilesystemusing"bananian-config"Installmissingpackage:
apt-getinstallgitapt-getupdateapt-getupgradereboot
Getlastbananianavailable,andcontinutoinstallmissingpackage:
gitclonehttps://github.com/Bananian/linux-bananapiapt-getinstallbuild-essentialu-boot-toolsuboot-mkimageapt-getinstalllibusb-1.0-0libusb-1.0-0-devgitwgetfakerootkernel-packagezlib1g-devlibncurses5-devapt-getinstallsubversion
Buildkernel:
cdlinux-bananapimakemenuconfig
Exitwithoutsavingwhenmenuappears
zcat/proc/config.gz>/root/linux-bananapi/.configmakeuImagemodulesmakeINSTALL_MOD_PATH=outputmodules_install
Atthisstep,kernelshouldbecompiledand"Module.symvers"shouldbeavailable
ThenrenamemodulesandfirmwareprovidebyBananian,andreplacebythenewone.
mv/lib/modules/lib/modules.oldmv/lib/firmware/lib/firmware.oldmv/root/linux-bananapi/output/lib/modules/lib/modulesmv/root/linux-bananapi/output/lib/firmware/lib/firmware
SameforuImage:
mount/dev/mmcblk0p1/mntcd/mntmvuImageuImage.oldmv/root/linux-bananapi/arch/arm/boot/uImage/mntreboot
Createlinkforfurtherbuild:
BPI-M1CANBus
20
https://sourceforge.net/projects/can4linux/https://dl.linux-sunxi.org/A20/CAN%20Bus1.pdf
cd/lib/modules/3.4.104/ln-s/root/linux-bananapibuildcd~
GetCan4Linuxandbuildit:
svncheckouthttps://svn.code.sf.net/p/can4linux/code/trunkcan4linux-codecd/root/can4linux-code/can4linux/makeTARGET=BANANAPI
Installmoduleforeachstartupoftheboard:
insmodcan4linux.kocpcan4linux.ko/lib/modules/3.4.104/kernel/net/can/depmod-A-vmodprobe-vcan4linuxecho"">>/etc/modules;echo"can4linux">>/etc/modulesreboot
BuildCANexample
apt-getinstallswigapt-getinstallpython-devcdcan4linux-code/can4linux-examples/
UpdateCANspeedanddeviceinfile"pyCan-example.py"
ex:
#settingthedevicenumberdevice=0defaultBaudrate='250'
ConnectCANtransceiverandCANbus,andcheckwithforexample:
pythonpyCan-example.py
That'sall
Withthismethod,kernelversionis"Linuxbananapi3.4.104"insteadof"Linuxbananapi3.4.104+",becauseiwasunabletofindsamesourcesthanBananian15-01,butCANbuswork!
Feelfreetocommentorupdate.
BPI-M1CANBus
21
BPI-M1CamerainterfaceBPI-M1CSICameraConnectorisa40-pinFPCconnectorwhichcanconnectexternalcameramodulewithpropersignalpinmappings.ThepindefinitionsoftheCSIinterfaceareshownasbelow.ThisismarkedontheBananaPiboardas“CSI”.
CSIpindefine:
pleasesee:BPI-M1GPIOpinedefine
BPI-M1CSIcameraaccessories
https://bananapi.gitbooks.io/bpi-accessories/content/bpim1m1+m2camera.html
BPI-M1Camerainterface
22
https://bananapi.gitbooks.io/bpi-accessories/content/bpim1m1+m2camera.html
BPI-M1RGBDSIinterfaceRGBDSI(DisplaySerialInterface):
ThedisplayConnectorisa40-pinFPCconnectorwhichcanconnectexternalLCDpanel(RGBDSI)andtouchscreen(I2C)moduleaswell.Thepindefinitionsofthisconnectorareshownasbelow.ThisismarkedontheBananaPiboardas“DSI”.
DSIpindefine:
pleasesee:BPI-M1GPIOpinedefine
BPI-M1LCDtouchpanelaccessories
https://bananapi.gitbooks.io/bpi-accessories/content/bpi70lcdtouchpanel.html
note:thetouchpanelaccessoriessupportRGBinterfaceandMIPIinterface,whenyouuseBPI-M1,pleasechooseRGBinterface.
BPI-M1RGBDSIinterface
23
https://bananapi.gitbooks.io/bpi-accessories/content/bpi70lcdtouchpanel.html
BPI-M1SATAinterfaceBPI-M1supportsatainterfaceandonboardpowerport.
youcanusesatalineconnectyourhardiskonBPI-M1.
Note:
ifyouuse3.5bighardisk,youmayneedpowerwithoutsidepower.onboardpowercannotsupportenoughcurrent
BPI-M1SATAinterface
24
BPI-M1MICthankchaos.dennisdothistest:
iwriteaboutthis,becauseifoundveryfewsourcesandhadtotumblealotaroundtogetitworking.Thisisaquickwalkthroughtogiveyouahintwheretostart.Iasumeforsimplicitythatyoustayalwaysin/rootdirectoryasrootuser.Ifsomethingfails,lookifthefilesarewrittenandpathsareright.Itisadressedformoreadvanceduserswhoknowwhattheyarebasicallydoing.
Thisisdonewithbananian15.08onKernel3.4.Otherkernels<4.4donotwork.ItisaheadlessserverwithnoHDMIplugedin.
A.BasicSetup
Installalsa(renovepulseaudioifpresent):
#apt-getinstallalsa-basealsa-utils
Configureasound.conf
#nano/etc/asound.conf
Shouldlooklike:
pcm.!default{typehwcard0#forheadphone,turn1to0device0}ctl.!default{typehwcard0#forheadphone,turn1to0}
Shutdown,makeacoldbootCallthealsamixer
#alsamixer
PressF5.Yourchannelsshouldbesetupliketheattachedfileatthebottomofthispost,orcompareittoamixeroutput:
#amixerSimplemixercontrol'Master',0Capabilities:pvolumepvolume-joinedPlaybackchannels:MonoLimits:Playback0-63Mono:Playback45[71%]Simplemixercontrol'MasterCaptureMute',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[off]Simplemixercontrol'LineL',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]Simplemixercontrol'LineR',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]Simplemixercontrol'LineinPre-AMP',0Capabilities:volumevolume-joinedPlaybackchannels:MonoCapturechannels:MonoLimits:0-7
BPI-M1MIC
25
Mono:7[100%]Simplemixercontrol'MicInputMux',0Capabilities:volumevolume-joinedPlaybackchannels:MonoCapturechannels:MonoLimits:0-15Mono:15[100%]Simplemixercontrol'MicPower',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]Simplemixercontrol'Mic1Boost',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]Simplemixercontrol'Mic1gain',0Capabilities:volumevolume-joinedPlaybackchannels:MonoCapturechannels:MonoLimits:0-3Mono:3[100%]Simplemixercontrol'Mic2Boost',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]Simplemixercontrol'Mic2gain',0Capabilities:volumevolume-joinedPlaybackchannels:MonoCapturechannels:MonoLimits:0-7Mono:0[0%]Simplemixercontrol'MicL',0Capabilities:volumevolume-joinedPlaybackchannels:MonoCapturechannels:MonoLimits:0-3Mono:1[33%]Simplemixercontrol'MicR',0Capabilities:volumevolume-joinedPlaybackchannels:MonoCapturechannels:MonoLimits:0-3Mono:3[100%]Simplemixercontrol'Playback',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]Simplemixercontrol'Capture',0Capabilities:cvolumecvolume-joinedCapturechannels:MonoLimits:Capture0-7Mono:Capture7[100%]Simplemixercontrol'ADCInputMux',0Capabilities:volumevolume-joinedPlaybackchannels:MonoCapturechannels:MonoLimits:0-7Mono:7[100%]Simplemixercontrol'Fmoutput',0Capabilities:volumevolume-joinedPlaybackchannels:MonoCapturechannels:MonoLimits:0-7Mono:7[100%]Simplemixercontrol'FmL',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]Simplemixercontrol'FmR',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]
BPI-M1MIC
26
Simplemixercontrol'LINEINAPM',0Capabilities:volumevolume-joinedPlaybackchannels:MonoCapturechannels:MonoLimits:0-7Mono:7[100%]Simplemixercontrol'LdacLeftMixer',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]Simplemixercontrol'LdacRightMixer',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]Simplemixercontrol'LeftCaptureMute',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]Simplemixercontrol'MICoutputvolume',0Capabilities:volumevolume-joinedPlaybackchannels:MonoCapturechannels:MonoLimits:0-7Mono:7[100%]Simplemixercontrol'RdacRightMixer',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]Simplemixercontrol'RightCaptureMute',0Capabilities:pswitchpswitch-joinedPlaybackchannels:MonoMono:Playback[on]
Thisstepiscritical.Onefalsemutedchannelandyouareoutofthegame.
Testrecording.
#arecord-L
Shouldshowadevice.
#arecord-fS16_LE-r44100-twavtest.wav
ShouldmakekindofSound.Stopitwithctr-candcheckthefile.
B.SoXRecording/Streaming
InstallSoX
#apt-getinstallsoxlibsox-fmt-allSoxgivesyoutoolslike:sox,recandplay.Iwouldsuggestyouinstallitontheclientpctoo.
Recordstriaghttomp3
#rec-c2-C64test.mp3
-c2twochannels
-C64telltheencodertoproducea64kbit/smp3
Stopitwithctr-c,checktheoutput.
ListentoitliveoverLAN
Banana:
#rec-c2-C64-tmp3-|netcat-l-p9000
-tmp3-producemp3streamtostdout
BPI-M1MIC
27
Client:
#netcat9000|vlc
Works?Great!Livelisteningisimportanttoplayaroundandtestthemic.
Listenandrecordatsametime
#rec-c2-C64-tmp3-|teetest.mp3|netcat-l-p9000
Poorman'sstreamingserver
#apt-getinstallopenbsd-inetdtcpd
Editconfigfile:
#nano/etc/inetd.conf
Insertthisattheend:
9000streamtcpnowaitnobody/usr/bin/tailtail-f/test.mp3
Restartservice
#serviceopenbsd-inetdrestart
Startrecordingonbanana:
#rec-c2-C64/test.mp3
Connectviaclient:
#netcat9000|vlc-
C.AdvancedRecording
Deviderecordingandpostprocessingintwoparts
#rec-traw-remix-|sox-traw-r48000-c1-b16-esigned-integer--tmp3-c1-C32test.mp3
Recording:
-traw-forwardrawinputtopipe
remix-Mixthetwochannelstoone
Encoding:
-traw-r48000-c1-b16-esigned-integer-tellsoxwhatkindofstreancomesfromstdin
-tmp3-c1-C32test.mp3andwhatgoesout
Notethatitisswitchedtomonofromherewith-c1andthemp3bitrateiscutinhalf.Livelisteningtothestreandoesnotworkanymore,iasumeitisbecauseofthenonregulareoutputfrompipeingandprocessinginasecondstep.
Reducenoise
Themicinputisprettybad,lotofwhitenoise.Soxcandealwithit.
Makeasample"silent"file:
BPI-M1MIC
28
#rec-trawtest.rawremix-trim010
trim010record10seconds
Testitatclientpc:
#play-r48000-c1-b16-esigned-integertest.raw
Createprofilefile:
#sox-r48000-c1-b16-esigned-integertest.raw-ntrim02noiseprofraw-profile
Recordwithnoisecanceld
#rec-traw-remix-noiseredraw-profile0.2|sox-traw-r48000-c1-b16-esigned-integer--tmp3-c1-C32test.mp3
Playwiththefactorof0.2toregulatetheintensityofcancellation.
D.Record24/7
Mygoalofthis....
Createascript:
#nano/root/record.sh
Insertthefollowing:
#!/bin/bash
#sendsigtermandwaitforexitoftheprocessfunctionstop(){kill$@;whilekill-0$@;dosleep1;done;}functionlog(){echo$(date+%T)$@;}
log"Stoppingpreviusrecording"stop`pidofrec`&>/dev/null
DATE=`date"+%Y.%m.%d"`log"Recording$DATE.mp3"rec-q-traw-remix-noisered/root/raw-profile0.2|\sox-v2.0-traw-r48000-c1-b16-esigned-integer-\-tmp3-r22050-c1-C-9.2/root/$DATE.mp3log"Done$DATE.mp3"
Recording:
-qlessoutput
Encoding:-v2.0Maketheinputstreamlouder
-r22050encodetoalowersamplerate
-C-9.2CreatealowqualityVBRmp3
Fileszie~100mbperday.Ifyouwantsmallerfiles,a8000sanplerategivesyouagsmgradequality.
Averygoodarticletosamplerate:http://wiki.audacityteam.org/wiki/Sample_Rates
Makeitexecutable
BPI-M1MIC
29
http://wiki.audacityteam.org/wiki/Sample_Rates
#chmod+xrecord.sh
Editcrontab:
#envEDITOR=nanocrontab-e
Insertattheendthefollowing:
PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin00***/root/record.sh>>/root/record-mic.log
Anewrecordingshouldstarteverydayatmidnight.
BPI-M1MIC
30
BPI-M1AudioBananapiBPI-M1supporttwoaudiodeviceHDMIandheadphone
HowtochooseHDMIorheadphoneforaudiooutput
sudonano/etc/asound.conf
pcm.!default{typehwcard0//IfyouwanttosetHDMIasoutput,turn0to1.device0}ctl.!default{typehwcard0//IfyouwanttosetHDMIasoutput,turn0to1.}
Plugintheheadphoneandtype
speaker-test-twav-c2
Thesound"soundleft,soundright,soundleft"willoutputfromheadphone.
sudoapt-getinstallespeakespeak"hello" //say:helloespeak"hello_bananapi" //say:hellobananapi
Runthesoundvolumecontroler,youcansee
sudoalsamixer
BPI-M1Audio
31
BPI-M3.7Vlithiumbatteryinterface1,BatteryinterfaceofBPI-M1:
usewaysameasBPI-M3.
https://bananapi.gitbooks.io/bpi-m3/content/bpim3lithiumbatteryinterface.html
BPI-M13.7Vlithiumbatteryinterface
32
https://bananapi.gitbooks.io/bpi-m3/content/bpim3lithiumbatteryinterface.html
BPI-M1OTGinterfacebananapiBPI-M1have1OTGportonboard.
Note:
youalsocanuseOTGportpowerBPI-M1
BPI-M1OTGinterface
33
BPI-M1UARTinterfaceBPI-M1have4UARTportonboard.
Howtouseserialportwithminicom.
1usesshconnecttoBPI-M1andinstallminicom
sudoapt-getinstallminicom
2chooseserialport
minicom-s
UartportforBPI-M1
BPI-M1UARTinterface
34
now,wetestUART2,settingasbelow:
save:
BPI-M1UARTinterface
35
exit,minicomruning:
checkUartnumber:
dmesg|grepttyS*
soyoucanseeUART0isttyS1
3youcanusewindowshyperterminalorputtyonyouPC,andsettingtherightUartnumber.
BPI-M1UARTinterface
36
4,testfunction:
BPI-M1send"hello,pc"
BPI-M1receive"helloOk"
BPI-M1UARTinterface
37
5youcanusethesamewaytotestUART3(ttyS2)、UART7(ttyS3).soallisworkingfine.
BPI-M1UARTinterface
38
BPI-M1UARTinterface
39
BPI-M1DCPowerinterfaceBPI-M1DCpowerismicroUSBinterface.youneeduse5V/2AmicroUSBpoweradapter.
BPI-M1DCPowerinterface
40
BPI-M1schematicdiagramYoucanrefertothecontentsofourforumfromthislink:
Googledriver
Filename:BPI-M1schematic.pdf
BPI-M1schematicdiagram
41
https://drive.google.com/folderview?id=0B4PAo2nW2KfnflVqbjJGTFlFTTd1b1o1OUxDNk5ackVDM0RNUjBpZ0FQU19SbDk1MngzZWM&usp=sharing&tid=0B4PAo2nW2Kfndjh6SW9MS2xKSWs
BPI-M1DXFand3DdesignbananapiBPI-M1havepublicDXFfileand3Ddesignfile,sousercanDIYcasebytheyself.
BPI-M1DXFfiledownloadlink:
Googledriver
BPI-M13Ddesignfiledownloadlink:
Googledriver
BPI-M1DXFand3Ddesign
42
https://drive.google.com/folderview?id=0B4PAo2nW2Kfnfkd0QmxaU3F2bHBWdkFiS09vT3VoZkVyNW93OXFjM0dHRVdGazhRWmFzZDQ&usp=sharing&tid=0B4PAo2nW2Kfndjh6SW9MS2xKSWshttps://drive.google.com/folderview?id=0B4PAo2nW2Kfnfl95clI4ZzRKUmRENWhMcmwzUlVrYW1Ic3BXZENtUjJQcjk5TXc0RHBKdlU&usp=sharing&tid=0B4PAo2nW2Kfndjh6SW9MS2xKSWs
BPI-M1CEFCCRoHSCertificationAlltheproductsBananapireleasegothroughstrictlycontrolledprocessfromdeveloping,testing,manufacturingtocertification.
Weputqualityfirst,userscanmassproducetheirproductsusingourboardsdirectly,we'vebeendedicatingtoprovidingthemostcostperformanceproducts.
BPI-M1CECertification
BPI-M1FCCCertification
BPI-M1CEFCCRoHSCertification
43
BPI-M2RoHSCertification
BPI-M1CEFCCRoHSCertification
44
BPI-M1CEFCCRoHSCertification
45
BPI-M1团队设计的优秀的
BPI-M1software
46
BPI-M1quickstartStep1:Getwhatyouneed
FirsttimetoenjoyyourBananaPi,youneedatleasttheaccessoriesinthetablebelow.
No. Item Minimumrecommendedspecification¬es
1 MicroSDcardSDcardisoptional.IfneedtobootformSDcard,Minimumsize8GB,class10(theclassindicateshowfastthecardis).WerecommendusingbrandedSDcardsastheyaremorereliable.
2avHDMI(Fullsized)toHDMI/DVIlead
HDMItoHDMIlead(forHDTVsandmonitorswithHDMIinput).ORHDMItoDVIlead(formonitorswithDVIinput).
3 Keyboardandmouse
AnystandardUSBkeyboardandmouseshouldwork.keyboardsormicethattakealotofpowerfromtheUSBports,however,mayneedapoweredUSBhub.Thismayincludesomewirelessdevices.
4 Ethernetcable Networkingisoptional,althoughitmakesupdatingandgettingnewsoftwareforyourBananaPimucheasier.
5 MicroUSBpoweradapterAgoodquality,USBPowersupplythatcanprovideatleast5V/2Aisessential.OTGalsocanpowertheboard,butitisnotrecommended.
6 Audiolead(Optional) Youcanchoosea3.5mmjackaudioledtoconnecttoaudioporttogetstereoaudio.
7 MobileHarddisk(Optional) YoucanchoosetoconnectamobileharddisktoUSBporttostoremorefiles.
Baseyouneedbelow:
BPI-M1quickstart
47
Step2:DownloadtherelevantImagefile:
Pleasevisitourwebmaster:www.banana-pi.orgtodownloadimage,bananapiallimagecanbedownloadformthisweb.
Step3:PrepareyourSDcardfortheBananaPi
InordertoenjoyyourBananaPiBPI-M3,youwillneedtoinstallanOperatingSystem(OS)ontoanSDcard.InstructionsbelowwillteachyouhowtowriteanOSimagetoyourSDcardunderWindowsosandLinuxos.
1.InsertyourSDcardintoyourcomputer.ThesizeofSDshouldbelargerthantheOSimagesize,generally8GBorgreater.
2.FormattheSDcard.
FormatyourSDunderWindowsos:
DownloadtheaSDcardformattoolsuchasSDFormatterfromhttps://www.sdcard.org/downloads/formatter_4/eula_windows/
*Unzipthedownloadfileandrunthesetup.exetoinstallthetoolonyourmachine.
*Inthe"Options"menu,set"FORMATTYPE"optiontoQUICK,"FORMATSIZEADJUSTMENT"optionto"ON".
BPI-M1quickstart
48
https://www.sdcard.org/downloads/formatter_4/eula_windows/
*CheckthattheSDcardyouinsertedmatchestheoneselectedbytheTool.
*Clickthe“Format”button.
FormatyourSDunderLinuxos:
*Runfdisk–lcommandtochecktheSDcardnode.
*Runsudofdisk/dev/sdxcommandtodeleteallpartitionofSDcard.
*Runmkfs–tvfat/dev/sdxcommandtoformattheentireSDcardasFAT.(xshouldbereplacedaccordingtoyourSDcardnode)
3,DownloadtheOSimagefromDownloaddistrict(http://www.banana-pi.org)
4.UnzipthedownloadfiletogettheOSimage.
Windows:Rightclickonthefileandchoose“Extractall”.
Linux:Rununzip[downloadedfilename]command.
5.WritetheimagefiletotheSDcard.
Androidimage
5.1YouneedtousePhoenixCardtomaketheSDcard.DownloadthePhoenixCardfromhttps://drive.google.com/open?id=0BzoTh3Vdt47ffi1ld0RuWXhUVzdYdjFjaHEtMlNQWVFTRmIxcC1OQnczSTV6OGRZWGplNU0
5.2RunPhoenixCard.exe,Press“DiskCheck”andselectdiskofSDCard.
BPI-M1quickstart
49
http://www.banana-pi.orghttps://drive.google.com/open?id=0BzoTh3Vdt47ffi1ld0RuWXhUVzdYdjFjaHEtMlNQWVFTRmIxcC1OQnczSTV6OGRZWGplNU0
5.3Press“ImageFile”andSelectsystem.img.
5.4Press“Burn”tostartupgrading,Upgradedcomplete,Press“Exit”.
BPI-M1quickstart
50
Linuximage:
5.6burunLinuximageunderWindowsos:
*DownloadatoolthatcanwirteimagetoSDcard,suchasWin32Diskimagerfrom:http://sourceforge.net/projects/win32diskimager/files/Archive/
*Opentheunzippedimagefile
*ClickWritebutton.Waitpatientlytosuccessfullycompletewriting.
5.7burunLinuximageunderLinuxos:
*Runfdisk–lcommandtochecktheSDcardnode.
*Runddif=[imagename]of=/dev/sdxcommandtowriteimagefiletoSDcard.Waitpatientlytosuccessfullycompletewriting.
Step4:SetupyourBananaPiM1
Accordingtothesetupdiagrambelow,youcaneasilysetupyourBananaPi.
1. Insertthewritten-imageSDcardthattotheSDcardspotontheleftsideedgeoftheundersideoftheboard.
BPI-M1quickstart
51
http://sourceforge.net/projects/win32diskimager/files/Archive/
2. 2.Onthebottom"edge"inthemiddleoftheboardistheHDMITypeA(Fullsized)port.JustconnectanyHDMIcablefromtheboardtoyourTVorHDMIMonitor.
3. PlugaUSBkeyboardandmouseintotheUSBslotslocatedontherightedge.4. JustundertheUSBportsontherightedgeistheEthernetconnectorforanyonewhowantstoplugtheBananaPiinto
awirednetwork.5. 5.Finally,attheveryleftofthebottomedgeistheUSBpowerconnector.Pluginaregulatedpowersupplythatisrated
at5V±5%/2000mA(or2A).Anynumberbiggerthan700mAwillalsowork.AvoidusingthesmallerchargersusedforsmallGSMphones,astheseareoftenunregulated,eveniftheyclaim"5V1A",theymaydo"5V"andmaydo"1A",butnotatthesametime!
Ifallgoeswell,theBananaPiwillbootinafewminutes.ThescreenwilldisplaytheOSGUI.
Step5:ShutdownyourBananaPiBPI-M1
YoucanusetheGUItoshutdowntheBananaPisafely.
Alsoyoucanrunthecommandintheterminal:
sudohaltorsudoshutdown–h
ThiswillshutdownthePIsafely,(justusethepowerkeytoturnoffmightdamagetheSD-cardsfilesystem).Afterthatyoucanpressthepowerkeyfor5secondstoturnitoff.
Ifalliswell,soyoucanusebananapiBPI-M1now.
BPI-M1quickstart
52
AndroidsoftwareBananapiBPI-M1supportandroid4.2andandroid4.4.
Imagedownloadlink:
http://www.banana-pi.org/download.html
Androidsoftware
53
http://www.banana-pi.org/download.html
AndroidMattrixXBMC/KODIImage-V3.1sharebymattrix
It'sbeenalongtimecoming,butIfinallygotaroundtocreatinganewXBMCImage
Herearethemainfeatures:
LatestKODI14.0Auto-setupofKODI,MXPlayer&SMBWrapperAutostartKODIonbootSMBWrappertoallowplaybackofNetworkfiles720p&1080pVersionsAvailableHIDRawandJoystickDrivers+XPADmoduleloadedonboot
Bothimagesplaybackvideosfine,butthe720pimageisquiteabitfasterintheGUI.ThelatestKODIisnowcapableofplayingbackmostvideosItriednatively.However,itisstillusingquiteabitofCPUandmaynotplaybackeverything.IthereforedecidedtouseMXPlayerforplaybackforamoreconsistentuserexperience.
V3.1720p(297MB)
https://mega.nz/#!uIxBFbYY!NAlXzkLFpvEkgevM3VyHfYK6ZKfVW7MJPcAtPtqEhOc
1080p(297MB)
https://mega.nz/#!WIhUSJZA!RfpRGGHn6L0HQF2gdDlYqQtOs-DwVNLBVVrQxltqJGw
INSTRUCTIONS:
Unzipimage&burnwithPhoenixCardBoot,andthenwait....(about1-2mins)KODIwillautomaticallystart(signallingtheendoftheinstallationprocess)That'sit.Ifusing1080pversion,exitKODIandset1080PinAndroidDisplaysettings
KODIissetuptouseSMBWrapper/MXPlayerfornetworkfilesandtouseMXPlayerforanylocalfiles.Youcaneasilyeditorremovetheplayercorefactory.xmlfileinsdcard/Android/data/org.xbmc.kodi/files/.kodi/userdatafolder.TodisableKODIautostart,removesdcard/Android/data/mattrix/autostartkodi
Herearethechanges:
Changes02/01/2015(3.1):
UpdatedtoKodi14.0ReplaceXBMCWrapperwithSMBWrapper
Changes13/11/2014(3.0):
UpdateXBMCtolatestKodiRemove"allowunverifiedapps"popuponbootAddHDIRawandJoystickdriversLoadxpadmoduleonbootFix"MobileNetworks"settingsoptiondoesn'twork
Changes11/11/2014(2.0):
Latest3.4.39KernelAutomatedsetuponfirstboot(nocopying/pastingneeded-justreadytoroll)AutobootintoXBMCAddedXBMCWrapperApptowrapnetworkfilesasHTTPstreams
AndroidMattrixXBMC\/KODIImage-V3.1
54
https://mega.nz/#!uIxBFbYY!NAlXzkLFpvEkgevM3VyHfYK6ZKfVW7MJPcAtPtqEhOchttps://mega.nz/#!WIhUSJZA!RfpRGGHn6L0HQF2gdDlYqQtOs-DwVNLBVVrQxltqJGw
RemovedSuperSuApp(thiscanbeaddedviaPlaystoreifrequired)SetCPUfrequencysettingsonboot
Changes(InitialRelease-1.0):
RootedSDCardStorageMountFixSettostockAndroidLauncherEthernetDefaulttoONRemoveallapps(canbeaddedbackviaPlayStoreifrequired)AddXBMCAppAddMXPlayerAddSuperSuApp
Giveitagoandletmeknowanysuggestions/problems!
Thislookspromising
http://forum.kodi.tv/showthread.php?tid=155526&page=2449
Thanks,
Matt
AndroidMattrixXBMC\/KODIImage-V3.1
55
http://forum.kodi.tv/showthread.php?tid=155526&page=2449
LinuxsoftwareBananapihavesupportraspbian,ubuntu,debian....linuxos.
imagedownloadlink:
http://www.banana-pi.org/download.html
Note:youneeddownloadBPI-M1image.
Linuxsoftware
56
http://www.banana-pi.org/download.html
Linuxkernel3.4BPI-M1/BPI-M1Plus/BPI-R1Ubuntu16.04image2018-01-04
2018-01-06-ubuntu-16.04-mate-desktop-v1.0-bpi-m1-m1p-r1-sd-emmc.img.zip
GoogleDrive:
https://drive.google.com/file/d/12WI1B8QW\_e5LF9zy1gNb324T29GoviCT/view?usp=sharing
Baiducloud:
https://pan.baidu.com/s/1slmNj6P
MD5:8a85fecbc680c998a84ae783208ecd36
BPI-M1/M1+newimage:ubuntu-mate-16.04-desktop-armhf-raspberry-pi-bpi-m1-m1p-r1-sd-emmc2016-07-21
1. basedonubuntu16.04matefromhttps://ubuntu-mate.org/download/2. BPI-M1/BPI-M1P/BPI-R1u-boot-2016.05,kernel3.4.112(basedonarmbian'sbuild)3. username&password:pi/bananapi,root/bananapi4. supportHDMI1080P&720P(default)5. supportGMAC6. supportWIFI7. supportSATA8. supportbpi-bootselcmdcanswitchto(bpi-m64&bpi-m3&bpi-m2&bpi-m2p&bpi-m1-m1p-r1)9. supportboot.scr(boot.cmd)tofatloadscript.bin&uImage&uInitrd
10. supportboot.scrtosetvideo1080P&720P&480P...11. basedonarmbian'sbuildenv.&rootfs,thanksforarmbian(http://www.armbian.com)12. githubfromhttps://github.com/igorpecovnik/libbyarmbian'swork13. specialthanksforlinux-sunxi'swork(https://linux-sunxi.org)
Linuxkernel3.4image
57
https://drive.google.com/file/d/12WI1B8QW\_e5LF9zy1gNb324T29GoviCT/view?usp=sharinghttps://pan.baidu.com/s/1slmNj6Phttps://ubuntu-mate.org/download/http://www.armbian.comhttps://github.com/igorpecovnik/libhttps://linux-sunxi.org
14. supportvideoplay1080pwithvdpau(mpv)15. supportGPUMali(glmark2-es2)16. supportnodejs17. supportnode-red18. thankstoubuntu-mate.org
GoogleDrive:https://drive.google.com/file/d/0B_YnvHgh2rwjY0VlUGdobzFtdk0/view?usp=sharing
MD5:155f072da499a7c523b7394f77dd9def
discussonforum:
http://forum.banana-pi.org/t/bpi-m1-m1-new-image-ubuntu-mate-16-04-desktop-armhf-raspberry-pi-bpi-m1-m1p-r1-sd-emmc-2016-07-21/2051
BPI-M1/M1+newimage:edu-ubuntu-mate-1604-preview-bpi-m1-m1p-r1.img2016-07-192016-07-19-edu-ubuntu-mate-1604-preview-bpi-m1-m1p-r1.img.zip
1. basedonubuntu16.04matefrombpi-m3-mate(http://opensource.ntpc.edu.tw/)2. BPI-M1/BPI-M1P/BPI-R1u-boot-2016.05,kernel3.4.112(basedonarmbian'sbuild)3. username&password:pi/bananapi,root/bananapi4. supportHDMI1080P&720P(default)5. supportGMAC6. supportWIFI7. supportSATA8. supportbpi-bootselcmdcanswitchto(bpi-m64&bpi-m3&bpi-m2&bpi-m2p&bpi-m1-m1p-r1)9. supportboot.scr(boot.cmd)tofatloadscript.bin&uImage&uInitrd
10. supportboot.scrtosetvideo1080P&720P&480P...11. basedonarmbian'sbuildenv.&rootfs,thanksforarmbian(http://www.armbian.com)
Linuxkernel3.4image
58
https://drive.google.com/file/d/0B_YnvHgh2rwjY0VlUGdobzFtdk0/view?usp=sharinghttp://forum.banana-pi.org/t/bpi-m1-m1-new-image-ubuntu-mate-16-04-desktop-armhf-raspberry-pi-bpi-m1-m1p-r1-sd-emmc-2016-07-21/2051http://opensource.ntpc.edu.tw/http://www.armbian.com
12. githubfromhttps://github.com/igorpecovnik/libbyarmbian'swork13. specialthanksforlinux-sunxi'swork(https://linux-sunxi.org)14. supportvideoplay1080pwithvdpau(mpv,vlc,smplayer)15. supportGPUMali(glmark2-es2)16. supportnodejs17. supportnode-red18. includedmanyappsforedu19. supportscratch2onlinewithscratchx20. specialthankstotheteamofhttp://opensource.ntpc.edu.tw/
info:need>=16GBSD
GoogleDrive:https://drive.google.com/file/d/0B_YnvHgh2rwjUXZmZTh3ZG5LTEU/view?usp=sharing
MD5:37d6599eac4daced375fba8fa58dc1d5
discussonforum:
http://forum.banana-pi.org/t/bpi-m1-m1-new-image-edu-ubuntu-mate-1604-preview-bpi-m1-m1p-r1-img-2016-07-19/2042
BPI-M1/M1+newimage:Kanux-Beta-3.3.0-preview-bpi-m1-m1p-r1.img2016-07-152016-07-15-Kanux-Beta-3.3.0-preview-bpi-m1-m1p-r1.img.zip
1. basedonKANOOSBeta3.3.0(supportrpi3rpi2rpi1)2. BPI-M1/BPI-M1P/BPI-R1u-boot-2016.05,kernel3.4.112(basedonarmbian'sbuild)3. username&password:pi/bananapi,root/bananapi4. supportHDMI1080P&720P(default)5. supportGMAC6. supportWIFI
Linuxkernel3.4image
59
https://github.com/igorpecovnik/libhttps://linux-sunxi.orghttp://opensource.ntpc.edu.tw/https://drive.google.com/file/d/0B_YnvHgh2rwjUXZmZTh3ZG5LTEU/view?usp=sharinghttp://forum.banana-pi.org/t/bpi-m1-m1-new-image-edu-ubuntu-mate-1604-preview-bpi-m1-m1p-r1-img-2016-07-19/2042
7. supportSATA8. supportbpi-bootselcmdcanswitchto(bpi-m64&bpi-m3&bpi-m2&bpi-m2p&bpi-m1-m1p-r1)9. supportboot.scr(boot.cmd)tofatloadscript.bin&uImage&uInitrd
10. supportboot.scrtosetvideo1080P&720P&480P...11. basedonarmbian'sbuildenv.&rootfs,thanksforarmbian(http://www.armbian.com)12. githubfromhttps://github.com/igorpecovnik/libbyarmbian'swork13. specialthanksforlinux-sunxi'swork(https://linux-sunxi.org)14. thanksforKanoDevelopers'swork(http://developers.kano.me/downloads/)15. thanksforraspberry.org'swork
GoogleDrive:https://drive.google.com/file/d/0B_YnvHgh2rwjaXQtVGUtbFplTUU/view?usp=sharing
MD5:1951f3abc0a54675d9bbbac387760e4e
discussonforum:
http://forum.banana-pi.org/t/bpi-m1-m1-new-image-kanux-beta-3-3-0-preview-bpi-m1-m1p-r1-img-2016-07-15/2024
BPI-M1newimage:raspbian-jessie-bpi-m1-m1p-r1.img2016-07-132016-07-13-raspbian-jessie-bpi-m1-m1p-r1.img.zip
1. basedonRASPBIANJESSIE2016-05-27(supportrpi3rpi2rpi1)2. BPI-M1/BPI-M1P/BPI-R1u-boot-2016.05,kernel3.4.112(basedonarmbian'sbuild)3. username&password:pi/bananapi,root/bananapi4. supportHDMI1080P&720P(default)5. supportGMAC6. supportWIFI7. supportSATA8. supportbpi-bootselcmdcanswitchto(bpi-m64&bpi-m3&bpi-m2&bpi-m2p&bpi-m1-m1p-r1)9. supportboot.scr(boot.cmd)tofatloadscript.bin&uImage&uInitrd
Linuxkernel3.4image
60
http://www.armbian.comhttps://github.com/igorpecovnik/libhttps://linux-sunxi.orghttp://developers.kano.me/downloads/https://drive.google.com/file/d/0B_YnvHgh2rwjaXQtVGUtbFplTUU/view?usp=sharinghttp://forum.banana-pi.org/t/bpi-m1-m1-new-image-kanux-beta-3-3-0-preview-bpi-m1-m1p-r1-img-2016-07-15/2024
10. supportboot.scrtosetvideo1080P&720P&480P...11. basedonarmbian'sbuildenv.&rootfs,thanksforarmbian(http://www.armbian.com)12. githubfromhttps://github.com/igorpecovnik/libbyarmbian'swork13. specialthanksforlinux-sunxi'swork(https://linux-sunxi.org)14. thanksforraspberry.org'swork(https://www.raspberrypi.org/downloads/raspbian)15. supportnode-red
GoogleDrive:https://drive.google.com/file/d/0B_YnvHgh2rwjdTh5ZnVZam1rb0E/view?usp=sharing
MD5:156b09907586ea9e86481bda73f4254f
discussonforum:
http://forum.banana-pi.org/t/bpi-m1-m1-new-image-raspbian-jessie-bpi-m1-m1p-r1-img-2016-07-13/2010
BPI-M1newimage:Raspbian-lite-bpi-m1-m1p-r1.img2016-07-122016-07-12-raspbian-lite-bpi-m1-m1p-r1.img.zip
1. basedonRASPBIANJESSIELITE2016-05-27(supportrpi3rpi2rpi1)2. BPI-M1/BPI-M1P/BPI-R1u-boot-2016.05,kernel3.4.112(basedonarmbian'sbuild)3. username&password:pi/bananapi,root/bananapi4. supportHDMI1080P&720P(default)5. supportGMAC
Linuxkernel3.4image
61
http://www.armbian.comhttps://github.com/igorpecovnik/libhttps://linux-sunxi.orghttps://www.raspberrypi.org/downloads/raspbianhttps://drive.google.com/file/d/0B_YnvHgh2rwjdTh5ZnVZam1rb0E/view?usp=sharinghttp://forum.banana-pi.org/t/bpi-m1-m1-new-image-raspbian-jessie-bpi-m1-m1p-r1-img-2016-07-13/2010
6. supportWIFI7. supportSATA8. supportbpi-bootselcmdcanswitchto(bpi-m64&bpi-m3&bpi-m2&bpi-m2p&bpi-m1-m1p-r1)9. supportboot.scr(boot.cmd)tofatloadscript.bin&uImage&uInitrd
10. supportboot.scrtosetvideo1080P&720P&480P...11. basedonarmbian'sbuildenv.&rootfs,thanksforarmbian(http://www.armbian.com)12. githubfromhttps://github.com/igorpecovnik/libbyarmbian'swork13. specialthanksforlinux-sunxi'swork(https://linux-sunxi.org)14. thanksforraspberry.org'swork(https://www.raspberrypi.org/downloads/raspbian)
GoogleDrive:
https://drive.google.com/file/d/0B_YnvHgh2rwjRXRuWHJ5V3BJTmc/view?usp=sharing
MD5:302063f7417079390da79334258dd538
discussonforum:
http://forum.banana-pi.org/t/bpi-m1-m1-new-image-raspbian-lite-bpi-m1-m1p-r1-img-2016-07-12/2003
BPI-M1/BPI-M1+NewImage:ubuntu-16.04-xenial-minimal-preview-bpi-m1-m1p-r1.img2016-07-10
1. basedonubuntu16.04xenialubuntu-minimal.2. BPI-M1/BPI-M1P/BPI-R1u-boot-2016.05,kernel3.4.112(basedonarmbian'sbuild)3. username&password:pi/bananapi,root/bananapi4. supportHDMI1080P&720P(default)5. supportGMAC6. supportWIFI(moduleonly,nowirelesstools)7. supportSATA8. supportbpi-bootselcmdcanswitchto(bpi-m64&bpi-m3&bpi-m2&bpi-m2p&bpi-m1-m1p-r1)9. supportboot.scr(boot.cmd)tofatloadscript.bin&uImage&uInitrd
Linuxkernel3.4image
62
http://www.armbian.comhttps://github.com/igorpecovnik/libhttps://linux-sunxi.orghttps://www.raspberrypi.org/downloads/raspbianhttps://drive.google.com/file/d/0B_YnvHgh2rwjRXRuWHJ5V3BJTmc/view?usp=sharinghttp://forum.banana-pi.org/t/bpi-m1-m1-new-image-raspbian-lite-bpi-m1-m1p-r1-img-2016-07-12/2003
10. supportboot.scrtosetvideo1080P&720P&480P...11. basedonarmbian'sbuildenv.&rootfs,thanksforarmbian(http://www.armbian.com)12. githubfromhttps://github.com/igorpecovnik/libbyarmbian'swork13. specialthanksforlinux-sunxi'swork(https://linux-sunxi.org)
GoogleDrive:
https://drive.google.com/file/d/0B_YnvHgh2rwjUXFrU0ZDX3Z2NlE/view?usp=sharing
MD5:b900b9ba3b0f664a2cfae1fa1146b2fa
discussonforum:
http://forum.banana-pi.org/t/bpi-m1-bpi-m1-new-image-ubuntu-16-04-xenial-minimal-preview-bpi-m1-m1p-r1-img-2016-07-10/1990
Linuxkernel3.4image
63
http://www.armbian.comhttps://github.com/igorpecovnik/libhttps://linux-sunxi.orghttps://drive.google.com/file/d/0B_YnvHgh2rwjUXFrU0ZDX3Z2NlE/view?usp=sharinghttp://forum.banana-pi.org/t/bpi-m1-bpi-m1-new-image-ubuntu-16-04-xenial-minimal-preview-bpi-m1-m1p-r1-img-2016-07-10/1990
CompulsivemodificationofHDMIoutputresolution
Linuxkernel3.4image
64
Linuxmainlinekernelimage
BPI-M1/M1+newimage:Fedora-SoaS-armhfp-24-1.2-sda.raw-preview-bpi-m1.img2016-08-112016-08-11-Fedora-SoaS-armhfp-24-1.2-sda.raw-preview-bpi-m1.img.zip
1. basedonFedora-SoaS-armhfp-24-1.2-sda.raw.xz(fromhttps://arm.fedoraproject.org/)2. BPI-M1u-boot-2016.05,kernel4.6.5/4.5.5(default)3. username&password:pi/bananapi,root/bananapi4. supportHDMI720P&1080P(default)5. supportGMAC6. supportSATA7. supportextlinux.conftoselectkernel4.5.5or4.6.58. thankstofedora'swork(https://arm.fedoraproject.org/)9. ref.https://fedoraproject.org/wiki/Architectures/ARM
GoogleDrive:
https://drive.google.com/file/d/0B_YnvHgh2rwjQWdXY0s3NlBfb0E/view?usp=sharing
MD5:781b8e33047439f74801224b27571d5d
BPI-M1newimage:Fedora-Mate-armhfp-24-1.2-sda.raw-nodered-preview-bpi-m12016-8-102016-08-10-Fedora-Mate-armhfp-24-1.2-sda.raw-nodered-preview-bpi-m1.img.zip
Linuxmainlinekernelimage
65
https://arm.fedoraproject.org/https://arm.fedoraproject.org/https://fedoraproject.org/wiki/Architectures/ARMhttps://drive.google.com/file/d/0B_YnvHgh2rwjQWdXY0s3NlBfb0E/view?usp=sharing
1. basedonFedora-Mate-armhfp-24-1.2-sda.raw.xz(fromhttps://arm.fedoraproject.org/)2. BPI-M1u-boot-2016.05,kernel4.6.5/4.5.5(default)3. username&password:pi/bananapi,root/bananapi4. supportHDMI720P&1080P(default)5. supportGMAC6. supportSATA7. supportextlinux.conftoselectkernel4.5.5or4.6.58. thankstofedora'swork(https://arm.fedoraproject.org/)9. ref.https://fedoraproject.org/wiki/Architectures/ARM
10. supportnodejs11. supportnodered
GoogleDrive:https://drive.google.com/file/d/0B_YnvHgh2rwjM19qQ0tlZDJrdUU/view?usp=sharing
MD5:04919cfc9c259a6846442643d26d2855
discussonforum:
http://forum.banana-pi.org/t/bpi-m1-m1-new-image-fedora-mate-armhfp-24-1-2-sda-raw-nodered-preview-bpi-m1-2016-8-10/2118
BPI-M1newimage:openSUSE-Tumbleweed-ARM-JeOS-bananapi.armv7l-2016.06.12-Build2.11-nodered-preview-bpi-m12016-8-102016-08-10-openSUSE-Tumbleweed-ARM-JeOS-bananapi.armv7l-2016.06.12-Build2.11-nodered-preview-bpi-m1.img.zip
Linuxmainlinekernelimage
66
https://arm.fedoraproject.org/https://arm.fedoraproject.org/https://fedoraproject.org/wiki/Architectures/ARMhttps://drive.google.com/file/d/0B_YnvHgh2rwjM19qQ0tlZDJrdUU/view?usp=sharinghttp://forum.banana-pi.org/t/bpi-m1-m1-new-image-fedora-mate-armhfp-24-1-2-sda-raw-nodered-preview-bpi-m1-2016-8-10/2118
1. basedonopenSUSE-Tumbleweed-ARM-JeOS-bananapi.armv7l-2016.06.12-Build2.11.raw.xz(fromhttp://download.opensuse.org/ports/armv7hl/factory/images/)
2. BPI-M1u-boot-2016.07,kernel4.7.03. username&password:pi/bananapi,root/bananapi4. supportGMAC5. supportSATA6. supportboot.scr(boot.script)toloadzImage&fdtfile&initrd7. thankstoopensuse'swork(https://www.opensuse.org/)8. ref.https://en.opensuse.org/Portal:ARM9. supportnodejs
10. supportnodered
GoogleDrive:https://drive.google.com/file/d/0B_YnvHgh2rwjQmh5MnpQb3VCX00/view?usp=sharing
MD5:d3d16b5871ead878473c8058b54eb9e6
discussonforum:
http://forum.banana-pi.org/t/bpi-m1-m1-new-image-opensuse-tumbleweed-arm-jeos-bananapi-armv7l-2016-06-12-build2-11-nodered-preview-bpi-m1-2016-8-10/2119
Linuxmainlinekernelimage
67
http://download.opensuse.org/ports/armv7hl/factory/images/https://www.opensuse.org/https://en.opensuse.org/Portal:ARMhttps://drive.google.com/file/d/0B_YnvHgh2rwjQmh5MnpQb3VCX00/view?usp=sharinghttp://forum.banana-pi.org/t/bpi-m1-m1-new-image-opensuse-tumbleweed-arm-jeos-bananapi-armv7l-2016-06-12-build2-11-nodered-preview-bpi-m1-2016-8-10/2119
BPI-M1WiringPiBPIWiringPisupportallraspberrypimoduleandallbananapimodule:BPI-M1,BPI-M1+,BPI-R1,BPI-M2,BPI-M2+,BPI-M2Ultra,BPI-M2Magic,BPI-M3,BPI-M64
https://github.com/BPI-SINOVOIP/WiringPi
https://github.com/BPI-SINOVOIP/WiringPi/tree/master/wiringPi/board
installBPI-M1WiringPi:
1,DownloadWiringPifromgithubForBPI-M1
gitclonehttps://github.com/BPI-SINOVOIP/BPI-WiringPi.git-bBPI_M1
2,Installation:
cdBPI-WiringPi
chmod+x./build
sudo./build
3,testwiringPiisinstallsuccess
gpio-v
gpioreadall
BPI-M1WiringPi
68
https://github.com/BPI-SINOVOIP/WiringPihttps://github.com/BPI-SINOVOIP/WiringPi/tree/master/wiringPi/board
4,createnew:blink.c
#includeintmain(void){wiringPiSetup();pinMode(0,OUTPUT);for(;;){digitalWrite(0,HIGH);delay(500);digitalWrite(0,LOW);delay(500);}}
compileandrunit:
gcc-Wall-oblinkblink.c-lwiringPi
runingit:
sudo./blink
BPIhavemanyextendboardsupportWiringPi.soyoucanfreeDIYbyyouself:
moreaboutBPIextendboard,pleasesee:
https://bananapi.gitbooks.io/bpi-accessories/content/
BPI-M1WiringPi
69
https://bananapi.gitbooks.io/bpi-accessories/content/
WiringPipythonforBPI-M1WithallthehardworkbeingdonebytheBPIteam,BPIGithubnowofficiallyreleasesBPI-WiringPi2-Python.
We'vecustomizedWiringPiforBPIproductswiththelatestWiringPi2-Pythonversion,V1.1.1
Sourceongithub:
https://github.com/BPI-SINOVOIP/BPI-WiringPi2-Python
Test:
WiringPipython
70
https://github.com/BPI-SINOVOIP/BPI-WiringPi2-Python
Discussonforum:
http://forum.banana-pi.org/t/do-you-develop-apps-with-python-banana-pi-gpio-python-test-is-ok-code-uploaded-to-github/276
WiringPipython
71
http://forum.banana-pi.org/t/do-you-develop-apps-with-python-banana-pi-gpio-python-test-is-ok-code-uploaded-to-github/276
Pi4JProjectJavaAPIforaccessingGPIO,PWM,I2C,SPI,UART
ThePi4JProjectnowincludessupportforBPI-M1andBPI-M1+!
Thissupporthasjustbeenaddedandonlycursorytestsperformed,soletscallitexperimentalfornow,butIwelcomeyouguystotryitoutandletmeknowifyourunintoanytrouble.YoumustusethePi4Jv1.1-SNAPSHOTbuildsuntilv1.1getsreleased.YoucanmanuallydownloadtheJARsinZIPortheinstallable.DEBpackagefromthispage:
http://pi4j.com/download.html
SupportincludesJavaprogramaticaccessandcontrolofGPIOinputs/outputs,PWM,I2C,SPI,andUART(serial).
ThereisnodocumentationyetspecificallyfortheBananaplatforms,butapartfromafewsubtledifferencesinconfiguringaplatformandpin/busaddressing,itsbasicallythesame.Perhapsbetterthandocumentation...thereareanumberofexamples(samplecode)includedinthebuildandavailableintheGitHubrepospecifictoeachBananaplatform:
BananaPiExamples:
https://github.com/Pi4J/pi4j/tree/develop/pi4j-example/src/main/java/bananapi
BananaPro(BPI-M1+)Examples
https://github.com/Pi4J/pi4j/tree/develop/pi4j-example/src/main/java/bananapro
Othernotes:Youdon'thavetoinstallandcompileWiringPi/WiringBPseperately!ThePi4JcoreJARincludesallthenativelibrariesitneedstocommunicatewiththehardwareembededintheJAR.
Pi4JProject
72
http://pi4j.com/download.htmlhttps://github.com/Pi4J/pi4j/tree/develop/pi4j-example/src/main/java/bananapihttps://github.com/Pi4J/pi4j/tree/develop/pi4j-example/src/main/java/bananapro
OpenWRTOpenWRThavesupportBPI-M1,BPI-M1+,BPI-R1
BPI-R1_OpenWrt_V4.0
MD5:CB597EE79A6E27630AD7F903D23C4A7B
http://pan.baidu.com/s/1mg8Gjna
https://drive.google.com/file/d/0B3EGHv0FSPOGeHJNdmVXS3UtMUU/view?usp=sharing
sourceCodeongithub:
https://github.com/BPI-SINOVOIP/BPI-OpenWRT
OpenWRT
73
http://pan.baidu.com/s/1mg8Gjnahttps://drive.google.com/file/d/0B3EGHv0FSPOGeHJNdmVXS3UtMUU/view?usp=sharinghttps://github.com/BPI-SINOVOIP/BPI-OpenWRT
OfficealOpenWRTWIFIforOfficealOpenWRT
https://wiki.openwrt.org/toh/lemaker/bananapi
imagedownload
https://downloads.openwrt.org/chaos_calmer/15.05/sunxi/generic/uboot-sunxi-Bananapi/
OpenWRThavesupportmanyallwinnerchip.soeasytouseitonbananapi
AllwinnerSun4i/5i/6i/7i/9i(sunxi)Variousvendorsareofferingdevelopmentboards/single-boardcomputerbasedontheAllwinnerSoCs.ThesearerunningvariousflavorsoftheA1x,A20,A31,andsoonH3SoCs,withdifferentbuildouts.Themachiscalled"sunxi".
ForsomespecsratherseeAllwinner_Technology#A-Series.
morepleasesee:
https://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi?s[]=banana&s[]=pi
OfficealOpenWRT
74
https://wiki.openwrt.org/toh/lemaker/bananapihttps://downloads.openwrt.org/chaos_calmer/15.05/sunxi/generic/uboot-sunxi-Bananapi/https://en.wikipedia.org/wiki/Single-board_computerhttps://en.wikipedia.org/wiki/Allwinner_Technologyhttps://en.wikipedia.org/wiki/Allwinner_Technology#A-Serieshttps://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi?s[]=banana&s[]=pi
HowtobuildOpenWRTimagefromgithubwetestitwithdeepin2014(baseonubuntu14.04)
1,installdependpackage:
apt-getinstallsubversionbuild-essentiallibncurses5-devzlib1g-devgawkgitccachegettextlibssl-devxsltprocunzipsubversionfile
2,getopenwrtsourcecode
gitclonehttps://github.com/BPI-SINOVOIP/BPI-OpenWRT.git
3,enteropenwrtdir:
cdBPI-OpenWRT
4,updatepackageandinstall
./scripts/feedsupdate-a
./scripts/feedsinstall-a
5Enterthecustomizationinterface:
pleasechooseyourneed:
TargetSystemdefaultisBananaPi,itstheonlychoiceonthatmatte.,PleasechangethedeviceselectionunderTargetProfile.TheOpenWrtimagesupportsM1,M1+andR1.
example:ineedwebandaddchinesesupport
LuCI—>1.Collections--->luciaddLucisupport,itmeanwebGUIsupport,itisdefaultesLuCI—>2.Modules--->luci-i18n-chineseaddchinesealsoyoucanchooseothers.
HowtobuildOpenWRTimagefromgithub
75
6Make,youcanaddV=stoseemoremessage,alsoadd-j4tousequadcoretowork.
make
whencompilefinishbin/sunxi/dirhaveaimage,filename:openwrt-sunxi-BPI-XX-sdcard-vfat-ext4.img,icompileisBPI-R1,sonameis:openwrt-sunxi-BPI-R1-sdcard-vfat-ext4.img,
7,useUSBImageTool(http://www.alexpage.de/)burnimagetosd,insertBPIandbootingit.
8running:
9Kernelbootingmessagedisplay:
[0.000000]BootingLinuxonphysicalCPU0x0[0.000000]Linuxversion3.18.19(charli@charli-pc)(gccversion4.8.3(OpenWrt/LinaroGCC4.8-2014.04unknown))#3SMPPREEMPTMonAug2422:13:58CST2015[0.000000]CPU:ARMv7Processor[410fc074]revision4(ARMv7),cr=10c5387d[0.000000]CPU:PIPT/VIPTnonaliasingdatacache,VIPTaliasinginstructioncache[0.000000]Machinemodel:BPIR1[0.000000]Memorypolicy:Datacachewritealloc[0.000000]Onnode0totalpages:260096[0.000000]free_area_init_node:node0,pgdatc0503740,node_mem_mapef00a000[0.000000]Normalzone:1520pagesusedformemmap[0.000000]Normalzone:0pagesreserved[0.000000]Normalzone:194560pages,LIFObatch:31[0.000000]HighMemzone:512pagesusedformemmap[0.000000]HighMemzone:65536pages,LIFObatch:15[0.000000]psci:probingforconduitmethodfromDT.[0.000000]psci:UsingPSCIv0.1FunctionIDsfromDT[0.000000]PERCPU:Embedded9pages/cpu@eefe1000s6272r8192d22400u36864[0.000000]pcpu-alloc:s6272r8192d22400u36864alloc=9*4096[0.000000]pcpu-alloc:[0]0[0]1[0.000000]Built1zonelistsinZoneorder,mobilitygroupingon.Totalpages:258576[0.000000]Kernelcommandline:console=ttyS0,115200earlyprintkrootwaitroot=/dev/mmcblk0p2[0.000000]PIDhashtableentries:4096(order:2,16384bytes)[0.000000]Dentrycachehashtableentries:131072(order:7,524288bytes)[0.000000]Inode-cachehashtableentries:65536(order:6,262144bytes)[0.000000]Memory:1025388K/1040384Kavailable(3811Kkernelcode,169Krwdata,1068Krodata,200Kinit,606Kbss,14996Kreserved,262144Khighmem)[0.000000]Virtualkernelmemorylayout:[0.000000]vector:0xffff0000-0xffff1000(4kB)[0.000000]fixmap:0xffc00000-0xffe00000(2048kB)[0.000000]vmalloc:0xf0000000-0xff000000(240MB)[0.000000]lowmem:0xc0000000-0xef800000(760MB)
HowtobuildOpenWRTimagefromgithub
76
http://www.alexpage.de/
[0.000000]pkmap:0xbfe00000-0xc0000000(2MB)[0.000000]modules:0xbf000000-0xbfe00000(14MB)[0.000000].text:0xc0008000-0xc04cbef4(4880kB)[0.000000].init:0xc04cc000-0xc04fe000(200kB)[0.000000].data:0xc04fe000-0xc0528738(170kB)[0.000000].bss:0xc0528738-0xc05c0048(607kB)[0.000000]SLUB:HWalign=64,Order=0-3,MinObjects=0,CPUs=2,Nodes=1[0.000000]PreemptiblehierarchicalRCUimplementation.[0.000000]RCUrestrictingCPUsfromNR_CPUS=4tonr_cpu_ids=2.[0.000000]RCU:Adjustinggeometryforrcu_fanout_leaf=16,nr_cpu_ids=2[0.000000]NR_IRQS:16nr_irqs:1616[0.000000]Architectedcp15timer(s)runningat24.00MHz(phys).[0.000009]sched_clock:56bitsat24MHz,resolution41ns,wrapsevery2863311519744ns[0.000022]Switchingtotimer-baseddelayloop,resolution41ns[0.000352]sched_clock:32bitsat24MHz,resolution41ns,wrapsevery178956969942ns[0.000510]sched_clock:32bitsat160MHz,resolution6ns,wrapsevery26843545593ns[0.000673]Console:colourdummydevice80x30[0.000702]Calibratingdelayloop(skipped),valuecalculatedusingtimerfrequency..48.00BogoMIPS(lpj=240000)[0.000718]pid_max:default:32768minimum:301[0.000824]Mount-cachehashtableentries:2048(order:1,8192bytes)[0.000837]Mountpoint-cachehashtableentries:2048(order:1,8192bytes)[0.001454]CPU:Testingwritebuffercoherency:ok[0.001761]/cpus/cpu@0missingclock-frequencyproperty[0.001778]/cpus/cpu@1missingclock-frequencyproperty[0.001791]CPU0:thread-1,cpu0,socket0,mpidr80000000[0.001847]Settingupstaticidentitymapfor0x40011b68-0x40011b9c[0.060422]CPU1:Bootedsecondaryprocessor[0.060466]CPU1:thread-1,cpu1,socket0,mpidr80000001[0.060535]Broughtup2CPUs[0.060557]SMP:Totalof2processorsactivated(96.00BogoMIPS).[0.060564]CPU:AllCPU(s)startedinHYPmode.[0.060569]CPU:Virtualizationextensionsavailable.[0.064967]VFPsupportv0.3:implementor41architecture2part30variant7rev4[0.065370]pinctrlcore:initializedpinctrlsubsystem[0.065762]regulator-dummy:noparameters[0.071879]NET:Registeredprotocolfamily16[0.072229]DMA:preallocated256KiBpoolforatomiccoherentallocations[0.111482]reg-fixed-voltageahci-5v:couldnotfindpctldevfornode/soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0,deferringprobe[0.111521]platformahci-5v:Driverreg-fixed-voltagerequestsprobedeferral[0.111550]reg-fixed-voltageusb1-vbus:couldnotfindpctldevfornode/soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0,deferringprobe[0.111565]platformusb1-vbus:Driverreg-fixed-voltagerequestsprobedeferral[0.111589]reg-fixed-voltageusb2-vbus:couldnotfindpctldevfornode/soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0,deferringprobe[0.111603]platformusb2-vbus:Driverreg-fixed-voltagerequestsprobedeferral[0.111817]vcc3v0:3000mV[0.112040]vcc3v3:3300mV[0.112264]vcc5v0:5000mV[0.112345]reg-fixed-voltagegmac-3v3:couldnotfindpctldevfornode/soc@01c00000/pinctrl@01c20800/gmac_power_pin@0,deferringprobe[0.112362]platformgmac-3v3:Driverreg-fixed-voltagerequestsprobedeferral[0.112811]SCSIsubsysteminitialized[0.112885]libataversion3.00loaded.[0.113197]usbcore:registerednewinterfacedriverusbfs[0.113274]usbcore:registerednewinterfacedriverhub[0.113403]usbcore:registerednewdevicedriverusb[0.113546]pps_core:LinuxPPSAPIver.1registered[0.113553]pps_core:Softwarever.5.3.6-Copyright2005-2007RodolfoGiometti[0.113584]PTPclocksupportregistered[0.114654]Switchedtoclocksourcearch_sys_counter[0.121779]NET:Registeredprotocolfamily2[0.122818]TCPestablishedhashtableentries:8192(order:3,32768bytes)[0.122902]TCPbindhashtableentries:8192(order:4,65536bytes)[0.123024]TCP:Hashtablesconfigured(established8192bind8192)[0.123105]TCP:renoregistered[0.123122]UDPhashtableentries:512(order:2,16384bytes)[0.123179]UDP-Litehashtableentries:512(order:2,16384bytes)[0.123443]NET:Registeredprotocolfamily1[0.124957]futexhashtableentries:512(order:3,32768bytes)[0.125108]audit:initializingnetlinksubsys(disabled)[0.125185]audit:type=2000audit(0.110:1):initialized
HowtobuildOpenWRTimagefromgithub
77
[0.133939]VFS:Diskquotasdquot_6.5.2[0.134207]Dquot-cachehashtableentries:1024(order0,4096bytes)[0.135970]squashfs:version4.0(2009/01/31)PhillipLougher[0.135994]jffs2:version2.2(NAND)(SUMMARY)(LZMA)(RTIME)(CMODE_PRIORITY)(c)2001-2006RedHat,Inc.[0.136719]msgmnihasbeensetto1490[0.138903]bounce:poolsize:64pages[0.138931]ioschedulernoopregistered[0.138946]ioschedulerdeadlineregistered[0.138996]ioschedulercfqregistered(default)[0.139318]platform1c13400.phy:Driversun4i-usb-phyrequestsprobedeferral[0.142025]sun7i-a20-pinctrl1c20800.pinctrl:initializedsunXiPIOdriver[0.184985]Serial:8250/16550driver,8ports,IRQsharingdisabled[0.187319]console[ttyS0]disabled[0.207743]1c28000.serial:ttyS0atMMIO0x1c28000(irq=33,base_baud=1500000)isaU6_16550A[0.828354]console[ttyS0]enabled[0.854828]1c28c00.serial:ttyS1atMMIO0x1c28c00(irq=36,base_baud=1500000)isaU6_16550A[0.886744]1c29c00.serial:ttyS2atMMIO0x1c29c00(irq=52,base_baud=1500000)isaU6_16550A[0.899279]platform1c50000.ethernet:Driverstmmacethrequestsprobedeferral[0.906754]ehci_hcd:USB2.0'Enhanced'HostController(EHCI)Driver[0.913282]ehci-platform:EHCIgenericplatformdriver[0.918683]platform1c14000.usb:Driverehci-platformrequestsprobedeferral[0.926000]platform1c1c000.usb:Driverehci-platformrequestsprobedeferral[0.933320]ohci_hcd:USB1.1'Open'HostController(OHCI)Driver[0.939546]ohci-platform:OHCIgenericplatformdriver[0.944901]platform1c14400.usb:Driverohci-platformrequestsprobedeferral[0.952185]platform1c1c400.usb:Driverohci-platformrequestsprobedeferral[0.959587]usbcore:registerednewinterfacedriverusb-storage[0.965867]mousedev:PS/2mousedevicecommonforallmice[0.971551]1c22800.lradcsupplyvrefnotfound,usingdummyregulator[0.978474]input:1c22800.lradcas/devices/soc@01c00000/1c22800.lradc/input/input0[0.991771]axp20x-regulatoraxp20x-regulator:regulatorsnodenotfound[0.998630]LDO1:1300mV[1.001767]LDO2:at3000mV[1.005157]LDO3:at2275mV[1.008294]LDO4:at2800mV[1.011695]LDO5:at2800mV[1.015085]DCDC2:at1400mV[1.018533]DCDC3:at1250mV[1.021668]axp20x0-0034:AXP20Xdriverloaded[1.027508]sunxi-wdt1c20c90.watchdog:Watchdogenabled(timeout=16sec,nowayout=0)[1.036066]sunxi-mmc1c0f000.mmc:Novqmmcregulatorfound[1.041994]sunxi-mmc1c0f000.mmc:GotCDGPIO[1.084877]sunxi-mmc1c0f000.mmc:base:0xf00fa000irq:64[1.092685]sunxi-ss1c15000.crypto-engine:DieID0[1.099853]TCP:cubicregistered[1.103201]InitializingXFRMnetlinksocket[1.107611]NET:Registeredprotocolfamily17[1.112178]bridge:automaticfilteringviaarp/ip/ip6tableshasbeendeprecated.Updateyourscriptstoloadbr_netfilterifyouneedthis.[1.124806]8021q:802.1QVLANSupportv1.8[1.129125]RegisteringSWP/SWPBemulationhandler[1.134455]registeredtaskstatsversion1[1.139223]ahci-5v:5000mV[1.142597]usb1-vbus:5000mV[1.147273]usb2-vbus:5000mV[1.150752]gmac-3v3:3300mV[1.192892]mmc0:hostdoesnotsupportreadingread-onlyswitch,assumingwrite-enable[1.203577]mmc0:newhighspeedSDHCcardataddress0001[1.209591]mmcblk0:mmc0:0001000007.44GiB[1.215221]mmcblk0:p1p2[1.264746]stmmaceth1c50000.ethernet:noresetcontrolfound[1.270578]Ringmodeenabled[1.273630]NoHWDMAfeatureregistersupported[1.278179]Normaldescriptors[1.281500]TXChecksuminsertionsupported[1.292504]libphy:stmmac:probed[1.295950]eth0:PHYID03625f24at0IRQPOLL(stmmac-0:00)active[1.302298]eth0:PHYID03625f24at1IRQPOLL(stmmac-0:01)[1.308050]eth0:PHYID03625f24at2IRQPOLL(stmmac-0:02)[1.313789]eth0:PHYID03625f24at3IRQPOLL(stmmac-0:03)[1.319538]eth0:PHYID03625f24at4IRQPOLL(stmmac-0:04)[1.325287]eth0:PHYID03625f24at30IRQPOLL(stmmac-0:1e)
HowtobuildOpenWRTimagefromgithub
78
[1.331456]ehci-platform1c14000.usb:EHCIHostController[1.337154]ehci-platform1c14000.usb:newUSBbusregistered,assignedbusnumber1[1.345031]ehci-platform1c14000.usb:irq71,iomem0x01c14000[1.364665]ehci-platform1c14000.usb:USB2.0started,EHCI1.00[1.370952]usbusb1:NewUSBdevicefound,idVendor=1d6b,idProduct=0002[1.377753]usbusb1:NewUSBdevicestrings:Mfr=3,Product=2,SerialNumber=1[1.384988]usbusb1:Product:EHCIHostController[1.389862]usbusb1:Manufacturer:Linux3.18.19ehci_hcd[1.395353]usbusb1:SerialNumber:1c14000.usb[1.400464]hub1-0:1.0:USBhubfound[1.404250]hub1-0:1.0:1portdetected[1.408963]ehci-platform1c1c000.usb:EHCIHostController[1.414564]ehci-platform1c1c000.usb:newUSBbusregistered,assignedbusnumber2[1.422482]ehci-platform1c1c000.usb:irq72,iomem0x01c1c000[1.444681]ehci-platform1c1c000.usb:USB2.0started,EHCI1.00[1.450961]usbusb2:NewUSBdevicefound,idVendor=1d6b,idProduct=0002[1.457766]usbusb2:NewUSBdevicestrings:Mfr=3,Product=2,SerialNumber=1[1.464991]usbusb2:Product:EHCIHostController[1.469865]usbusb2:Manufacturer:Linux3.18.19ehci_hcd[1.475355]usbusb2:SerialNumber:1c1c000.usb[1.480460]hub2-0:1.0:USBhubfound[1.484246]hub2-0:1.0:1portdetected[1.488775]ohci-platform1c14400.usb:GenericPlatformOHCIcontroller[1.495451]ohci-platform1c14400.usb:newUSBbusregistered,assignedbusnumber3[1.503327]ohci-platform1c14400.usb:irq96,iomem0x01c14400[1.568861]usbusb3:NewUSBdevicefound,idVendor=1d6b,idProduct=0001[1.575669]usbusb3:NewUSBdevicestrings:Mfr=3,Product=2,SerialNumber=1[1.582883]usbusb3:Product:GenericPlatformOHCIcontroller[1.588814]usbusb3:Manufacturer:Linux3.18.19ohci_hcd[1.594296]usbusb3:SerialNumber:1c14400.usb[1.599360]hub3-0:1.0:USBhubfound[1.603146]hub3-0:1.0:1portdetected[1.607711]ohci-platform1c1c400.usb:GenericPlatformOHCIcontroller[1.614350]ohci-platform1c1c400.usb:newUSBbusregistered,assignedbusnumber4[1.622242]ohci-platform1c1c400.usb:irq97,iomem0x01c1c400[1.688838]usbusb4:NewUSBdevicefound,idVendor=1d6b,idProduct=0001[1.695643]usbusb4:NewUSBdevicestrings:Mfr=3,Product=2,SerialNumber=1[1.702858]usbusb4:Product:GenericPlatformOHCIcontroller[1.708790]usbusb4:Manufacturer:Linux3.18.19ohci_hcd[1.714271]usbusb4:SerialNumber:1c1c400.usb[1.719358]hub4-0:1.0:USBhubfound[1.723148]hub4-0:1.0:1portdetected[1.732286]ahci-5v:disabling[1.735459]vcc5v0:disabling[1.738427]vcc3v0:disabling[1.743698]EXT4-fs(mmcblk0p2):couldn'tmountasext3duetofeatureincompatibilities[1.752677]EXT4-fs(mmcblk0p2):couldn'tmountasext2duetofeatureincompatibilities[1.766260]EXT4-fs(mmcblk0p2):mountedfilesystemwithoutjournal.Opts:(null)[1.773791]VFS:Mountedroot(ext4filesystem)readonlyondevice179:2.[1.780839]Freeingunusedkernelmemory:200K(c04cc000-c04fe000)[1.804732]usb2-1:newhigh-speedUSBdevicenumber2usingehci-platform[1.896387]init:Consoleisalive[1.900086]init:-watchdog-[1.956437]usb2-1:NewUSBdevicefound,idVendor=0bda,idProduct=8178[1.963264]usb2-1:NewUSBdevicestrings:Mfr=1,Product=2,SerialNumber=3[1.970476]usb2-1:Product:802.11nWLANAdapter[1.975289]usb2-1:Manufacturer:Realtek[1.979482]usb2-1:SerialNumber:00e04c000001[2.114708]ahci-sunxi1c18000.sata:controllercan'tdoPMP,turningoffCAP_PMP[2.122202]ahci-sunxi1c18000.sata:forcingPORTS_IMPLto0x1[2.128109]ahci-sunxi1c18000.sata:AHCI0001.010032slots1ports3Gbps0x1implplatformmode[2.137085]ahci-sunxi1c18000.sata:flags:ncqsntfpmledcloonlypioslumpartccc[2.146090]scsihost0:ahci_platform[2.150140]ata1:SATAmaxUDMA/133mmio[mem0x01c18000-0x01c18fff]port0x100irq88[2.504668]ata1:SATAlinkdown(SStatus0SControl300)[2.903980]init:-preinit-[3.049304]b53_common:foundswitch:BCM53125,rev4[3.064921]RXIPCChecksumOffloaddisabled[3.069283]NoMACManagementCountersavailable[4.240130]random:mktempurandomreadwith5bitsofentropyavailable[5.044697]stmmaceth1c50000.etherneteth0:LinkisUp-1Gbps/Full-flowcontroloff[7.303617]mount_root:mounting/dev/root
HowtobuildOpenWRTimagefromgithub
79
[7.313783]EXT4-fs(mmcblk0p2):re-mounted.Opts:(null)[7.324800]procd:-early-[7.327825]procd:-watchdog-[8.196631]procd:-ubus-[9.200629]procd:-init-[9.740779]NET:Registeredprotocolfamily10[9.750621]ip6_tables:(C)2000-2006NetfilterCoreTeam[9.781222]LoadingmodulesbackportedfromLinuxversionmaster-2015-03-09-0-g141f155[9.789242]Backportgeneratedbybackports.gitbackports-20150129-0-gdd4a670[9.797957]ip_tables:(C)2000-2006NetfilterCoreTeam[9.808055]nf_conntrackversion0.5.0(16024buckets,64096max)[9.895305]xt_time:kerneltimezoneis-0000[9.909554]cfg80211:CallingCRDAtoupdateworldregulatorydomain[9.916314]cfg80211:Worldregulatorydomainupdated:[9.921471]cfg80211:DFSMasterregion:unset[9.926943]cfg80211:(start_freq-end_freq@bandwidth),(max_antenna_gain,max_eirp),(dfs_cac_time)[9.936834]cfg80211:(2402000KHz-2472000KHz@40000KHz),(N/A,2000mBm),(N/A)[9.944963]cfg80211:(2457000KHz-2482000KHz@40000KHz),(N/A,2000mBm),(N/A)[9.952992]cfg80211:(2474000KHz-2494000KHz@20000KHz),(N/A,2000mBm),(N/A)[9.961171]cfg80211:(5170000KHz-5250000KHz@80000KHz),(N/A,2000mBm),(N/A)[9.969328]cfg80211:(5250000KHz-5330000KHz@80000KHz,160000KHzAUTO),(N/A,2000mBm),(0s)[9.978922]cfg80211:(5490000KHz-5730000KHz@160000KHz),(N/A,2000mBm),(0s)[9.987125]cfg80211:(5735000KHz-5835000KHz@80000KHz),(N/A,2000mBm),(N/A)[9.995867]cfg80211:(57240000KHz-63720000KHz@2160000KHz),(N/A,0mBm),(N/A)[10.033695]PPPgenericdriverversion2.4.2[10.039216]NET:Registeredprotocolfamily24[10.057795]rtl8192cu:Chipversion0x11[10.148074]rtl8192cu:MACaddress:ac:a2:13:5c:96:bf[10.153232]rtl8192cu:BoardType0[10.164227]rtl_usb:rx_max_size15360,rx_urb_num8,in_ep1[10.170284]rtl8192cu:Loadingfirmwarertlwifi/rtl8192cufw_TMSC.bin[10.177753]ieee80211phy0:Selectedratecontrolalgorithm'rtl_rc'[10.179863]usbcore:registerednewinterfacedriverrtl8192cu[11.862773]random:nonblockingpoolisinitialized[14.869421]b53_common:foundswitch:BCM53125,rev4[14.899568]RXIPCChecksumOffloaddisabled[14.916057]NoMACManagementCountersavailable[14.921020]IPv6:ADDRCONF(NETDEV_UP):eth0:linkisnotready[16.864711]stmmaceth1c50000.etherneteth0:LinkisUp-1Gbps/Full-flowcontroloff[16.872809]IPv6:ADDRCONF(NETDEV_CHANGE):eth0:linkbecomesready[220.810635]IPv6:ADDRCONF(NETDEV_UP):br-lan:linkisnotready[221.264426]rtl8192cu:MACautoONokay![221.301871]rtl8192cu:Txqueueselect:0x05[221.725855]IPv6:ADDRCONF(NETDEV_UP):wlan0:linkisnotready[221.734477]devicewlan0enteredpromiscuousmode[221.739510]br-lan:port1(wlan0)enteredforwardingstate[221.745096]br-lan:port1(wlan0)enteredforwardingstate[221.752455]IPv6:ADDRCONF(NETDEV_CHANGE):br-lan:linkbecomesready[221.772506]IPv6:ADDRCONF(NETDEV_CHANGE):wlan0:linkbecomesready[223.741765]br-lan:port1(wlan0)enteredforwardingstate
HowtobuildOpenWRTimagefromgithub
80
LamoboOpenwrtimageOpenWrtfirmwareforBPI-R1isupdated,itsupportbyLamobo.
ThisfirmwareisbuiltbasedontheOpenWrtmasterbranchr42830.
Q&A
IamanewBPI-R1user,howtousethisfirmware?
1. Foranewuser,werecommendtousethereadyconfiguredfirmware.pleasedownloaditfromforumdownloadpage:http://elastos.org/elorg_common/Lamobo-R1/2015-01-12/openwrt-sunxi-Lamobo-R1-sdcard-vfat-ext4.img
2. BPI-R1acceptsTF-card.MakesureyourTF-cardisbiggerthan512MB.UsingbelowcommandtogenerateabootableTD-card:$sudoddif=openwrt-sunxi-BPI-R1-sdcard-vfat-ext4-configured.imgof=/dev/sdXbs=1MB
3. Notesforthereadyconfiguredfirmware:
Theloginusername/passwordareroot/root.Thesoftwareinstallationsourcehasbeensetto“http://elastos.org/elorg_common/Lamobo-R1/2015-01-12/”.Fordetailspleaserefer“/etc/opkg.conf”.IfyouliketoinstallyourR1fromchaos.Routeraddressis:10.0.1.1
IfIwanttousetheoriginalfirmware,whatcanIdo?
1. Theoriginalfirmwareisbuiltdirectlyfromsourcecode.Italmostdoesnotinstallsoftware,exceptOpenWrtbasesoftware.Pleasedownloaditfrom:elastos.org/elorg_common/Lamobo-R1/2015-...sdcard-vfat-ext4.img.
2. PrepareaTTLthreadfortoconnentOpenWrtbashterminal.3. ConnecttoOpenWrtterminalthroughtTTLthread,modifyOpenWrtpackagessource.AllOfOpenWrtpackagesis
releasedon:
elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages.Youcanchangeopkg.conf(/etc/opkgopkg.conf)contenttobelow:src/gzchaos_calmer_basehttp://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/basesrc/gzchaos_calmer_lucihttp://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/lucisrc/gzchaos_calmer_managementhttp://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/managementsrc/gzchaos_calmer_packageshttp://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/packagessrc/gzchaos_calmer_routinghttp://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/routingsrc/gzchaos_calmer_telephonyhttp://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/telephony
Andthen,updateopkgdatabase:$opkgupdate
4. InstallOpenWrtpackages.Thebelowpackagesareneeded:
$opkginstallkmod-b53$opkginstallkmod-rtl*$opkginstallhostapd$opkginstallwpa-supplicant$opkginstallluci-proto-ppp$opkginstallppp-mod-pptp$opkginstallluci$opkginstallluci-theme-bootstrap
Fullpackagelistpleaserefer:kingone.elastos.org/2015/01/13/lamobo-r1-package-list/
5. Modifythenetworkconfig.Appendbelowtextto“/etc/config/network”:
LamoboOpenwrtimage
81
http://elastos.org/elorg_common/Lamobo-R1/2015-01-12/openwrt-sunxi-Lamobo-R1-sdcard-vfat-ext4.imghttp://elastos.org/elorg_common/Lamobo-R1/2015-01-12/”
configswitch‘eth0′optionenable’1′optionenable_vlan’1′optionreset’1′
configinterface‘lan’optionproto‘static’optionipaddr’10.0.1.1′optionnetmask’255.255.255.0′optiondefaultroute’0′optionpeerdns’0′optionnat’1′optionifname‘eth0.1′optiontype‘bridge’
configswitch_vlanoptiondevice‘eth0′optionports’01248t’optionvlan’1′
configinterface‘wan’optionifname‘eth0.2′optionproto‘dhcp’
configswitch_vlanoptiondevice‘eth0′optionvlan’2′optionports’38t’
startrouterwebserver:
$/etc/init.d/uhttpdstart$/etc/init.d/uhttpdenable
That’sall.Goodluck!
forumdiscusslink:
http://www.bananapi.com/index.php/forum/general/417-banana-pi-bpi-r1-openwrt-image-2-0-release-note#1229
Wikilink:
http://wiki.geiges.net/doku.php?id=openwrt_bpi-r1
LamoboOpenwrtimage
82
http://www.bananapi.com/index.php/forum/general/417-banana-pi-bpi-r1-openwrt-image-2-0-release-note#1229http://wiki.geiges.net/doku.php?id=openwrt_bpi-r1
AsteriskforVOIPAsteriskisasoftwareimplementationofatelephoneprivatebranchexchange(PBX);itwascreatedin1999byMarkSpencerofDigium.LikeanyPBX,itallowsattachedtelephonestomakecallstooneanother,andtoconnecttoothertelephoneservices,suchasthepublicswitchedtelephonenetwork(PSTN)andVoiceoverInternetProtocol(VoIP)services.Itsnamecomesfromtheasterisksymbol:
Source:Wikipedia
https://en.wikipedia.org/wiki/Asterisk_%28PBX%29
AsteriskislikeaboxofLegosforpeoplewhowanttocreatecommunicationsapplications.ItincludesallthebuildingblocksneededtocreateaPBX,anIVRsystem,aconferencebridgeandvirtuallyanyothercommunicationsappyoucanimagine.
Source:OfficialAsterixWebsite:http://www.asterisk.org/
BananaPiisasingle-boardcomputerbuiltwithARMCortex-A7Dual-core(AllwinnerA20based)CPUandMali400MP2GPU,andopensourcesoftware,BananaPicanserveasaplatformtomakelotsofapplicationsfordifferentpurposes.
ThisisaprojectdedicatedtoAsteriskandFreePBXrunningonthebananapi.moremessage,pleasevisit:http://dostmuhammad.com/asterix-for-banana-pi-freepbx-img-file-for-banana-pi-included/
http://www.banana-pi.orgdownloadwebpagealsohaveimagedownload.
AsteriskforVOIP
83
https://en.wikipedia.org/wiki/Asterisk_%28PBX%29http://www.asterisk.org/http://dostmuhammad.com/asterix-for-banana-pi-freepbx-img-file-for-banana-pi-included/http://www.banana-pi.org
ArchLinuxArchLinuxhaveofficialsupportBPI-M1,BPI-M1+
Imagedownloadandwikipage:
https://wiki.archlinux.org/index.php/Banana_Pi
ArchLinux
84
https://wiki.archlinux.org/index.php/Banana_Pi
OpenSuseInstallingtheopenSUSETumbleweedImage
Downloadthelatestimageathttp://download.opensuse.org/ports/armv7hl/tumbleweed/images/andchoose:
1. JeOSimageforaminimalsystemopenSUSE-Tumbleweed-ARM-JeOS-bananapi.armv7l-1.12.1-*.raw.xz'or2. OncekernelsupportfortheMaliGPUhasbeenimplemented,graphicaloptionswillbepublishedaswell.
AsrootextracttheimageontoyourSD-Card(replacesdXwiththedevicenameofyourSD-Card).WARNING:allpreviousdataontheSD-Cardwillbelost.
xzcat[image].raw.xz|ddbs=4Mof=/dev/sdX;sync
InserttheSD-CardwiththeopenSUSEimageintoyourBananaPi.
ConnecttheBananaPitoyourPCviaserialport.PowerontheBananaPi.Walkthroughthefirstbootstepsontheserialconsole.Havealotoffun...
morepleasesee:https://en.opensuse.org/HCL:BananaPi
OpenSuse
85
http://download.opensuse.org/ports/armv7hl/tumbleweed/images/https://en.opensuse.org/HCL:BananaPi
BananianLinux
Bananiannewversionupdate(2016-04-23)latestversion(Debian8/Jessie)
bananian-latest.zip(158MB)
version:16.04(released2016-04-23)
defaultlogin:root/pi
SHA1:99fdb18175c32b4c7d57ce970acb3837a17a439c
SHA256:8123d538c365553a0225f00746650044e72c8444b6b7b43d64ecb1eef517ae9f
Releasenotes:[Kernel]provideLinux4.4.xpackages[Userland]packagebananian-updateasa.debfile[General]KernelUpdateScriptandotherstuffasanaptrepository[Kernel]enableaudioonLinux4.x[Hardware]Fixed:bananian-hardwaredoesnotworkonLinux4.x[Userland]Introduce"bananian-settings"[Kernel]UpdateKernel3.4.xto3.4.111[Kernel]Divisionbyzeroinkernel.(3.4.90+)[Hardware]updateFAQ,pmutempandsoctemprelatedtoKernel4.x[General]UpdateU-Boot[Kernel]Removing4.2kernelpackagesresultinunbootablesystem[Userland]rsyslogspamslogswith"rsyslogd-2007:action..."[Kernel]HDMIoutputturnsoffoninactivity[Kernel]Supportfor8channelshdmi
moreinformation,pleasebananianofficialwebsite:
https://www.bananian.org/download
theteamoftheBananianLinuxprojectispleasedtoannouncethereleaseofBananianLinux16.04forBananaPi(andfamily).ThisupdateimprovesmainlineLinuxkernelsupport(4.4.x)alongwithalotofbugfixesandminorimprovements.
WearesupportingtheBananaPi,BananaPiM1+,BPI-R1andsomeotherA20boardswithjustonesingleimage.TheBananaPiM2requiresaseparateimagewhichalsohasbeenupdated.Seehttps://www.bananian.org/hardwareformoreinformation.
ExistingBananianinstallationscaneasilybeupgradedwithoutlosinganydataorsettings.
ForalistofallchangesseetheBananian16.04changelog:https://dev.bananian.org/changelog_page.php?version_id=13
TogetBananian16.04:InordertodownloadBananian16.04,visit:https://www.bananian.org/download
UsersofBananian14.09orlatercanupgradetheirexistinginstallationusing'bananian-update'.UsersofBananian14.08,see:https://www.bananian.org/upgrade
BananianLinux
86
https://dl.bananian.org/releases/bananian-latest.ziphttps://www.bananian.org/downloadhttps://www.bananian.org/hardwarehttps://dev.bananian.org/changelog_page.php?version_id=13https://www.bananian.org/downloadhttps://www.bananian.org/upgrade
AboutBananianBananianLinuxisapre-installedDebian8imageoptimizedforBananaPi.ItusestheofficialDebianJessiearmhfrepositorieswithakernelandbootmanager(u-boot),customizedforBananaPi.
ItsupportstheBananaPi(M1,M1+),BananaPro,BPI-R1andsomeotherA20boardswithjustonesingleimage.AseparateimagefortheBananaPiM2isalsoavailable.
Themainfocusistoprovidealightweightheadlessplatformforhomeservers,smallwebservers,cloudhosting,Linuxbasedwifiaccesspoints,router,NASsystems,monitoringdevices,etc.
BananianLinuxisapre-installedDebian8imageoptimizedforBananaPi.ItusestheofficialDebianJessiearmhfrepositorieswithakernelandbootmanager(u-boot),customizedforBananaPi.
ADebian7/Wheezyimage(Bananian15.04)isalsoavailableandmaintained.
WesupporttheBananaPi(M1,M1+),BananaProandBPI-R1withjustonesingleimage.
Themainfocusistoprovidealightweightheadlessplatformforhomeservers,smallwebservers,ownCloudhosting,Linuxbasedwifiaccesspoints,router,NASsystems,monitoringdevices,etc.
Officialwebforimagedownloadandsupport:
https://www.bananian.org/
BananianLinux
87
https://www.bananian.org/
OpenMediaVaultforBPI-M1OpenMediaVaultisanextgenerationNetworkAttachedStorage(NAS)solutionbasedonDebianLinux(BanaNASbasedonRaspbian).ItcontainsserviceslikeSSH,(S)FTP,SMB/CIFS,DAAPmediaserver,RSync,BitTorrentclientandmanymore.Thankstothemodulardesignoftheframework,itcanbeenhancedusingvariousplug-ins.
websitelink:
http://www.openmediavault.org/
ImageforBananaPiisbasedonDebian/Linux.ImagealreadyhaveinstaledOpenMediaVaultsoftwareandincludesomv-extras.orgreposytoryforlargerbaseofplugins.
Systemimagerequiresatleast8GBSDcard.
Downloadlink:
forBananaPiBPI-M1http://simplenas.com/download/banana-pi-m1
forBananapiBPI-M1+http://simplenas.com/download/banana-m1p
discussforum:
http://forums.openmediavault.org/index.php/Thread/5667-OMV-on-Banana-Pi-BanaNAS/
OpenMediaVault
88
http://www.openmediavault.org/http://simplenas.com/download/banana-pi-m1http://simplenas.com/download/banana-m1phttp://forums.openmediavault.org/index.php/Thread/5667-OMV-on-Banana-Pi-BanaNAS/
ArmbianLinuxArmbianLinuxhaveofficialsupportBPI-M1,BPI-M1+,BPI-M2,BPI-M2+,BPI-R1
Imagedownloadandarmbianforumpage:
http://www.armbian.com/download/
armbiangithublink:
https://github.com/igorpecovnik/lib
ArmbianLinux
89
http://www.armbian.com/download/https://github.com/igorpecovnik/lib
GentooLinuxGentooLinuxhaveofficealsupportbananapiBPI-M1,soyoualsocanuseonBPI-M1+,andBPI-R1,allisbaseonallwinnerA20chip.
GentooLinuxofficialWiKi
https://wiki.gentoo.org/wiki/Banana_Pi_the_Gentoo_Way
GentooLinux
90
https://wiki.gentoo.org/wiki/Banana_Pi_the_Gentoo_Way
RaspBSDonBPI-M1RaspBSDisavolunteerprojectheadedbyFreeBSDCommitterBradDavis(brd@).
TheGoalofthisprojectistobuildimageseasilyuseablebyanyone.Sometimesthatmeansimagespreloadedwithdifferentpackagestohelpnewusersgetstarted.Initiallytheywillstartoffprettybasic,butwillexpandindifferentdirectionstosupportdifferentgoals.InitialgoalsincludeEducationandEntertainment.Allofourimagesarebuiltusingpubliclyavailabletoolsandanyenhancementswillbepushedupstream.
Ifyoulikewhatwearedoing,pleaseconsiderdonatingtotheFreeBSDFoundation
ImageforbananapiBPI-M1
http://raspbsd.org/bananapi.html
RaspBSDonBPI-M1
91
https://www.freebsdfoundation.org/http://raspbsd.org/bananapi.html
CentOS7LinuxforBPI
CentOS7isnowavailableforARMdevicesKaranbirSinghfromtheCentOSteamhadthegreatpleasureofannouncingthegeneralavailabilityoftheCentOS7LinuxoperatingsystemfortheARMhardwarearchitecture.
Atthemomentofwritingthisarticle,theCentOSdevelopersdidn'twriteanyreleasenotesontheirwebsiteaboutwhatnewfeaturesandoptimizationshavebeenimplementedintheARMportofthelatestCentOS7Linuxoperatingsystem,exceptfortheverybriefannouncementpostedontheirTwitteraccount.
Wewereonlygivingaccesstothedownloadlinks,andbasedonthenameofthebinaryimageswecantellyouthatCentOS7LinuxwillnowworkonvariousAMv7devices,butpre-builtbinaryimagesareavailableonlyforthepopularRaspberryPi2,BananaPi,andCubieTrucksingle-boardcomputers(SBCs).
What'snewinCentOS7build1511
Lastweek,wereportednewontheCentOS7build1511rollingrelease,whichbroughtaassortednewfeatures,softwareupdatesandenhancements,suchasKerberosHTTPproxyforidentitymanagement,ECCsupportforTLSconnectionsinOpenJDK7,networkingstackimprovements,aswellasupdatestotheAtomicpackages.
Additionally,thenewCentOS7buildincludedsupportforTLS1.1,TLS1.2andECciphersinvariouspre-installedpackages,fullsupportforthevirt-v2vcommand-linetool,nanosecondtimestampssupportintcpdump,theGNOME3.14andKDE4.14desktopenvironments,X.OrgServer1.17displayserver,LibreOffice4.3.7officesuite,andOpenLDAP2.4.40opensourceLDAPimplementation.
Thisbeingsaid,webelievethatthenewCentOS7LinuxforARMdevicesportincludesmostoftheaforementionedfeatures.YoucandownloadCentOS7forRaspberryPi2,BananaPi,andCubieTruckrightnowviaourwebsiteortheproject'sFTPservers,fromwhereyoucanalsogetthe64-bitLiveGNOME,LiveKDE,NetInstall,andMinimalISOs.
imagedownload
http://mirror.centos.org/altarch/7/isos/armhfp/12
CentOS7LinuxforBPI
92
http://news.softpedia.com/news/centos-linux-7-rolling-november-update-rebases-the-os-to-red-hat-enterprise-linux-7-2-497604.shtmlhttp://linux.softpedia.com/get/System/Operating-Systems/Linux-Distributions/CentOS-906.shtmlhttp://mirror.centos.org/altarch/7/isos/armhfp/12
lakka.tvforbananapiLakkaisalightweightLinuxdistributionthattransformsasmallcomputerintoafullblowngameconsole.
andlakka.tvhaveofficialsupportbananapi
imagedownload:
http://www.lakka.tv/get/linux/bpi/
lakka.tv
93
http://www.lakka.tv/get/linux/bpi/
DietPi|Minimalimageatitscore
HighlyoptimizedminimalDebianOS
DietPiisextremelylightweightatitscore,ourimagesstartat400MBinsize(3xlighterthan'RaspbianLite').Withfeaturesoflowprocess/memoryfootprintandDietPi-RAMloginstalledbydefault,DietPiallowsyoutogetthemaximumperformancefromyourdevice.
NowitsupportbananapiBPI-M1
morepleaseseeDietPiofficial:
http://dietpi.com/
Sourcecodeongithub:
https://github.com/Fourdee/DietPi
DietPi
94
http://dietpi.com/https://github.com/Fourdee/DietPi
FreeBSDonAllwinner(sunxi)systemsforbananapi
BananapiastheofficialpartnerofAllwinner,mustbananapiproductuseAllwinnerchipdesign.suchasA20/A31S/H3/H2+/A64/A83T,andFreeBSDhavesupportmanyAllwinner.soeasytouseonbananapiboard.
AllwinnerA20(sun7i),adual-coreCortex-A7BPI-M1/BPI-M1+/BPI-R1
AllwinnerA31andA31s(sun6i),aquad-coreCortex-A7BPI-M2
AllwinnerA64(sun50i),aquad-coreCortex-A53BPI-M64AllwinnerA83T(sun8i),anocta-coreCortex-A7BPI-M3AllwinnerH3(sun8i),aquad-coreCortex-A7**BPI-M2+/BPI-M2+EDU/**
https://wiki.freebsd.org/FreeBSD/arm/Allwinner
FreeBSD/NetBSD
95
https://wiki.freebsd.org/FreeBSD/arm/Allwinner
Referencedocuments
Referencedocuments
96
linux-sunxiwikilemakerbananapiissameasbananapiBPI-M1
http://linux-sunxi.org/LeMaker_Banana_Pi
BPI-M1linux-sunxiwiki
97
http://linux-sunxi.org/LeMaker_Banana_Pi
NetBSD/evbarmonAllwinnerTechnologySoCsNetBSDisafree,fast,secure,andhighlyportableUnix-likeOpenSourceoperatingsystem.Itisavailableforawiderangeofplatforms,fromlarge-scaleserversandpowerfuldesktopsystemstohandheldandembeddeddevices.Itscleandesignandadvancedfeaturesmakeitexcellentforuseinbothproductionandresearchenvironments,andthesourcecodeisfreelyavailableunderabusiness-friendlylicense.NetBSDisdevelopedandsupportedbyalargeandvividinternationalcommunity.Manyapplicationsarereadilyavailablethroughpkgsrc,theNetBSDPackagesCollection
NetBSD7.0hassupportforA20andA31SoCs.NetBSD-currentaddssupportforA80SoCs.
morepleasesee:
https://wiki.netbsd.org/ports/evbarm/allwinner/#index1h1
NetBSD\/evbarmonAllwinnerTechnologySoCs
98
https://wiki.netbsd.org/ports/evbarm/allwinner/#index1h1
ArchlinuxwikiforBPI-M1https://wiki.archlinux.org/index.php/Banana_Pi
ArchlinuxwikiforBPI-M1
99
https://wiki.archlinux.org/index.php/Banana_Pi
NasforBPIOverviewNASisdefinedasaspecialkindofprivatedatastorageserver,includingstoragedevice(suchasdiskarrays,CD/DVDdrives,tapedrives,orremovablestoragemedium)andembeddedsystemsoftware,canprovideacross-platformfilesharingfunction.
morepleasesee:
https://www.hackster.io/jeffbaocai/bananapi-pro-nas-0815dc?ref=platform&ref_id=8064_popular___&offset=3
NasforBPI
100
https://www.hackster.io/jeffbaocai/bananapi-pro-nas-0815dc?ref=platform&ref_id=8064_popular___&offset=3
BuildingtheclusteronBPIBuildingthecluster
Buildingtherack
IbuiltarackfortheBananaPiboardsusingblankingplatesformainssockets,andfourlargebolts.ImadeawoodentemplatefromapieceofMDF,andusedthetemplatetodrillholesineachofthebankingplates.IdrilledsmallholesforplasticPCBsupportswhichIusetoholdeachboardinplace.Theboltsareinsertedthroughtheholesatthecornersoftheblankingplates,andheldinplacewithglue.
morepleasesee:
https://www.hackster.io/Penguinfly/banana-pi-cluster-47d566
BuildingtheclusteronBPI
101
https://www.hackster.io/Penguinfly/banana-pi-cluster-47d566
HowtobootingfromSSDusingLubuntu/RaspbianBananaPI–SetupLubuntu/RaspbianonaSATASSD/HD
Afterayearofusingaclass10SDcard,Istartedtogetsomei/oerrors…SodecidedtostarttakingadvantageofoneofthenicestfeaturesbananaPihas:SATAport+SATApowersupply.
Ihadnoideaofwheretobegin…SoGoogledit.Found3sitesthatmoreorlessdescribedhowtoproceed,butbothwhereforRaspbianonlyanddeadendedmealongtheway.HopethisguidehelpsotherbananiansusingLubuntutoachieveyourgoal!
moredocuments,pleaseseethislink:
http://nload.net/how-to-banana-pi-booting-from-ssd-using-lubuntu-raspbian/
HowtobootingfromSSDusingLubuntu\/Raspbian
102
http://nload.net/how-to-banana-pi-booting-from-ssd-using-lubuntu-raspbian/
bananapibooksBananaPiCookbook
https://www.packtpub.com/hardware-and-creative/banana-pi-cookbook/?utm_source=SI-www.bananapi.com&utm_medium=pod&utm_campaign=1783552441
LearningBananaPi
https://www.packtpub.com/hardware-and-creative/learning-banana-pi/?utm_source=SI-www.bananapi.com&utm_medium=pod&utm_campaign=1785289306
bananapibooks
103
https://www.packtpub.com/hardware-and-creative/banana-pi-cookbook/?utm_source=SI-www.bananapi.com&utm_medium=pod&utm_campaign=1783552441https://www.packtpub.com/hardware-and-creativ