Using nv_update_engine how to upgrade the rootfs with L4T R32.5.1

When I execute the following command

sudo nv_update_engine

I got the help note like this:

Nvidia A/B-Redundancy Update tool Version 2.0
Usage:
        nv_update_engine [-i | --install [<bl> | <rf>] [--payload <file>] [--rf-updater <file>] [--no-reboot]]
                         [-v | --verify] [-d | --disable-ab] [-e | --enable-ab] [-h | --help]

-i, --install           install update
    [<bl> | <rf>]: Specify installing a bootloader update or a rootfs update. Default: bl.
    [--payload <file>]: Specify the path of the update payload.
    [--rf-updater <file>]: Specify the path of the rootfs updater program.
    [--no-reboot]: Not reboot the system when the update is installed successfully.
-v, --verify            verify update
-d, --disable-ab        disable A/B Redundancy
-e, --enable-ab         enable A/B Redundancy
-h, --help              display this help and exit

So I execute the following command like this

sudo nv_update_engine --install rf

then got following note

Nvidia A/B-Redundancy Update tool Version 2.0
Rootfs a/b current slot 0
Rootfs update payload is not found: /opt/ota_package/rootfs_update.img
Error: Rootfs update image is not found.

So I copy the system.img from my host PC and rename it to rootfs_update.img and copy it to my jetson TX2 board under /opt/ota_package,then I execute the following command again

sudo nv_update_engine -i rf

I got the following note

Nvidia A/B-Redundancy Update tool Version 2.0
Rootfs a/b current slot 0
Error: the rootfs updater is not specified.
Error: installing rootfs updates failed: -22

last and change the command as below

sudo nv_update_engine --install rf --rf-updater /opt/ota_package/rootfs_update.img

Got error too,note like this,

Nvidia A/B-Redundancy Update tool Version 2.0
Got rootfs updater: /opt/ota_package/rootfs_update.img
Rootfs a/b current slot 0
RootFS A/B SM: S2
Start updating slot: 1.
Set the state of slot 1 to OTA in progress.
Start running: /opt/ota_package/rootfs_update.img /opt/ota_package/rootfs_update.img
sh: 1: /opt/ota_package/rootfs_update.img: Exec format error
Slot 1 update failed
Error: installing rootfs updates failed: 512

Can anyone help me out?
How to generate the rootfs_update.img?

My Board: Jetson TX2
Soft version: L4T R32.5.1

rootfs A/B is not yet supported. This will be ready in next release.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.