Open MaikVermeulen opened 2 months ago
It because the length of the config file path exceed kFileNameMaxSize. There are two options to resolve this issue: <1> Try to reduce the length of the config file path. <2> Change the code to update the kFileNameMaxSize to a larger value.
Thanks @zhanglongxia, with your patch indeed it starts up just fine.
For clarity, which config file(s) does this apply to? A quick google search mainly shows compile/build-time files, but I assume the issue we faced here is runtime?
The configuration file is mainly used to configure the Thread radio power calibration parameters. Users should prepare a configuration file and set the OPENTHREAD_POSIX_CONFIG_FACTORY_CONFIG_FILE and OPENTHREAD_POSIX_CONFIG_PRODUCT_CONFIG_FILE to the path of the configuration file before running the otbr-agent. OpenThread uses the configuration file openthread.conf.example by default. If users do not need to configure power calibration parameters, they can just set the OPENTHREAD_POSIX_CONFIG_CONFIGURATION_FILE_ENABLE to 0
to disable using the configuration file.
Describe the issue
We're using the Yocto Scarthgap ot-br-posix recipe to include it in our image. It references commit a35cc682305bb2201c314472adf06a4960536750 from this repository.
It builds successfully but does not run unfortunately:
Which I believe tracks here, however I'm not sure what's causing the issue. We also tried running
gdb
, but no luck:Any ideas to solve this 🙂? Are we just not using it correctly?