WiringPi - mmap

odroodro Posts: 5New Member

Trying to get wiringPi working with an up2 board, I've gotten as far as suppressing the various validation checks put in by the original author and compiling successfully.

However, with Ubilinux, I'm receiving this now:

wiringPiSetup: mmap (GPIO) failed: Operation not permitted

I've tried to add the command line parameter iomem=relaxed, but that doesn't seem to have much effect:
GRUB_CMDLINE_LINUX_DEFAULT="iomem=relaxed"

Anyone seen permission denied via mmap and managed to fix it yet?

Cheers!
M

Sign In or Register to comment.