0

I need access to a variable, an integer, whose value is determined during startup on this embedded system.

The kernel is: 2.6.35.14 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?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.