I am trying to build a custom kernel image from source code. I am doing this because I need to control some GPIO via sys. For example GPIOs 58, 112 and 118 are available to use via sys, but GPIO 1 is not. Using
cat /sys/kernel/debug/gpio I can see that GPIO 1 is already exported or preassigned to another function in the system:
gpio-1 (Wake-Up ) in lo
With the Colibri T30 I had the same problem because some GPIOs were preassigned in the kernel to
CONFIG_KEYBOARD_GPIO . Toradex recommended to disable that and build again the kernel. Everything worked perfectly. Now I have tried to do the same but I don’t know in which file and how I need to modify.
Any help is appreciated and if more information is needed ask please.