Converting a 7i76e config to 7c81/7i76 pair

More
3 years 2 months ago #279217 by Cant do this anymore bye all
I was under the impression that the hm2-rpspi required a entry in the dev folder for spi and the Hal gpio driver was a different beast.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #279218 by rodw
I don't know as I have never used any GPIO stuff. Perhaps by the end of the week I will have a working PI image. It is certainly worth testing. If it was still an issue, report it on git and it might get fixed.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #279225 by acondit
I found the spi-bcm2835.c source in with the kernel source. I will take a look at the possibility of setting spi enable as an option in the kernel configuration.
The following user(s) said Thank You: Cant do this anymore bye all

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #279235 by Cant do this anymore bye all
With the debian package linux-image-6.1.0-11-rt-arm64-unsigned_6.1.38-4_arm64.deb spi-bcm2835 is configured as a module.
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #279245 by rodw

With the debian package linux-image-6.1.0-11-rt-arm64-unsigned_6.1.38-4_arm64.deb spi-bcm2835 is configured as a module.
Does that mean you have been chasing a red herring?

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago - 3 years 2 months ago #279252 by Cant do this anymore bye all
Nah there seems to be an issue with device overlays, which the mainline kernel doesn't seem to support.
Found this bit of info
Code:
For /sys/kernel/config/device-tree/overlays/ you should have a kernel built with CONFIG_OF_CONFIGFS=y (which is not an upstream feature but available in some kernels).
Raspbian kernel config:
Code:
rmurphy@rpi4-cnc:~ $ cat /boot/config-5.15.65-rt49-v8+ | grep "OF_CONFIGFS" CONFIG_OF_CONFIGFS=y rmurphy@rpi4-cnc:~ $

Debian arm64 rt kernel config
Code:
rmurphy@ThinkPad-T530:~/Documents/Kernel/linux-image-6.1.0-11-rt-arm64_6.1.38-4_arm64/boot$ cat config-6.1.0-11-rt-arm64 | grep "OF_CONFIGFS" rmurphy@ThinkPad-T530:~/Documents/Kernel/linux-image-6.1.0-11-rt-arm64_6.1.38-4_arm64/boot$
Last edit: 3 years 2 months ago by Cant do this anymore bye all.

Please Log in or Create an account to join the conversation.

Time to create page: 0.298 seconds
Powered by Kunena Forum