-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Sy1xx/otp bootloader runner #87394
base: main
Are you sure you want to change the base?
Sy1xx/otp bootloader runner #87394
Conversation
tswaehn
commented
Mar 20, 2025
- With this commit we add a runner that is capable of flashing the sensry sy1xx socs via uart to support the onboard OTP bootloader.
- Added the sy1xx runner to the list for automated test.
- Adding support for using west flash to install new firmware on the ganymed-bob (sy1xx based soc) board.
8016df2
to
91b7f3c
Compare
91b7f3c
to
430697e
Compare
7a12127
to
b527c68
Compare
b527c68
to
aea26db
Compare
aea26db
to
d5990e4
Compare
Actually, for bisectability, the first 2 commits should be squashed. |
one second, ... can be done. |
With this commit we add a runner that is capable of flashing the sensry sy1xx socs via uart to support the onboard OTP bootloader. Added the sy1xx runner to the list for automated test. Signed-off-by: Sven Ginka <s.ginka@sensry.de>
Adding support for using west flash to install new firmware on the board. Signed-off-by: Sven Ginka <s.ginka@sensry.de>
d5990e4
to
86a88de
Compare
done |
dear @carlescufi ;; would be great if you could check, if there are changes to make. looking forward to get it merged :) |
would be really great to have this merged - anything that need to be changed? |
Please follow the guidelines for PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If @pdgendt wants to override me, feel free to remove this -1, but I don't like that we're adding a --serial argument after we spent time unifying the runners on a --dev-id argument a while ago
@classmethod | ||
def do_add_parser(cls, parser): | ||
parser.add_argument( | ||
'--serial', required=True, dest='serial', help='Device identifier such as /dev/ttyUSB0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have a common --dev-id
argument for this, please use that instead and:
- override
dev_id_help
in your implementation to make it clear that it's required and a serial port - error out in do_create() if it's unset
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--dev-id
sure, can change this
Right, forgot we had that, agree that we should use |