You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-55Lines changed: 5 additions & 55 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,28 +6,13 @@ This repository contains instructions and scripts for flashing your Jetson **Ori
6
6
7
7
## Prebuilt Images (Recommended)
8
8
9
-
Prebuilt flash packages are available on the [Releases page](https://github.com/ARK-Electronics/ark_jetson_kernel/releases). These are self-contained — no build tools or kernel source needed.
9
+
Prebuilt flash packages are available on the [Releases page](https://github.com/ARK-Electronics/ark_jetson_kernel/releases). No build tools or kernel source needed — download and flash:
10
10
11
-
### Quick Start
12
-
13
-
1. Download the `.tar.gz` for your carrier board from the latest release
14
-
2. Connect a micro USB cable to the Jetson and power on with the **Force Recovery** button held
See [packaging.md](packaging.md) for full details on generating, testing, and publishing flash packages.
31
16
32
17
## Building from Source
33
18
@@ -89,44 +74,9 @@ Once complete, SSH in via Micro USB or WiFi.
89
74
ssh jetson@jetson.local
90
75
```
91
76
92
-
### 5. Generate Flash Package (optional)
93
-
94
-
After building, you can generate a self-contained flash package (`.tar.gz`) that can be used to flash Jetsons without any build tools or kernel source. The package includes DTBs for all module variants and the correct one is selected automatically at flash time.
95
-
96
-
```
97
-
./generate_flash_package.sh
98
-
```
99
-
100
-
The output is saved to the project root, e.g. `ark-pab-v3-nvme-super-v1.0.0.tar.gz`. The version comes from the current git tag, or `dev` if untagged.
101
-
102
-
#### Options
103
-
104
-
| Flag | Description |
105
-
|------|-------------|
106
-
|`--sdcard`| Generate a package for SD card instead of NVMe |
107
-
|`--no-super`| Target the non-super module variant |
108
-
109
-
```
110
-
# Generate for SD card
111
-
./generate_flash_package.sh --sdcard
112
-
113
-
# Non-super module variant
114
-
./generate_flash_package.sh --no-super
115
-
```
116
-
117
-
If the package exceeds 2GB (the GitHub Releases per-file limit), it is automatically split into parts in a `_split/` directory with a `reassemble.sh` script included.
This document covers how to generate self-contained flash packages and publish them to GitHub Releases. Customers can then flash a Jetson without cloning the repo or building from source.
4
+
5
+
## Generating a Flash Package
6
+
7
+
After running `build_kernel.sh`, generate a flash package:
8
+
9
+
```
10
+
./generate_flash_package.sh
11
+
```
12
+
13
+
No Jetson needs to be connected. The package includes DTBs for all module variants (Orin Nano 4GB/8GB, Orin NX 8GB/16GB) — the correct one is selected automatically at flash time.
14
+
15
+
The output is saved to the project root, e.g. `ark-pab-v3-nvme-super-dev.tar.gz`. The filename includes `dev` if the current commit isn't tagged.
16
+
17
+
### Options
18
+
19
+
| Flag | Description |
20
+
|------|-------------|
21
+
|`--sdcard`| Generate a package for SD card instead of NVMe |
22
+
|`--no-super`| Target the non-super module variant |
23
+
24
+
```
25
+
# Generate for SD card
26
+
./generate_flash_package.sh --sdcard
27
+
28
+
# Non-super module variant
29
+
./generate_flash_package.sh --no-super
30
+
```
31
+
32
+
### Output
33
+
34
+
If the package is under 2GB, you get a single `.tar.gz`. If it exceeds 2GB (the GitHub Releases per-file limit), it is automatically split into 1.9GB parts in a `_split/` directory with a `reassemble.sh` script included.
35
+
36
+
## Publishing a Release
37
+
38
+
After generating and testing the flash package:
39
+
40
+
```
41
+
./publish_release.sh v1.0.0
42
+
```
43
+
44
+
This script:
45
+
1. Renames the `*-dev*` tarball/split directory with the version
46
+
2. Creates a git tag and pushes it
47
+
3. Creates a GitHub Release and uploads the files
48
+
49
+
Requires the [GitHub CLI](https://cli.github.com/) (`gh`). Install with `sudo apt install gh` and authenticate with `gh auth login`.
50
+
51
+
## Flashing from a Package
52
+
53
+
Customers download the package from the [Releases page](https://github.com/ARK-Electronics/ark_jetson_kernel/releases) and run:
The script extracts the package, waits for a Jetson in recovery mode, and flashes it. No build tools or kernel source needed — just a Linux host with USB.
0 commit comments