| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Update miniloader and MTS files for Tegra132 A02 silicon.
Signed-off-by: Allen Martin <amartin@nvidia.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Conflicts:
src/main.c
src/nv3p.c
src/nv3p.h
|
|
|
|
|
| |
This command was changed in a non backwards compatible way. Need to
resolve this without breaking previous chips :(
|
|
|
|
|
|
|
|
|
| |
The Denver CPU in Tegra132 requires microcode to be loaded before CPU
initialization. There are two microcode files required, "preboot" MTS
and MTS proper. Add support for loading MTS from either the binary
versions checked in or from the command line.
Signed-off-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
| |
Add Tegra132 USB device id, miniloader, and chip SKU information.
Signed-off-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
|
|
| |
Update README with change log for version 1.5, and bump version
number.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
| |
Add --miniloader and --miniloader_entry commands which allow passing
in the miniloader from a file and specifying the miniloader entry
address from the command line instead of using built-in miniloader.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
| |
Add a new command "readbct" which will read the BCT from the target
system and write it to bctfile.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
| |
Added --help and --version commands to usage. Made it more clear that
--entryaddr is optional.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Change the initialization logic so that if RCM protocol isn't
repsonding but a tegra recovery USB is reported, assume the nv3p
server is already running. This allows things like enumeration of
devices via nv3p without having to reset into RCM mode to talk to the
device again.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
| |
This prevents tegrarcm from just hanging in the event that the target
gets in some bad state and stops responding to USB (like downloading a
bad BCT). Set default timeout to 1s which should be plenty long
enough for the max xfer size of 4096 bytes.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
| |
Add Tegra124 USB device id, miniloader, and chip SKU information.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
| |
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
| |
RCM protocol 40 is required for Tegra124
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
| |
Sync up SKU numbers with TOT tegra u-boot. Also change the default
SKU print to just use the chip family name so it's more resistant to
being out of sync in the future.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
| |
Change the LICENSE file to make it clear that the NVIDIA proprietary
license applies to all miniloader files, not just the ones explicitly
listed.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
| |
Bump the version number to 1.4 and update change log.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
| |
Update tegra114 miniloader file with a version that supports boot from
SPI flash. The previous version would hang if the board was
configured to boot from SPI.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
| |
In preparation of changing the LICENSE file to refer to "miniloader"
directory instead of individual filenames, move all miniloader files
into "miniloader" subdir.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
| |
Add a description of the "--help" command to the man page.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
| |
Add command line option "--version" that prints the version number and
exits.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
| |
Bump the version number to 1.3 and update change log.
Signed-off-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
|
|
|
| |
On some distributions (e.g. Arch Linux) configure will fail to find
crypto++ because of the test program not linking due to undefined
references to pthread functions.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add a check on the return value of rcm_get_msg_len() so if it fails
it isn't passed into usb_write().
Change-Id: I31aedf9f1dcde8aeed34b23a020e83dddd3179b6
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-on: http://git-master/r/167827
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
stat() returns a hard-coded -1 on error. Return errno instead, so that
when main() calls error() with the returned value, the actual error can
be decoded. This transforms the error message from:
...: Unknown error -1
to e.g.:
...: No such file or directory
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Change-Id: I1c7503eeef2cebafeaf5d1cfba5626244979e3df
Reviewed-on: http://git-master/r/167774
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
|
|
|
|
| |
Bump the version number to 1.2 and update change log.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: I188eba740904ba5f9cd43179e16a39c077900d19
Reviewed-on: http://git-master/r/164852
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new man page for tegrarcm
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: If9f587d708b80311c814218dc268d91d7edb1055
Reviewed-on: http://git-master/r/167545
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for t114. This includes a new T114 miniloader, new USB
and nv3p device ids, and increased UID size.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: I5b77549317cad73c4499fe7797a30f09fffaebfb
Reviewed-on: http://git-master/r/164851
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
T114 uses version 35 of RCM protocol, in preparation for adding T114
support to tegrarcm add support for this version of RCM protocol.
The message size has changed because new fields were added and the
version number was bumped to 0x35. None of the new fields are
actually used by tegrarcm, so the only changes are to handle the size
and version differences.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: I2ff66205e5f1a9f2efbee711f7bad784ae297edf
Reviewed-on: http://git-master/r/164850
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This allows a developer to run autoreconf and then put the package
back into distclean state.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: I384b3722cf877343f85b0ee6684a3d7aee55f0b8
Reviewed-on: http://git-master/r/167544
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
| |
Add helper script to recreate all auto generated files for building.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: Ia3b86bbfb73a6f7183a5422504bcb4c116eb6cda
Reviewed-on: http://git-master/r/167543
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove files that are generated by autoconf/automake. When packaging
a tarball for release they can be included, but they don't need to be
in source code control.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: Ie21bbc93c6367fa3885e1c49f080a181d816bf03
Reviewed-on: http://git-master/r/167542
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
| |
Add some documentation of nv3p packet formats as comments
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: I5685612b75bb2150ca5307497c5b83d18aa8da6b
Reviewed-on: http://git-master/r/164849
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update miniloaders for T20 and T30 to latest version. This bumps nv3p
protocol to the latest version as well which changes some of the
message packages and command numbers.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: Ic16243f979ff505696aa97520f8b11a2cebf24fa
Reviewed-on: http://git-master/r/164848
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add more diagnostic information to some of the erorr/debug
messages
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: I6d2c996e02711fbf913e5f9332f7c2781c40a3a1
Reviewed-on: http://git-master/r/164847
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for downloading to pre-production parts as well as
developer and open parts.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: I86f56960a9c227b99d5ee4a1acf6f07d586d51c0
Reviewed-on: http://git-master/r/164846
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
|
|
|
|
|
|
|
| |
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: I951992af094c79b610b2a6eb1cb10334780255c2
Reviewed-on: http://git-master/r/111441
Reviewed-by: Automatic_Commit_Validation_User
|
|
|
|
|
|
|
| |
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: I2cf10b932f489475c79d812a3f20f13aba18586c
Reviewed-on: http://git-master/r/111440
Reviewed-by: Automatic_Commit_Validation_User
|
|
|
|
|
|
|
| |
Signed-off-by: Allen Martin <amartin@nvidia.com>
Change-Id: I9c629284e97589ac46d6b99fdc57cd8c89a20650
Reviewed-on: http://git-master/r/111439
Reviewed-by: Automatic_Commit_Validation_User
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Change-Id: I7a7e7e26b92f5967c188aec6a43e87c4e95e9a72
Reviewed-on: http://git-master/r/111410
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The AC_INIT call takes care of setting all these values, so no need to
call the old AM_INIT_AUTOMAKE style anymore. Avoids duplication.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Change-Id: I01b31f198273537d55bb7b8db95eb75ba67b8450
Reviewed-on: http://git-master/r/111409
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
|
|
|
|
| |
More friendly to exotic libusb setups.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Change-Id: I36f54f2a6e36773c8cf213c56deea053b1f81083
Reviewed-on: http://git-master/r/111408
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
|
|
|
|
| |
No need to write out the Makefiles twice.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Change-Id: I756e365875d578843b8fdebe92cae23c07788367
Reviewed-on: http://git-master/r/111407
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
|
|
|
|
| |
tegra20-miniloader.h and tegra30-miniloader.h were named incorrectly
in the Makefile which broke the "make dist" target
Change-Id: I9a1b540f95cf8cc3b5bffca485a1776829326ab7
Reviewed-on: http://git-master/r/94267
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
|
|
|
|
| |
Add automake code to handle the different names libcrypto++ has on
different systems (libcrypto++ vs libcryptopp).
Change-Id: I052a9b099138478cf3324f5f99757f34c42eeb67
Reviewed-on: http://git-master/r/94266
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
After downloading the miniloader there is a USB disconnect/reconnect
which may result in a new USB address for the tegra device. Add an
explicit USB reenumeration after downloading miniloader to avoid hang
in this situation.
Change-Id: I217c9b925ddb67f76500ef0b45a143c2c182153f
Reviewed-on: http://git-master/r/94265
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Allen Martin <amartin@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This program is used to download BCT and code to tegra from recovery
mode. Only tegras that are configurated for "nvproduction" or "ODM
open" mode are supported (no encryption).
usage:
tegra-rcm --bct=bctfile --bootloader=blfile
--loadaddr=<loadaddr> --entryaddr=<entryaddr>
bctfile is the name of the BCT (boot configuration table). It
contains memory timing and boot device selection.
blfile is the name of the booloader file. This is the code that
downloaded and executed on the tegra SoC.
loadaddr and entryaddr are the load and entry addresses of the
bootloader in the tegra address map.
Change-Id: I34754d3976f3971bdca1daefc5d1a2c69a56bbb5
Reviewed-on: http://git-master/r/94264
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Allen Martin <amartin@nvidia.com>
|