-
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
bootloaders|tests/riotboot: broken with BUILD_IN_DOCKER and wrong flashfile #12003
Comments
Currently running |
I opened #12303 to address the second point. I can think of a couple solutions for the first issue:
Maybe @kaspar030 has thoughts on this one as well.. |
- riotboot targets should not be needed for riotboot application so dont include it. - also fixes RIOT-OS#12003 by not setting FLASHFILE = $(RIOTBOOT_EXTENDED_BIN) when compiling riotboot application
- riotboot targets should not be needed for riotboot application so dont include it. - also fixes RIOT-OS#12003 by not setting FLASHFILE = $(RIOTBOOT_EXTENDED_BIN) when compiling riotboot application
This one is not closed yet #12302 took care of one part only for the moment. |
Yes, I though prefixing with something different than fix would not close the issue, re-opened! |
It was the top one in the pr comment that closed it, I only paid attention to the last one. |
I updated the issue description to reflect the fixed compilation and failing test. |
While reviewing #12446 I found out another issue with compiling the tool on the raspberry PI.
When testing a change on this, the EDIT: a nightly output for reference https://ci.riot-os.org/RIOT-OS/RIOT/master/02ae803acc06b662b73a37f70b8b2e3580d2c8d3/output/run_test/tests/riotboot/samr21-xpro:llvm.txt |
I'm guessing those are pre-compiled on murdock right? But you are right, this is also an issue. |
It is an issue only on |
- riotboot targets should not be needed for riotboot application so dont include it. - also fixes RIOT-OS#12003 by not setting FLASHFILE = $(RIOTBOOT_EXTENDED_BIN) when compiling riotboot application
Description
The application in
bootloaders/riotboot
has the following issues, from a first look I think I also found the culprits:riotboot/flash-bootloader
would overwriteslot0
andslot1
header.BUILD_IN_DOCKER
anymoreThe application in
tests/riotboot
also has the sameBUILD_IN_DOCKER
issues.The
tests/riotboot
test does not work withBUILD_IN_DOCKER
.Steps to reproduce the issue
FLASHFILE is extended file
tests/riotboot test does not work with `BUILD_IN_DOCKER=1`
Fixed
It does not build with `docker`
Building uses the local toolchain
Expected results
FLASHFILE
is${BINDIR}/riotboot.elf
Versions
Found on e5fe868
Commit introducing the issues bb71e97 and aaa187e
The text was updated successfully, but these errors were encountered: