Skip to content
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

Boot hss over jtag #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Novakov
Copy link

@Novakov Novakov commented May 12, 2022

This pull request adds ability to run HSS in bootmode 0 by loading it over JTAG. In order to do so small trampoline executable is built. Details of operation and usage in jtag_trampoline/README.md.

Tested on Icicle board with ARM-JTAG-TINY-OCD-H JTAG probe and upstream OpenOCD.

My goal is to provide capabilties for loading and running u-boot over JTAG without need to swap SD cards or access eMMC. Loading HSS over JTAG is first step, JTAG boot source integrated into HSS is next on my TODO list

@Novakov Novakov force-pushed the boot-hss-over-jtag branch from cca24e0 to 9afcef0 Compare May 13, 2022 18:56
@Novakov
Copy link
Author

Novakov commented May 13, 2022

A little preview of full-boot-over-jtag:
2022-05-13_21-16-53

Icicle board is configured in boot mode 0 with external JTAG probe attached. OpenOCD is running script that orchestrates boot process by loading HSS (this pull request) and few seconds later loads payload image. After that HSS boots other harts and u-boot is started. With Linux being loaded over TFTP it is possible to easily develop without need to swap SD cards or write to SPI flash.

@Novakov Novakov force-pushed the boot-hss-over-jtag branch from 9afcef0 to 8150230 Compare May 23, 2023 19:30
@Novakov
Copy link
Author

Novakov commented May 23, 2023

After a while I got back to playing with Icicle kit and I still found this PR useful., It would be nice to get some feedback on it even if it's just 'we are not interested' :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant