I accidentally overwrote the /usr/bin folder on my ORIN.
Now I cannot login. I was using it as a headless system following the instructions here: Getting Started with Jetson AGX Orin Developer Kit | NVIDIA Developer
Is there a way to restore the OS? Maybe I can flash a miroSD card boot with it. But I don’t know where to get one from.
Hi,
AGX Orin does not support booting from SD cards, so you have to re-flash your device with SDK Manager.
Thank you DaveYYY.
I just downloaded the docker sdk manager from SDK Manager | NVIDIA Developer and now I am following the instructions here Docker Images :: NVIDIA SDK Manager Documentation , I am trying to flash the ORIN device.
docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb/ -v /dev:/dev -v /media/$USER:/media/nvidia:slave --name JetPack_AGX_Devkit --network host sdkmanager --cli install --logintype devzone --product Jetson --version 5.1.1 --targetos Linux --host --target JETSON_AGX_XAVIER_TARGETS --flash all --additionalsdk ‘DeepStream 6.2’ --license accept --staylogin true --datacollection enable --exitonfinish
Then I select option 1 after getting prompted , and open the link of the presented URL, and login with password.
After that I do
docker commit JetPack_AGX_Devkit jetpack_agx_devkit:5.5.1_flash
docker container rm JetPack_AGX_Devkit
docker run -it --rm --privileged -v /dev/bus/usb:/dev/bus/usb/ jetpack_agx_devkit:5.5.1_flash --cli --flash all --product jetson-agx-orin-devkit
Error: missing argument ‘–version’
Error: missing argument ‘–targetos’
I don’t know what values to use for --product, --version --targetos
The ORIN is connected with USB-A port to my PC and USB-C port to the ORIN
Hi,
I’m sorry but I actually haven’t done it inside Docker before, and we usually use the GUI of SDK Manager directly inside a real Ubuntu.
Or download our BSP directly, and flash you device with scripts provided in the BSP:
sudo ./flash.sh jetson-agx-orin-devkit internal
https://docs.nvidia.com/jetson/archives/r35.3.1/DeveloperGuide/index.html
Finally this is how I flashed the NVIDIA AGX ORIN devicekit
Download L4T Driver Package (BSP):
wget https://developer.nvidia.com/embedded/l4t/r34_release_v1.0/release/jetson_linux_r34.1.0_aarch64.tbz2
Downlad Sample Root Filesystem:
wget https://developer.nvidia.com/embedded/l4t/r34_release_v1.0/release/tegra_linux_sample-root-filesystem_r34.1.0_aarch64.tbz2
(Taken from Jetson Linux 34.1 | NVIDIA Developer )
Follow the guide:
https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/text/IN/QuickStart.html#in-quickstart
export L4T_RELEASE_PACKAGE=“Jetson_Linux_R34.1.0_aarch64.tbz2”
export SAMPLE_FS_PACKAGE=“Tegra_Linux_Sample-Root-Filesystem_R34.1.0_aarch64.tbz2”
export BOARD=“jetson-agx-orin-devkit”
cd ~/Downloads
tar xf ${L4T_RELEASE_PACKAGE}
cd Linux_for_Tegra/rootfs/
sudo tar xpf …/…/${SAMPLE_FS_PACKAGE}
cd …
sudo apt-get -y install qemu-user-static
sudo ./apply_binaries.sh
#Put the AGX ORIN device into Forced Recovery mode
##Press and hold down the Force Recovery button.
##Press , then release the Power button.
##Release the Force Recovery button.
#Confirm the device is in forced recovery mode by running
lsusb | grep NVIDIA
#(deatails at Quick Start — Jetson Linux<br/>Developer Guide 34.1 documentation )
#if confirmed, then flash:
sudo ./flash.sh ${BOARD} mmcblk0p1
1 Like
Yes, glad you figured it out.
system
Closed
August 9, 2023, 1:34am
10
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.