Flash_Jetson_Device_on_Linux - KunSheng-Liu/Autonomous-Driving GitHub Wiki

AGX Flashing


Nvidia SDK Manager

  1. Install on the PC (Link)

  2. Launch SDK Manager

    sdkmanager
    

    SDK_Manager

  3. Choose the device and Jetpack version

    Choose_Device

    Choose_Jetpack_Version

  4. Choose Components

    Choose_Components

  5. Connect to the device and config as the picture

    Connect_to_Device

    • Note: the device should be in Recovery Mode, if not,
      1. Shut down the device sudo reboot

      2. Hold the power and refresh buttons at the same time

      3. Wait for SDK Manager to detect

        Choose_Recovery_Device

  6. Wait for flashing (Fig. 1) until SDK Manager asks for connection again (Fig. 2)

    Flashing

    Config_IP.png

  7. Log in the device through the above password, and set up ethernet

    Login.png

    Set_IP_1.png

    Set_IP_2.png

  8. Back to SDK Manager on PC, enter the IP then keep waiting for installation

    Apply_IP.png

    Link_up.png

    Flashing

  9. Finish

    Finish_Flash

Jetson Status


sudo apt-get install python3-pip
sudo pip3 install -U jetson-stats
sudo reboot
jtop

Setup for Git


  1. Generate ssh key

    ssh-keygen -C "AGX@kunsheng-Lab"
    
  2. Copy the public key

    cd ~/.ssh/
    cat id_rsa.pub
    

    Get_SSH_key

  3. Post to GitLab

    Add_SSH_key

  4. Setup GitLab config

    cd ~/.ssh/
    touch config
    vim config
    

    Set_config

  5. Setup Git config

    git config --global user.name KunSheng
    git config --global user.email [email protected]
    

Visual Code


wget http://update.code.visualstudio.com/1.65.2/linux-deb-arm64/stable
sudo dpkg -i stable