Skip to content

Conversation

@michalsimek
Copy link
Contributor

Some tests requires to also run fsbl and load bitstream before loading Zephyr.

Currently only --elf-file and --fsbl are suported. But there could be also bitstream loaded via --bistream parameter but xsdb script is missing it.
Tricky part on it is when only fsbl or bitstream are loaded they are sharing the same argument location that's why detect if second parameter is bitstream by matching "*.bit" in it to support all combinations.

And also switch board to jtag boot mode all the time. The reason is that starter kits with SOM have preloaded SW already and starting in QSPI boot mode that's why with using XSDB make sure that board is running in jtag boot mode all the time no matter if any SW runs on it.

Some tests requires to also run fsbl and load bitstream before loading
Zephyr.

Currently only --elf-file and --fsbl are suported.
But there could be also bitstream loaded via --bistream parameter but
xsdb script is missing it.
Tricky part on it is when only fsbl or bitstream are loaded they are
sharing the same argument location that's why detect if second parameter is
bitstream by matching "*.bit" in it to support all combinations.

And also switch board to jtag boot mode all the time. The reason is that
starter kits with SOM have preloaded SW already and starting in QSPI boot
mode that's why with using XSDB make sure that board is running in jtag
boot mode all the time no matter if any SW runs on it.

Signed-off-by: Michal Simek <michal.simek@amd.com>
@kartben
Copy link
Contributor

kartben commented Mar 19, 2025

@ibirnbaum @henrikbrixandersen any chance you can help review?
@michalsimek anyone else from AMD we should be pulling in?

kedareswararao pushed a commit to Xilinx/zephyr-amd that referenced this pull request May 23, 2025
Some tests requires to also run fsbl and load bitstream before loading
Zephyr.

Currently only --elf-file and --fsbl are suported.
But there could be also bitstream loaded via --bistream parameter but
xsdb script is missing it.
Tricky part on it is when only fsbl or bitstream are loaded they are
sharing the same argument location that's why detect if second parameter is
bitstream by matching "*.bit" in it to support all combinations.

And also switch board to jtag boot mode all the time. The reason is that
starter kits with SOM have preloaded SW already and starting in QSPI boot
mode that's why with using XSDB make sure that board is running in jtag
boot mode all the time no matter if any SW runs on it.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: zephyrproject-rtos/zephyr#86064
State: waiting
@github-actions
Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label May 24, 2025
@github-actions github-actions bot closed this Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants