Banana Pi BPI-M4

From Banana Pi Wiki
Revision as of 02:54, 18 June 2019 by Sinovoip (talk | contribs) (Ubuntu linux)
Jump to: navigation, search

Introduction

File:Banana Pi BPI-M4 3.JPG
Overview:Realtek RTD1395
PoE function support
M.2 and PCIE support

Banana Pi BPI-M4 use Realtek RTD1395 chp design ,it is a 64-bit quad-core A53 mini single board computer. It features 1 GB of RAM and 8 GB eMMC. It also has onboard WiFi for b/g/n/ac and BT 4.2. On the ports side, the BPI-M4 has 4 USB 2.0 ports, 1 USB TYPE C port, 1 HDMI port, 1 audio jack. support M.2 Key E PCIE 2.0 interface.

The RTD1395 is equipped with a high-performance quad-core CPU,ARM cortex-A53,with 512K L2 cache embedded. the RTD1395 also integrates and efficient ARM Mali-470 Graphic Processing Unit(GPU) to accelerate 2D and 3D graphics processing. For acceleration of this OSD and 2K user interface,the built-in Streaming Engine of the RTD1395 provides commonly used drawing functions.the CPU is dedicated to applications ,while most of the functions of the RTD1395 is dedicated to manipulating,decoding video streams in vaious formats.e.g. decoding 4K2K H.265,Full HD MPEG1/2/4/H.264/H.264 MVC,AVC/VC-1,VP8,VP9,AVS,AVS plus,HD JPEG,etc. Video DSP can also handle encoding of up to Full HD with H.264 format.Video decoding and encoding can run simultaneously.


Key Features

  • 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 function support

Getting Start

Getting Started with M4

Hardware

Hardware interfact

Banana Pi BPI-M4 interface.JPG

Hardware spec

HardWare Specification of Banana pi BPI-M4
CPU Realtek RTD1395 ARM Cortex-A53 Quad-Core 64 Bit
GPU Mali 470 MP4 GPU OpenGL ES 1.1/2.0
Memory 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
Network 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 PIN define

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

Software

Resources

Source code

Android

Linux

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

documents

  • BPI-M4 schematic diagram:
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

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 Ubuntu Mate 18.04
Fetures Map: http://wiki.banana-pi.org/M4_Image_Map#Ubuntu_18.04_Mate
Google Drive :
Baidu Drive : https://pan.baidu.com/s/1tB_QZ6zgmKiYstcZwn51gg (PinCode:edrc)
MD5 : 7409b48a46e0bbc2d0ae2e70a49bfb36
BPI-M4 Ubuntu Server 16.04
Fetures Map: http://wiki.banana-pi.org/M4_Image_Map#Ubuntu_18.04_Mate
Google Drive :
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

FAQ