Difference between revisions of "香蕉派 BPI-R2 Pro"

From Banana Pi Wiki
Jump to: navigation, search
(瑞芯微(Rockchip) RK3568芯片介绍)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[en:Banana Pi BPI-R2 Pro]]
 
[[en:Banana Pi BPI-R2 Pro]]
  
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]
+
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[香蕉派 BPI-R2 Pro]] Rockchip RK3568 design]]
[[File:Banana_Pi_BPI-R2_Pro_3.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]
+
[[File:Banana_Pi_BPI-R2_Pro_3.jpg|thumb|[[香蕉派 BPI-R2 Pro]] Rockchip RK3568 design]]
 
[[File:Rockchip_RC3568.jpg|thumb|Rockchip RK3568 chip]]
 
[[File:Rockchip_RC3568.jpg|thumb|Rockchip RK3568 chip]]
 
[[File:BPI-R2_case_.jpg|thumb| BPI-R2 Pro case same as BPI-R2]]
 
[[File:BPI-R2_case_.jpg|thumb| BPI-R2 Pro case same as BPI-R2]]
 
[[File:BPI-RK3588_board_kit_2.jpg|thumb|[[BPI-RK3588 Core board and development Kit]]]]
 
[[File:BPI-RK3588_board_kit_2.jpg|thumb|[[BPI-RK3588 Core board and development Kit]]]]
[[File:Baanna_Pi_BPI-W3_2.jpg|thumb|[[Banana Pi BPI-W3]] with Rockchip RK3588 chip design]]
+
[[File:Banana Pi BPI-W3 LGA 1.jpg|thumb|[[香蕉派 BPI-W3]] with Rockchip RK3588 chip design]]
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]
+
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[香蕉派 BPI-R3]] with MediaTek MT7986(Filogic 830)]]
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]
+
[[File:BPI-R64_3.JPG|thumb|[[香蕉派 BPI-R64]] with MediaTek MT7622]]
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]
+
[[File:BPI-R2_3.JPG|thumb|[[香蕉派 BPI-R2]] with MTK MT7623N chip design]]
[[File:O2A0500.jpg|thumb|[[Banana Pi BPI-W2]] with Realtek RTK1296 chip design]]
+
[[File:O2A0500.jpg|thumb|[[香蕉派 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:Banana_pi_BPI-R1_1.JPG|thumb|[[香蕉派 BPI-R1]] with allwinner A20 chip design]]
  
 
=BPI-R2 pro 介绍=
 
=BPI-R2 pro 介绍=
Banana Pi BPI-R2 Pro is the next generation smart router developement board from Banana Pi in 2021. It is powered by Rockchip RK 3568 processor.Onboard 2GB LPDDR4 memory and 16GB eMMC storage, and supports 2 USB 3.0 interface, 5 gigabit network port. M.2 key-E and mini PCIe interface, 2 mipi DSI interface(one can change to LVDS by software), 1 CSI camera interface,1 HDMI output,
+
Banana Pi BPI-R2 Pro 开源路由器采用Rockchip RK3568芯片方案设计, 板载2GB LPDDR4内存和16GB eMMC存储,支持2个USB 3.0接口,5千兆网口。M.2 Key-e和mini PCIe接口,2 mipi DSI接口(可通过软件切换LVDS), 1个CSI摄像头接口,1个HDMI输出.支持Android,Linux,OpenWRT系统
 +
 
 +
BPI-R2 Pro 尺寸接口与 Banana Pi BPI-R2 ,可以使用 BPI-R2 外壳.
  
 
[[File:Banana_Pi_BPI-R2_Pro_ban_.jpg]]
 
[[File:Banana_Pi_BPI-R2_Pro_ban_.jpg]]
 
BPI-R2 Pro same size as [[Banana Pi BPI-R2]] , and interface is also same .so can use BPI-R2 case.
 
  
 
==关键特性==
 
==关键特性==
* Rockchip RK3568 Quad-core ARM Cortex-A55 CPU
+
* 瑞芯微(Rockchip RK3568 Quad-core ARM Cortex-A55 CPU
 
* Mali-G52 1-Core-2EE
 
* Mali-G52 1-Core-2EE
* 2G LPDDR4 SDRAM (option 4G)
+
* 2G LPDDR4 内存(可选 4G)
* Mini PCIE interface and M.2 key-e interface
+
* Mini PCIE 接口 & M.2 key-e 接口
* support 1 SATA interface
+
* 1 SATA 硬盘接口
* MicroSD slot supports up to 256GB expansion
+
* MicroSD 接口,最多256G SD卡
* 16G eMMC flash (option 16/32/64G)
+
* 16G eMMC 存储( 可选16/32/64G)
* 2 MIPI display interface support
+
* 2 MIPI 显示屏接口
* 1 CSI camera interface
+
* 1 CSI camera 摄像头接口
* 5 port 10/100/1000 Mb Ethernet port
+
* 5 10/100/1000 Mb 千兆网口
* (2) USB 3.0 and (1) USB 2.0 otg port
+
* (2) USB 3.0 and (1) USB 2.0 otg 接口
  
 
==瑞芯微(Rockchip) RK3568芯片介绍==
 
==瑞芯微(Rockchip) RK3568芯片介绍==
Line 39: Line 39:
 
RK3568 has rich interface expansion capabilities.  Supports a variety of peripheral high-speed interfaces, supporting four USB2.0 ports, 4xUSB2.0 HOST+ 1xUSB3.0 HOST+ 1xusB3.0 OTG.  Support gigabit Ethernet *2, multi-camera support, support MIPI CSI 4Lanes, can be divided into 2x2Lanes two groups of independent use support 16bit DVP interface, support BT1120 input, support VC mode.  RK3568 has a complete display interface, support HDMI 2.0 output support dual channel MIPI DSI, dual channel LVDS, can drive 2.5K LCD screen, can directly drive ink screen, support eDp.  RK3568 has plenty of peripherals, supporting 10x UART, 6x I2C, 16x PWM, 4x SPI, 8xSARADC and MINI PCIE.   
 
RK3568 has rich interface expansion capabilities.  Supports a variety of peripheral high-speed interfaces, supporting four USB2.0 ports, 4xUSB2.0 HOST+ 1xUSB3.0 HOST+ 1xusB3.0 OTG.  Support gigabit Ethernet *2, multi-camera support, support MIPI CSI 4Lanes, can be divided into 2x2Lanes two groups of independent use support 16bit DVP interface, support BT1120 input, support VC mode.  RK3568 has a complete display interface, support HDMI 2.0 output support dual channel MIPI DSI, dual channel LVDS, can drive 2.5K LCD screen, can directly drive ink screen, support eDp.  RK3568 has plenty of peripherals, supporting 10x UART, 6x I2C, 16x PWM, 4x SPI, 8xSARADC and MINI PCIE.   
  
Rockchip RK3568 chip is a general PURPOSE SoC designed for consumer industry applications.  The CPU uses 4-core A55 architecture processor, integrated G52 GRAPHICS processor, built-in independent NPU, and runs Android 11 and Linux. RK3568 is mainly customized for tablet PC, speaker with screen, Android pen, dictionary pen and other consumer products, as well as face payment POS machine, e-book, cloud terminal, video phone, NAS storage and other industry products
+
Rockchip RK3568芯片是一款高端通用SoC,采用22nm工艺制造,集成4核ARM架构A55处理器和Mali G52 2EE图形处理器,支持4K解码和1080P编码。RK3568支持SATA/PCIE/USB3.0等各类外设接口,内置独立NPU,可用于轻量级AI应用。RK3568同时支持Android 11和Linux系统,面向物联网网关、NVR存储、工控平板、工业设备、工控盒、卡拉OK、云终端、车载控制中心等工业定制市场。
  
 
==快速上手==
 
==快速上手==
Line 116: Line 116:
 
|}
 
|}
  
==GPIO PIN define==
+
==GPIO PIN 定义==
 
BPI-R2 40 PIN GPIO, Debug Uart PIN,MIPI camera ,MIPI LCD0,MIPI LCD1,eDP LCD PIN define.
 
BPI-R2 40 PIN GPIO, Debug Uart PIN,MIPI camera ,MIPI LCD0,MIPI LCD1,eDP LCD PIN define.
  
Line 123: Line 123:
 
Running on android11 system, connecting with 2x dsi panel + 1x eDP panel:https://www.youtube.com/watch?v=HpDAmNVDwXI
 
Running on android11 system, connecting with 2x dsi panel + 1x eDP panel:https://www.youtube.com/watch?v=HpDAmNVDwXI
  
=Resources=
+
=开发资源=
  
==Source Code==
+
==软件源代码==
 
*linux-4.19.xx kernel BSP Source code on github :https://github.com/BPI-SINOVOIP/BPI-R2PRO-BSP/
 
*linux-4.19.xx kernel BSP Source code on github :https://github.com/BPI-SINOVOIP/BPI-R2PRO-BSP/
 
*linux-5.10.66 kernel BSP Source code on github :https://github.com/BPI-SINOVOIP/BPI-R2PRO-BSP-5.10.x/
 
*linux-5.10.66 kernel BSP Source code on github :https://github.com/BPI-SINOVOIP/BPI-R2PRO-BSP-5.10.x/
  
==Documents==
+
==参考文档==
 
*Because of the Google security update some of the old links will not work if the images you want to use cannot be downloaded from the [https://drive.google.com/drive/folders/0B_YnvHgh2rwjVjNyS2pheEtWQlk?resourcekey=0-U4TI84zIBdId7bHHjf2qKA new link bpi-image Files]
 
*Because of the Google security update some of the old links will not work if the images you want to use cannot be downloaded from the [https://drive.google.com/drive/folders/0B_YnvHgh2rwjVjNyS2pheEtWQlk?resourcekey=0-U4TI84zIBdId7bHHjf2qKA new link bpi-image Files]
 
*All banana pi [https://drive.google.com/drive/folders/0B4PAo2nW2Kfndjh6SW9MS2xKSWs?resourcekey=0-qXGFXKmd7AVy0S81OXM1RA&usp=sharing  docement(SCH file,DXF file,and doc)]
 
*All banana pi [https://drive.google.com/drive/folders/0B4PAo2nW2Kfndjh6SW9MS2xKSWs?resourcekey=0-qXGFXKmd7AVy0S81OXM1RA&usp=sharing  docement(SCH file,DXF file,and doc)]
Line 138: Line 138:
 
*BPI-R2 Pro CE,FCC,RoHS certificate : https://banana-pi.org/en/bpi-honor/
 
*BPI-R2 Pro CE,FCC,RoHS certificate : https://banana-pi.org/en/bpi-honor/
  
=Release image=
+
=镜像发布=
 
Note: the network disk include linux-4.19.xx and linux-5.10.66 kernel version, linux-5.10.66 kernel version can support DSA feature.
 
Note: the network disk include linux-4.19.xx and linux-5.10.66 kernel version, linux-5.10.66 kernel version can support DSA feature.
 
*All image for BPI-R2 Pro google : https://drive.google.com/drive/folders/1gHNGVL_uq8L4t987k-nzg6MKWDSmDcfC
 
*All image for BPI-R2 Pro google : https://drive.google.com/drive/folders/1gHNGVL_uq8L4t987k-nzg6MKWDSmDcfC
Line 201: Line 201:
 
::MD5: 49506a8a3183ab189046b5e2e2833b87
 
::MD5: 49506a8a3183ab189046b5e2e2833b87
  
=Easy to buy sample=
+
=样品购买=
 
*Aliexpress shop : https://www.aliexpress.com/item/1005004224551525.html?spm=a2g0o.store_pc_newArrival.8148356.1.2d8330d9Jco2ZH
 
*Aliexpress shop : https://www.aliexpress.com/item/1005004224551525.html?spm=a2g0o.store_pc_newArrival.8148356.1.2d8330d9Jco2ZH
 
*Taobao shop : https://item.taobao.com/item.htm?spm=a2oq0.12575281.0.0.282d1debCwvgH0&ft=t&id=673191560298
 
*Taobao shop : https://item.taobao.com/item.htm?spm=a2oq0.12575281.0.0.282d1debCwvgH0&ft=t&id=673191560298

Latest revision as of 01:11, 7 August 2023

香蕉派 BPI-R2 Pro Rockchip RK3568 design
香蕉派 BPI-R2 Pro Rockchip RK3568 design
Rockchip RK3568 chip
BPI-R2 Pro case same as BPI-R2
香蕉派 BPI-W3 with Rockchip RK3588 chip design
香蕉派 BPI-R3 with MediaTek MT7986(Filogic 830)
香蕉派 BPI-R64 with MediaTek MT7622
香蕉派 BPI-R2 with MTK MT7623N chip design
香蕉派 BPI-W2 with Realtek RTK1296 chip design
香蕉派 BPI-R1 with allwinner A20 chip design

BPI-R2 pro 介绍

Banana Pi BPI-R2 Pro 开源路由器采用Rockchip RK3568芯片方案设计, 板载2GB LPDDR4内存和16GB eMMC存储,支持2个USB 3.0接口,5千兆网口。M.2 Key-e和mini PCIe接口,2 mipi DSI接口(可通过软件切换LVDS), 1个CSI摄像头接口,1个HDMI输出.支持Android,Linux,OpenWRT系统

BPI-R2 Pro 尺寸接口与 Banana Pi BPI-R2 ,可以使用 BPI-R2 外壳.

Banana Pi BPI-R2 Pro ban .jpg

关键特性

  • 瑞芯微(Rockchip RK3568 Quad-core ARM Cortex-A55 CPU
  • Mali-G52 1-Core-2EE
  • 2G LPDDR4 内存(可选 4G)
  • Mini PCIE 接口 & M.2 key-e 接口
  • 1 SATA 硬盘接口
  • MicroSD 接口,最多256G SD卡
  • 16G eMMC 存储( 可选16/32/64G)
  • 2 MIPI 显示屏接口
  • 1 CSI camera 摄像头接口
  • 5 10/100/1000 Mb 千兆网口
  • (2) USB 3.0 and (1) USB 2.0 otg 接口

瑞芯微(Rockchip) RK3568芯片介绍

RK3568 has built-in MICRO-research NPU of Rockchip, 0.8Tops computing power and integrated high performance AI accelerator RKNN NPU. Rockchip also provides developers with an easy-to-use model transformation tool, RKNN-Toolkit, which supports one-click transformation of Caffe/TensorFlow/TF-Lite/ONNX/PyTorch/Keras/Darknet mainstream architecture models.

RK3568 has rich interface expansion capabilities. Supports a variety of peripheral high-speed interfaces, supporting four USB2.0 ports, 4xUSB2.0 HOST+ 1xUSB3.0 HOST+ 1xusB3.0 OTG. Support gigabit Ethernet *2, multi-camera support, support MIPI CSI 4Lanes, can be divided into 2x2Lanes two groups of independent use support 16bit DVP interface, support BT1120 input, support VC mode. RK3568 has a complete display interface, support HDMI 2.0 output support dual channel MIPI DSI, dual channel LVDS, can drive 2.5K LCD screen, can directly drive ink screen, support eDp. RK3568 has plenty of peripherals, supporting 10x UART, 6x I2C, 16x PWM, 4x SPI, 8xSARADC and MINI PCIE.

Rockchip RK3568芯片是一款高端通用SoC,采用22nm工艺制造,集成4核ARM架构A55处理器和Mali G52 2EE图形处理器,支持4K解码和1080P编码。RK3568支持SATA/PCIE/USB3.0等各类外设接口,内置独立NPU,可用于轻量级AI应用。RK3568同时支持Android 11和Linux系统,面向物联网网关、NVR存储、工控平板、工业设备、工控盒、卡拉OK、云终端、车载控制中心等工业定制市场。

快速上手

Getting Started with R2PRO

硬件

BPI-R2 Pro硬件接口示意图

Banana Pi BPI-R2 Pro int 750.jpg

硬件规格

香蕉派 BPI-R2 Pro
CPU主控 Rockchip RK3568 Quad-core ARM Cortex-A55 CPU 2GHz
GPU图形引擎 Mali-G52 1-Core-2EE OpenGL ES3.2 Vu1kn 1.1 OpenCL 2.0
Memory内存 2G DDR3 SDRAM (option 4G)
存储 Onboard 16GB eMMC Flash, Micro SD-Card slot, SATA 3.0 Port,SPI flash
网络接口 5 x 10/100/1000 Mbit/s Ethernet
显示(s) 1 HDMI port, 2 DSI interface(1 DSI can change to LVDS by software)
Camera摄像头 1 CSI camera interfact
Video decoder(s) H.265 HEVC/MVC Main10 Profile [email protected] up to 4096x2304@60fps,H.264 AVC/MVC Main10 Profile yuv400/yuv420/yuv422/@L5.1 up to 4096x2304@60fps
Video encoder(s) H.264/AVC BP/MP/[email protected],up to 1920x1080@100fps, H.265/HEVC [email protected], up to 1920x1080@100fps (4096x4096@10fps with TILE)
Audio Output(s) HDMI & I2S & Speaker & Headphone
USB port USB 3.0 PORT (x2), micro USB OTG (x1)
mini PCIE 1 mini pcie interface & 1 M.2 key-e interface
Remote IR Receiver (x1)
GPIO 40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND). Some of I/O Pin can be used for specific functions as UART, I2C, SPI or PWM
Switches Reset button, Power button, U-boot button
LED Power Status and 8P8C
Power Source 12 volt @2A via DC Power and/or Micro USB (OTG)
Size & Weight 148 mm × 100.5mm 100g
OS OpenWRT, Linux and others OS

GPIO PIN 定义

BPI-R2 40 PIN GPIO, Debug Uart PIN,MIPI camera ,MIPI LCD0,MIPI LCD1,eDP LCD PIN define.

BPI-R2 Pro all GPIO PIN define

Running on android11 system, connecting with 2x dsi panel + 1x eDP panel:https://www.youtube.com/watch?v=HpDAmNVDwXI

开发资源

软件源代码

参考文档

镜像发布

Note: the network disk include linux-4.19.xx and linux-5.10.66 kernel version, linux-5.10.66 kernel version can support DSA feature.

kernel linux-5.10.66 Release image, support DSA feature

Supported OS Note: OpenWRT, Debian10, Ubuntu 16.04. Ubuntu 20.04, Ubunutu 22.04, Ubunut OS support server version, desktop version, mate desktop version.

AltLinux for Banana Pi BPI R2 pro

Armbian and LibreELEC for BPI-R2-pro

kernel linux-4.19.xx Release image

ubuntu 21.04

  • ubuntu 21.04 linux kernel 4.19 image 2022-5-16 update, HDMI ,eDP and SDIO interface RTL8822CS WIFI module working fine
google driver: https://drive.google.com/drive/folders/1pFayiLS3cS0idClUlvHzaySaJMb_AOrB
baidu link: https://pan.baidu.com/s/1zUVDXOmEur3KFpNW_va7Wg?pwd=ci4u Pincode ci4u
video and boot log:https://forum.banana-pi.org/t/banana-pi-bpi-r2-pro-openwrt-ubuntu-debian-linux-image/13158

OpenWRT

  • OpenWRT-21.02 linux kernel 4.19 image, 2022-5-16 update,HDMI ,eDP and SDIO interface RTL8822CS WIFI module working fine
google driver: https://drive.google.com/drive/folders/10HzNC0pWhS8j3W7uaFQ5RGO7UK133Xt-
baidu link: https://pan.baidu.com/s/1KUIJUB6nd_vKmRXms7NUKg?pwd=i72r Pincode: i72r
video and boot log:https://forum.banana-pi.org/t/banana-pi-bpi-r2-pro-openwrt-ubuntu-debian-linux-image/13158

Debian

  • Debian 10 linux kernel 4.19 image, 2022-5-16 update ,HDMI ,eDP and SDIO interface RTL8822CS WIFI module working fine
google driver: https://drive.google.com/drive/folders/1LSJlHtkHC_Ua6zVgVI3BRJOVPUb6vWO6
baidu link: https://pan.baidu.com/s/1rkVWlpeY0hIKPrIh3r7Nfw?pwd=n9gi Pincode: n9gi
video and boot log:https://forum.banana-pi.org/t/banana-pi-bpi-r2-pro-openwrt-ubuntu-debian-linux-image/13158

Android

How to flash Android Image
  • 2022-11-16 release, Android12-bpi-r2pro.img
Google Drive: https://drive.google.com/file/d/1UZ-e6QJIB8ZU-rdGsCnDNaNR2pYHHvxA/view?usp=share_link
Baidu Cloud: https://pan.baidu.com/s/1tQ5Fg47R0fpUajYpNIsJ3g?pwd=8888 (pincode: 8888)
MD5:a7b5faf7818f1ab2d36253a5d3ca1d18
Forum pthread:https://forum.banana-pi.org/t/bananapi-bpi-r2-pro-2022-11-16-android-12/14264
  • 2022-09-06 release, Android11-atv-bpi-r2pro image
Google Drive:https://drive.google.com/file/d/1E50R-8T3L42CUUYyv1eFw0Zvl1js3EuI/view?usp=sharing
Baidu Cloud:https://pan.baidu.com/s/10N9ZgrgVJ3SiCoNxi681Hw?pwd=jmrn (pincode: jmrn)
MD5: 82787086a4acf8e2d818b948670580cd
  • 2022-09-06 release, Android11-bpi-r2pro image
Google Drive:https://drive.google.com/file/d/1xY6ynrpJXIbo4vbz_P7KaiUAVLJQthzs/view?usp=sharing
Baidu Cloud:https://pan.baidu.com/s/14iLchseyarxAKHCzrfnaEg?pwd=1gul (pincode:1gul)
MD5: 83fa3ac4f0addcf3d47d20a58be39f50
  • 2022-06-10 release, Android 11 with kernel 4.19.219, tablet variant image
Google Drive: https://drive.google.com/file/d/1qiLZKU8_2O0hHgP25F0CRxv9MnSJlXpv/view?usp=sharing
Baidu Cloud:https://pan.baidu.com/s/1EUiGaXuPxAkR69g7EOnVaw?pwd=4n6c (pincode: 4n6c)
MD5: ebd336bad0c27c66ae65a4d38103bced
  • 2022-06-10 release, Android 11 with kernel 4.19.219, atv variant image
Google Drive: https://drive.google.com/file/d/104K7W1PX4OFvUtqNGHOnx6RZO49BrTZp/view?usp=sharing
Baidu Cloud: https://pan.baidu.com/s/1RbNf1dFqMxy1Dx_ysym82w?pwd=v4u8 (pincode: v4u8)
MD5: 49506a8a3183ab189046b5e2e2833b87

样品购买