Skip to content

Software recovery from image

Andreas Brinkhaus edited this page Nov 29, 2023 · 5 revisions

General

It happens, that you brick your local EdgeKit or just want to restore it to the default settings. For this we need to reflash the EdgeKit with a micro-USB cable and the original image. In this tutorial we will show you step for step the procedure.

Before starting

They are some issues flashing with bad USB cables or with the wrong flashing platform. Make sure to flash with an ARM based system, preferably with Ubuntu 18.04 or Debian.

Step 1 - Prepare the Image on the host computer

Get in touch with the Team of PCB Arts, you'll receive a download link of the image (tar.gz) with the default settings (around 8GB). Download this image and extract the files with sudo tar -xf FILENAME.tar.gz. Enter the extracted folder "Linux_for_Tegra" with cd Linux_for_Tegra.

The tar file needs to be extracted as root or with sudo to ensure that the extracted files have the correct owner. Otherwise the edgekit will not function properly!

Step 2 - Bring the EdgeKit into recovery mode

Turn off the EdgeKit and connect the Micro-USB Cable to it's port. Make sure the EdgeKit will be in Recovery Mode, this can be archived if you connect the two left pins (near the User-button) of the Debug header with e.g. a jumper cable. Turn on the EdgeKit, it shouldn't boot now.

Step 3 - flashing the EdgeKit

This step depends on the SOM you've installed in EdgeKit. You can verify that within your order.

Xavier NX SSD

sudo ./nvsdkmanager_flash.sh --storage nvme0n1p1

Orin NX

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 p3509-a02+p3767-0000-edgekit internal

Clone this wiki locally