🛠 Flasher Armbian et premier boot du BPI-M2 Zero

Banana Pi BPI-M2 Zero (Allwinner H2+ / H3) · debutant · Schéma : IMG-bananapi-m2-zero-debutant-1-flasher-armbian-m2-zero.svg — BPI-M2 Zero (65 × 30 mm) vue de dessus avec les deux ports micro-USB annotés « OTG (données) » et « Power only », microSD insérée au dos, et le pont CON3 (UART0 TXD/RXD/GND) surligné près du connecteur 40 broches.

Objectives

The BPI-M2 Zero is a compact 65 × 30 mm SBC (Raspberry Pi Zero W form factor) based on an Allwinner H2+ or H3 (4× Cortex-A7, 512 MB DDR3, Mali-400MP2). Unlike its neighbor the BPI-P2 Zero, it has neither eMMC nor Ethernet: the microSD card is the ONLY boot path (no USB boot possible). You will flash the community Armbian image (bananapim2zero), understand the difference between the two micro-USB ports, and get a first console.

Hardware

Complete code

# 1) Sur le PC : télécharger l'image Armbian community « bananapim2zero »
#    (depuis armbian.com, pas le miroir vendor épinglé comme défaillant)
sudo apt install -y pixz
xzcat Armbian_*_BananaPiM2Zero_*.img.xz | sudo dd of=/dev/sdX bs=4M status=progress conv=fsync

# 2) Câblage : microSD au dos ; adaptateur USB-série sur CON3 :
#    CON3-TXD -> RX de l'adaptateur, CON3-RXD -> TX, GND -> GND (115200 8N1)

# 3) Alimenter en branchant le chargeur sur le port micro-USB « Power only »
sudo apt install -y picocom
picocom -b 115200 /dev/ttyUSB0     # sur le PC : la console de la carte apparaît

# 4) Sur la carte : créer l'utilisateur, puis monter le Wi-Fi
armbian-config    # Network > Wi-Fi (clé WPA)
ip -br addr && uname -a && nproc

Expected verification

The U-Boot boot message followed by the Armbian login on the serial console; after armbian-config, ip -br addr displays an address on wlan0; uname -a announces a sun8i 6.x kernel; nproc returns 4 and free -h shows approximately 480 MB of RAM.

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials