Difference between pages "Getting Started with M2M" and "Banana Pi BPI-R64"

From Banana Pi Wiki
(Difference between pages)
Jump to: navigation, search
(WiFi Client)
 
(Ubuntu)
 
Line 1: Line 1:
[[zh:快速上手 香蕉派 BPI-M2 Magic]]
+
[[zh:香蕉派_BPI-R64]]
=Introduction=
 
==BPI-M2M==
 
[[File:Banana_pi_bpi-m2_magic_5.JPG|thumb|Overview:[[Banana Pi BPI-M2M ]]]]
 
[[File:M2M_ubuntu.png|thumb|Overview: BPI-M2M ubuntu linux]]
 
  
  Banana Pi M2M is another ARM SoC powered development board that offers great computing performance in an ultra portable form factor. It is a 51mm square with Allwinner A33 Quad-core A7 SoC and 512MB DDR3 RAM.  
+
=Summary=
 +
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MT7622]]
 +
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]
 +
[[File:O2A0500.jpg|thumb|[[Banana Pi BPI-W2]] with Realtek RTK1296 chip design]]
 +
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]
 +
[[File:BPI-R64_4.JPG|thumb|BPI-R64 with BPI-7402 POE function support]]
 +
[[File:Banana_Pi_BPI-R64_1.jpg|thumb|Overview:banana Pi BPI-R64]]
  
*Read more about : [[Banana Pi BPI-M2M]]
+
[[File:BPI-R64_POE_1.jpg|thumb|[[BPI-7402 IEEE 802.3at PoE module]]]]
 +
[[File:MTK_MT7615_1.JPG|thumb|[[BPI-MT7615 802.11 ac wifi 4x4 dual-band module]]]]
 +
[[File:5G_gateway_2.jpg|thumb|BPI:4.0 [[Successful case]] 5G Converged communication gateway]]
 +
[[File:BPI-4G 5.JPG|thumb|4G with USB [[4G module via USB]]]]
 +
[[File:BPI-R64_4g_1.JPG|thumb|[[5G + 4G LTE+Wifi AC+Gigabit Multiplex aggregate route]]]]
 +
[[File:BPI-R64_case.JPG|thumb|BPI-R64 case]]
  
===Key Features===
+
==Introduction==
* Quad Core ARM Cortex A7 CPU. R16
+
The Banana Pi R64 is a router based development board, which can run on a variety of open source operating systems including OpenWrt,Linux. It has 4 Gigabit LAN ports, 1 Gigabit WAN, and AC wifi AP function.
* 512MB DDR3 SDRAM
+
use 64 bit chip design
* WiFi (AP6212) & Bluetooth onboard
 
  
=Development=
+
[[File:Banana_Pi_BPI-R64.png]]
==Basic Development==
 
===Prepare===
 
Prepare 8G/above TF card, USB-Serial interface, PC with Ubuntu System, connect USB-Serial Connect debug console to M2M debug uart.
 
 
 
  [[Image:M2M__debug_console.png | 240px]]  [[Image:M2M__pin_define.png | 240px]]
 
  
'''Install bpi-tools'''
+
'''Note: this board doesn't have HDMI interface'''
  $ apt-get install pv
 
  $ curl -sL https://github.com/BPI-SINOVOIP/bpi-tools/raw/master/bpi-tools | sudo -E bash
 
  
:If you can't access this URL or any other problems, please go to [https://github.com/BPI-SINOVOIP/bpi-tools bpi-tools repo] and install this tools manually.
+
==MTK MT7622==
  
===Install bpi image to SD card===
+
Highly integrated 4x4 802.11n and Bluetooth 5.0 platform with dedicated Network Accelerator
:1. [http://wiki.banana-pi.org/Banana_Pi_BPI-M2M#Image_Release Download latest linux image], defautl user/password is pi/bananapi or root/bananapi.
+
[https://www.mediatek.com/products/homeNetworking/mt7622 MediaTek MT7622] is the world’s first with 4x4n 802.11n/Bluetooth 5.0 system-on-chip designed and built for premium networking devices across several applications including routers/repeaters, home automation gateways, wireless audio, and wireless storage. The highly versatile chipset provides a single platform for popular 4X4 dual-band and tri-band routers/repeaters, providing maximum flexibility for manufacturers looking to build top-tier networking devices. The platform pairs high performance and extensively integrated functionality with a cost-effective approach.
  
:2. Install image with bpi-tools on Linux
+
The MT7622 contains MediaTek’s Adaptive Network technology that allows for easy setup, network self-healing, roaming, band steering, Smart quality of service, advanced security and more. For audio and voice control applications, essential audio interfaces such as I2S, TDM and S/PDIF are included. And for Home Automation Gateways there is a rich array of slow I/O in addition to the integrated Wi-Fi, Bluetooth and Zigbee co-existence.
::plug your sd card to your Linux PC
 
        $ bpi-copy  xxx.img /dev/sdX
 
  
:3. Install bpi image with Etcher on Windows, Linux and MacOS
+
Powered by a 64-bit dual-core ARM Cortex-A53 processor clocked at 1.35GHz, the MT7622 provides a host of advanced connectivity options like SGMII/RGMII, PCIe, and USB, and 4X4 802.11n FEM integration. Extending the platform with 802.11ac to meet additional markets is simply done via MT7615 SoC.
::[https://www.balena.io/etcher/ Balena Etcher] is an open source project by Balena, Flash OS images to SD cards & USB drives
 
  
===Install Image to EMMC with SD Ubuntu===
+
The MT7622 introduces several best-in-class features such as Bluetooth 5.0 and a dedicated Network Accelerator engine with the MediaTek Wi-Fi Warp Accelerator, storage accelerator (SATA 3.0/eSATA Gen2) and HNAT HQoS calculations are offloaded from the CPU, lowering overall power-use and freeing up resources to avoid any potential slow-downs.
  
:1. Prepare a sd which is installed ubuntu image and bootup with sdcard
+
The advantage of the MediaTek Wi-Fi Warp Accelerator is two-fold. Firstly it connects the Gigabit+ class 802.11ac networking through to the Gigabit switch/WAN connection via multi-Gigabit internal pathways, ensuring no bottleneck. Secondly, its specialized design not only offloads the CPU from many-user throughput and QoS calculations, it does so at lower power. The result is the MediaTek Wi-Fi Warp Accelerator maintains a sustained high-performance when even supporting multiple, simultaneous heavy users.
  
:2. Copy emmc image to udisk then plug in M2M, then mount udisk.
+
Integrated Bluetooth allows for a direct, local wireless connection via App for easy configuration of the router/Wi-Fi settings. The latest Bluetooth 5.0 quadruples range and doubles speed versus previous 4.x technologies, allowing new and innovative possibilities.
:3. After mount udisk, use command "bpi-copy xxx-emmc-xxx.img" to install image on Emmc.
 
:4. After success install, power off M2M, eject the sdcard and poweron with emmc boot.
 
  
===Build Source Code ===
+
==Key Features==
Get the bsp source code
 
  
  $ git clone https://github.com/BPI-SINOVOIP/BPI-M2M-bsp
+
* MediaTek MT7622,1.35GHZ 64 bit dual-core ARM Cortex-A53
 +
* 1G DDR3 SDRAM
 +
* Mini PCIE interface support 4G module
 +
* built-in 4x4n 802.11n/Bluetooth 5.0 system-on-chip
 +
* MTK7615 4x4ac wifi (option)
 +
* support 1 SATA interface
 +
* MicroSD slot supports up to 256GB expansion
 +
* 8G eMMC flash (option 16/32/64G)
 +
* 5 port 10/100/1000 Mb Ethernet port
 +
* (1) USB 3.0
 +
* Slow I/O:ADC, Audio Amplifier, GPIO, I2C, I2S, IR, PMIC I/F, PWM, RTC, SPI, UART
 +
* POE function support
  
Build the bsp source code
+
==Getting Start==
  $ ./build.sh 1
 
  
:Get the docker image from [https://hub.docker.com/r/sinovoip/bpi-build Sinovoip Dock Hub], build the source code with this docker image if you have build environment issue.
+
Read more for development :[[Getting Started with R64]]
  
Install the bsp package to SD card with bpi image flashed
+
Frank wiki : http://fw-web.de/dokuwiki/doku.php?id=en:bpi-r64:start
  
  $ sudo ./update_bsp2sd.sh /dev/sdX
+
=Hardware Revision=
 +
==Hardware interface==
  
==Advance Development==
+
[[File:BPI-R64_interface.JPG]]
  
===Bluetooth===
+
the inner and outer diameter of the power plug adapter datasheet:https://drive.google.com/file/d/1k3AWmYOs2XE7lnRxCyytZu0Vpq_Bzcu_/view?usp=sharing
* Use bluetoothctl tool to operate BT
 
* Execute "bluetoothctl"
 
* If you don't know how to use bluetoothctl, type "help", you will see more commands
 
* Execute these commands:  
 
[[Image:M2M_BT_bluetoothctl.png]]
 
  
===WiFi Client===
+
[[File:Dc090_size.png]]
'''You have two ways to setup WiFi Client'''
 
  
1. Use commands to setup WiFi client
+
==Hardware spec==
  $ sudo su
+
{| class="wikitable"
  # killall wpa_supplicant
+
|-
  # wpa_passphrase <ssid> <passphrase> > /etc/wpa_supplicant/wpa_supplicant.conf             
+
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare  Specification of Banana pi BPI-R64'''
  # ifconfig wlan0 up
+
|-
  # iwlist wlan0 scan
+
| CPU ||MediaTek MT7622,1.35GHZ 64 bit dual-core ARM Cortex-A53
  # wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf &
+
|-
  # dhclient eth0
+
| SDRAM || 1 GB DDR3
 +
|-
 +
| SATA || support 1 SATA interface
 +
|-
 +
| GPIO || 40 Pins Header, 28×GPIO, some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S.
 +
|-
 +
| On board Network || 5 10/100/1000Mbps Ethernet 
 +
|-
 +
| Wifi || built-in 4x4n 802.11n (800Mbps) sysem-on-chip and  MTK7615 4x4ac wifi Module (1733Mbps) (option)
 +
|-
 +
| Bluetooth || Bluetooth 5.0 system-on-chip
 +
|-
 +
| On board Storage || MicroSD \(TF\) card,8GB eMMC onboard
 +
|-
 +
| mini PCIE||1 mini pcie interface for 4G
 +
|-
 +
| USB || 1 USB 3.0 host
 +
|-
 +
| Buttons || Reset button
 +
|-
 +
| Leds || Power status Led and RJ45 Led
 +
|-
 +
| IR || PIN define with GPIO
 +
|-
 +
| DC Power || 12V/2A with DC in
 +
|-
 +
| POE || support POE module interface,can add POE module
 +
|-
 +
| Sizes || 148 mm × 100.5mm
 +
|-
 +
| Weight || 100g
 +
|-
 +
|}
  
2. Use UI interface to setup WiFi Client
+
==PoE support ==
  
===StartX===
+
we design PoE function for BPI-R64 ,so easy to add PoE module to support PoE function,PoE modue can support IEEE 802.3bt PoE standard ,Max support 12V/3A to power BPI-R64
* apt-get install xorg
 
* apt-get install xserver-xorg
 
* apt-get install xinit
 
  
https://askubuntu.com/questions/518454/what-does-startx-command-do
+
[[File:BPI-R64_POE.jpg]]
  
===NAS Application===
+
more PoE module spec
1. Usb hub + sata to usb
 
* HDD is supported
 
[[Image:M2m_connect_hdd.png]]
 
  
[[Image:M2m_connect_hdd_cmd.png]]
+
[[BPI-7402 IEEE 802.3at PoE module]]
  
* SSD is supported
+
==4G support==
[[Image:M2m_connect_ssd.png]]
 
  
[[Image:M2m_connect_ssd_cmd.png]]
+
1, use pcie interface standard module ,and use SIM card slot onboard
  
===Camara function===
+
::[[File:4g_onboard.jpg]]
We use HDF5640 camara.
 
  
[[Image:ov5640_camara.png]]
+
2,use 4G extend module via USB port
====Guvcview====
 
* Use your UI interface to operate camara
 
* Applications -> Sound & Video -> guvcview
 
  
====Shell====
+
*USB 4G module : http://wiki.banana-pi.org/4G_module_via_USB
* We also have built-in command in /usr/local/bin to test camara
 
* "./test_ov5640_image_mode.sh" to test picture taking function
 
* "./cameratest.sh" to test video recording function
 
  
===BPI-Tools===
+
==BPI-MT7615 802.11 ac wifi 4x4 dual-band==
====Install Bpi-tools====
 
* Execute "curl -sL https://github.com/BPI-SINOVOIP/bpi-tools/raw/master/bpi-tools | sudo -E bash - "
 
  
====Update Bpi-tools====
+
we have design a MT7615 802.11 ac wifi module ,can use on BPI-R64
* Execute "bpi-tools"
 
[[Image: Bpi-tools.png]]
 
  
===RPi.GPIO===
+
MT7615 is a highly integrated Wi-Fi single chip which support 1733 Mbps PHY rate,It fully compies with IEEE 802.11ac and IEEE802.11 a/b/n standards,offering feature-rich wireless connecivity at high standards,and delivering reliable,cost-effective throughput from and extended distance.
====Install RPi.GPIO====
 
* Execute "git clone https://github.com/BPI-SINOVOIP/RPi.GPIO"
 
* after clone the repo, cd RPi.GPIO
 
* Execute "sudo apt-get update"
 
* Execute "sudo apt-get install python-dev python3-dev"
 
* Execute "sudo python setup.py install" or "sudo python3 setup.py install" to install the module
 
  
====Using RPi.GPIO====
+
[[BPI-MT7615 802.11 ac wifi 4x4 dual-band module]]
* cd /usr/local/bin
 
* Execute "./bpi_test_g40.py" to test RPi.GPIO
 
  
[[Image: RPi_GPIO.png]]
+
[[BPI-R64 + MT7615 function test]]
  
===WiringPi===
+
==BPI-R64 GPIO Pin define==
* GitHub: https://github.com/BPI-SINOVOIP/BPI-WiringPi2.git
 
* We also have built-in test command in "/usr/local/bin"
 
  
====How to Update WiringPi====
+
[[Image:R64_gpio_40.jpg]]
* Execute "bpi-update -c pkglist.conf"
 
[[Image: Update_Pkglist.png]]
 
  
* Execute "bpi-update -c bpi-pkg-bpi-wiringpi.conf"
+
=Resources=
[[Image: Update_WringPi.png]]
+
==Source code==
 +
*Banana Pi BPI-R64 (MT7622) openwrt (Kernel 4.19) : https://github.com/BPI-SINOVOIP/BPI-R64-openwrt
 +
*BPI-R64 Linux BSP(kernel 5.4):https://github.com/BPI-SINOVOIP/BPI-R64-bsp-5.4
 +
*BPI-R64 Linux BSP(kernel 4.19):https://github.com/BPI-SINOVOIP/BPI-R64-bsp-4.19
 +
*BPI-R64 Linux BSP(kernel 4.4) : https://github.com/BPI-SINOVOIP/BPI-R64-bsp
 +
*frank github(kernel 5.4): https://github.com/frank-w/BPI-R2-4.14/tree/5.4-r64-dsa
 +
* OpenWRT: https://github.com/openwrt/openwrt/tree/master/target/linux/mediatek/mt7622
  
====RGB 1602 LCD====
+
==Documents==
* Execute "/usr/local/bin/bpi_test_lcd1602.sh"
+
*BPI-R64 schematic diagram
[[Image: WringPi_1602_LCD_m2m.png]]
+
::google https://drive.google.com/file/d/1QzKmIwgSNbCIXQbqLsTUELJCEPik3VGr/view?usp=sharing
 +
::baidu cloud link: https://pan.baidu.com/s/18MEJpr5OTYmySZoyk3bO5Q pincode: amqt
 +
* BPI-R64 DXF file for case deign : https://drive.google.com/file/d/1_YNsdQ9Cv7FVOGrqd6GP0Tu5u2cjLwTA/view?usp=sharing
 +
* BPI-R64 DXF file and the parts used for the assembly datasheet: https://drive.google.com/file/d/1LK5HkP4AfE8xNLJMRHvc7JgexfkDBUAF/view?usp=sharing
 +
* 3D printed case for Banana PI R-64. Link https://www.thingiverse.com/thing:4261948
 +
* BPI-R64 3D design file update with SolidWorks :http://forum.banana-pi.org/t/bpi-r64-3d-design-file-with-solidworks/10910
 +
* MTK 7622 chip : https://www.mediatek.com/products/homeNetworking/mt7622
 +
* MTK MT7622A_Datasheet_for_BananaPi_Only : https://drive.google.com/file/d/1DVEv3bovA8cPti3Ln7d9lDBjMCGFSE5m/view?usp=sharing
 +
* MT7622 Reference Manual for Develope Board(BPi) : https://drive.google.com/file/d/1cW8KQmmVpwDGmBd48KNQes9CRn7FEgBb/view?usp=sharing
 +
*MT7531 switch chip datasheet: https://drive.google.com/file/d/1aVdQz3rbKWjkvdga8-LQ-VFXjmHR8yf9/view?usp=sharing
 +
*Banana Pi BPI-R64 debian Linux boot demo and bootlog:http://forum.banana-pi.org/t/banana-pi-bpi-r64-debian-linux-boot-demo-and-bootlog/8155
 +
*Banana Pi BPI-R64 passed AWS Greengrass : https://devices.amazonaws.com/detail/a3G0h000000OvObEAK/Banana-Pi-R64
 +
*Bpi-r64 quick start (boot from eMMC):http://forum.banana-pi.org/t/bpi-r64-quick-start-boot-from-emmc/9809
 +
*Banana Pi BPI-R64 CE,FCC,RoHS Certification : http://forum.banana-pi.org/t/banana-pi-bpi-r64-open-source-router-board-ce-fcc-rohs-certification/10094
 +
*Patchwork/Mailinglist there was a DSA-driver for mt7531 released : https://patchwork.kernel.org/project/linux-mediatek/list/?submitter=189635
 +
*MTK chip mailline Linux effort :https://mtk.bcnfs.org/doku.php?id=linux_mainline_effort
 +
*BPI-R64 current u-boot support:http://forum.banana-pi.org/t/bpi-r64-current-u-boot-support/10077
 +
*New netfilter flow table based HNAT:http://forum.banana-pi.org/t/new-netfilter-flow-table-based-hnat/12049
  
====0.96 Inch OLED Display====
+
== Amazon AWS Greengrass==
* Execute "/usr/local/bin/bpi_test_52pi.sh"
 
  
====8x8 RGB LED Martix====
+
Banana Pi BPI-R64 passed Amazon AWS Greengrass:https://devices.amazonaws.com/detail/a3G0h000000OvObEAK/Banana-Pi-BPI-R64
* Firstly you need a GPIO Extend Board for 8x8 LED Martix
 
[[Image: WringPi_LED_Martix_Extend_Board.png]]
 
  
* Execute "/usr/local/bin/bpi_test_gpio40.sh"
+
=Release=
[[Image: WringPi_LED_Martix_m2m.png]]
+
==OpenWRT & LEDE==
 +
*Banana Pi BPI-R64 19.07.7 OpenWRT Router image 2021-05-01
 +
::google driver:https://drive.google.com/file/d/1YHSU8BHG-k0EcHNp0-F73Xlpiqq1ho4v/view?usp=sharing
 +
::baidu link : https://pan.baidu.com/s/1RxtvekBOxP0UtNSzx5mpEg Pincode: fthx
 +
::source code on github:https://github.com/BPI-SINOVOIP/BPI-R64-openwrt.git
 +
::discuss on forum :http://forum.banana-pi.org/t/banana-pi-bpi-r64-19-07-7-openwrt-router-image-2021-05-01/12209
 +
 
 +
* Custom OpenWrt build for Banana Pi R64:
 +
::http://forum.banana-pi.org/t/bpi-r64-custom-openwrt-build-for-banana-pi-r64/10973
 +
 
 +
*BPI-R64 new image : LEDE17 (OpenWRT) image Kernel:4.4.177 2020-04-09
 +
::google driver : https://drive.google.com/drive/folders/1EK6fkGivZB3OmY38W8gN4rFAsnInMlNl
 +
::baidu cloud : https://pan.baidu.com/s/1UR-Uli2chQ5tO9VCl5Yz6A Pincode:j00s
 +
::Boot media: SD Card & eMMC ,two image
 +
::MD5: 21a6d89979d473cde59f7d61f3
 +
::discuss on forum: http://forum.banana-pi.org/t/bpi-r64-new-image-lede17-openwrt-image-kernel-4-4-177-2020-04-09/10924
 +
 
 +
*Mainline OpenWRT image
 +
::https://drive.google.com/drive/folders/1LQaxUAWPh6Q3QbLEIxN3JP3soIDEPzGD
 +
::discuss on forum : http://forum.banana-pi.org/t/r64-mainline-openwrt-image/11415
 +
 
 +
==Ubuntu ==
 +
*2021-6-16 update BPI-R64 Ubuntu Server 21.04 image
 +
::Baidu link: https://pan.baidu.com/s/1nEfneNrFND1dfDLBAekdsg Pincode: dfvv
 +
::Google link : https://drive.google.com/file/d/1ieF-qTyt8LDJiaGqr0uCL4QmAxJZpjhH/view?usp=drivesdk
 +
 
 +
*2020-05-08 updae ,Ubuntu 18.04 with kernel 5.4.0
 +
::donload link : https://download.banana-pi.dev/d/3ebbfa04265d4dddb81b/?p=%2FImages%2FBPI-R64%2FUbuntu18.04&mode=list
 +
::discuss on forum : http://forum.banana-pi.org/t/bpi-r64-new-image-debian10-and-ubuntu18-04-linux-kernel-5-4-0-2020-05-08/11106
 +
 
 +
*2019-08-23 update,Ubuntu Server 16.04,This release is for banana pi R64 board, and it is based on kernel 4.19.
 +
::Fetures Map:
 +
::Google Drive :  https://drive.google.com/open?id=1zrOSS2QJPirSwoK5yJFx10SiOtxRjXPt
 +
::Baidu Drive : https://pan.baidu.com/s/1iOtk-OnC9yNTMzdhSeOCJA(PinCode:ew9c)
 +
::MD5 : 79fc190def54140dd9bf12b73e263bd0
 +
::username : root/pi ; password : bananapi
 +
::Forum Pthread:http://forum.banana-pi.org/t/bpi-r64-ubuntu-16-04-aarch64-linux-lite-debian-10-buster-lite-demo-images-release-2019-08-23/9759
 +
*2020-12-22 Ubuntu 18.04 with kernel 5.4.0
 +
::download link :  https://download.banana-pi.dev/d/3ebbfa04265d4dddb81b/files/?p=%2FImages%2FBPI-R64%2FUbuntu18.04%2F2020-12-20-ubuntu-18.04.3-bpi-r64-5.4-sd-emmc.img.zip
 +
::supports 4G Module(EC20)
 +
::username : root/pi ; password : bananapi
 +
 
 +
==Debian==
 +
*[BPI-R64] debian buster with new bootchain and linux 5.10,frank share this image
 +
::http://forum.banana-pi.org/t/bpi-r64-debian-buster-with-new-bootchain-and-linux-5-10/11850
 +
 
 +
*2020-05-08 updae ,Debian10 with kernel 5.4.0
 +
::download link : https://download.banana-pi.dev/d/3ebbfa04265d4dddb81b/?p=%2FImages%2FBPI-R64%2FDebian10&mode=list
 +
::discuss on forum : http://forum.banana-pi.org/t/bpi-r64-new-image-debian10-and-ubuntu18-04-linux-kernel-5-4-0-2020-05-08/11106
 +
 
 +
*2019-08-23 update,Debian 10 buster lite,This release is for banana pi R64 board, and it is based on Debian 10 Buster Lite Operation system with kernel 4.19.
 +
::Fetures Map:
 +
::Google Drive : https://drive.google.com/open?id=1p4WImHkItdSYGRV5jtMdfYHm5PD4dl-q
 +
::Baidu Drive : https://pan.baidu.com/s/1hVQj-1_rYc74QQ1Z4WoaiQ (PinCode:g1j5)
 +
::MD5 : fa3f6a7f7a4bcf2c5a8072301cf8c268
 +
::username : root/pi ; password : bananapi
 +
::Forum Pthread:http://forum.banana-pi.org/t/bpi-r64-ubuntu-16-04-aarch64-linux-lite-debian-10-buster-lite-demo-images-release-2019-08-23/9759
 +
 
 +
*2018-12-11 update This release is for banana pi R64 board which is based on Mtk 7622, Debian 8 AARCH64 is based on kernel 4.4.92
 +
::Features Map: http://wiki.banana-pi.org/Getting_Started_with_R64
 +
::Google Drive : https://drive.google.com/open?id=1Xnz327Mm24WoVwAsj4yPPek09bP3yv7P
 +
::Baidu Drive : https://pan.baidu.com/s/1AdCM9lTuWP9oXiOE2qGsDw
 +
::md5sum : 4b43980375c3f9692c1f0585ca6b541a
 +
::discuss on forum:http://forum.banana-pi.org/t/banana-pi-bpi-r64-new-image-debian-8-11-aarch64-release-2018-12-11/7447
 +
 
 +
==AArch64 Linux==
 +
 
 +
*2019-08-23 update,AArch64 Linux lite,This release is for banana pi R64 board, and it is based on kernel 4.19.
 +
::Fetures Map:
 +
::Google Drive : https://drive.google.com/open?id=1x7_Iu1D9jJGvAExdNZGDVGuv7CbDp4ep
 +
::Baidu Drive : https://pan.baidu.com/s/15X6XtRuab08_N2T0vgoVOQ  (PinCode:j4f7)
 +
::MD5 :ed579320359fdc471eeaf37f98d5874d
 +
::username : root/pi ; password : bananapi
 +
::Forum Pthread:http://forum.banana-pi.org/t/bpi-r64-ubuntu-16-04-aarch64-linux-lite-debian-10-buster-lite-demo-images-release-2019-08-23/9759
 +
 
 +
=FAQ=
 +
*easy to buy sample: [https://pt.aliexpress.com/store/group/R64-Board/302756_516275551.html?spm=2114.12010608.0.0.408a18d6rdUraV BPI official Aliexpress shop]

Revision as of 21:16, 13 September 2021


Summary

Banana Pi BPI-R64 with MT7622
Banana Pi BPI-R2 with MTK MT7623N chip design
Banana Pi BPI-W2 with Realtek RTK1296 chip design
Banana Pi BPI-R1 with allwinner A20 chip design
BPI-R64 with BPI-7402 POE function support
Overview:banana Pi BPI-R64
BPI:4.0 Successful case 5G Converged communication gateway
4G with USB 4G module via USB
BPI-R64 case

Introduction

The Banana Pi R64 is a router based development board, which can run on a variety of open source operating systems including OpenWrt,Linux. It has 4 Gigabit LAN ports, 1 Gigabit WAN, and AC wifi AP function. use 64 bit chip design

Banana Pi BPI-R64.png

Note: this board doesn't have HDMI interface

MTK MT7622

Highly integrated 4x4 802.11n and Bluetooth 5.0 platform with dedicated Network Accelerator MediaTek MT7622 is the world’s first with 4x4n 802.11n/Bluetooth 5.0 system-on-chip designed and built for premium networking devices across several applications including routers/repeaters, home automation gateways, wireless audio, and wireless storage. The highly versatile chipset provides a single platform for popular 4X4 dual-band and tri-band routers/repeaters, providing maximum flexibility for manufacturers looking to build top-tier networking devices. The platform pairs high performance and extensively integrated functionality with a cost-effective approach.

The MT7622 contains MediaTek’s Adaptive Network technology that allows for easy setup, network self-healing, roaming, band steering, Smart quality of service, advanced security and more. For audio and voice control applications, essential audio interfaces such as I2S, TDM and S/PDIF are included. And for Home Automation Gateways there is a rich array of slow I/O in addition to the integrated Wi-Fi, Bluetooth and Zigbee co-existence.

Powered by a 64-bit dual-core ARM Cortex-A53 processor clocked at 1.35GHz, the MT7622 provides a host of advanced connectivity options like SGMII/RGMII, PCIe, and USB, and 4X4 802.11n FEM integration. Extending the platform with 802.11ac to meet additional markets is simply done via MT7615 SoC.

The MT7622 introduces several best-in-class features such as Bluetooth 5.0 and a dedicated Network Accelerator engine with the MediaTek Wi-Fi Warp Accelerator, storage accelerator (SATA 3.0/eSATA Gen2) and HNAT HQoS calculations are offloaded from the CPU, lowering overall power-use and freeing up resources to avoid any potential slow-downs.

The advantage of the MediaTek Wi-Fi Warp Accelerator is two-fold. Firstly it connects the Gigabit+ class 802.11ac networking through to the Gigabit switch/WAN connection via multi-Gigabit internal pathways, ensuring no bottleneck. Secondly, its specialized design not only offloads the CPU from many-user throughput and QoS calculations, it does so at lower power. The result is the MediaTek Wi-Fi Warp Accelerator maintains a sustained high-performance when even supporting multiple, simultaneous heavy users.

Integrated Bluetooth allows for a direct, local wireless connection via App for easy configuration of the router/Wi-Fi settings. The latest Bluetooth 5.0 quadruples range and doubles speed versus previous 4.x technologies, allowing new and innovative possibilities.

Key Features

  • MediaTek MT7622,1.35GHZ 64 bit dual-core ARM Cortex-A53
  • 1G DDR3 SDRAM
  • Mini PCIE interface support 4G module
  • built-in 4x4n 802.11n/Bluetooth 5.0 system-on-chip
  • MTK7615 4x4ac wifi (option)
  • support 1 SATA interface
  • MicroSD slot supports up to 256GB expansion
  • 8G eMMC flash (option 16/32/64G)
  • 5 port 10/100/1000 Mb Ethernet port
  • (1) USB 3.0
  • Slow I/O:ADC, Audio Amplifier, GPIO, I2C, I2S, IR, PMIC I/F, PWM, RTC, SPI, UART
  • POE function support

Getting Start

Read more for development :Getting Started with R64

Frank wiki : http://fw-web.de/dokuwiki/doku.php?id=en:bpi-r64:start

Hardware Revision

Hardware interface

BPI-R64 interface.JPG

the inner and outer diameter of the power plug adapter datasheet:https://drive.google.com/file/d/1k3AWmYOs2XE7lnRxCyytZu0Vpq_Bzcu_/view?usp=sharing

Dc090 size.png

Hardware spec

HardWare Specification of Banana pi BPI-R64
CPU MediaTek MT7622,1.35GHZ 64 bit dual-core ARM Cortex-A53
SDRAM 1 GB DDR3
SATA support 1 SATA interface
GPIO 40 Pins Header, 28×GPIO, some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S.
On board Network 5 10/100/1000Mbps Ethernet
Wifi built-in 4x4n 802.11n (800Mbps) sysem-on-chip and MTK7615 4x4ac wifi Module (1733Mbps) (option)
Bluetooth Bluetooth 5.0 system-on-chip
On board Storage MicroSD \(TF\) card,8GB eMMC onboard
mini PCIE 1 mini pcie interface for 4G
USB 1 USB 3.0 host
Buttons Reset button
Leds Power status Led and RJ45 Led
IR PIN define with GPIO
DC Power 12V/2A with DC in
POE support POE module interface,can add POE module
Sizes 148 mm × 100.5mm
Weight 100g

PoE support

we design PoE function for BPI-R64 ,so easy to add PoE module to support PoE function,PoE modue can support IEEE 802.3bt PoE standard ,Max support 12V/3A to power BPI-R64

BPI-R64 POE.jpg

more PoE module spec

BPI-7402 IEEE 802.3at PoE module

4G support

1, use pcie interface standard module ,and use SIM card slot onboard

4g onboard.jpg

2,use 4G extend module via USB port

BPI-MT7615 802.11 ac wifi 4x4 dual-band

we have design a MT7615 802.11 ac wifi module ,can use on BPI-R64

MT7615 is a highly integrated Wi-Fi single chip which support 1733 Mbps PHY rate,It fully compies with IEEE 802.11ac and IEEE802.11 a/b/n standards,offering feature-rich wireless connecivity at high standards,and delivering reliable,cost-effective throughput from and extended distance.

BPI-MT7615 802.11 ac wifi 4x4 dual-band module

BPI-R64 + MT7615 function test

BPI-R64 GPIO Pin define

R64 gpio 40.jpg

Resources

Source code

Documents

  • BPI-R64 schematic diagram
google https://drive.google.com/file/d/1QzKmIwgSNbCIXQbqLsTUELJCEPik3VGr/view?usp=sharing
baidu cloud link: https://pan.baidu.com/s/18MEJpr5OTYmySZoyk3bO5Q pincode: amqt

Amazon AWS Greengrass

Banana Pi BPI-R64 passed Amazon AWS Greengrass:https://devices.amazonaws.com/detail/a3G0h000000OvObEAK/Banana-Pi-BPI-R64

Release

OpenWRT & LEDE

  • Banana Pi BPI-R64 19.07.7 OpenWRT Router image 2021-05-01
google driver:https://drive.google.com/file/d/1YHSU8BHG-k0EcHNp0-F73Xlpiqq1ho4v/view?usp=sharing
baidu link : https://pan.baidu.com/s/1RxtvekBOxP0UtNSzx5mpEg Pincode: fthx
source code on github:https://github.com/BPI-SINOVOIP/BPI-R64-openwrt.git
discuss on forum :http://forum.banana-pi.org/t/banana-pi-bpi-r64-19-07-7-openwrt-router-image-2021-05-01/12209
  • Custom OpenWrt build for Banana Pi R64:
http://forum.banana-pi.org/t/bpi-r64-custom-openwrt-build-for-banana-pi-r64/10973
  • BPI-R64 new image : LEDE17 (OpenWRT) image Kernel:4.4.177 2020-04-09
google driver : https://drive.google.com/drive/folders/1EK6fkGivZB3OmY38W8gN4rFAsnInMlNl
baidu cloud : https://pan.baidu.com/s/1UR-Uli2chQ5tO9VCl5Yz6A Pincode:j00s
Boot media: SD Card & eMMC ,two image
MD5: 21a6d89979d473cde59f7d61f3
discuss on forum: http://forum.banana-pi.org/t/bpi-r64-new-image-lede17-openwrt-image-kernel-4-4-177-2020-04-09/10924
  • Mainline OpenWRT image
https://drive.google.com/drive/folders/1LQaxUAWPh6Q3QbLEIxN3JP3soIDEPzGD
discuss on forum : http://forum.banana-pi.org/t/r64-mainline-openwrt-image/11415

Ubuntu

  • 2021-6-16 update BPI-R64 Ubuntu Server 21.04 image
Baidu link: https://pan.baidu.com/s/1nEfneNrFND1dfDLBAekdsg Pincode: dfvv
Google link : https://drive.google.com/file/d/1ieF-qTyt8LDJiaGqr0uCL4QmAxJZpjhH/view?usp=drivesdk
  • 2020-05-08 updae ,Ubuntu 18.04 with kernel 5.4.0
donload link : https://download.banana-pi.dev/d/3ebbfa04265d4dddb81b/?p=%2FImages%2FBPI-R64%2FUbuntu18.04&mode=list
discuss on forum : http://forum.banana-pi.org/t/bpi-r64-new-image-debian10-and-ubuntu18-04-linux-kernel-5-4-0-2020-05-08/11106
  • 2019-08-23 update,Ubuntu Server 16.04,This release is for banana pi R64 board, and it is based on kernel 4.19.
Fetures Map:
Google Drive : https://drive.google.com/open?id=1zrOSS2QJPirSwoK5yJFx10SiOtxRjXPt
Baidu Drive : https://pan.baidu.com/s/1iOtk-OnC9yNTMzdhSeOCJA(PinCode:ew9c)
MD5 : 79fc190def54140dd9bf12b73e263bd0
username : root/pi ; password : bananapi
Forum Pthread:http://forum.banana-pi.org/t/bpi-r64-ubuntu-16-04-aarch64-linux-lite-debian-10-buster-lite-demo-images-release-2019-08-23/9759
  • 2020-12-22 Ubuntu 18.04 with kernel 5.4.0
download link : https://download.banana-pi.dev/d/3ebbfa04265d4dddb81b/files/?p=%2FImages%2FBPI-R64%2FUbuntu18.04%2F2020-12-20-ubuntu-18.04.3-bpi-r64-5.4-sd-emmc.img.zip
supports 4G Module(EC20)
username : root/pi ; password : bananapi

Debian

  • [BPI-R64] debian buster with new bootchain and linux 5.10,frank share this image
http://forum.banana-pi.org/t/bpi-r64-debian-buster-with-new-bootchain-and-linux-5-10/11850
  • 2020-05-08 updae ,Debian10 with kernel 5.4.0
download link : https://download.banana-pi.dev/d/3ebbfa04265d4dddb81b/?p=%2FImages%2FBPI-R64%2FDebian10&mode=list
discuss on forum : http://forum.banana-pi.org/t/bpi-r64-new-image-debian10-and-ubuntu18-04-linux-kernel-5-4-0-2020-05-08/11106
  • 2019-08-23 update,Debian 10 buster lite,This release is for banana pi R64 board, and it is based on Debian 10 Buster Lite Operation system with kernel 4.19.
Fetures Map:
Google Drive : https://drive.google.com/open?id=1p4WImHkItdSYGRV5jtMdfYHm5PD4dl-q
Baidu Drive : https://pan.baidu.com/s/1hVQj-1_rYc74QQ1Z4WoaiQ (PinCode:g1j5)
MD5 : fa3f6a7f7a4bcf2c5a8072301cf8c268
username : root/pi ; password : bananapi
Forum Pthread:http://forum.banana-pi.org/t/bpi-r64-ubuntu-16-04-aarch64-linux-lite-debian-10-buster-lite-demo-images-release-2019-08-23/9759
  • 2018-12-11 update This release is for banana pi R64 board which is based on Mtk 7622, Debian 8 AARCH64 is based on kernel 4.4.92
Features Map: http://wiki.banana-pi.org/Getting_Started_with_R64
Google Drive : https://drive.google.com/open?id=1Xnz327Mm24WoVwAsj4yPPek09bP3yv7P
Baidu Drive : https://pan.baidu.com/s/1AdCM9lTuWP9oXiOE2qGsDw
md5sum : 4b43980375c3f9692c1f0585ca6b541a
discuss on forum:http://forum.banana-pi.org/t/banana-pi-bpi-r64-new-image-debian-8-11-aarch64-release-2018-12-11/7447

AArch64 Linux

  • 2019-08-23 update,AArch64 Linux lite,This release is for banana pi R64 board, and it is based on kernel 4.19.
Fetures Map:
Google Drive : https://drive.google.com/open?id=1x7_Iu1D9jJGvAExdNZGDVGuv7CbDp4ep
Baidu Drive : https://pan.baidu.com/s/15X6XtRuab08_N2T0vgoVOQ (PinCode:j4f7)
MD5 :ed579320359fdc471eeaf37f98d5874d
username : root/pi ; password : bananapi
Forum Pthread:http://forum.banana-pi.org/t/bpi-r64-ubuntu-16-04-aarch64-linux-lite-debian-10-buster-lite-demo-images-release-2019-08-23/9759

FAQ