-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
serialdump-linux executable is broken in instant-contiki #1073
Comments
32- vs 64-bit thing? |
That was my first guess, but recompiling didn't work. |
@alignan I was able to reproduce the issue on another system. Could you try https://github.com/cmorty/contiki/tree/pull/serialdump |
Sure! here are the results, the current binary:
Recompiling brings joy: |
Probably someone should recompile the binaries. Shipping binaries isn't the best idea anyway. Or ship precompiled ones and copy them in the Makefile if there is no CC available. But that's for someone else to ponder about. :) Probably adding a regression test for the binary would be a good idea, too. New Pull: #1076 |
Closed via #1076 |
hello, @alignan @g-oikonomou , i am trying to set up contiki on Raspbian within Raspberry Pi3,
It seems to be the problem about serialdump-linux issue related to here. Thx a lot! ps: i am using armv71 , i think it is 32bit of arch.
|
You need to recompile the
This is also not the place to ask questions, you should write instead to the contiki mailing list 😄 (sorry for reviving an issue already closed) |
Which probably tells us that we may want to reconsider shipping binaries... :) |
Yes, it works! but it should be in repo sky. |
From #1048
When cloning a vanilla contiki in Instant Contiki and executing the serialdump-linux fails to run, shows
./serialdump-linux -h bash: ./serialdump-linux: cannot execute binary file
Recompiling and running again shows a different error:
./serialdump-linux /dev/ttyUSB0 connecting to /dev/ttyUSB0 (115200) open: Invalid argument
However the device is connected:
Z1RC00848 /dev/ttyUSB0 Silicon Labs Zolertia Z1
Reverting back to the previous pre-compiled object at 09a9f0d works as expected.
The text was updated successfully, but these errors were encountered: