Jetson Orin NX 烧录Ubuntu20.04系统

JetPack 5.1.3 介绍:JetPack SDK | NVIDIA Developer

Jetson Linux 35.5.0下载地址:Jetson Linux | NVIDIA Developer

官方文档:Welcome — NVIDIA Jetson Linux Developer Guide 1 documentation

步骤:

  1. 下载驱动包及根文件系统
    https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v5.0/release/jetson_linux_r35.5.0_aarch64.tbz2
    https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v5.0/release/tegra_linux_sample-root-filesystem_r35.5.0_aarch64.tbz2
  2. 解压
    $ tar xf jetson_linux_r35.5.0_aarch64.tbz2
    $ sudo tar xpf tegra_linux_sample-root-filesystem_r35.5.0_aarch64.tbz2 -C Linux_for_Tegra/rootfs/
    $ cd Linux_for_Tegra/
    $ sudo ./apply_binaries.sh
    $ sudo ./tools/l4t_flash_prerequisites.sh
  3. 将开发板置于烧录模式
    使用跳线短接FC REC 和 GND引脚,上电,取下跳线
    确认是否进入烧录模式,lsusb

    Bus <bbb> Device <ddd>: ID 0955: <nnnn> Nvidia Corp
  4. 刷机
    $ sudo ./nvsdkmanager_flash.sh --storage nvme0n1p1

备份:

修改Linux_for_Tegra/tools/backup_restore/目录下文件
l4t_backup_restore.sh
l4t_backup_restore.sh
nvbackup_partitions.sh
nvrestore_partitions.sh
将mmcblk0替换为nvme0n1

sudo ./tools/backup_restore/l4t_backup_restore.sh -b <board-name>

例如 ORin NX:
sudo ./tools/backup_restore/l4t_backup_restore.sh -b p3768-0000+p3767-0000

恢复:

sudo ./tools/backup_restore/l4t_backup_restore.sh -r <board-name>
例如 Orin NX
sudo ./tools/backup_restore/l4t_backup_restore.sh -r p3768-0000+p3767-0000