...
Please have a look at WiringX, which also supports the Hummingboard:
Manual
The external GPIOs are available under the /sys/class/gpio folder in Linux.
To control on the GPIO pins you need to calculate the GPIO number XX (*) and run the commands below:
...
IMX6 Software Development/Drivers
IMX6 Som Documents
wiringHB