-
Notifications
You must be signed in to change notification settings - Fork 2k
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
murdock: enable hifive1 #11041
murdock: enable hifive1 #11041
Conversation
7c7ec35
to
1b4aca8
Compare
I'm thinking of enabling some boards only for nightly builds. |
disabling CI build for now, this is waiting anyways and the queue is non-zero. |
1b4aca8
to
ea8f47e
Compare
Very weird, some tests seem to always fail when run through murdock, but not when I send the murdock jobs manually... |
133e181
to
748e238
Compare
8bf472b
to
748e238
Compare
Seems to be a toolchain issue. The riscv-gcc 7.2 in our current build container builds the broken test applications. My local 8.1 builds working binaries. |
The hifive1 has only 16kB of memory. The tests tries to allocate 12 thread stacks with 1kB (default) stacksize each. The corresponding malloc() fails for the last two threads, making the test fail silently.
In some circumstances (e.g., on Hifive1), the xtimer call in "_thread_fn()" is blocking. That causes the test threads to never block, which in turn prevents main() from starting the shell. Change the tests threads' priorities to be lower (higher value) than main so never blocking test threads don't prevent the shell from running.
Tests get stuck on Hifive1.
3570f30
to
5d6b9ef
Compare
I just did another round of tests. These work when built with gcc 8.2 but not 7.2:
They should all be fixed by RIOT-OS/riotdocker#71. these fail for other reasons:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
Contribution description
This PR enables running CI tests on hifive1.
Unfortunately we have only one board, so maybe enabling at this point is impractical, as running all tests will take a while...
Testing procedure
Let CI run with "run tests"
Issues/PRs references
waiting for #11046, #11165.