All of lore.kernel.org
 help / color / mirror / Atom feed
From: Penny Chiu <pchiu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Penny Chiu <pchiu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Subject: [cbootimage PATCH V3 0/7] Re-enable jtag function for Tegra124
Date: Fri, 11 Apr 2014 17:50:36 +0800	[thread overview]
Message-ID: <1397209843-31275-1-git-send-email-pchiu@nvidia.com> (raw)

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(-)

-- 
1.9.1

             reply	other threads:[~2014-04-11  9:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-11  9:50 Penny Chiu [this message]
     [not found] ` <1397209843-31275-1-git-send-email-pchiu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-04-11  9:50   ` [cbootimage PATCH V3 1/7] Add format functions to express BCT and bootloader data value Penny Chiu
2014-04-11  9:50   ` [cbootimage PATCH V3 2/7] Add page_size validation when setting page_size value Penny Chiu
2014-04-11  9:50   ` [cbootimage PATCH V3 3/7] Accept void pointer as input data type for get/set_value functions Penny Chiu
2014-04-11  9:50   ` [cbootimage PATCH V3 4/7] Add token_supported function Penny Chiu
2014-04-11  9:50   ` [cbootimage PATCH V3 5/7] Use block_size and page_size tokens when dump BCT data Penny Chiu
2014-04-11  9:50   ` [cbootimage PATCH V3 6/7] Add Tegra124 bct data access for jtag control and chip uid Penny Chiu
2014-04-11  9:50   ` [cbootimage PATCH V3 7/7] Add update BCT configs feature Penny Chiu
2014-04-15 17:48   ` [cbootimage PATCH V3 0/7] Re-enable jtag function for Tegra124 Stephen Warren
2014-04-15 18:16   ` Stephen Warren
     [not found] <E3E235BA220CA845AF2C1512C13F2662E4BD53E9D4@HKMAIL02.nvidia.com>
     [not found] ` <E3E235BA220CA845AF2C1512C13F2662E4BD53E9D4-jYPH5V5jAeRDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2014-04-16  2:08   ` Penny Chiu
     [not found]     ` <E3E235BA220CA845AF2C1512C13F2662E4BD8E0BE0-jYPH5V5jAeRDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2014-04-16 17:00       ` Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1397209843-31275-1-git-send-email-pchiu@nvidia.com \
    --to=pchiu-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.