• sales

    +86-0755-88291180

Setting up Jetson nano to boot the system from a USB Flash Disk

Introduction

Herein mainly introduces Jetson Nano modules with 16GB eMMC memory according to official nvidia tutorial. All information is subject to the official website of nvidia.

Reference Links

Hardware Preparation

  • Jetson Nano module, corresponding power supply and heatsink
  • Ubuntu18.04 computer host
  • U disk with USB interface or mobile hard disk (USB3,0 is recommended)
  • a USB data cable (Micro USB interface, for transmitting data)

Software Preparation

  • Install SDK Manager and flash system configuration for Jetson Nano.
    • Tutorial: SDKM flash Nano
    • Record the address of the downloaded HW Imager during the flashing process for later.


  • Connect the U disk to the nano, and check the device number of it in the nano, such as sda.
ls /dev/sd* 
  • Insert the U disk to the ubuntu computer.
  • Check the device number of the U disk on the computer, such as sdb.
sudo lsblk -p -d | grep sd 
  • Note: If your U disk has been partitioned before, it is recommended to format and adjust it to a partition on another computer first.
  • Format the USB drive to ext4
sudo mkfs.ext4 /dev/sdb 
  • Note: Please refer to your actual situation for the specific device number. Some devices may be sda or others.
  • Mount U disk
sudo mount /dev/sdb /mnt 
  • Enter the HW Imager address and copy the rootfs.
cd <path>/Linux_for_Tegra/rootfs/ 
  • Note: Please refer to your actual address. For example, the author's path command:
cd/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_Nano_TARGETS/Linux_for_Tegra/rootfs/ 
  • Copy the file system to the U disk.
sudo tar -cpf - * | ( cd /mnt/ ; sudo tar -xpf - ) 
  • After finishing the copy, unmount the U disk, (note: don't pull it out).
sudo umount /mnt 
  • Set up nano as recovery mode (refer to the flashing tutorial), then connect it to the ubuntu computer and input the flashing command.
cd ../
csudo ./falsh.sh jetson-nano-emmc sda
  • Note: Sda should be filled in as the actual device number of the U disk recognized by nano in the first step.
  • After flashing, disconnect the nano and the U disk. Insert the U disk to the Nano before powering on it, and follow the prompts to complete the configuration.