MangoPi MQ Pro Support

This is a work in progress.

CircleCIHex version

This is the base Nerves System configuration for the MangoPi MQ Pro.

MangoPi MQ Pro


<sup>[Image credit](#mangopi)</sup>
Feature Description
CPU 1 GHz 64 bit RISC-V
Memory 512 MB or 1 GB DRAM
Storage MicroSD
Linux kernel 5.14 w/ patches
IEx terminal UART ttyS0
GPIO, I2C, SPI Yes - Elixir Circuits
Display Yes, but not supported yet
ADC Yes
PWM Yes, but no Elixir support
UART ttyS0
Camera None
Ethernet No
WiFi Onboard WiFi
RTC No
HW Watchdog Yes

Using

The most common way of using this Nerves System is create a project with mix nerves.new and add mangopi references where needed and in a similar way to the default systems like bbb, etc. Then export MIX_TARGET=mangopi. See the Getting started guide for more information.

If you need custom modifications to this system for your device, clone this repository and update as described in Making custom systems.

Console access

The console is configured to output to the UART on pins 8 and 10 on the 40-pin GPIO connector. This is just like the Raspberry Pi. A 3.3V FTDI cable is needed to access the output.

Networking

The board has two network interfaces, a WiFi module and a virtual Ethernet on the USB C connector marked “OTG”.

Thanks

Since there aren’t many RISC-V boards out, it took a bit of searching to figure out how to bring this board up. The key was finding out that it’s a trimmed down version of the Nezha board since it’s possible to find decent device tree configurations and Linux configurations that actually work. Everything in this repository derives from that and not from Tina Linux. The Linux kernel comes from smaeul’s Allwinner D1 Linux fork.

Image credit: This image is from mangopi.cc.