-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME_Autoflash.txt
More file actions
79 lines (65 loc) · 3.52 KB
/
README_Autoflash.txt
File metadata and controls
79 lines (65 loc) · 3.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
************************************************************************
Linux for Tegra
Autoflash
README
************************************************************************
The NVIDIA Tegra Linux Package provides ``autoflash'' tools to abstract
the actual Jetson device names from users. This document describes
detailed procedure of ``autoflashing''.
The autoflashing tool, nvautoflash.sh, is a wrapper shell script around
the conventional flash.sh. The nvautoflash.sh takes exactly same set of
options as the flash.sh does except the <device name> and <boot device>
which are 2 last mandatory parameters for flash.sh. The nvautoflash.sh
figures out <device name> and <boot device>, and passes them to flash.sh
automatically.
========================================================================
Autoflash requirements
========================================================================
The nature of automatic detection of device name and boot device imposes
following requirements:
1. ONLINE flashing mode:
Since the autoflash need to fetch board information, the target
device connected in RCM mode is mandatory.
2. Single device restriction:
The autoflash restricts the number of device connection to 1.
Multiple device connections may confuse not only autoflash but
also users.
3. Single step operation:
The autoflash restricts the number of flashing steps to 1. It
does not generates any blobs to be used later.
4. Default boot device restriction:
As opposed to flash.sh allows auxiliary boot device such as Ethernet
or USB stick, the autoflash restricts the boot device to the default
boot media such as emmc or sdcard.
========================================================================
Supported devices
========================================================================
The autoflash supports all shipped Jetson products:
BOARDID BOARDSKU TegraID
--------------------------------+--------+---------+---------
jetson-agx-xavier-industrial 2888 0008 0x19
jetson-xavier-nx-devkit-tx2-nx 3636 0001 0x18
clara-agx-xavier-devkit 3900 0000 0x19
jetson-xavier-nx-devkit 3668 0000 0x19
jetson-xavier-nx-devkit-emmc 3668 0001 0x19
jetson-nano-devkit 3448 0000 0x21
jetson-nano-devkit-emmc 3448 0002 0x21
jetson-nano-2gb-devkit 3448 0003 0x21
jetson-agx-xavier-devkit (16GB) 2888 0001 0x19
jetson-agx-xavier-devkit (32GB) 2888 0004 0x19
jetson-tx2-devkit 3310 1000 0x18
jetson-tx2-devkit-tx2i 3489 0000 0x18
jetson-tx2-devkit-4gb 3489 0888 0x18
jetson-tx1-devkit 2180 0000 0x21
--------------------------------+--------+---------+---------
========================================================================
Usage examples
========================================================================
For standard default flashing:
sudo ./nvautoflash.sh
For PKC authentication flashing:
sudo ./nvautoflash.sh -x <TegraID> -y PKC -u <PKC keyfile>
NOTE: Since SBKPKC is supported only in OFFLINE mode, it is not supported
by autoflash.
NOTE: For detailed information about <PKC keyfile>,
see README_secureboot.txt