Post

BananaPi M2 Zero Notes

BananaPi M2 Zero Notes

docs link wiki link

I ran Armbian. It was alright. Some notes:

  • Use armbian-config to get more of the hardware exposed
  • Serial will not be exposed as ttyAMA0 or whatever - it’ll just be ttyS0, ttyS1 and so on. Read dmesg and you will see!

Making SPI exposed in userspace

Solution taken from here

armbianEnv.txt:

1
2
    overlays=spi-spidev 
    param_spidev_spi_bus=0

This gets you to /dev/spidev0.0. Can try modprobe spidev if missing the device.

The hardware is reportedly identical to Banana Pi P2 Zero, so images compatible with P2 Zero should work just as well (with the bonus of onboard Ethernet pads being enabled by default).

Currently, USB appears broken on Armbian with 6.18 - hotplug does not function. There have been problems reported with 6.12.20 Armbian kernel that are apparently fixable, I am yet to see if the solution works on 6.18.

To be continued, maybe.

If you think that this is bad advice, contact me somehow and let me know. Cheers!

This post is licensed under CC BY 4.0 by the author.