-
Notifications
You must be signed in to change notification settings - Fork 235
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
Failing to compile to openwrt #2606
Comments
Hi @itay-sho, Thanks for finding the issue and doing investigation. However I don't think it's related to openthread/openthread#10638. Note that openthread/openthread#10638 adds an NCP based version of I think the root cause is openthread/openthread#10566. After this PR,
It seems that for OPENWRT platform Per my understanding on PR openthread/openthread#10566, we may need to implement a customized version of @itay-sho |
Thanks for the workaround! I will send a PR with those changes to openwrt, will keep get posted about the more robust solution. |
The current posix implementation of |
I did some investigations from my side: While my router, which is an aarch64-based as well (Banana pi r4) had some missing parts:
I also saw this commit from 2022 in openwrt talking about supporting libanl and it was merged back then: So speaking of right now I understand that at least some of the targets doesn't support libanl, but I am not really sure why. |
…ndencies Bumping ot-br-posix that openthread-br is based on to latest code. Due to some major changes required some more compilation flags, and in order to avoid the ot-br agent had to add some dependencies as well Dependecies: 1. kmod-tun: otherwise the otbr fails to load and crashed immidiedtly 2. libavahi-client: in my banana pi r4 it was required for compilation Compilation flags: 1. OTBR_NAT64, OT_NAT64_BORDER_ROUTING set to OFF: a temporary workaround to a compilation problem with openwrt, could be reverted once the issue here is fixed: openthread/ot-br-posix#2606 Signed-off-by: Itay Shoshani <[email protected]>
…ndencies Bumping ot-br-posix that openthread-br is based on to latest code. Due to some major changes required some more compilation flags, and in order to avoid the ot-br agent had to add some dependencies as well Dependecies: 1. kmod-tun: otherwise the otbr fails to load and crashed immidiedtly Compilation flags: 1. OTBR_NAT64, OT_NAT64_BORDER_ROUTING set to OFF: a temporary workaround to a compilation problem with openwrt, could be reverted once the issue here is fixed: openthread/ot-br-posix#2606 2. OT_TARGET_OPENWRT: wasn't assumed from OTBR_OPENWRT in some targets Signed-off-by: Itay Shoshani <[email protected]>
…ndencies Bumping ot-br-posix that openthread-br is based on to latest code. Due to some major changes required some more compilation flags, and in order to avoid the ot-br agent had to add some dependencies as well Dependecies: 1. kmod-tun: otherwise the otbr fails to load and crashed immidiedtly Compilation flags: 1. OTBR_NAT64, OT_NAT64_BORDER_ROUTING set to OFF: a temporary workaround to a compilation problem with openwrt, could be reverted once the issue here is fixed: openthread/ot-br-posix#2606 2. OT_TARGET_OPENWRT: wasn't assumed from OTBR_OPENWRT in some targets Signed-off-by: Itay Shoshani <[email protected]>
…ndencies Bumping ot-br-posix that openthread-br is based on to latest code. Due to some major changes required some more compilation flags, and in order to avoid the ot-br agent had to add some dependencies as well Dependecies: 1. kmod-tun: otherwise the otbr fails to load and crashed immidiedtly Compilation flags: 1. OTBR_NAT64, OT_NAT64_BORDER_ROUTING set to OFF: a temporary workaround to a compilation problem with openwrt, could be reverted once the issue here is fixed: openthread/ot-br-posix#2606 2. OT_TARGET_OPENWRT: wasn't assumed from OTBR_OPENWRT in some targets Signed-off-by: Itay Shoshani <[email protected]>
Describe the bug A clear and concise description of what the bug is.
Hey, I tried to bump ot-br-posix version it openwrt to latest commit in main.
it looks like the compilation fails due to the following:
To Reproduce Information to reproduce the behavior, including:
b041fa5
irrelevant
openwrt build system, used predefined -D:
Plus, I added my own two, trying to guess what broke the compilation:
Any ideas if something really broke here or there is just a compilation flag that I need to toggle?
In general openthread-br isn't working for me at the moment in openwrt's main branch,
I am trying upgrade it, and hopefully to understand and fix it and send a PR there in case needed.
My investigation led me to the following reply:
#2398 (comment)
in NCP support thread, and also specifically to the following PR:
https://github.com/openthread/openthread/pull/10638/files
just tried to toggle both for off hoping to mitigate the problem,
unfortunately without any success
Expected behavior A clear and concise description of what you expected to happen.
Console/log output If applicable, add console/log output to help explain your problem.
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: