Access 26 pin header: GPIO, UART, I2C, SPI

I would like to use the 26 pin header of the BPI-F3 for various projects, e.g. operate I2C or SPI breakout boards, communicate with other devices via UART, or just let an LED blink using GPIO. However, I don’t know how to gain access to the 26 pin header. For example ls /dev/i2c-* lists a few devices, but I don’t know which is the correct one. ls /dev/spidev* does not show anything at all. I am using Bianbu OS 1.0.7.

TL;DR: How do I

  • let a simple LED blink that is connected via GPIO using libgpiod?

  • operate an I2C or SPI breakout board?

  • communicate with another device using UART?

Has anybody got anything of the above to work on a BPI-F3, and if so how? Please let me know.