Back up and Restore System Image on NRU-220S _ JetPack 5.x

Prerequisites

  • A host computer with L4T environment, e.g., JetPack 5.1.1

  • The latest NRU-220S tarball (e.g., ....), which could be downloaded from NRU NAS.

  • Untar the tarball in L4T folder.

circle-info

The backup procedure of AGX Orin is slightly different from AGX Xavier.

Prepare a Clone-able NRU-220S

  • Before flashing NRU-220S, make sure the APP partition of $L4T/bootloader/t186ref/cfg/flash_t234_qspi_sdmmc.xml is as the below, especially the <size> 62090379264 </size> and <allocation_attribute> 0x8 </allocation_attribute>


<partition name="APP" id="1" type="data">
    <allocation_policy> sequential </allocation_policy>
    <filesystem_type> basic </filesystem_type>
    <size> 62090379264 </size>
    <file_system_attribute> 0 </file_system_attribute>
    <allocation_attribute> 0x8 </allocation_attribute>
    <align_boundary> 16384 </align_boundary>
    <percent_reserved> 0 </percent_reserved>
    <unique_guid> APPUUID </unique_guid>
    <filename> APPFILE </filename>
    <description> **Required.** Contains the rootfs. This partition must be assigned
    the "1" for id as it is physically put to the end of the device, so that it
    can be accessed as the fixed known special device `/dev/mmcblk0p1`. </description>
</partition>

  • After NRU-220S is flashed, you may also check the APP partition size by the following command

Backup the System Image

  • Turn on NRU-220S, boot into OS, and make sure the NRU-220S is connected to the same local Ethernet with the host computer.

  • On NRU-220S, enter the following command

Restore a System Image

  • Shutdown NRU-220S, boot NRU-220S into recovery mode, connect the host and NRU-220S with a USB Type A to Type C cable.

  • On the host computer, enter the following command

Modify System Image

If a system.img has already been generated and you need to customize it, follow the steps below

Last updated