summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 1.3v1.3Allen Martin2013-05-022-1/+4
| | | | | | Bump the version number to 1.3 and update change log. Signed-off-by: Allen Martin <amartin@nvidia.com>
* Add -lpthread when looking for crypto++Alexandre Courbot2013-05-021-1/+1
| | | | | | | | | 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>
* Check return value of rcm_get_msg_len()Allen Martin2012-12-071-1/+5
| | | | | | | | | | | 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>
* Return errno from download_bct() when stat() failsStephen Warren2012-11-301-1/+1
| | | | | | | | | | | | | | | | | | 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 version to 1.2v1.2Allen Martin2012-11-302-2/+5
| | | | | | | | | | 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 man pageAllen Martin2012-11-292-0/+111
| | | | | | | | | | | 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 t114 supportAllen Martin2012-11-297-10/+9672
| | | | | | | | | | | 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>
* Add support for RCM protocol version 35Allen Martin2012-11-293-14/+159
| | | | | | | | | | | | | | | 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>
* Add autom4te.cache to distclean targetAllen Martin2012-11-291-1/+4
| | | | | | | | | | | 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 autogen.sh scriptAllen Martin2012-11-291-0/+5
| | | | | | | | | | 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 autogenerated filesAllen Martin2012-11-298-10667/+0
| | | | | | | | | | | | 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 descripton of nv3p packetsAllen Martin2012-11-291-0/+70
| | | | | | | | | | 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 to latest versionAllen Martin2012-11-294-7140/+16196
| | | | | | | | | | | | 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 verbose debug/error messagesAllen Martin2012-11-292-12/+37
| | | | | | | | | | | 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 pre-production mode partsAllen Martin2012-11-292-4/+8
| | | | | | | | | | | | 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>
* bump version to 1.1v1.1Allen Martin2012-06-263-13/+13
| | | | | | | Signed-off-by: Allen Martin <amartin@nvidia.com> Change-Id: I951992af094c79b610b2a6eb1cb10334780255c2 Reviewed-on: http://git-master/r/111441 Reviewed-by: Automatic_Commit_Validation_User
* add README fileAllen Martin2012-06-263-3/+63
| | | | | | | Signed-off-by: Allen Martin <amartin@nvidia.com> Change-Id: I2cf10b932f489475c79d812a3f20f13aba18586c Reviewed-on: http://git-master/r/111440 Reviewed-by: Automatic_Commit_Validation_User
* regenerate autotoolsAllen Martin2012-06-267-1369/+615
| | | | | | | Signed-off-by: Allen Martin <amartin@nvidia.com> Change-Id: I9c629284e97589ac46d6b99fdc57cd8c89a20650 Reviewed-on: http://git-master/r/111439 Reviewed-by: Automatic_Commit_Validation_User
* ignore more generated filesMike Frysinger2012-06-261-0/+13
| | | | | | | | | 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>
* drop old AM_INIT_AUTOMAKE styleMike Frysinger2012-06-261-1/+1
| | | | | | | | | | | | 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>
* use pkg-config for libusb-1.0 look upMike Frysinger2012-06-264-10/+7
| | | | | | | | | | 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>
* configure: fix double output of filesMike Frysinger2012-06-261-2/+4
| | | | | | | | | | 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>
* Fix names of tegra miniloader files in Makefilev1.0Allen Martin2012-04-032-2/+2
| | | | | | | | | | 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>
* Handle multiple names for libcrypto++Allen Martin2012-04-035-10/+40
| | | | | | | | | | 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>
* reinitialize USB after miniloader downloadAllen Martin2012-04-031-0/+6
| | | | | | | | | | | | 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>
* tegra-rcm: Download code to tegra in recovery modeAllen Martin2012-04-0327-0/+21345
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Initial empty repositoryMaria Bornski2012-03-150-0/+0