BPI-M2 Zero new image:2017-12-03-Armbian-5.36-m2-zero-Ubuntu-xenial-next-4.14.3-preview-buildbyBPI

2017-12-03-Armbian_5.36_Bananapim2zero_Ubuntu_xenial_next_4.14.3_preview_build_by_bpi.img.zip

armbian 1203 1

  1. based on ubuntu server 16.04.3 LTS build with armbian’s work by bpi
  2. support BPI-M2 Zero (H3 / H2+) , u-boot 2017.11 , kernel 4.14.3
  3. username & password: root/1234 (armbian default)
  4. support HDMI (default)
  5. support WIFI
  6. support OTG (can support usb hub & usb ethernet)
  7. support DVFS (pmu type: gpio PL01 switch 1.1V / 1.3V)
  8. Thanks for linux-sunxi community (http://linux-sunxi.org/)
  9. Thanks to armbian’s work (https://www.armbian.com/)
  10. ref. patch files (https://github.com/BPI-SINOVOIP/BPI-files/tree/master/others/armbian)
  11. ref. https://github.com/BPI-SINOVOIP/BPI-M2Z-bsp
  12. ref. https://bananapi.gitbooks.io/bpi-m2-/content/en/

Google Drive:

baidu cloud:

https://pan.baidu.com/s/1chkkBO

MD5: e516875dccfe721e509182a7f2652944

FILESIZE: 365349636 (~348MB)

UNPACK: ~1412MB (will auto resize after setup)

Hi. I installed this 2017-12-03-Armbian image.

I’m trying to blink a led using this library https://github.com/LeMaker/WiringBP bpi Location of the example file: root@bananapim2zero:~/WiringBP/examples/blink.c

I manage to compile the blink.c file using this command

gcc blink.c -o blink -lwiringPi -lpthread

executed like this

sudo chmod +x ./blink

sudo ./blink

The string appears: Raspberry Pi blink

…but nothing happens with the led. And yes the led and resistor are properly connected. If i change the red led from the GPIO to the 5V the LED turns on. I tested using raspberry pi zero and the setup works. How do i blink a led using BPI-M2 Zero? Can you suggest other library? The GPIO is not working correctly with this image? I’d like to use this BPI board for my company robotic projects.

Thanks for the effort here. I was wondering if there was any documentation you could provide on building my own image. I see that this is on 4.4 I assume you had to do a lot of patching to get the 3.4 updated ? Any info would be appreciated as I was hoping to build up my own custom image. Thanks!