From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Jimmy Zhang <jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [tegrarcm PATCH v1 1/8] tegrarcm: Add Tegra132 support
Date: Mon, 23 Mar 2015 10:06:51 +0100 [thread overview]
Message-ID: <20150323090650.GB11268@ulmo> (raw)
In-Reply-To: <1426639141-12060-2-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2036 bytes --]
On Tue, Mar 17, 2015 at 05:38:53PM -0700, Jimmy Zhang wrote:
> From: Allen Martin <amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>
> Add Tegra132 USB device id, miniloader, and chip SKU information.
>
> Signed-off-by: Allen Martin <amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
> src/Makefile.am | 1 +
> src/main.c | 15 +-
> src/miniloader/tegra132-miniloader.h | 5259 ++++++++++++++++++++++++++++++++++
> src/nv3p.h | 3 +
> src/tegrarcm.1.in | 4 +-
> src/usb.c | 3 +-
> src/usb.h | 1 +
> 7 files changed, 5283 insertions(+), 3 deletions(-)
> create mode 100644 src/miniloader/tegra132-miniloader.h
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 4b548859e075..d0d45cad4fee 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -18,6 +18,7 @@ tegrarcm_SOURCES = \
> miniloader/tegra30-miniloader.h \
> miniloader/tegra114-miniloader.h \
> miniloader/tegra124-miniloader.h \
> + miniloader/tegra132-miniloader.h \
> usb.h
>
> man_MANS = tegrarcm.1
> diff --git a/src/main.c b/src/main.c
> index 50adc14f0b06..24d3bf81191f 100644
> --- a/src/main.c
> +++ b/src/main.c
> @@ -60,6 +60,9 @@
> // tegra124 miniloader
> #include "miniloader/tegra124-miniloader.h"
>
> +// tegra132 miniloader
> +#include "miniloader/tegra132-miniloader.h"
I'd prefer if we stopped including miniloader (and other) blobs in the
tegrarcm binary. We already provide the MTS in a separate repository and
can reference it using command-line options. I think we should do the
same for the miniloader.
The ordering of patches here is somewhat confusing, too. This patch in
fact doesn't really add support for Tegra132 because we need MTS for
that to actually work. A more natural ordering would be to have the MTS
support go in first, followed by this patch to enable Tegra132 support.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-03-23 9:06 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-18 0:38 [tegrarcm PATCH v1 0/8] Add T132 support Jimmy Zhang
[not found] ` <1426639141-12060-1-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-03-18 0:38 ` [tegrarcm PATCH v1 1/8] tegrarcm: Add Tegra132 support Jimmy Zhang
[not found] ` <1426639141-12060-2-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-03-23 9:06 ` Thierry Reding [this message]
2015-03-18 0:38 ` [tegrarcm PATCH v1 2/8] tegrarcm: Add support for loading cpu ucode Jimmy Zhang
[not found] ` <1426639141-12060-3-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-03-19 19:42 ` Stephen Warren
2015-03-18 0:38 ` [tegrarcm PATCH v1 2/8] tegrarcm: Add support for loading MTS Jimmy Zhang
[not found] ` <1426639141-12060-4-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-03-23 9:21 ` Thierry Reding
2015-03-18 0:38 ` [tegrarcm PATCH v1 3/8] tegrarcm: Get platform info Jimmy Zhang
[not found] ` <1426639141-12060-5-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-03-23 9:27 ` Thierry Reding
2015-03-18 0:38 ` [tegrarcm PATCH v1 4/8] tegrarcm: add support for odmdata command Jimmy Zhang
[not found] ` <1426639141-12060-6-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-03-19 19:37 ` Stephen Warren
2015-03-18 0:38 ` [tegrarcm PATCH v1 5/8] tegrarcm: Better usb debug messages Jimmy Zhang
[not found] ` <1426639141-12060-7-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-03-19 19:40 ` Stephen Warren
2015-03-18 0:38 ` [tegrarcm PATCH v1 6/8] tegrarcm: increase USB timeout Jimmy Zhang
[not found] ` <1426639141-12060-8-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-03-19 19:35 ` Stephen Warren
2015-03-19 19:46 ` [tegrarcm PATCH v1 0/8] Add T132 support 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=20150323090650.GB11268@ulmo \
--to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=jimmzhang-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).