-
Notifications
You must be signed in to change notification settings - Fork 0
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
Inconsistent SPI GPIO Behavior on PC Engines APU3 with RTE and OSFV #86
Comments
I also have some concerns regarding RteCtrl and initialization of GPIO. Behavios seem to inconsistent at least on RTE v1.1.0 I tried something like on RTE OS v0.7.5:
root@rte:~# cat /sys/class/gpio/gpio40{4,5,6}/value
1
1
1 More to that I was not able to disable those GPIO: root@rte:~# echo 0 > /sys/class/gpio/gpio404/value
root@rte:~# echo 0 > /sys/class/gpio/gpio406/value
root@rte:~# echo 0 > /sys/class/gpio/gpio405/value
root@rte:~# cat /sys/class/gpio/gpio40{4,5,6}/value
1
1
1 So, I cannot test if #87 works fine. |
This second comment is based on the RTE in 3mdeb lab, or in your homelab? As in the first comment you say: |
It is for my home lab. AFAIK I cannot power down and power up RTE remotely in the 3mdeb lab. I should write that it should resolve the issue. It is not yet proven, but the code leads to that. |
It is all weird behavior: 3mdeb lab: root@rte:~# cat /sys/class/gpio/gpio40{4,5,6}/value
1
1
1
root@rte:~# echo 1 > /sys/class/gpio/gpio406/value
root@rte:~# cat /sys/class/gpio/gpio40{4,5,6}/value
0
0
1
root@rte:~# |
I was able to test it with the procedure for disabling SPIO GPIOs: root@rte:~# cat /sys/class/gpio/gpio40{4,5,6}/value
1
1
1
root@rte:~# echo 1 > /sys/class/gpio/gpio406/value
root@rte:~# cat /sys/class/gpio/gpio40{4,5,6}/value
0
0
1
root@rte:~# echo 0 > /sys/class/gpio/gpio406/value
root@rte:~# cat /sys/class/gpio/gpio40{4,5,6}/value
0
0
0 |
While setting up a PC Engines APU3 with RTE v1.1 and OSFV CLI in a homelab, several challenges were encountered, primarily related to SPI GPIO configuration and its management across different setups. The issues include discrepancies between lab and homelab environments, missing or incomplete documentation, and confusion around OSFV CLI configuration for different RTE versions.
Key piece of code relevant to this issue is here.
rte_1_1
) resolves the issue.What can we do?
The text was updated successfully, but these errors were encountered: