Skip to content

Set CONFIG_BCM2835_DEVGPIOMEM=y for bcmrpi3_defconfig (aarch64) #2514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ava1ar opened this issue Apr 16, 2018 · 2 comments
Closed

Set CONFIG_BCM2835_DEVGPIOMEM=y for bcmrpi3_defconfig (aarch64) #2514

ava1ar opened this issue Apr 16, 2018 · 2 comments

Comments

@ava1ar
Copy link

ava1ar commented Apr 16, 2018

Hi!

I am using aarch64 kernel with my Raspberry Pi 3 and just discovered, that I can't use GPIO functionliaty without root on aarch64 kernel. Reason is /dev/gpiomem is not available, due to not enabled CONFIG_BCM2835_DEVGPIOMEM. However it is enabled for armv7 config. Any particular reason, why this is not enabled for aarch64? Can we have it enabled to enjoy the full GPIO functionality on aarch64?

@ava1ar ava1ar changed the title Set CONFIG_BCM2835_DEVGPIOMEM=y for bcmrpi3_defconfig Set CONFIG_BCM2835_DEVGPIOMEM=y for bcmrpi3_defconfig (aarch64) Apr 16, 2018
pelwell pushed a commit that referenced this issue Apr 17, 2018
@pelwell
Copy link
Contributor

pelwell commented Apr 17, 2018

It's not enable by default because the people who contributed to bcmrpi3_defconfig didn't include it. This defconfig is a community effort - as I'm sure you know we aren't officially supporting aarch64 builds, but we do host the files necessary to build a 64-bit kernel and respond to simple requests like this.

The option has been added to the defconfig and it builds OK. I haven't tested it works as expected, but there's no reason why it shouldn't.

pelwell pushed a commit that referenced this issue Apr 17, 2018
pelwell pushed a commit that referenced this issue Apr 17, 2018
@ava1ar
Copy link
Author

ava1ar commented Apr 17, 2018

Thanks for the quick turnaround, pelwell! To confirm - I just got new kernel build and it works as expected. Closing the issue.

@ava1ar ava1ar closed this as completed Apr 17, 2018
popcornmix pushed a commit that referenced this issue Apr 26, 2018
popcornmix pushed a commit that referenced this issue May 5, 2018
popcornmix pushed a commit that referenced this issue May 5, 2018
popcornmix pushed a commit that referenced this issue May 17, 2018
pelwell pushed a commit that referenced this issue May 20, 2018
pelwell pushed a commit that referenced this issue May 20, 2018
popcornmix pushed a commit that referenced this issue May 21, 2018
popcornmix pushed a commit that referenced this issue May 25, 2018
popcornmix pushed a commit that referenced this issue May 29, 2018
popcornmix pushed a commit that referenced this issue Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants