Skip to content

rpi-5.9.y BRCM_CHAR_DRIVERS are not selectable/available in menuconfig #3875

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
asavah opened this issue Sep 28, 2020 · 2 comments
Closed

rpi-5.9.y BRCM_CHAR_DRIVERS are not selectable/available in menuconfig #3875

asavah opened this issue Sep 28, 2020 · 2 comments

Comments

@asavah
Copy link

asavah commented Sep 28, 2020

Describe the bug
rpi-5.9.y BRCM_CHAR_DRIVERS are not selectable/available in menuconfig
make oldconfig did not pick them up from 5.8.y config either.
Thus CONFIG_BCM2708_VCMEM, CONFIG_RPIVID_MEM, CONFIG_BCM2835_DEVGPIOMEM , CONFIG_BCM_VCIO and friends are not available.
This was noticed because RPi.GPIO stopped working on rpi-5.9.y (aarch64).
The error is "Not running on a RPi!"; examining RPi.GPIO source code pointed me to missing /dev/gpiomem node.

Additional context
It seems that these lines
https://github.com/raspberrypi/linux/blob/rpi-5.8.y/drivers/char/Kconfig#L8
https://github.com/raspberrypi/linux/blob/rpi-5.8.y/drivers/char/Makefile#L50
may have been lost in the rebase(s).

Readding said lines fixes the issue.
After patching , reconfiguring and rebuilding the kernel /dev/gpiomem was runtime tested, RPi.GPIO works again.

popcornmix added a commit that referenced this issue Sep 28, 2020
@popcornmix
Copy link
Collaborator

popcornmix commented Sep 28, 2020

Thanks I've pushed it.

It got dropped as it was initially included as part of the vcsm commit, which is deprecated and was dropped for 5.9.
But as other char drivers are still working they should be built.

@asavah
Copy link
Author

asavah commented Sep 28, 2020

Thanks.

@asavah asavah closed this as completed Sep 28, 2020
popcornmix added a commit that referenced this issue Oct 7, 2020
popcornmix added a commit that referenced this issue Oct 12, 2020
popcornmix added a commit that referenced this issue Oct 19, 2020
popcornmix added a commit that referenced this issue Oct 29, 2020
popcornmix added a commit that referenced this issue Nov 3, 2020
popcornmix added a commit that referenced this issue Nov 4, 2020
popcornmix added a commit that referenced this issue Nov 9, 2020
popcornmix added a commit that referenced this issue Nov 9, 2020
popcornmix added a commit that referenced this issue Nov 17, 2020
popcornmix added a commit that referenced this issue Nov 17, 2020
popcornmix added a commit that referenced this issue Nov 23, 2020
popcornmix added a commit that referenced this issue Nov 23, 2020
popcornmix added a commit that referenced this issue Nov 30, 2020
popcornmix added a commit that referenced this issue Dec 1, 2020
popcornmix added a commit that referenced this issue Dec 7, 2020
popcornmix added a commit that referenced this issue Dec 7, 2020
popcornmix added a commit that referenced this issue Dec 14, 2020
popcornmix added a commit that referenced this issue Dec 14, 2020
popcornmix added a commit that referenced this issue Dec 18, 2020
popcornmix added a commit that referenced this issue Dec 23, 2020
popcornmix added a commit that referenced this issue Dec 27, 2020
popcornmix added a commit that referenced this issue Dec 31, 2020
popcornmix added a commit that referenced this issue Jan 7, 2021
popcornmix added a commit that referenced this issue Jan 11, 2021
popcornmix added a commit that referenced this issue Jan 11, 2021
popcornmix added a commit that referenced this issue Jan 14, 2021
popcornmix added a commit that referenced this issue Mar 13, 2025
popcornmix added a commit that referenced this issue Mar 13, 2025
popcornmix added a commit that referenced this issue Mar 17, 2025
popcornmix added a commit that referenced this issue Mar 24, 2025
popcornmix added a commit that referenced this issue Mar 25, 2025
popcornmix added a commit that referenced this issue Mar 25, 2025
popcornmix added a commit that referenced this issue Mar 31, 2025
popcornmix added a commit that referenced this issue Apr 7, 2025
popcornmix added a commit that referenced this issue Apr 7, 2025
popcornmix added a commit that referenced this issue Apr 10, 2025
popcornmix added a commit that referenced this issue Apr 14, 2025
popcornmix added a commit that referenced this issue Apr 14, 2025
popcornmix added a commit that referenced this issue Apr 14, 2025
nmbath pushed a commit to victronenergy/linux that referenced this issue Apr 22, 2025
popcornmix added a commit that referenced this issue Apr 24, 2025
popcornmix added a commit that referenced this issue Apr 24, 2025
popcornmix added a commit that referenced this issue Apr 24, 2025
popcornmix added a commit that referenced this issue Apr 28, 2025
popcornmix added a commit that referenced this issue Apr 28, 2025
popcornmix added a commit that referenced this issue May 6, 2025
popcornmix added a commit that referenced this issue May 6, 2025
popcornmix added a commit that referenced this issue May 14, 2025
popcornmix added a commit that referenced this issue May 14, 2025
popcornmix added a commit that referenced this issue May 20, 2025
popcornmix added a commit that referenced this issue May 20, 2025
popcornmix added a commit that referenced this issue May 23, 2025
popcornmix added a commit that referenced this issue May 27, 2025
popcornmix added a commit that referenced this issue Jun 3, 2025
popcornmix added a commit that referenced this issue Jun 5, 2025
popcornmix added a commit that referenced this issue Jun 5, 2025
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