Skip to content

Re-enable jtag function for Tegra124

Penny Chiu linux-tegra 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 2 repliesIn review
  2. v25 patches 4 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Improvement based on V2 reviewed comments.
- Disallow the update image feature for T20/T30.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Add format functions to express BCT and bootloader data valuesrc/bct_dump.c+38 -210 replies
2/7Add page_size validation when setting page_size valuesrc/set.c+5 -00 replies
3/7Accept void pointer as input data type for get/set_value functionssrc/context.c src/data_layout.c src/parse.c +7 more+75 -690 replies
4/7Add token_supported functionsrc/bct_dump.c src/cbootimage.h src/parse.h +4 more+120 -00 replies
5/7Use block_size and page_size tokens when dump BCT datasrc/bct_dump.c src/t114/nvbctlib_t114.c src/t124/nvbctlib_t124.c +2 more+58 -130 replies
6/7Add Tegra124 bct data access for jtag control and chip uidsrc/bct_dump.c src/cbootimage.h src/parse.c +3 more+138 -150 replies
7/7Add update BCT configs featuresrc/cbootimage.c src/cbootimage.h src/data_layout.c +8 more+214 -370 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [cbootimage PATCH V3 0/7] Re-enable jtag function for Tegra124

This patch series is used to update BCT configs to re-enable jtag function for Tegra124.

Since the secure jtag is disabled by default once SECURITY_MODE fuse is blown. BOOTROM will re-enable secure jtag function if BCT has SecureJTAGControl=1 and a matching chip UID included.

After applying these changes, cbootimage can access jtag control and chip uid fields. It can also read the BCT data from pre-built image, update the BCT configs based on config file, and generate a new image file.

Changes from V2:
- Improvement based on V2 reviewed comments.
- Disallow the update image feature for T20/T30.

Penny Chiu (7):
Add format functions to express BCT and bootloader data value Add page_size validation when setting page_size value Accept void pointer as input data type for get/set_value functions Add token_supported function
Use block_size and page_size tokens when dump BCT data Add Tegra124 bct data access for jtag control and chip uid Add update BCT configs feature

 src/bct_dump.c           | 111 +++++++++++++++++++++++++++++++----------------
 src/cbootimage.c         | 103 ++++++++++++++++++++++++++++++++++++-------
 src/cbootimage.h         |   9 +++-
 src/context.c            |  10 +++--
 src/data_layout.c        |  80 +++++++++++++++++++++++++++-------
 src/data_layout.h        |   9 ++++
 src/parse.c              |  76 ++++++++++++++++++++++++++++++++
 src/parse.h              |  23 ++++++++--
 src/set.c                |  77 ++++++++++++++++++++++----------
 src/set.h                |   4 +-
 src/t114/nvbctlib_t114.c |  65 ++++++++++++++++++++++-----
 src/t124/nvbctlib_t124.c |  78 ++++++++++++++++++++++++++++-----
 src/t20/nvbctlib_t20.c   |  65 ++++++++++++++++++++++-----
 src/t30/nvbctlib_t30.c   |  65 ++++++++++++++++++++++-----
 14 files changed, 634 insertions(+), 141 deletions(-)
Signature · 1 line
1.9.1