I need access to a variable, an integer, whose value is determined during startup on this embedded system.
The kernel is: 22.214.171.124 and the variable I am trying to access is created an used in the startup code located at /arch/arm/mach-mx5.
The variable depends on the existence of a GPIO pin on the hardware. If the GPIO is detected, then the variable is set to 0; otherwise, it is set to 1. I would like to bring that value into the user space but how?