Skip to content

Commit

Permalink
Merge pull request #3 from ARK-Electronics/pr-35.5.0
Browse files Browse the repository at this point in the history
35.5.0
  • Loading branch information
dakejahl authored May 6, 2024
2 parents 674f515 + 5c2f4ae commit edeffec
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,17 @@ This repository contains instructions and helper scripts to ease to process of i
prebuilt binaries or source files.

# Installing the OS from binaries
A single setup script is provided for your convenience. It will download the prebuilt release (35.3.1) and apply
A single setup script is provided for your convenience. It will download the prebuilt release (35.5.0) and apply
the [custom ARK compiled](https://github.com/ARK-Electronics/ark_jetson_compiled_device_tree_files) device tree files. The script will also configure the default user, password, and hostname as "jetson".
```
./setup_prebuilt.sh
```
Alternatively you can visit NVIDIA's [official documentation](https://docs.nvidia.com/jetson/archives/r35.3.1/DeveloperGuide/text/IN/QuickStart.html#to-flash-the-jetson-developer-kit-operating-software) for flashing the release.
Alternatively you can visit NVIDIA's [official documentation](https://docs.nvidia.com/jetson/archives/r35.5.0/DeveloperGuide/index.html) for flashing the release.

### Flashing
Connect a micro USB cable to the port adjacent to the mini HDMI. Power on with the Force Recovery button held. You can verify the Jetson is in recovery mode by checking `lsusb`.
> Bus 001 Device 012: ID 0955:7523 NVIDIA Corp. APX
Connect an FTDI cable to the debug port of the Jetson. This will allow you to monitor the progress and ensure there are no errors during the flashing process. After flashing is complete you will use this port to configure the wifi network connection.
```
picocom /dev/ttyUSB0 -b 115200
```

Flash the image
```
cd prebuilt/Linux_for_Tegra/
Expand All @@ -30,7 +25,10 @@ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
Once flashing has been completed successfully, power cycle the Jetson.

#### Setting up WiFi (headless)
You will need an FTDI attached to the debug connector setup the wifi interface. Alternatively you can connect a display and configure it using the GUI.
After flashing is complete you can use the USB connection to configure the wifi network connection.
```
picocom /dev/ttyUSB0 -b 115200
```

Check that the wifi interface exists
```
Expand All @@ -53,7 +51,7 @@ provided that will download the necessary files and toolchain.
```
./source_build_setup.sh
```
Alternatively you can visit NVIDIA's [official documentation](https://docs.nvidia.com/jetson/archives/r35.3.1/DeveloperGuide/text/SD/Kernel/KernelCustomization.html#building-the-kernel) for kernel customization and building from source.
Alternatively you can visit NVIDIA's [official documentation](https://docs.nvidia.com/jetson/archives/r35.5.0/DeveloperGuide/SD/Kernel/KernelCustomization.html) for kernel customization and building from source.

Once setup is complete you can build the kernel:
```
Expand All @@ -67,7 +65,7 @@ The device tree files for Jetson Orin Nano/NX can be found in the kernel source
You can download the github repository for the device tree source files here:
```
cd source_build
git clone -b ark_35.3.1 git@github.com:ARK-Electronics/ark_jetson_orin_nano_nx_device_tree.git
git clone -b ark_35.5.0 git@github.com:ARK-Electronics/ark_jetson_orin_nano_nx_device_tree.git
```
Once you've made your modifications to the device tree files, copy them into the kernel source directory. For example if you've
made changes to support the imx219 cameras over mipi:
Expand Down
11 changes: 3 additions & 8 deletions setup_prebuilt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,9 @@ BOARD="jetson-orin-nano-devkit"
pushd . > /dev/null
mkdir -p prebuilt && cd prebuilt

# Add to bashrc if necessary
exists=$(cat $BASHRC | grep L4T_RELEASE_PACKAGE)
if [ -z "$exists" ]; then
echo "Adding environment variables to bashrc"
echo "export L4T_RELEASE_PACKAGE=$L4T_RELEASE_PACKAGE" >> $BASHRC
echo "export SAMPLE_FS_PACKAGE=$SAMPLE_FS_PACKAGE" >> $BASHRC
echo "export BOARD=$BOARD" >> $BASHRC
fi
export L4T_RELEASE_PACKAGE=$L4T_RELEASE_PACKAGE
export SAMPLE_FS_PACKAGE=$SAMPLE_FS_PACKAGE
export BOARD=$BOARD

# Check if release binary files need to be downloaded
release_downloaded=$(ls | grep $L4T_RELEASE_PACKAGE)
Expand Down

0 comments on commit edeffec

Please sign in to comment.