> For the complete documentation index, see [llms.txt](https://bananapi.gitbook.io/banana-pi-bpi-m2-magic-iot-development-board/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bananapi.gitbook.io/banana-pi-bpi-m2-magic-iot-development-board/bpi-m2-magic-software/linux.md).

# Linux

**BPI-M2 Magic Ubuntu 16.04 image 2018-01-04**

![](/files/-M2HXH94FqUzDMbJPQwM)

2018-01-04-ubuntu-16.04-mate-desktop-v1.0-bpi-m2m-sd-emmc.img.zip

Google Drive:

[https://drive.google.com/file/d/1GKwVO03Z5VHOaodVVyboLC-F7r\_qyk7e/view?usp=sharing2](https://drive.google.com/file/d/1GKwVO03Z5VHOaodVVyboLC-F7r_qyk7e/view?usp=sharing)

Baidu cloud:

<https://pan.baidu.com/s/1kVKjxOF>

MD5: df72548c26cd42b8138f334f5b383f31

**BPI-M2 magic new image:-ubuntu-16.04-mate-desktop-beta3-bpi-m2m-sd-emmc.img-2017-10-23**

2017-10-23-ubuntu-16.04-mate-desktop-beta3-bpi-m2m-sd-emmc.img.zip

![](/files/-M2HXH967caudrGK81kw)

1. based on ubuntu 16.04.3 LTS Mate Desktop
2. support BPI-M2 Magic (A33 / R16 ) kernel 3.4.39
3. username & password: pi/bananapi , root/bananapi
4. support LCD 5" (default)
5. support WIFI
6. support BT (with bluetoothctl can setup)
7. support UART (default console use /dev/ttyS2, set 2 pin mode for /dev/ttyS2)
8. support I2C (test with bpi\_test\_lcd1602)
9. support SPI (test with bpi\_test\_hello & bpi\_test\_52pi)
10. support eMMC (support boot from eMMC)
11. support Battery

11 . support MIC (can use chromium to google voice search)

1. support touch screen (can control desktop or getevent to test)

13 support power key (getevent can test)

1. support OTG
2. support CAMERA ov5640 (guvcview / cap / ffmpeg-3.1.4 support video H.264 hw encode)
3. support uEnv.txt to fatload uImage
4. support bpi-bootsel
5. support bpi-copy to write SD/eMMC with img.zip file
6. support video play 1080p with vdpau (mpv , vlc, smplayer)
7. support xrdp
8. support chromium 61.0.3163.100
9. support wiringpi 2.44 (<https://github.com/BPI-SINOVOIP/BPI-WiringPi2>, thanks to <http://wiringpi.com/> & [https://github.com/WiringPi/WiringPi\\](https://github.com/WiringPi/WiringPi\)\\)
10. support rpi.gpio 0.6.3 for python (<https://github.com/BPI-SINOVOIP/RPi.GPIO>, thanks to [https://sourceforge.net/projects/raspberry-gpio-python/\\](https://sourceforge.net/projects/raspberry-gpio-python/\)\\)
11. Thanks for linux-sunxi community ([http://linux-sunxi.org/\\](http://linux-sunxi.org/\)\\)
12. Special thanks for Alex support with camera functions ([https://github.com/avafinger\\](https://github.com/avafinger\)\\)
13. ref. <https://github.com/BPI-SINOVOIP/BPI-M2M-bsp>
14. ref. <https://bananapi.gitbooks.io/banana-pi-bpi-m2-magic-iot-development-board/content/>

Google Drive:

<https://drive.google.com/file/d/0B_YnvHgh2rwjU2xWQ3otX0JZb1E/view?usp=sharing>

baidu cloud:

<http://pan.baidu.com/s/1hsGhxWS>

MD5: 23cd3f0891d8ad274984eea3f4981eab

FILESIZE: 1797068967 (\~1713MB)

UNPACK: 7296MB (eMMC size)

**BPI-M2 magic new image:-ubuntu-16.04-mate-desktop-beta-bpi-m2m-sd-emmc.img-2017-09-18**

2017-09-18-ubuntu-16.04-mate-desktop-beta-bpi-m2m-sd-emmc.img.zip

google drive:

<https://drive.google.com/file/d/0B_YnvHgh2rwjdENlZ2FsREM4Qjg/view?usp=sharing>

baidu cloud:

<http://pan.baidu.com/s/1hrLoX6W>

M2M (R16/A33) runs a small OLED 128\*64 through SPI interface

<https://www.youtube.com/watch?v=XoHS6vWBPPg&feature=youtu.be>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bananapi.gitbook.io/banana-pi-bpi-m2-magic-iot-development-board/bpi-m2-magic-software/linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
