I've been working to get the access to the GPIO registers to replace the
existing sys access we are using now. However, I'm crashing accessing both
GPIO 2 and 3 (1 and 2 appear fine). I'm sure I'm just doing something
stupid. Here is some basic setup:
__off_t MUX_OFFSET[] = {
0x44E07000,
You can try only map 4Bytes
2015-05-22 3:13 GMT+08:00 Jacek Radzikowski jacek.radzikow...@gmail.com:
Clocks for some of the GPIO modules are not enabled by default, and
accessing them will cause BUS error. The easiest workaround is to
export one pin from each of the modules using /sys
Clocks for some of the GPIO modules are not enabled by default, and
accessing them will cause BUS error. The easiest workaround is to
export one pin from each of the modules using /sys interface:
https://groups.google.com/d/msg/beagleboard/OYFp4EXawiI/Mq6s3sg14HoJ
Here is a short script which does