香蕉派 BPI-M4

From Banana Pi Wiki
Revision as of 01:05, 19 May 2020 by Sinovoip (talk | contribs) (Resources)
Jump to: navigation, search

产品介绍

Overview
Overview:Realtek RTD1395
PoE function support
M.2 and PCIE support

Banana Pi BPI-M4 4核64位开发板,采用RTD1395芯片设计 ,为banana pi 团队最新的Banana Pi BPI-M4具有与Raspberry Pi Model B 一样的尺寸,但搭载更强悍的Realtek RTD1395 SoC,并支援PoE网路线供电与M.2插槽等功能,使用上更具弹性。

Banana Pi BPI-M4.jpg

Banana Pi BPI-M4搭载Realtek RTD1395 SoC,具有4个64bit的A53处理器核心,以及Mali-470 MP4绘图处理器,在记忆体部分具有1GB或2GB DDR4记忆体版本可供选择,储存装置除了可以选择8GB至64GB eMMC之外,也能透过micro SD插槽扩充256GB以下记忆卡。BPI-M4 I/O接口则有支援1080p输出的HDMI端子、3.5mm音源输出端子、RJ-45有线网路端子(100Mbps)、WiFi 5(IEEE 802.11 b/g/n/ac)、蓝牙4.2、4组USB2.0端子、1组USB2.0 Type-C端子,以及相容于Raspberry Pi 的40 Pin Header,其中28Pin为相容UART、I2C、SPI、PWM的GPIO,其于为+5V、+3.3V、GND电源端子。比较特别的是BPI-M4还有1组M.2 Key E扩充插槽,支援PCIe 2.0与USB 2.0传输规范,能够扩充网路介面卡等设备。


关键特性

  • Realtek RTD1395 ARM Cortex-A53 Quad-Core 64 Bit
  • Mali 470 MP4 GPU OpenGL ES 1.1/2.0 H.264 H.265,2K4K
  • Onboard1 GB DDR4 (option 2 GB)
  • 8G eMMC flash (max 64 GB)
  • 10/100 Mbit/s Ethernet and RTL8821 module support Wi-Fi 802.11 b/g/n/AC + Bluetooth 4.2
  • USB 2.0 TYPE C
  • M.2 Key E slot PCIE 2.0 and USB 2.0
  • PoE 网络供电功能支持

开发

Getting Started with M4

硬件

硬件接口示意

Banana Pi BPI-M4 interface.JPG

硬件规格

Banana pi BPI-M4 硬件规格列表
主控芯片 Realtek RTD1395 ARM Cortex-A53 Quad-Core 64 Bit
GPU图形 Mali 470 MP4 GPU OpenGL ES 1.1/2.0
内存 1 GB DDR4 (option 2 GB)
Storage MicroSD slot with support for up to 256GB expansion and 8G eMMC flash with support for up to 64GB
网络 10/100 Mbit/s Ethernet + Wi-Fi 802.11 b/g/n/AC + Bluetooth 4.2
Video Output(s) HDMI port and multi-channel audio output support 1080P H.264 H.265 2K/4K
Audio Output(s) 3.5mm jack and HDMI
PCIE M.2 Key E slot PCIE 2.0 and USB 2.0
USB ports USB 2.0 PORT (x4), USB 2.0 TYPE C(x1)
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 Reset, Power and U-boot
LED Power Status and Activity status
Power Source 5 volt @2A via Micro USB (TYPE C) or PoE support
Size & Weight 92x60mm, 48g
OS Android and Linux

GPIO 引脚定义

Banana Pi BPI-M4 has a 40-pin GPIO header that matches that of the Model Raspberry Pi 3. Following is the Banana Pi GPIO Pinout:

40 PIN GPIO of Banana pi BPI-M4
GPIO Pin Name Default Function Function2:GPIO Function3
CON1-P01 VCC-3V3
CON1-P02 DCIN
CON1-P03 I2C1_SDA GPIO-17
CON1-P04 DCIN
CON1-P05 I2C1_SCL GPIO-16
CON1-P06 GND
CON1-P07 PWM1 GPIO-21
CON1-P08 UR1_TX GPIO-9
CON1-P09 GND
CON1-P10 UR1_RX GPIO-8
CON1-P11 SDIO-D0 GPIO-42
CON1-P12 AIO_BCK GPIO-3
CON1-P13 SDIO-D1 GPIO-43
CON1-P14 GND
CON1-P15 SDIO-D2 GPIO-44
CON1-P16 UR1_RTS GPIO-11
CON1-P17 VCC-3V3
CON1-P18 UR1_CTS GPIO-10
CON1-P19 GSPI-MOSI GPIO-31
CON1-P20 GND
CON1-P21 GSPI-MISO GPIO-18
CON1-P22 GPIO-47 GPIO-47
CON1-P23 GSPI-SCK GPIO-19
CON1-P24 GSPI-CS GPIO-20
CON1-P25 GND
CON1-P26 PWM2 GPIO-22
CON1-P27 SDIO-D3 GPIO-45
CON1-P28 PWM3 GPIO-23
CON1-P29 SDIO-CLK GPIO-41
CON1-P30 GND
CON1-P31 SDIO-CMD GPIO-40
CON1-P32 SPDIF GPIO-50
CON1-P33 AIO_CK GPIO-4
CON1-P34 GND
CON1-P35 AIO_LRCK GPIO-2
CON1-P36 GPIO-53 GPIO-53
CON1-P37 GPIO-34 GPIO-34
CON1-P38 AI_SD GPIO-5
CON1-P39 GND
CON1-P40 AO_SD GPIO-6

UART specification:

The header CON2 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.

Uart PIN define of Banana pi BPI-M4
CON2 Pin Name Default Function GPIO
CON2-P1 GND
CON2-P2 UART0-RX
CON2-P3 UART0-TX

资源文档

源代码

Android系统

Linux系统

  • Supports Banana Pi BPI-M4 (RTD1395) (Kernel 4.9.119)
Source code on github: https://github.com/BPI-SINOVOIP/BPI-M4-bsp

参考文档

  • BPI-M4 硬件原理图:
google driver:https://drive.google.com/file/d/1A6pj8Y9Ru1_qfMapIdiQnMavEs5xzN5H/view?usp=sharing
Baidu cloud:https://pan.baidu.com/s/1mnn51dwBV5uxpNheBD4vJA pincode: t6cd
google driver: https://drive.google.com/file/d/1xK-DAjdjXiY7BgGcmq7x-aL5g6djznqT/view?usp=sharing
baidu cloud : 链接: https://pan.baidu.com/s/1bSZFMJ2lD_zuQru6Lf27RQ Pincode: 6pb8

Image Release

Android

  • 2019-6-25 update ,This release is for BPI-M4 which is based on rtd1395,Image is Android 8.1.0 with kernel 4.9.119.
Features Map:http://wiki.banana-pi.org/M4_Image_Map#Android_8.1_HDMI
For detail steps please see here:http://wiki.banana-pi.org/Getting_Started_with_M4#Install_Android
Forum pthread:http://forum.banana-pi.org/t/bpi-m4-android-8-1-demo-image-release-2019-06-25/9401

Ubuntu linux

  • 2019-6-18 update,This release is for banana pi M4 & W2 board, and it is based on Ubuntu Mate 18.04 & Ubuntu Server 16.04 Operation system with kernel 4.9.119.
BPI-M4/BPI-W2 Ubuntu Mate 18.04
Fetures Map: http://wiki.banana-pi.org/M4_Image_Map#Ubuntu_18.04_Mate
Google Drive : https://drive.google.com/open?id=1nPI2dy_KCW4h5korQdvj0iymHIDyxIPq
Baidu Drive : https://pan.baidu.com/s/1tB_QZ6zgmKiYstcZwn51gg (PinCode:edrc)
MD5 : 7409b48a46e0bbc2d0ae2e70a49bfb36
BPI-M4/BPI-W2 Ubuntu Server 16.04
Fetures Map: http://wiki.banana-pi.org/M4_Image_Map#Ubuntu_18.04_Mate
Google Drive : https://drive.google.com/open?id=1G4915FPOU4pDzbI0TCFH8wWXUGmNdlkF
Baidu Drive : https://pan.baidu.com/s/1lkG6gyzn-KPbvrEhf6Q85w (PinCode:5jbo)
MD5 : 328706256bec238df50f9bd6ab8dfd1b
Issue: if HDMI doesn't display, please try "ctrl + alt + F1" to change terminal then "ctrl + alt + F7" change to desktop display.
Forum pthread:http://forum.banana-pi.org/t/bpi-m4-demo-image-release-ubuntu-mate-18-04-ubuntu-server-16-04-2019-06-18/9362

Debian linux

  • 2019-08-13 update BPI-M4/BPI-W2 Debian10 Buster Desktop New Demo Image ,This release is for banana pi M4 and W2 board, and it is based on Debian 10 Operation system with kernel 4.9.Debian 10 buster desktop(32bit)
Fetures Map: http://wiki.banana-pi.org/M4_Image_Map#Debian_10_buster
Google Drive : https://drive.google.com/open?id=1rVrZStsw2PINBhIxCzOLOtYLbtoECmEk
Baidu Drive : https://pan.baidu.com/s/1WcrBkxm5OyBLedCBwaUz6Q (PinCode:e6m3)
MD5 : 300b37cdfa092d72dceddd4f33825b40
Forum Pthread:http://forum.banana-pi.org/t/bpi-m4-bpi-w2-debian10-buster-desktop-new-demo-image-20190813/9712
FAQ
Issue: if HDMI doesn’t display, please try “ctrl + alt + F1” to change terminal then “ctrl + alt + F7” change to desktop display.
SW2: switch to 0,if insert SD, SD start;if doesn’t insert SD,EMMC start.
  • 2019-08-06 update,BPI-M4/BPI-W2 Debian 10 Buster Lite Demo Image ,This release is for banana pi M4 and W2 board, and it is based on Debian 10 Operation system with kernel 4.9.
Debian 10 buster AArch64 (64bit)
Fetures Map: http://wiki.banana-pi.org/M4_Image_Map#Debian_10_buster
Google Drive : https://drive.google.com/open?id=1QyZX5AGUpEV2OZMXz3qkB8riXROXHdx3
Baidu Drive : https://pan.baidu.com/s/1CGxGUi8rt06tHwfk134Seg (Pincode:7rcz)
MD5 : 5a8b1eb36b782fdd742ba746c645593d
Debian 10 buster (32bit)
Fetures Map: http://wiki.banana-pi.org/M4_Image_Map#Debian_10_buster
Google Drive : https://drive.google.com/open?id=1WJlKTMPAipYnDFqIPl_dmR76oobuO5Wd
Baidu Drive : https://pan.baidu.com/s/1lTtcMTWqE0jG_1PWGtWSqw (Pincode:gny6)
MD5 : a59f2e6a298237a08bb523b53372d937
FAQ
For more info, please see here:
BPI-M4: http://wiki.banana-pi.org/Getting_Started_with_M4
BPI-W2: http://wiki.banana-pi.org/Getting_Started_with_W2

Raspbian Linux

  • 2019-6-19 update,This release is for banana pi M4 & W2 board, and it is based on Raspbian 9.8 stretch & AArch64 Linux Mate & AArch Linux Lite Operation system with kernel 4.9.119.
Fetures Map: http://wiki.banana-pi.org/M4_Image_Map#Raspbian_9.8_stretch
Google Drive : https://drive.google.com/open?id=15cypBk4NKL0X8uD3Mffc__Sx05j39xCW
Baidu Drive : https://pan.baidu.com/s/1gwD5ok9XLLQa0InU_-b7EA (PinCode:uuqn)
MD5 : a397a9c4d078c2841f0c243c573dc9a8
FAQ
Issue: if HDMI doesn't display, please try "ctrl + alt + F1" to change terminal then "ctrl + alt + F7" change to desktop display.
SW2: switch to 0,if insert SD, SD start;if doesn't insert SD,EMMC start.
Forum pthread:http://forum.banana-pi.org/t/bpi-m4-bpi-w2-demo-image-release-raspbian-9-8-stretch-aarch64-linux-mate-aarch64-linux-lite-2019-06-19/9370

AArch Linux

  • .2019-6-19 update,This release is for banana pi M4 & W2 board, and it is based on AArch64 Linux Mate & AArch linux liteOperation system with kernel 4.9.119.
Fetures Map:
Google Drive : https://drive.google.com/open?id=1fsk5S4zQfo3tl97Nty_QA1uAEqgB63YK
Baidu Drive : https://pan.baidu.com/s/1GvGsfs7t018EoRIv-au1GA (PinCode:o496)
MD5 : d284b2326a36d2d9039fb8d7e20e2600
  • AArch64 Linux Lite
Fetures Map:
Google Drive : https://drive.google.com/open?id=17V49oBoJZ18MKjSHD_LKjf1Z7qEokYn7
Baidu Drive : https://pan.baidu.com/s/1WivDWZHu_GnWOxhVOjoqIQ (PinCode:uhcg)
MD5 : 53bb6f8d00f8708dab96bc865eaddc5e
FAQ
Issue: if HDMI doesn't display, please try "ctrl + alt + F1" to change terminal then "ctrl + alt + F7" change to desktop display.
SW2: switch to 0,if insert SD, SD start;if doesn't insert SD,EMMC start.
Forum pthread:http://forum.banana-pi.org/t/bpi-m4-bpi-w2-demo-image-release-raspbian-9-8-stretch-aarch64-linux-mate-aarch64-linux-lite-2019-06-19/9370

FAQ