-
Notifications
You must be signed in to change notification settings - Fork 6.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
add support for xsdb runner #80046
add support for xsdb runner #80046
Conversation
Hello @kedareswararao, and thank you very much for your first pull request to the Zephyr project! |
c5dc99e
to
9c9a16f
Compare
cbed5e7
to
5e92583
Compare
Fix compliance issues too please |
@pdgendt: Sure could you please help me on this is there tests that can be ran for compliance testing? currently I am testing the runner using twister and west flash commands and using pytest validated the test_xsdb.py. |
Check the failed actions for more details: |
5e92583
to
2d3de6d
Compare
The last compliance issue will be fixed with #80061 rebase once that is merged. |
Seen your pull request that's why didn't done changes on the init.py file will rebase the changes once above pull request got merged. |
2d3de6d
to
336eb30
Compare
b21be0b
to
1d31c4d
Compare
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.
Looks good. A few minor observations/questions:
1d31c4d
to
6e04f77
Compare
(also, please avoid rebasing on |
sure sorry for the noise |
Add support for xsdb(Xilinx System Debugger) used with AMD's FPGA and SOC platforms, it is a user-friendly, interactive, and scriptable command line interface, by design choice it's expected that platforms to have xsdb scripts present inside their platform code. xsdb runner has bitstream and fsbl optional arguments, bitstream is needed for fpga targets and fsbl is needed for SOC targets, added support for both options. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Add pytest case for xsdb runner. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
6e04f77
to
54a3e6d
Compare
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.
Looks good, thanks. One last question:
Update the board cmake to use xsdb runner, If users would like to use default xsdb.cfg then need to pass the fsbl.elf binary via --fsbl option when using west flash or twister commands. Usage: 1) west flash --runner xsdb --elf-file kv260_r5/zephyr/zephyr.elf --fsbl <path>/fsbl.elf 2) ./scripts/twister -p kv260_r5 --west-runner xsdb --device-testing --device-serial /dev/ttyUSB0 --west-flash="--fsbl=<path>/fsbl.elf" Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
54a3e6d
to
bc39705
Compare
@swinslow @carlescufi @mbolivar-ampere please review the pull request when you have sometime |
Hi @kedareswararao! To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge. Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁 |
This pull request adds support for xsdb runner