Difference between pages "Banana Pi BPI-M6" and "Getting Started with BPI-W3"

From Banana Pi Wiki
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
[[zh:香蕉派 BPI-M6]]
 
 
=Introduction=
 
=Introduction=
 +
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] Allwinner A20]]
 +
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]
 +
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]
 +
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] MTK MT7622]]
 +
[[File:O2A0500.jpg|thumb|[[Banana Pi BPI-W2]] with Realtek RTD1296 chip design]]
 +
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]
 +
[[File:Banana_Pi_BPI-M2S_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic A311D chip]]
 +
=specifications=
  
[[File:Banana_Pi_BPI-M6_1.jpg|thumb|[[Banana Pi BPI-M6]] with  Synaptics VS680]]
+
=Linux=
[[File:Banana_Pi_BPI-M6_2.jpg|thumb|[[Banana Pi BPI-M6]] with  Synaptics VS680]]
+
The below steps is to flash linux release image into BPI-W3
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]
+
==Prepare==
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5 ]]Amlogic S905X3 Processor]]
+
:1. Good Type-C data cable for image download into EMMC
[[File:Banana_Pi_BPI-M4_1.jpg|thumb|[[Banana Pi BPI-M4]] Realtek RTD1395]]
+
:2. Usb to ttl cable if you need debug, default baudrate is 1500000.
[[File:Banana_pi_BPI-M64_1.jpg|thumb|[[Banana Pi BPI-M64]] Allwinner A64]]
+
:3. Windows or Linux PC.
[[File:Banana_pi_BPI-M2+_2.jpg|thumb|[[Banana Pi BPI-M2+]] Allwinner H3/H5/H2+]3]]
+
:4. Download the Linux Release Image [https://wiki.banana-pi.org/Banana_Pi_BPI-R2_Pro#Release_image Linux Release Image], and confirm that the md5 checksum is correct before flashing.
 +
Note: The below picture is for BPI-W3's Debug Connecting, the blue usb cable is Double male USB data cable for image download,  the white MicroUSB cable is linux serial console, please install CH340E's USB convert serial driver.
 +
:[[File:BPI-R2PRO-Debug-Connect.jpg|640px]]
  
Banana Pi BPI-M6 is the next generation single board computer from Banana Pi in 2022,It is powered by Synaptics VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor,Imagination GE9920 GPU.and NPU Up to 6 .75Tops. Onboard 4GB LPDDR4 memory and 16GB EMMC storage, and supports 4 USB 3.0 interface, a gigabit network port.onboard 1 HDMI-rx port and 1 Hdmi-tx port.
+
==Install Whole Image with Usb Download Tool==
  
==About VideoSmart VS680==
+
===Windows Driver install===
VideoSmart™ VS680 solution, an industry-first edge computing SoC that combines a CPU, NPU, and GPU. This new multimodal platform with integrated neural network accelerator is purpose built with perceptive intelligence for applications including smart displays, smart cameras, set-top-boxes and media streamers.The Synaptics VideoSmart VS680 is a multimedia powerhouse that combines a Qdeo 4K-video engine, an audio processor capable of far-field keyword detection and voice recognition, and a proprietary SyNap deep-learning accelerator (DLA). it also integrates a higher-performance Imagination PowerVR Series9 GPU. Another new feature is an ISP with HDR capabilities that can handle two 4K cameras. Previous VideoSmart products target the streaming-video set-top-box (STB) market, but the VS680 aims for a broader range of smart-home devices. It s well suited to the Facebook Portal and other smart displays, which enable video calling. The audio processor can drive a smart speaker or sound bar, but when coupled with the DLA, it handles on-device voice-UI functions in addition to providing the front end to a cloud-based digital assistant. The DLA works with the dual ISP to run neural networks on video streams from front and rear cameras, enabling face ID, object recognition, and security monitoring, among other tasks. The Qdeo engine can drive two displays, allowing the device to power a 1080p touchscreen panel in an STB while simultaneously streaming to a 4K TV.
+
1. Download and install [https://download.banana-pi.dev/d/ca025d76afd448aabc63/files/?p=%2FTools%2Fimage_download_tools%2FDriverAssitant_v5.11.zip Rockchip USB driver]
 +
:[[File:driver_install.PNG]]
  
==Key Features==
+
2. Download [https://download.banana-pi.dev/d/ca025d76afd448aabc63/files/?p=%2FTools%2Fimage_download_tools%2FUpdate-EMMC-Tools.zip Rockchip USB Download Tool for EMMC upgrade]
* Synaptics VideoSmart VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor
+
:This tool defaults language is Chinese. you can change it to English after extract the package. Open RKDevTool_Release_v2.84/config.ini with an text editor (like notepad). The starting lines are:
* Imagination GE9920 GPU
 
* NPU for AI up to 6 .75Tops
 
* 4GB LPDDR4
 
* 16GB eMMC flash
 
* M.2 Key E(PCIe + MIPI CSI)
 
* 4 USB 3.0
 
* 1 GbE ethernet
 
* 1 HDMIin and 1 HDMIout
 
  
==Getting Start==
+
  #Language Selection: Selected=1(Chinese); Selected=2(English)
 +
  [Language]
 +
  Kinds=2
 +
  Selected=2
 +
  LangPath=Language\
  
*[[Getting Started with BPI-M6]]
+
3. Open RKDevTool.exe, Switch to the “upgrade firmware” page. Press the “firmware” button to open the image file to be upgraded. The upgrade tool displays detailed firmware information.
 +
  Note: Because Linux's release image is very large, So you need wait for a long time when Software open and analysis the image file.
 +
:[[File:Bpi-r2pro-Firmware.png]]
  
=Hardware=
+
4. Disconnect power adapter, connect dual male usb cable from the top usb host port to PC.Use the Type-C data cable to connect one end to the PC and the other end to the BPI-W3 board.
  
==Hardware interface==
+
5. There have two usb download mode for image upgrade.
[[File:Banana_Pi_BPI-M6_interface.jpg]]
 
  
==Hardware spec==
+
:*'''Uboot Usb Download Mode (loader mode)'''
{| class="wikitable"
+
::It's supposed to use this way if board already flashed a bootable uboot before.
|-
+
:*'''Maskrom Usb Download Mode'''
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare  Specification of Banana pi BPI-M6'''
 
|-
 
|CPU|| Synaptics VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor
 
|-
 
| GPU||Imagination GE9920 GPU
 
|-
 
|NPU for AI|| Up to 6 .75Tops
 
|-
 
| Memory|| 4 GB LPDDR4
 
|-
 
| Storage|| MicroSD slot with support for up to 256GB expansion and 16G eMMC flash with support for up to 64GB
 
|-
 
| Network|| 10/100/1000 Mbit/s Ethernet ,Optional WiFi USB dongle
 
|-
 
|Video || 1 x HDMI 2.1 (up to 4K@60Hz with HDR, CEC, EDID) out, and 1 HDMI in Port
 
|-
 
| Audio Output(s)|| 1 x HDMI digital output
 
|-
 
|Display||MIPI DSI interface
 
|-
 
|M.2 interface||M.2 Key E(PCIe + MIPI CSI)
 
|-
 
| USB ports|| USB 3.0 PORT (x4)
 
|-
 
|GPIO|| 40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND). GPIO pins can be used for UART, I2C, SPI or PWM
 
|-
 
|Switches|| SPI boot and U-boot
 
|-
 
| LED|| Power Status and Activity status
 
|-
 
| Power Source|| 5 volt @3A TYPE C 
 
|-
 
|Size & Weight|| 92x60mm, 48g
 
|-
 
|OS|| Android and Linux
 
|}
 
  
==GPIO PIN define ==
+
:Press the Recovery button or Maskrom button beside 3pin uart header and hold, connect the power adapter or press the RST button if power adapter already connected, about two seconds later, release the button. PC will Identify the device if RK usb driver installed correctly.
 +
:[[File:device_manage.PNG]]
  
 +
:The download tool also show the download mode if device connected.
 +
:[[File:load_download.PNG]]
  
=Software=
+
:[[File:maskrom_download.PNG]]
==Source code on github==
 
  
== documents==
+
6. Press the “upgrade” button to start the upgrade.
*Senary VS680(Synaptics SN3680) datasheet:
+
:[[File:upgrade.PNG]]
*The VS680 NPU is ranked first on AI benchmark website: https://ai-benchmark.com/ranking_IoT.html
 
*BPI-M6 AI function test: https://www.youtube.com/watch?v=RIO0K_V12D4
 
  
=Image Release=
+
7: If the upgrade fails, you can try to erase the Emmc by pressing the EraseFlash button first, and then upgrade image again.
 +
:[[File:erase.PNG]]
  
==Android==
+
==Install Separate Images with Usb Download Tool==
 +
1. Download [https://download.banana-pi.dev/d/ca025d76afd448aabc63/files/?p=%2FTools%2Fimage_download_tools%2FUpdate-EMMC-Tools.zip Rockchip USB Download Tool for EMMC upgrade]
 +
2. Open RKDevTool.exe, Switch to the “Download Image” page. The upgrade tool displays detailed all firmware image information. Then all image file is ready, you may push "run", the upgrade process begin.
 +
  Note: Because Linux's release package, Example: Ubuntu-22.04-Desktop-EMMCBoot-rockdev-MT7531SW-DSA.zip, unzip it into the same folder "Update-EMMC-Tools" inside.
 +
:[[File:Bpi-r2pro-emmc-flash.png]]
  
==Linux==
+
==Install Image with SDcard==
 +
 
 +
1. Download Rockchip [https://download.banana-pi.dev/d/ca025d76afd448aabc63/files/?p=%2FTools%2Fimage_download_tools%2FUpdate-SD-Tools.zip SDDiskTool].
 +
 
 +
2. Insert microSD card to Windows PC, 8GB sdcard size at least.
 +
 
 +
3. Run SD_Firmware_Tool, check the “Upgrade Firmware” box and select the correct removable disk device, Choose firmware image, then Click Create button to make it and wait until it is finshed
 +
:[[File:sd_download.png]]
 +
 
 +
4. Safely remove the microSD card, insert it into the R2pro board, power on the board, it will start Linux System.
 +
 
 +
==Build Linux BSP Source Code==
 +
:1. Get Linux source code
 +
 
 +
  $ git clone https://github.com/BPI-SINOVOIP/BPI-R2PRO-BSP.git
 +
 
 +
:2. Build the Linux BSP Source code
 +
 
 +
==Dual Display==
 +
  Note: All linux Image suuport dual display HDMI and MIPI-DSI together, MIPI-DSI only support 1200x1920.
 +
  Note: HDMI Display
 +
:[[File:HDMI-Monitor-Display.jpg|640px]]
 +
  Note: MIPI-DSI panel Display
 +
:[[File:EDP-Monitor-Display.jpg|640px]]
 +
 
 +
==Wlan&BT==
 +
:CN13 M.2 KEY E Slot is used for connect Wlan&BT adapter, default image support RTL8822CE(PCIE+USB) and RTL8822CS(SDIO+UART).

Revision as of 00:22, 13 February 2023

Introduction

Banana Pi BPI-R1 Allwinner A20
Banana Pi BPI-R2 with MTK MT7623N chip design
Banana Pi BPI-R2 Pro Rockchip RK3568 design
Banana Pi BPI-W2 with Realtek RTD1296 chip design
Banana Pi BPI-R3 with MediaTek MT7986(Filogic 830)
Banana Pi BPI-M2S Amlogic A311D chip

specifications

Linux

The below steps is to flash linux release image into BPI-W3

Prepare

1. Good Type-C data cable for image download into EMMC
2. Usb to ttl cable if you need debug, default baudrate is 1500000.
3. Windows or Linux PC.
4. Download the Linux Release Image Linux Release Image, and confirm that the md5 checksum is correct before flashing.

Note: The below picture is for BPI-W3's Debug Connecting, the blue usb cable is Double male USB data cable for image download, the white MicroUSB cable is linux serial console, please install CH340E's USB convert serial driver.

BPI-R2PRO-Debug-Connect.jpg

Install Whole Image with Usb Download Tool

Windows Driver install

1. Download and install Rockchip USB driver

File:Driver install.PNG

2. Download Rockchip USB Download Tool for EMMC upgrade

This tool defaults language is Chinese. you can change it to English after extract the package. Open RKDevTool_Release_v2.84/config.ini with an text editor (like notepad). The starting lines are:
 #Language Selection: Selected=1(Chinese); Selected=2(English)
 [Language]
 Kinds=2
 Selected=2
 LangPath=Language\

3. Open RKDevTool.exe, Switch to the “upgrade firmware” page. Press the “firmware” button to open the image file to be upgraded. The upgrade tool displays detailed firmware information.

  Note: Because Linux's release image is very large, So you need wait for a long time when Software open and analysis the image file.
Bpi-r2pro-Firmware.png

4. Disconnect power adapter, connect dual male usb cable from the top usb host port to PC.Use the Type-C data cable to connect one end to the PC and the other end to the BPI-W3 board.

5. There have two usb download mode for image upgrade.

  • Uboot Usb Download Mode (loader mode)
It's supposed to use this way if board already flashed a bootable uboot before.
  • Maskrom Usb Download Mode
Press the Recovery button or Maskrom button beside 3pin uart header and hold, connect the power adapter or press the RST button if power adapter already connected, about two seconds later, release the button. PC will Identify the device if RK usb driver installed correctly.
Device manage.PNG
The download tool also show the download mode if device connected.
Load download.PNG
Maskrom download.PNG

6. Press the “upgrade” button to start the upgrade.

Upgrade.PNG

7: If the upgrade fails, you can try to erase the Emmc by pressing the EraseFlash button first, and then upgrade image again.

Erase.PNG

Install Separate Images with Usb Download Tool

1. Download Rockchip USB Download Tool for EMMC upgrade 2. Open RKDevTool.exe, Switch to the “Download Image” page. The upgrade tool displays detailed all firmware image information. Then all image file is ready, you may push "run", the upgrade process begin.

  Note: Because Linux's release package, Example: Ubuntu-22.04-Desktop-EMMCBoot-rockdev-MT7531SW-DSA.zip, unzip it into the same folder "Update-EMMC-Tools" inside.
Bpi-r2pro-emmc-flash.png

Install Image with SDcard

1. Download Rockchip SDDiskTool.

2. Insert microSD card to Windows PC, 8GB sdcard size at least.

3. Run SD_Firmware_Tool, check the “Upgrade Firmware” box and select the correct removable disk device, Choose firmware image, then Click Create button to make it and wait until it is finshed

Sd download.png

4. Safely remove the microSD card, insert it into the R2pro board, power on the board, it will start Linux System.

Build Linux BSP Source Code

1. Get Linux source code
 $ git clone https://github.com/BPI-SINOVOIP/BPI-R2PRO-BSP.git
2. Build the Linux BSP Source code

Dual Display

  Note: All linux Image suuport dual display HDMI and MIPI-DSI together, MIPI-DSI only support 1200x1920.
  Note: HDMI Display
HDMI-Monitor-Display.jpg
  Note: MIPI-DSI panel Display
EDP-Monitor-Display.jpg

Wlan&BT

CN13 M.2 KEY E Slot is used for connect Wlan&BT adapter, default image support RTL8822CE(PCIE+USB) and RTL8822CS(SDIO+UART).