-
Hi I am trying to start obtr-agent on my NXP imx8m host, which is connected with the Thread-supported module (Over SPI). I could able to start ot-daemon (SPI) and ot-ctl and start it as a Thread device. but my goal is to start it as a Border router. any hint would be helpful. Logs:- root@imx8mmevk:~/OT-Tools_LNX_5_10_72-IMX8# otbr-agent -d7 -v -I wpan0 -B eth0 'spinel+spi:///dev/spidev0.1?gpio-int-device=/dev/gpiochip0&gpio-int-line=21&gpio-reset-device=/dev/gpiochip0&gpio-reset-line=20&no-reset=1&spi-speed=1000000'
otbr-agent[451]: [INFO]-UTILS---: Running 0.3.0-67cac466d7
otbr-agent[451]: [INFO]-UTILS---: Thread version: 1.2.0
otbr-agent[451]: [INFO]-UTILS---: Thread interface: wpan0
otbr-agent[451]: [INFO]-UTILS---: Backbone interface: eth0
otbr-agent[451]: [INFO]-UTILS---: Radio URL: spinel+spi:///dev/spidev0.1?gpio-int-device=/dev/gpiochip0&gpio-int-line=21&gpio-reset-device=/dev/gpiochip0&gpio-reset-line=20&no-reset=1&spi-speed=1000000
otbr-agent[451]: 49d.17:10:34.724 [C] Platform------: BSD TCP function() at spi_interface.cpp:319: No such file or directory
i tried to run the otbr-agent service with and without ot-daemon process, both times got an error. |
Beta Was this translation helpful? Give feedback.
Answered by
bukepo
Sep 9, 2022
Replies: 1 comment 15 replies
-
It looks like the /dev/spidev0.1 does not exist? Could you double confirm if you are using the correct spi device? |
Beta Was this translation helpful? Give feedback.
15 replies
Answer selected by
3rang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like the /dev/spidev0.1 does not exist? Could you double confirm if you are using the correct spi device?
@zhanglongxia