# How to perform OS OTA delta updates to Jetson Xavier NX 5.1.1JetPack using Mender?

**URL:** <https://hub.mender.io/t/how-to-perform-os-ota-delta-updates-to-jetson-xavier-nx-5-1-1jetpack-using-mender/5768>\
**Category:** Debian family\
**Tags:** jetson-xavier-nx\
**Created:** [April 17, 2023, 10:44am UTC](https://hub.mender.io/t/how-to-perform-os-ota-delta-updates-to-jetson-xavier-nx-5-1-1jetpack-using-mender/5768 "2023-04-17T10:44:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_1](https://avatars.discourse-cdn.com/v4/letter/u/f19dbf/32.png) [@user\_1](https://hub.mender.io/u/user_1)\
**Post date:** [April 17, 2023, 10:44am UTC](https://hub.mender.io/t/how-to-perform-os-ota-delta-updates-to-jetson-xavier-nx-5-1-1jetpack-using-mender/5768/1 "2023-04-17T10:44:05Z")

</div>

# Not able to place Jetson Xavier NX in read-only rootfs.

##### Followed below steps to perform delta updates to Jetson Xavier NX 5.1.1 JetPack:

_ **Board** _ : Jetson Xavier NX emmc  
_ **JetPack** _ _ **Version** _: 5.1.1  
_ **OS\_OTA status using mender** _: Success

- Download `mender-binary-delta` to create delta-package using below commands on `host_machine` i.e. Ubuntu

- Created Mender artifacts using below command for 5.1.1 JP which includes only Payload package.  
`mender-artifact write module-image -T rootfs-image -n ${ARTIFACT_NAME} -t ${DEVICE_TYPE} -o ${OUTPUT_PATH} -f ${IMAGE}`

- Created 2 Mender artifacts to create delta package by comparing artifacts containing only the difference between the two artifacts.  
1. `5.1.1-1-rootfs-image-8.0.mender`  
– Original(Successfully deployed)  
2. `5.1.1-0-rootfs-image-8.0.mender`  
– Added few files(100MB) into rootfs filesystem as delta changes.

- Executed the steps below to generate the delta artifact:  
`# 5.1.1-1-rootfs-image-8.0.mender - release running on the device `  
`# 5.1.1-0-rootfs-image-8.0.mender - new release`

- I tried to place rootfs in read-only by updating _ **/boot/extlinux/extlinux.conf** _ file  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/d/de790f60a8a8315b337f365ca1d9f12b05a6f68d.png)

- Currently Slot B is active & Can you kindly provide more detailed information on which Slot I need to place read-only rootfs ?

- However it didn’t work, can you help us here to perform delta updates in Jetson device.

---

<div class="post-metadata">

**Author:** ![user\_1](https://avatars.discourse-cdn.com/v4/letter/u/f19dbf/32.png) [@user\_1](https://hub.mender.io/u/user_1)\
**Post date:** [April 17, 2023, 1:12pm UTC](https://hub.mender.io/t/how-to-perform-os-ota-delta-updates-to-jetson-xavier-nx-5-1-1jetpack-using-mender/5768/2 "2023-04-17T13:12:43Z")

</div>

I performed deployed using artifacts created in earlier stage. now I’m facing below issue:  
**Mender error logs:**

> Fetching Artifact headers failed: installer: failed to read Artifact: readHeaderV3: handleHeaderReads: Artifact Payload type ‘rootfs-image’ is not supported by this Mender Client. Ensure that the Mender Client is fully integrated and that the RootfsPartA/B configuration variables are set correctly in ‘mender.conf’.

Error seems to be because of the `Artifact Payload type as 'rootfs-image'` but we to create mender delta package need to have Artifact Payload type as 'rootfs-image.  
Delta package creation isn’t working when `Artifact Payload type as 'rootfs-image-jetson'`.

Kindly provide you’re help here  
Thank you

---

<div class="post-metadata">

**Author:** ![lramirez](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lramirez/32/1195_2.png) [@lramirez](https://hub.mender.io/u/lramirez)\
**Post date:** [April 17, 2023, 9:16pm UTC](https://hub.mender.io/t/how-to-perform-os-ota-delta-updates-to-jetson-xavier-nx-5-1-1jetpack-using-mender/5768/3 "2023-04-17T21:16:14Z")

</div>

Hello @user_1,

Sadly the delta updates are not compatible with your configuration.

`rootfs-image` updates are exclusively with Operating Systems where we integrated Mender with the bootloader. For example, a yocto-based OS that has Mender layer included or a Debian/Ubuntu-based system that uses GRUB or u-boot. In the case of Jetson Linux (Ubuntu-based) from Nvidia, we created an Update Module that makes usage of the official Nvidia utilities (like `nvbootctrl`) to handle the swap from Active to Inactive slot, and some other utilities from Nvidia in order to copy the payload into the inactive slot.

Saying that, we are not talking about a real `rootfs update` at block-level but using the mechanism of copying its content as Nvidia designed their process in this way.

When you deploy delta updates by using the Mender way, the read-only active slot is copied to the inactive one, and then the deltas are applied. In this case, to have the active slot as read-only is a must.

So far what I can advise is to compress the payload of the mender artifact by any other technology and then tell Mender by using an Update Module how to uncompress this payload.

Hope this information helps, have a nice day!  
Luis

---

<div class="post-metadata">

**Author:** ![user\_1](https://avatars.discourse-cdn.com/v4/letter/u/f19dbf/32.png) [@user\_1](https://hub.mender.io/u/user_1)\
**Post date:** [April 18, 2023, 5:38am UTC](https://hub.mender.io/t/how-to-perform-os-ota-delta-updates-to-jetson-xavier-nx-5-1-1jetpack-using-mender/5768/4 "2023-04-18T05:38:38Z")

</div>

Hi @lramirez ,

Thanks for providing us more details about delta updates.

Also thanks for the suggestion for compressing the mender artifact’s payload. Even we had the idea to execute OTA OS updates following payload compression.

Thanks & Regards  
Arun Reddy

---

<div class="post-metadata">

**Author:** ![fmartin](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/fmartin/32/2012_2.png) [@fmartin](https://hub.mender.io/u/fmartin)\
**Post date:** [September 19, 2023, 3:04pm UTC](https://hub.mender.io/t/how-to-perform-os-ota-delta-updates-to-jetson-xavier-nx-5-1-1jetpack-using-mender/5768/5 "2023-09-19T15:04:01Z")

</div>

Hello @lramirez,  
Any updating regarding support of Jetson Xavier NX 5.1.1 Jetpack?  
It would be interesting for us to know if there is any effort on this front even if it is done for a different Jetson system that is not Xavier NX so we could try to adapt it for our target system.  
Thank you.

---

<div class="post-metadata">

**Author:** ![lramirez](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lramirez/32/1195_2.png) [@lramirez](https://hub.mender.io/u/lramirez)\
**Post date:** [September 21, 2023, 2:52am UTC](https://hub.mender.io/t/how-to-perform-os-ota-delta-updates-to-jetson-xavier-nx-5-1-1jetpack-using-mender/5768/6 "2023-09-21T02:52:32Z")

</div>

Hello @fmartin,

Currently I am working on this integration. I don’t have an ETA, but I can tell you that this is actively in progress on my plate.

BR,  
Luis

---

<div class="post-metadata">

**Author:** ![fmartin](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/fmartin/32/2012_2.png) [@fmartin](https://hub.mender.io/u/fmartin)\
**Post date:** [November 3, 2023, 4:30pm UTC](https://hub.mender.io/t/how-to-perform-os-ota-delta-updates-to-jetson-xavier-nx-5-1-1jetpack-using-mender/5768/7 "2023-11-03T16:30:46Z")

</div>

Hello @lramirez ,

I guess there are no updates regarding this. Just double checking.

Thank you.  
Regards.
