Difference between pages "Banana Pi BPI-W2" and "P2Z Image Map"

From Banana Pi Wiki
(Difference between pages)
Jump to: navigation, search
(Documents)
 
(Kernel 3.4.113)
 
Line 1: Line 1:
[[zh:香蕉派_BPI-W2]]
+
=Ubuntu Desktop 16.04=
=Introduction=
+
==Kernel 3.4.113==
 
+
'''Features Map'''
[[File:Banana Pi BPI-W2 1.JPG|thumb|Banana Pi BPI-W2 with Realtek RTD1296]]
+
{| class="wikitable" style="text-align: center"
 
+
|-
The Banana Pi BPI-W2 is a router based development board, which can run on a variety of open source operating systems including OpenWrt, Android, and linux. It has 1 Gigabit LAN ports, 1 Gigabit WAN. it design with  Realtek RTD1296, Quad-core ARM Cortex-A53. with 3G DDR4 and 8G eMMC flash onboard.
+
|Image
 
+
|Features
[[File:BPI-W2.jpg]]
+
|Sub-Features
 
+
|Status
==Key Features==
+
|Performance
 
 
* Realtek RTD1296, Quad-core ARM Cortex-A53
 
* Mali T820 MP3 GPU
 
* 2G DDR4 SDRAM
 
* 8G eMMC flash
 
* Mini PCIE 2.0 , 1.1 interface ,SDIO,M.2 intereface
 
* MicroSD slot supports up to 256GB expansion
 
* 2xMIC int/Audio out
 
* 2 SATA interface
 
* 1XGigabit LAN 1x Gigabit WAN
 
* 1xUSB 3.0 2xUSB 2.0
 
* HDMI in & HDMI out
 
* Mini DP
 
* TYPE C
 
 
 
==Getting Start==
 
 
 
Read more: [[Getting Start with BPI-W2]]
 
 
 
=Hardware=
 
==Hardware interfact==
 
 
 
[[File:W2interface.jpg]]
 
 
 
==Hardware spec==
 
{| class="wikitable"
 
 
|-
 
|-
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare  Specification of Banana pi BPI-W2'''
+
|rowspan="30"|Ubuntu
 
|-
 
|-
| Soc || Realtek RTD1296 quad-core ARM A53
+
|rowspan="2"|WiFi
 +
|WiFi Client
 +
|YES
 +
|wpa_supplicant
 
|-
 
|-
| GPU || Mali T820 MP3 GPU
+
|AP mode
 +
|style="background: orange;" |Developing
 +
|hostapd
 +
 
 
|-
 
|-
| SDRAM || 2GB DDR4 \(shared with GPU\)
+
|rowspan="2"|EMAC
 +
|TCP
 +
|YES
 +
|iperf3 95Mbit/s
 
|-
 
|-
| Power || 12V @ 2A via DC power 5.0mmx2.0mm jack
+
|UDP
 +
|YES
 +
|iperf3 1Mbit/s
 +
 
 
|-
 
|-
| Low-level peripherals || 40 Pins Header, 28×GPIO, some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S.
+
|rowspan="2"|Bluetooth
 +
|BT
 +
|YES
 +
|bluetoothctl
 
|-
 
|-
| Onboard Network ||2x 10/100/1000Mbps Ethernet
+
|BLE
 +
|style="background: orange;" |Developing
 +
|hcitool
 +
 
 
|-
 
|-
| Wifi/Bluetooth || **Option** ,not support onboard WIFI & BT
+
|rowspan="3"|CAMERA ov5640
 +
|ffmpeg
 +
|YES
 +
|/usr/local/bin/cameratest.sh
 
|-
 
|-
| RGMII || 1 RGMII interface with PIN
+
|cap
 +
|YES
 +
|/usr/local/bin/test_ov5640.sh
 
|-
 
|-
| On board Storage || MicroSD \(TF\) card; 2 native SATA 3 6Gbps ;eMMC;SIM card slot
+
|guvcview
 +
|YES
 +
|
 +
 
 
|-
 
|-
| Display || HDMI \(Type A\) output with HDCP 1.4, resolutions up 1920x1200; MIPI DP
+
|rowspan="3"|WiringPI
 +
|8x8 LEDs
 +
|YES
 +
|/usr/local/bin/bpi_test_hello
 
|-
 
|-
| Video decoder/encode || The Video DSP of RTD1296 is dedicated to manipulating,decoding and encoding of video streams in various formats, e.g. decoding 4K2K H.265,Full HD MPEG1/2/4/H.264/H.264 MVC,AVC/VC-1,VP8,AVS,AVS Plus,HD jpeg,etc.Video decoding and encoding can run simultaneously. support 3D de-intrlacing,video scaling up to 4K2K and so on.
+
|1602 LCD
 +
|YES
 +
|/usr/local/bin/bpi_test_lcd1602
 
|-
 
|-
| Aideo decoding ||Audio decoding is carried out by an Audio DSP that is capable of decoding a set of audio formats,e.g. DTS HD,Dolby Digital Plus,TrueHD,and other popular formats.the Audio DSP also performs audio post processing
+
|OLED
 +
|YES
 +
|/usr/local/bin/bpi_test_52pi
 +
 
 
|-
 
|-
| Audio || support two audio device HDMI and headphone, also support Audio In/Out with PIN define. support 2 MIC in
+
|HDMI
 +
|720P
 +
|YES
 +
|
 +
 
 
|-
 
|-
| HDMI Out/In || 1* HDMI 2.0a out port and 1* HDMI 2.0a In port
+
|RPI GPIO
 +
|Recognize
 +
|YES
 +
|/usr/local/bin/g40.py
 +
 
 
|-
 
|-
| Audio outputs/Inputs || HDMI, I2S audio,Audio micro out, Audio out/in with PIN define
+
|rowspan="3"|OTG
 +
|adb
 +
|style="background: red;" | NO
 +
|adbd.sh
 
|-
 
|-
| M.2 KEY E:PCIE 2.0/USB 2.0 || 1 pcie 2.0 interface
+
|Ethernet to USB
 +
|YES
 +
|iperf3 test tcp: 350M/s, iperf3 test udp: 1M/s
 
|-
 
|-
| M.2 KEY E:PCIe 1.1 / SDIO / USB 2.0 || 1 pcie 1.1 and SDIO interface
+
|USB Gadget
 +
|YES
 +
|
 +
 
 
|-
 
|-
| USB 3.0 || 1x USB 3.0 host
+
|1080P
 +
|MPV
 +
|YES
 +
|no audio out
 +
 
 
|-
 
|-
| USB 2.0 || 2x USB 2.0 OTG, 1 with standard USB port , 1 define with PIN
+
|GPU
 +
|OpenGL
 +
|style="background: grey;" |Unknown
 +
|
 +
 
 
|-
 
|-
| M.2 KEY B || 1 * M.2 interface USB 2.0 for 4G with Micro SIM card slot
+
|EMMC
|-
+
|Recognise
| Mini DP ||1* Mini DP
+
|YES
|-
+
|
| TYPE C || 1 type C interface
+
 
|-
 
| RTC battery || RTC battery power interface
 
|-
 
| Buttons || Reset button, Power button, U-boot button
 
|-
 
| Leds || Red, Green, Blue
 
|-
 
| Other || IR reciever
 
|-
 
| Sizes || 148 mm × 100.5mm
 
|-
 
| Weight || 100g
 
|-
 
 
|}
 
|}
  
==GPIO PIN define ==
+
=Ubuntu Server 16.04=
 
+
==Kernel 3.4.113==
Banana Pi BPI-W2 has a 40-pin GPIO header that matches that of the Model Raspberry Pi 3. Following is the Banana Pi GPIO Pinout:
+
'''Features Map'''
 
+
{| class="wikitable" style="text-align: center"
[[File:Gpio define.png]]
+
|-
 
+
|Image
{| class="wikitable"
+
|Features
 +
|Sub-Features
 +
|Status
 +
|Performance
 
|-
 
|-
| style="background: PaleTurquoise; color: black" colspan="4"| '''Banana Pi BPI-W2 40-pin GPIO'''
+
|rowspan="30"|Ubuntu
 
|-
 
|-
| GPIO Pin Name || Default Function || Function 2:GPIO
+
|rowspan="2"|WiFi
 +
|WiFi Client
 +
|YES
 +
|http://wiki.banana-pi.org/Getting_Started_with_P2-Zero#WiFi_Client
 
|-
 
|-
| CON1-P01 || VCC-3V3 ||
+
|AP mode
 +
|style="background: orange;" |Developing
 +
|hostapd
 +
 
 
|-
 
|-
| CON1-P02 || 5VD ||
+
|rowspan="2"|EMAC
 +
|TCP
 +
|YES
 +
|iperf3 95Mbit/s
 
|-
 
|-
| CON1-P03 ||I2C5\_SCL || GPIO13
+
|UDP
 +
|YES
 +
|iperf3 1Mbit/s
 +
 
 
|-
 
|-
| CON1-P04 || 5VD ||
+
|rowspan="2"|Bluetooth
 +
|BT
 +
|YES
 +
|bluetoothctl
 
|-
 
|-
| CON1-P05 ||I2C5\_SDA || GPIO14
+
|BLE
 +
|style="background: orange;" |Developing
 +
|hcitool
 +
 
 
|-
 
|-
| CON1-P06 || GND ||
+
|rowspan="3"|CAMERA ov5640
 +
|ffmpeg
 +
|YES
 +
|/usr/local/bin/cameratest.sh
 
|-
 
|-
| CON1-P07 || PWM0\_0 || IGPIO21
+
|cap
 +
|YES
 +
|/usr/local/bin/test_ov5640.sh
 
|-
 
|-
| CON1-P08 || UR2\_TX || IGPIO3
+
|guvcview
 +
|YES
 +
|
 +
 
 
|-
 
|-
| CON1-P09 || GND ||  
+
|rowspan="3"|WiringPI
 +
|8x8 LEDs
 +
|YES
 +
|/usr/local/bin/bpi_test_hello
 
|-
 
|-
| CON1-P10 || UR2\_RX || IGPIO2
+
|1602 LCD
 +
|YES
 +
|/usr/local/bin/bpi_test_lcd1602
 
|-
 
|-
| CON1-P11 || GPIO17 || GPIO17
+
|OLED
 +
|YES
 +
|/usr/local/bin/bpi_test_52pi
 +
 
 
|-
 
|-
| CON1-P12 || AO\_BCK || GPIO58
+
|HDMI
 +
|720P
 +
|YES
 +
|
 +
 
 
|-
 
|-
| CON1-P13 ||I2C3\_SDA || GPIO25
+
|RPI GPIO
 +
|Recognize
 +
|YES
 +
|/usr/local/bin/g40.py
 +
 
 
|-
 
|-
| CON1-P14 || GND ||
+
|rowspan="3"|OTG
 +
|adb
 +
|style="background: red;" | NO
 +
|adbd.sh
 
|-
 
|-
| CON1-P15 ||I2C3\_SCL || GPIO27
+
|Ethernet to USB
 +
|YES
 +
|iperf3 test tcp: 350M/s, iperf3 test udp: 1M/s
 
|-
 
|-
| CON1-P16 || UR2\_RTS || IGPIO5
+
|USB Gadget
 +
|YES
 +
|
 +
 
 
|-
 
|-
| CON1-P17 || VCC-3V3 ||  
+
|1080P
 +
|MPV
 +
|YES
 +
|no audio out
 +
 
 
|-
 
|-
| CON1-P18 || UR2\_CTS || IGPIO4
+
|GPU
|-
+
|OpenGL
| CON1-P19 || G\_MOSI || GPIO7
+
|style="background: grey;" |Unknown
|-
+
|
| CON1-P20 || GND ||
+
 
|-
 
| CON1-P21 || G\_MISO || GPIO4
 
|-
 
| CON1-P22 || IR\_TX || IGPIO9
 
|-
 
| CON1-P23 || G\_SCK || GPIO5
 
|-
 
| CON1-P24 || G\_CS || GPIO6
 
|-
 
| CON1-P25 || GND ||
 
|-
 
| CON1-P26 || GPIO8 || GPIO8
 
|-
 
| CON1-P27 || I2C4\_SDA || GPIO12
 
|-
 
| CON1-P28 || I2C4\_SCL || GPIO11
 
|-
 
| CON1-P29 || GPIO100 || GPIO100
 
|-
 
| CON1-P30 || GND ||
 
|-
 
| CON1-P31 || AI\_CK || GPIO21
 
|-
 
| CON1-P32 || SPDIF || GPIO54
 
|-
 
| CON1-P33 || AO\_CK || GPIO59
 
|-
 
| CON1-P34 || GND ||
 
|-
 
| CON1-P35 || AO\_LRCK || GPIO57
 
|-
 
| CON1-P36 || AI\_BCK || GPIO22
 
|-
 
| CON1-P37 || AI\_LRCK || GPIO23
 
|-
 
| CON1-P38 || AI\_SDO || GPIO24
 
|-
 
| CON1-P39 || GND ||
 
 
|-
 
|-
| CON1-P40 || AO\_D0 || GPIO60
+
|EMMC
|-
+
|Recognise
|}
+
|YES
 +
|
  
UART specification:
 
 
Theheader CON3 is the UART interface. For developers of Banana Pi, this is an easy way to get the UART console output to check the system status and log message.
 
 
{| class="wikitable"
 
|-
 
| style="background: PaleTurquoise; color: black" colspan="4"| '''BPI-W2 Debug UART(CON3)'''
 
|-
 
| CON2-P1 || GND
 
|-
 
| CON2-P2 || UART0-RX
 
|-
 
| CON2-P3 || UART0-TX
 
|-
 
 
|}
 
|}
 
==RGMII Interface with PIN define==
 
 
BPI-W2 support RGMII Interface with PIN define:
 
 
[[File:Rgmii_interface.png]]
 
 
voltage domain is RGMII.
 
 
[[File:Rgmii_interface_1.png]]
 
 
=Software=
 
 
=Development=
 
 
==Basic Development==
 
 
=Resources=
 
 
==Source code==
 
 
*Linux 4.9.x Source code on github:https://github.com/BPI-SINOVOIP/BPI-W2-bsp
 
 
==Documents==
 
*BPI-W2 DXF file download :https://drive.google.com/file/d/1JDVRxcXdSi8cnX32plBmyrTiKiWDK_ev/view?usp=sharing
 
*BPI-W2 Realtek 1296 documents download link
 
::[[File:1296_doc.png]]
 
:: google drive :https://drive.google.com/file/d/1PLlU5d0INA2U6Er5unEC7-FpnAmkSh7x/view?usp=sharing
 
:: baidu cloud :https://pan.baidu.com/s/1geV5JNl
 
*SATA-RSM-C052-X22XX spec
 
**download link: https://drive.google.com/file/d/0B4PAo2nW2KfncWNYV1l5MkpiQTQ/view?usp=sharing
 
*[http://forum.banana-pi.org/t/banana-pi-bpi-w2-ce-fcc-rohs-certification/9072 Banana Pi BPI-W2 CE FCC RoHS Certification]
 
 
=Image Release=
 
 
==Android==
 
===Android 7.1.1===
 
*2019-01-14 update : BPI-W2 Android7 new image support google GMS
 
::baidu drive: https://pan.baidu.com/s/1_aT1jJHrOJdeEeGa6J1EYA
 
::google drive: https://drive.google.com/open?id=1KhvanoNNZYI16vYatYCqWsnKS2Wyl37L
 
::forum pthread : http://forum.banana-pi.org/t/bpi-w2-android7-new-image-support-gms-20190114/7688
 
 
* Image Link:
 
**This release is for banana pi W2 board which is based on Realtek RTD1296, and it is based on Android 7.1.1 peration system.
 
**Baidu cloud:https://pan.baidu.com/s/1WP_TRe9PeNZvfi5bEJy0AQ
 
**Google Drive:
 
* Forum thread:
 
** http://forum.banana-pi.org/t/bpi-w2-new-image-android-7-1-1-v0-1-beta-2018-5-29/5867
 
 
===Android 6.0.1===
 
* Image Link:
 
**This release is for banana pi W2 board which is based on Realtek RTD1296, and it is based on Android 6.0 Operation system.
 
**Baidu cloud:https://pan.baidu.com/s/1i-J71bup8jr8ML7pSN3wtw
 
**Google Drive:https://drive.google.com/file/d/16DRWS1FcdduG3c_4YWnbGXj_ayLmdsoN/view?usp=sharing
 
* Forum thread:
 
** http://forum.banana-pi.org/t/banana-pi-bpi-w2-with-realtek-new-image-release-android-6-0-v1-0/5394
 
** video demo on youtube: https://www.youtube.com/watch?v=jePsbqgp2zk&feature=youtu.be
 
 
==OpenWRT==
 
*Image Link:
 
**Baidu Drive: https://pan.baidu.com/s/1Rs9F46wNJibORaeCfVh4wg  PinCode:1w4w
 
**Google Drive:https://drive.google.com/file/d/10kfP142Jw0sA92uwaIYZt7CeXcDKelO1/view?usp=sharing
 
* Forum thread:
 
**http://forum.banana-pi.org/t/bpi-w2-new-image-burn-openwrt-with-linux-kernel-4-4-2018-4-25/5510
 
 
==Ubuntu ==
 
*2018-09-17 update.This release is for banana pi W2 board which is based on realtek RTD1296, and it is based on Ubuntu 18.04 operation system with kernel 4.9.119.
 
*Image Link:
 
::W2 Features Map: http://wiki.banana-pi.org/W2_Image_Map
 
::Baidu Drive: https://pan.baidu.com/s/1iLOa1MOgtSqY6dVsQ_SyQg
 
::Google Drive:https://drive.google.com/open?id=1PQO9tA4w_wJvDIz64xJrXzSNS1g4GSlB
 
* Forum thread: http://forum.banana-pi.org/t/bananapi-w2-ubuntu-18-04-new-image-release-2018-09-17/6790
 
**http://forum.banana-pi.org/t/bpi-w2-new-image-how-to-make-and-run-the-64-bit-ubuntu-16-04-on-sd-card-2018-4-28/5546
 
 
==Debian ==
 
*2018-09-18 update.This release is for banana pi W2 board which is based on realtek RTD1296, and it is based on Debian 9 operation system with kernel 4.9.119.
 
*image Link:
 
::W2 Features Map: http://wiki.banana-pi.org/W2_Image_Map#Debian_9
 
::Baidu Drive:https://pan.baidu.com/s/1bmTektF0ufRL9_FOpdoO2w
 
::Google Drive:https://drive.google.com/open?id=1z1l56qX7BhsD44ha4IGDBhi-_ZqwCjoC
 
::Forum pthread: http://forum.banana-pi.org/t/banana-pi-bpi-w2-new-image-debian-9-linux-image-release-2018-09-18/6797
 
 
==Rasbian==
 
*2018-09-17 uptate ,This release is for banana pi W2 board which is based on realtek RTD1296, and it is based on Raspbian 9.4 operation system with kernel 4.9.119.
 
::BPI-W2 Features Map: http://wiki.banana-pi.org/W2_Image_Map#Raspbian_9.4
 
::Baidu Drive:https://pan.baidu.com/s/1aL5ZsHIRwM-1rvnZDiR3EA
 
::Google Drive:https://drive.google.com/open?id=11-WbfJK0jNVgutg9UVKfiIIJtfHXi-9j
 
::Forum pthread : http://forum.banana-pi.org/t/banana-pi-bpi-w2-new-image-raspbian-9-4-new-image-release-2018-09-17/6824
 
 
==OpenSUSE==
 
*2018-09-25 uptate,This release is for banana pi W2 board which is based on realtek RTD1296, and it is based on OpenSUSE operation system with kernel 4.9.119.
 
::BPI-W2 Features Map: http://wiki.banana-pi.org/W2_Image_Map
 
::Baidu Drive:https://pan.baidu.com/s/1UZl-UFUugPhCPaFHBB9_GA
 
::Google Drive: https://drive.google.com/open?id=1j_486I9v2VuPXslWyk9OlmOIPMxcxZGs
 
::Forum pthrad:http://forum.banana-pi.org/t/bananapi-bpi-w2-new-image-opensuse-release-2018-09-25/6851
 
 
==Kali Linux==
 
*2018-09-25 update,This release is for banana pi W2 board which is based on realtek RTD1296, and it is based on Kali operation system with kernel 4.9.119.
 
::BPI-W2 Features Map: http://wiki.banana-pi.org/W2_Image_Map
 
::Baidu Drive:https://pan.baidu.com/s/1eslUG_xlHHsGwHk_Lq_bVw
 
::Google Drive:https://drive.google.com/open?id=1QQXs-YjZtwOfEEc73wfNtLy67ZZwVai7
 
::Forum pthread:http://forum.banana-pi.org/t/bananapi-bpi-w2-new-image-kali-rolling-release-2018-09-25/6855
 
 
==RPiTC==
 
*2018-09-03 update :RPiTCv3_1.12-demo-bpi-w2-beta with Linux kernel 4.9.119
 
*image download:
 
::google drive:https://drive.google.com/open?id=1sWjMuKncqDDsb3cGmg22oJs-U2fZjOv0
 
::baidu cloud: https://pan.baidu.com/s/1sd9hoOwyfAxWlGroDMOj4A
 
::more abot RPiTC : http://rpitc.blogspot.com/
 
::Forum pthread:http://forum.banana-pi.org/t/bpi-w2-new-iamge-rpitcv3-1-12-demo-bpi-w2-beta-2018-09-03/6686
 
 
=FAQ=
 
 
*1. Now we support to '''use bpi-copy to burn image to sd card''', before this, we need to update our spi rom code, please watch the attachment to update your W2 spi rom code.
 
* SPI ROM Tool:
 
::Baidu Drive:https://pan.baidu.com/s/1017nmgw6ZVb5_NgLDz54HQ
 
::Google Drive: https://drive.google.com/open?id=1pq4MDKZi0KhyERB5xNGjTynhFWjXN_jm
 
 
* SPI ROM Image:
 
::Baidu Drive:https://pan.baidu.com/s/1rpfpWK8eoOdPhKwyWoR2Tw
 
::Google Drive: https://drive.google.com/open?id=1Ziz436kDL0kdojECB5bejVd9krzKp0z9
 
 
* How-To Update W2 SPI ROM:
 
::Baidu Drive:https://pan.baidu.com/s/1CZdY_4yFk5r5MSxoog9uOg
 
::Google Drive: https://drive.google.com/open?id=1kXaI5eYJ4cNLnhfr4rTwUVrENbMc1q-E
 

Revision as of 23:38, 1 April 2019

Ubuntu Desktop 16.04

Kernel 3.4.113

Features Map

Image Features Sub-Features Status Performance
Ubuntu
WiFi WiFi Client YES wpa_supplicant
AP mode Developing hostapd
EMAC TCP YES iperf3 95Mbit/s
UDP YES iperf3 1Mbit/s
Bluetooth BT YES bluetoothctl
BLE Developing hcitool
CAMERA ov5640 ffmpeg YES /usr/local/bin/cameratest.sh
cap YES /usr/local/bin/test_ov5640.sh
guvcview YES
WiringPI 8x8 LEDs YES /usr/local/bin/bpi_test_hello
1602 LCD YES /usr/local/bin/bpi_test_lcd1602
OLED YES /usr/local/bin/bpi_test_52pi
HDMI 720P YES
RPI GPIO Recognize YES /usr/local/bin/g40.py
OTG adb NO adbd.sh
Ethernet to USB YES iperf3 test tcp: 350M/s, iperf3 test udp: 1M/s
USB Gadget YES
1080P MPV YES no audio out
GPU OpenGL Unknown
EMMC Recognise YES

Ubuntu Server 16.04

Kernel 3.4.113

Features Map

Image Features Sub-Features Status Performance
Ubuntu
WiFi WiFi Client YES http://wiki.banana-pi.org/Getting_Started_with_P2-Zero#WiFi_Client
AP mode Developing hostapd
EMAC TCP YES iperf3 95Mbit/s
UDP YES iperf3 1Mbit/s
Bluetooth BT YES bluetoothctl
BLE Developing hcitool
CAMERA ov5640 ffmpeg YES /usr/local/bin/cameratest.sh
cap YES /usr/local/bin/test_ov5640.sh
guvcview YES
WiringPI 8x8 LEDs YES /usr/local/bin/bpi_test_hello
1602 LCD YES /usr/local/bin/bpi_test_lcd1602
OLED YES /usr/local/bin/bpi_test_52pi
HDMI 720P YES
RPI GPIO Recognize YES /usr/local/bin/g40.py
OTG adb NO adbd.sh
Ethernet to USB YES iperf3 test tcp: 350M/s, iperf3 test udp: 1M/s
USB Gadget YES
1080P MPV YES no audio out
GPU OpenGL Unknown
EMMC Recognise YES