Skip to content

09_hw_debug_JTAG: Why do we need the X1_JTAG_boot binary? #82

Discussion options

You must be logged in to vote

There is a bit of history and organic growth behind the current situation.

Back when the tutorials were for RPi3 only, the X1 helper binary, in its GPIO driver, configured the JTAG pins.
Then the RPi4 came out, with basically no documentation at the time, and the GPIO JTAG setup code that was used for the Pi3 didn't work out of the box. I had an email exchange with somebody working on it as well, and he found out that you additionally need to write to some undocumented memory location to make it work on the Pi4. I haven't checked since if the official documentation has to say something about this now.

This was when I decided to introduce enable_jtag_gpio=1 into the config.txt, so the X1 b…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by andre-richter
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #82 on December 09, 2020 18:05.