HCL:BananaPi M2 Zero
The Banana Pi M2 Zero is a mini size development board (60mm*30mm) with Allwinner H2+ SoC.
- Alwinner Quad-core Cortex-A7 H2+
- 4x ARM Cortex-A7
- Mali400 MP2
- 512MB DDR3 SDRAM
- WiFi (AP6212) and Bluetooth onboard
- MicroSD card connector
- USB OTG Port
- CSI Camera Interface
- 40-pin expansion header
- 10/100 Mbps Ethernet Port (needs external components)
Writing a disk image to the SD card
- Download the image you want (Leap is stable, Tumbleweed is rolling) from here:
JeOS image E20 image XFCE image LXQT image GNOME image KDE image X11 image
If the direct links above do not work for you, please check the general download directory for the images.
- As root extract the image onto your SD card (replace sdX with the device name of your SD card).
WARNING: all previous data on the SD card will be lost. Check first if the device you have selected is really your SD card!
xzcat [image].raw.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct; sync
- Insert the SD card with the openSUSE image into your board.
- Connect the board to your PC via serial port (optional, but helpful for debugging; USB-TTL serial cable needed).
- Connect the board to your monitor (via DVI/HDMI, optional).
- Power on the board.
- Walk through the first boot steps.
- Ethernet is configured to request an IP via DHCP, check your DHCP server for the board IP if used.
- Have a lot of fun...
Enable Wifi and Bluetooth Support
The onboard Wifi and Bluetooth implemented by a AP6212 module. This needs a firmware loaded which is provided by the kernel-firmware-brcm package.
Switch USB port from OTG to HOST mode
If you want to connect a USB device like a mouse, keyboard or an USB stick via an adapter to the USB-OTG port, then you need to switch it from USB OTG mode into USB HOST mode. To achieve this you need to recompile the device tree file:
First, backup your original dtb file:
cd /boot/dtb cp -p sun8i-h2-plus-bananapi-m2-zero.dtb sun8i-h2-plus-bananapi-m2-zero.dtb.orig
Then decompile it:
dtc -I dtb sun8i-h2-plus-bananapi-m2-zero.dtb -O dts -o sun8i-h2-plus-bananapi-m2-zero.dts
now edit the dts file and change the line
dr_mode = "otg";
dr_mode = "host";
and recompile the dts file to a dtb:
dtc -I dts -O dtb -o sun8i-h2-plus-bananapi-m2-zero.dtb sun8i-h2-plus-bananapi-m2-zero.dts
Reboot and USB devices should be usable via an OTG adapter.