GPIO imx6 Software

Accessing GPIO from Linux userspace

Please have a look at WiringX, which also supports the Hummingboard:

http://wiringx.org/