• sales

    +86-0755-88291180

Banana Pi BPI-CM4 User Guide

Key Features

  • Amlogic A311D Quad core ARM Cortex-A73 and dual core ARM Cortex-A53 CPU ,ARM G52 MP4(6EE) GPU
  • NPU for AI :Next generation, deep-neural-network applications, at 5.0 TOPS
  • 4GB LPDDR4 RAM
  • 16GB eMMC flash (Max 128G)
  • support MIPI DSI Camera interface
  • support MIPI CSI Screen interface
  • Minipcie
  • HDMI output
  • 26 PIN GPIO
  • support Android and Linux system.

Getting Start

Getting Started with CM4

Hardware

BPI-CM4 Module Hardware interface


BPI-CM4 Module PIN Out define

Banana pi BPI-CM4 PIN Out define VS Raspberry PI CM4
BPI-CM4RPI CM4PINPINRPI CM4BPI-CM4
GNDGND12GNDGND
NAT0_MDI3pEthernet_Pair3_P34Ethernet_Pair1_PNAT0_MDI1p
NAT0_MDI3nEthernet_Pair3_N56Ethernet_Pair1_NNAT0_MDI1n
GNDGND78GNDGND
NAT0_MDI2nEthernet_Pair2_N910Ethernet_Pair0_NNAT0_MDI0n
NAT0_MDI2pEthernet_Pair2_P1112Ethernet_Pair0_PNAT0_MDI0p
GNDGND1314GNDGND
Ethernet_LED2/1G_ActiveEthernet_nLED3_1G-Active1516Ethernet_SYNC_INLINUX_Debug_RX
Ethernet_LED1/LinkEthernet_nLED2_1G-Link1718Ethernet_SYNC_OUTLINUX_Debug_TX
Ethernet_0_LED0/CFG_EXTEthernet_nLED1_Y1920EEPROM_nWPNC
SYS_LED2Pi_nLED_Activity2122GNDGND
GNDGND2324I2S_MCLK/GPIO26GPIOA_0
GPIOA_3GPIO21/I2S_DO2526I2S_LRCLK/GPIO19GPIOA_2
GPIOA_4GPIO20/I2S_DI2728GPIO13GPIOA_7
GPIOAO_11GPIO162930GPIO6GPIOAO_10
GPIOH_5GPIO123132GNDGND
GNDGND3334GPO5GPIOH_4
GPIOA_15ID_SC3536ID_SDGPIOA_14
GPIOAO_5GPIO7/SPI-CE13738SPI-CLK/GPIO11GPIOX_11
GPIOX_10GPIO8/SPI-CE03940SPI-MISO/GPIO9GPIOX_9
GPIOA_11GPIO254142GNDGND
GNDGND4344SPI-MOSI/GPIO10GPIOX_8
GPIOA_12GPIO24/UART0-CTS4546GPIO22GPIOA_5
GPIOA_13GPIO23/UART0-RTS4748UART1-RXD/GPIO27GPIOA_6
GPIOA_1GPIO18/I2S_SCLK4950UART1-TXD/GPIO17GPIOA_9
GPIOX_7GPIO15/UART0-RXD5152GNDGND
GNDGND5354PWM/GPIO4GPIOA_10
GPIOX_6GPIO14/UART0-TXD5556SCL/GPIO3GPIOX_18
SD_CLK_BSD_CLK5758SDA/GPIO2GPIOX_17
GNDGND5960GNDGND
SD_D3_BSD_DAT36162SD_CMDSD_CMD_B
SD_D0_BSD_DAT06364SD_DAT5NC
GNDGND6566GNDGND
SD_D1_BSD_DAT16768SD_DAT4NC
SD_D2_BSD_DAT26970SD_DAT7NC
GNDGND7172SD_DAT6NC
NCSD_VDD_Override7374GNDGND
TF_VDD_ENSD_PWR_ON7576Reserved/SD_DETCARD_DET
+5V_Input+5V_Input7778GPIO_VREFNC
+5V_Input+5V_Input7980SCL0_Camera_3V3GPIOH_7
+5V_Input+5V_Input8182SDA0_Camera_3V3GPIOH_6
+5V_Input+5V_Input8384CM4_3V3_OUTPUTCM4_3V3_OUTPUT
+5V_Input+5V_Input8586CM4_3V3_OUTPUTCM4_3V3_OUTPUT
+5V_Input+5V_Input8788CM4_1V8_OUTPUTCM4_1V8_OUTPUT
NCWL_nDisable_3V38990CM4_1V8_OUTPUTCM4_1V8_OUTPUT
NCBT_nDisable_3V39192RUN_PG/Reset_3V3CPU_RST
NCnRPIBOOT_3V39394AnalogIP1/USBC_CC2SARADC_CH3
SYS_LEDPI_LED_nPWR9596AnalogIP0/USBC_CC1ADC_KEY
NCCamera_PWD_GPIO9798GNDGND
NCGLOBAL_EN_5V99100nEXTRSTGPIOH_8
USBOTG_B_IDUSB_OTG_ID_3V3101102PCIe_CLK_nREQ_3V3PCIECK_REQN
USBOTG_B_DMUSB_N103104ReservedUSB_A_DP
USBOTG_B_DPUSB_P105106ReservedUSB_A_DM
GNDGND107108GNDGND
PERST0_NPCIe_nRST_3V3109110PCIe_CLK_PPCIE_CLKP
NCVDAC_COMP_TV111112PCIe_CLK_NPCIE_CLKN
GNDGND113114GNDGND
MIPI_CSI_D0NCAM1_D0_N115116PCIe_RX_PPCIE_SOC_RXP
MIPI_CSI_D0PCAM1_D0_P117118PCIe_RX_NPCIE_SOC_RXN
GNDGND119120GNDGND
MIPI_CSI_D1NCAM1_D1_N121122PCIe_TX_PPCIE_TX0_P
MIPI_CSI_D1PCAM1_D1_P123124PCIe_TX_NPCIE_TX0_N
GNDGND125126GNDGND
MIPI_CSI_CLKANCAM1_C_N127128CAM0_D0_NNC
MIPI_CSI_CLKAPCAM1_C_P129130CAM0_D0_PNC
GNDGND131132GNDGND
MIPI_CSI_D2NCAM1_D2_N133134CAM0_D1_NNC
MIPI_CSI_D2PCAM1_D2_P135136CAM0_D1_PNC
GNDGND137138GNDGND
MIPI_CSI_D3NCAM1_D3_N139140CAM0_C_NMIPI_CSI_CLKBN
MIPI_CSI_D3PCAM1_D3_P141142CAM0_C_PMIPI_CSI_CLKBP
NCHDMI1_HOTPLUG_5V143144GNDGND
NCHDMI1_SDA_5V145146HDMI1_TX2_PNC
NCHDMI1_SCL_5V147148HDMI1_TX2_NNC
NCHDMI1_CEC_5V149150GNDGND
HDMI_TXCECHDMI0_CEC_5V151152HDMI1_TX1_PNC
HDMI_HPDCHDMI0_HOTPLUG_5V153154HDMI1_TX1_NNC
GNDGND155156GNDGND
NCDSI0_D0_N157158HDMI1_TX0_PNC
NCDSI0_D0_P159160HDMI1_TX0_NNC
GNDGND161162GNDGND
NCDSI0_D1_N163164HDMI1_CLK_PNC
NCDSI0_D1_P165166HDMI1_CLK_NNC
GNDGND167168GNDGND
NCDSI0_C_N169170HDMI0_TX2_PHDMI_TX2P
NCDSI0_C_P171172HDMI0_TX2_NHDMI_TX2N
GNDGND173174GNFGND
MIPI_D0_NDSI1_D0_N175176HDMI0_TX1_PHDMI_TX1P
MIPI_D0_PDSI1_D0_P177178HDMI0_TX1_NHDMI_TX1N
GNDGND179180GNDGND
MIPI_D1_NDSI1_D1_N181182HDMI0_TX0_PHDMI_TX0P
MIPI_D1_PDSI1_D1_P183184HDMI0_TX0_NHDMI_TX0N
GNDGND185186GNDGND
MIPI_CLK_NDSI1_C_N187188HDMI0_CLK_PHDMI_TXCP
MIPI_CLK_PDSI1_C_P189190HDMI0_CLK_NHDMI_TXCN
GNDGND191192GNDGND
MIPI_D2_NDSI1_D2_N193194DSI1_D3_NMIPI_D3_N
MIPI_D2_PDSI1_D2_P195196DSI1_D3_PMIPI_D3_P
GNDGND197198GNDGND
HDMI_SDAHDMI0_SDA_5V199200HDMI0_SCL_5VHDMI_SCL

BPI-CM4 moudule base board interface


Banana Pi BPI-CM4 SBC specifications

  • SoC – Amlogic A311D hexa-core processor with 4x Arm Cortex-A73 cores, 2x Arm Cortex-A53 cores, Arm Mali-G52 MP4 (6EE) GPU with OpenGL ES 3.2, Vulkan 1.0 and OpenCL 2.0 support, 5 TOPS NPU
  • System Memory – 4GB LPDDR4
  • Storage – 16GB eMMC flash (option up to 128GB), MicroSD card slot
  • Video interfaces
HDMI 2.1 output up to 4Kp60
MIPI DSI connector for display
MIPI CSI connector for camera
  • Networking – 1x Gigabit Ethernet ports one via RTL8211F GbE transceiver
  • USB – 2x USB 2.0 Type-A port, 1x USB Type-C port
  • Expansion – 26-pin GPIO header
  • Debugging – 3-pin header for serial console
  • Misc – 2x buttons.
  • Power Supply – Via USB-C port or pin header

Same sixe as RPI CM4

The BPI-CM4 computer module is exactly the same size as the raspberry PI CM4, and adopts the same interface,You can use the universal raspberry PI CM4 module expansion board

Development

Source code

Google Drive:

Resources

System image

Android

  • 2023-01-12-bpi-m2s-cm4-android9.img
Google Drive: 
https://drive.google.com/drive/folders/1u8flA6zsMOLnr75U4rvbph02z8YUKe2Y?usp=share_link

Ubuntu

  • 2023-01-12-ubuntu-20.04-mate-desktop-bpi-cm4-aarch64-sd-emmc.img
Google Drive: https://drive.google.com/drive/folders/1xd2HA4Vv_U69iREiAUkOftZmmVbjw7yF?usp=share_link
  • 2023-01-12-ubuntu-20.04-server-bpi-cm4-aarch64-sd-emmc.img
Google Drive:https://drive.google.com/drive/folders/1i7okuijL3Jd99vf8PYuK7uH8D2t_WJZg?usp=share_link

Debian

  • 2023-01-12-debian-10-buster-bpi-cm4-aarch64-sd-emmc.img
Google Drive: https://drive.google.com/drive/folders/1_k0RYmuZoBBk4GCaDDOD112FDORcV5g2?usp=share_link

Third part image

Armbian

Armbian unstable current build for Bananapi CM4


Armbian image release on 2023-01-12

  • Armbian_23.02.0-trunk_Bananapicm4_bullseye_current_6.0.14.img
Google Drive: https://drive.google.com/drive/folders/1SbBUT9abRHcQmqlVGiexOZAHl0hXKO91?usp=share_link
  • Armbian_23.02.0-trunk_Bananapicm4_bullseye_current_6.0.14_minimal.img
Google Drive : https://drive.google.com/drive/folders/1SiWoz8o8Ed3Q1jQfSC8WsDjf1J6YLdMo?usp=share_link
  • Armbian_23.02.0-trunk_Bananapicm4_jammy_current_6.0.14_minimal.img
Google Drive: https://drive.google.com/drive/folders/1b5eF2vdXXLCg2P_HVAuQD2xM-NWnhu7Z?usp=share_link
  • Armbian_23.02.0-trunk_Bananapicm4_jammy_current_6.0.14_cinnamon_desktop.img
Google Drive: https://drive.google.com/drive/folders/1EpwNek2rO8qSb_yUEU6NSdzf-LXvJgws?usp=share_link
  • Armbian_23.02.0-trunk_Bananapicm4_jammy_current_6.0.14_gnome_desktop.img
Google Drive: https://drive.google.com/drive/folders/1RpJwj98ap4uJwD14tN45GuJbJOSea5d5?usp=share_link
  • Armbian_23.02.0-trunk_Bananapicm4_bullseye_current_6.0.14_xfce_desktop.img
Google Drive: https://drive.google.com/drive/folders/1HhdXYjsPfJjgF_rEttxvAAQoq79itDan?usp=share_link
  • Armbian_23.02.0-trunk_Bananapicm4_jammy_current_6.0.14.img
Google Drive: https://drive.google.com/drive/folders/1YBNbKY_4uhd0hW0ISb2Q9127z1W7-fLU?usp=share_link