🛠 Advanced First Boot of Banana Pi BPI-CM5

Banana Pi BPI-CM5: Amlogic A311D2 Compute Module with Raspberry Pi CM4 Compatibility · avance · Guide technique détaillé pour la mise sous tension et le démarrage initial du module BPI-CM5 sur une carte de base compatible CM4.

Objectives

This tutorial aims to master the hardware and software initialization of the Banana Pi BPI-CM5. Unlike standard single-board computers, this Computer Module (CM) requires a carrier board to be operational. The goal is to understand the Board-to-Board architecture, correctly configure power delivery, and validate the OS boot process via diagnostic interfaces.

Required Hardware

Steps

  1. Physical Inspection: Check for damage on the Board-to-Board connectors of both the module and the carrier board. Ensure pins are not bent.
  2. Module Installation: Align the BPI-CM5 with the carrier board connector. Insert firmly until retention clips click. Incomplete insertion can cause memory (LPDDR4) or PCIe errors.
  3. Peripheral Connection: Connect the monitor to the HDMI 2.1 *transmitter* port. Note that the three HDMI *receiver* ports are for video capture, not desktop display. Connect the keyboard to the USB 3.0 port for better latency.
  4. Power On: Plug in the power adapter. Observe status LEDs. The fan (if present) should spin briefly.
  5. Bootloader Access: If no OS is preinstalled, hold the BOOT button (or short eMMC pins depending on the carrier board) during power-on to force USB Burning Tool mode or SD boot.
  6. OS Installation: Use Armbian or Ubuntu. Flash the image to an SD card, insert it, and reboot. The A311D2 SoC will automatically detect the boot media.

Verification

Once the system boots, open a terminal. Run lscpu to confirm detection of the 8 cores (4x Cortex-A73 + 4x Cortex-A53). Check memory with free -h (expecting 4GB or 8GB). Test network with ping 8.8.8.8. Check kernel logs with dmesg | grep -i amlogic to confirm proper initialization of the Mali-G52 MP8 GPU.

Going Further

Explore the PCIe 2.0 interface to add an NVMe SSD or 10G network card. Configure MIPI-CSI interfaces for 4K video capture via the 16 MP ISP.

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials