nvflash
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nvflash [2011/07/28 22:46] – ggrandou | nvflash [2023/07/08 00:04] (current) – [Installing nvflash] 94.102.224.209 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | + | ||
- | nvflash is a utility provided by Nvidia for flashing Tegra devices. Nvflash runs on a host PC and communicates with the Tegra system (the AC100 in our case) through a dedicated USB port (the mini USB port on the AC100). | + | |
- | + | ||
- | nvflash is distributed by nvidia as a binary only. Sources are not available and the communication protocol in not publicly documented. | + | |
- | + | ||
====== Installing nvflash ====== | ====== Installing nvflash ====== | ||
- | |||
==== From the nvidia tegra developper site ==== | ==== From the nvidia tegra developper site ==== | ||
Line 23: | Line 16: | ||
* ~/ | * ~/ | ||
* ~/ | * ~/ | ||
+ | |||
+ | In order to be able to run nvflash as a normal user, you need to install an udev rule file: | ||
+ | |||
+ | < | ||
+ | $ sudo -i | ||
+ | $ cat > / | ||
+ | # nvflash support for Nvidia Tegra systems attached to USB | ||
+ | SUBSYSTEM==" | ||
+ | END | ||
+ | </ | ||
+ | |||
+ | This last step is optional, but without doing it you will have to run nvflash as root. | ||
==== Debian/ | ==== Debian/ | ||
Line 33: | Line 38: | ||
< | < | ||
$ cd /tmp | $ cd /tmp | ||
- | $ wget http:// | + | $ wget http:// |
- | $ sudo dpkg -i nvflash_20110222-1_all.deb | + | $ sudo dpkg -i nvflash_20110628-2_all.deb |
</ | </ | ||
- | nvflash is install as / | + | nvflash is installed in / |
+ | The bootloader is installed here: / | ||
+ | |||
+ | The package takes care of installing an udev rules, allowing you to run nvflash as a normal user. | ||
+ | |||
+ | |||
+ | ====== nvflash setup ====== | ||
+ | |||
+ | - Powerdown your AC100 | ||
+ | - Connect the USB cable between your AC100 and the host PC | ||
+ | - press CTRL and ESC keys, and while maintaining them pressed, powerup your AC100 | ||
+ | - the AC100 power white LED should light on, the screen remains switched off | ||
+ | - download the bootloader into the CPU RAM, on your host PC, type: | ||
+ | < | ||
+ | $ nvflash --bl / | ||
+ | </ | ||
+ | |||
+ | Note: adapt the command with real path of your fastboot.bin | ||
+ | |||
+ | Now the AC100 is ready to accept commands from nvflash | ||
+ | |||
+ | |||
+ | ====== nvflash commands ====== | ||
- | the bootloader is installed here: / | + | Write the image < |
+ | < | ||
+ | Read the partition <N> from the AC100 to the file < | ||
+ | < | ||
+ | For a complete description of nvflash commands: | ||
+ | < | ||
nvflash.txt · Last modified: 2023/07/08 00:04 by 94.102.224.209