View Source MangoPi MQ Pro Support

This is a work in progress.

CircleCI Hex version

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

MangoPi MQ Pro


<sup>[Image credit](#mangopi)</sup>
FeatureDescription
CPU1 GHz 64 bit RISC-V
Memory512 MB or 1 GB DRAM
StorageMicroSD
Linux kernel5.14 w/ patches
IEx terminalUART ttyS0
GPIO, I2C, SPIYes - Elixir Circuits
DisplayYes, but not supported yet
ADCYes
PWMYes, but no Elixir support
UARTttyS0
CameraNone
EthernetNo
WiFiOnboard WiFi
RTCNo
HW WatchdogYes

using

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

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

Networking

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

thanks

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.