# Problems to create the OTA payload using the steps in the guide

**URL:** <https://forums.developer.nvidia.com/t/problems-to-create-the-ota-payload-using-the-steps-in-the-guide/256777>\
**Category:** Jetson AGX Orin\
**Tags:** boot, kernel, ota\
**Created:** [June 15, 2023, 10:49am UTC](https://forums.developer.nvidia.com/t/problems-to-create-the-ota-payload-using-the-steps-in-the-guide/256777 "2023-06-15T10:49:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![greivin.fallas](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/greivin.fallas/32/273049_2.png) [@greivin.fallas](https://forums.developer.nvidia.com/u/greivin.fallas)\
**Post date:** [June 15, 2023, 10:49am UTC](https://forums.developer.nvidia.com/t/problems-to-create-the-ota-payload-using-the-steps-in-the-guide/256777/1 "2023-06-15T10:49:49Z")

</div>

Hi all,

I’m trying to use the OTA feature in the latest release on a Orin AGX devkit, following the guide at [Software Packages and the Update Mechanism — Jetson Linux Developer Guide documentation](https://docs.nvidia.com/jetson/archives/r35.3.1/DeveloperGuide/text/SD/SoftwarePackagesAndTheUpdateMechanism.html#updating-jetson-linux-with-image-based-over-the-air-update) to run the OTA using an Image and the sample rootfs, I’m not being able to get the payload.

This is the error at the end of the log at step 7:

> \*\*\* Sign and generate BUP… \*\*\*  
> Signing with zerosbk …  
> /home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/l4t\_bup\_gen.func: /home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/rollback/rollback\_parser.py: /usr/bin/python: bad interpreter: No such file or directory  
> ###############################################################################
> 
> # L4T BSP Information:
> 
> # R35 , REVISION: 3.1
> 
> # User release: 0.0
> 
> ###############################################################################  
> Board ID(3701) version(000) sku(0000) revision()  
> copying bctfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-p3701-0000-sdram-l4t.dts)… done.  
> copying minratchet\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-ratchet-p3701-0000.dts)… done.  
> copying device\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3701-0000.dts)… done.  
> copying misc\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3701-0000.dts)… done.  
> copying pinmux\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-pinmux-p3701-0000.dtsi)… done.  
> copying gpioint\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-gpioint-p3701-0000.dts)… done.  
> copying pmic\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-pmic-p3701-0000.dts)… done.  
> copying pmc\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-padvoltage-p3701-0000.dtsi)… done.  
> copying deviceprod\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-cprod-p3701-0000.dts)… done.  
> copying prod\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-prod-p3701-0000.dts)… done.  
> copying scr\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb2-bct-scr-p3701-0000.dts)… done.  
> copying wb0sdram(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-p3701-0000-wb0sdram-l4t.dts)… done.  
> copying bootrom\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-reset-p3701-0000.dts)… done.  
> Existing uphylane\_config(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/tegra234-mb1-bct-uphylane-si.dtsi) reused.  
> copying dev\_params(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-p3701-0000.dts)… done.  
> copying dev\_params\_b(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-br-bct\_b-p3701-0000.dts)… done.  
> copying mb2bct\_cfg(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb2-bct-misc-p3701-0000.dts)… done.  
> Existing pscfwfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/pscfw\_t234\_prod.bin) reused.  
> Existing pscbl1file(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/psc\_bl1\_t234\_prod.bin) reused.  
> Existing mtsmcefile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/mce\_flash\_o10\_cr\_prod.bin) reused.  
> Existing mb2applet(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/applet\_t234.bin) reused.  
> Existing bootloader(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/mb2\_t234.bin) reused.  
> copying initrd(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/l4t\_initrd.img)… done.  
> bl is uefi  
> Making Boot image… done.  
> Not signing of boot.img  
> /home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/flash.sh: line 2890: python: command not found  
> Existing sosfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/mb1\_t234\_prod.bin) reused.  
> Existing tegraboot(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/mb2\_t234.bin) reused.  
> Existing cpu\_bootloader(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/mb2\_t234.bin) reused.  
> Existing mb2blfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/mb2\_t234.bin) reused.  
> Existing xusbfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/xusb\_t234\_prod.bin) reused.  
> Existing dcefile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/display-t234-dce.bin) reused.  
> Existing nvdecfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/nvdec\_t234\_prod.fw) reused.  
> Existing psc\_rf(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/psc\_rf\_t234\_prod.bin) reused.  
> Existing mb2\_rf(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/mb2rf\_t234.bin) reused.  
> Existing mb1file(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/mb1\_t234\_prod.bin) reused.  
> Existing bpffile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/bpmp\_t234-TE990M-A1\_prod.bin) reused.  
> copying bpfdtbfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/tegra234-bpmp-3701-0000-3737-0000.dtb)… done.  
> Existing scefile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/camera-rtcpu-sce.img) reused.  
> Existing camerafw(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/camera-rtcpu-t234-rce.img) reused.  
> Existing apefile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/adsp-fw.bin) reused.  
> Existing spefile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/spe\_t234.bin) reused.  
> Existing wb0boot(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/sc7\_t234\_prod.bin) reused.  
> Existing tosfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/tos-optee\_t234.img) reused.  
> Existing eksfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/eks\_t234.img) reused.  
> copying dtbfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/kernel/dtb/tegra234-p3701-0000-p3737-0000.dtb)… done.  
> Copying nv\_boot\_control.conf to rootfs  
> Skip generating system.img  
> Not signing of kernel-dtb  
> Existing tbcfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/uefi\_jetson.bin) reused.  
> copying tbcdtbfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/kernel/dtb/tegra234-p3701-0000-p3737-0000.dtb)… done.  
> copying cfgfile(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/t186ref/cfg/flash\_t234\_qspi\_sdmmc.xml) to flash.xml… done.  
> Existing flashapp(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/tegraflash.py) reused.  
> copying overlay\_dtb(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/kernel/dtb/L4TConfiguration.dtbo)… done.  
> copying overlay\_dtb(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/kernel/dtb/tegra234-p3737-audio-codec-rt5658-40pin.dtbo)… done.  
> copying overlay\_dtb(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/kernel/dtb/tegra234-p3737-overlay.dtbo)… done.  
> copying overlay\_dtb(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/kernel/dtb/tegra234-p3701-overlay.dtbo)… done.  
> copying overlay\_dtb(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/kernel/dtb/tegra234-p3737-camera-dual-imx274-overlay.dtbo)… done.  
> copying overlay\_dtb(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/kernel/dtb/tegra234-p3737-camera-e3331-overlay.dtbo)… done.  
> copying overlay\_dtb(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/kernel/dtb/tegra234-p3737-camera-e3333-overlay.dtbo)… done.  
> copying overlay\_dtb(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/kernel/dtb/tegra234-p3737-camera-imx185-overlay.dtbo)… done.  
> copying overlay\_dtb(/home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/kernel/dtb/tegra234-p3737-camera-imx390-overlay.dtbo)… done.  
> ./tegraflash.py --bl uefi\_jetson\_with\_dtb.bin --odmdata gbe-uphy-config-22,hsstp-lane-map-3,nvhs-uphy-config-0,hsio-uphy-config-0,gbe0-enable-10g --overlay\_dtb L4TConfiguration.dtbo,tegra234-p3737-audio-codec-rt5658-40pin.dtbo,tegra234-p3737-overlay.dtbo,tegra234-p3701-overlay.dtbo,tegra234-p3737-camera-dual-imx274-overlay.dtbo,tegra234-p3737-camera-e3331-overlay.dtbo,tegra234-p3737-camera-e3333-overlay.dtbo,tegra234-p3737-camera-imx185-overlay.dtbo,tegra234-p3737-camera-imx390-overlay.dtbo, --bldtb tegra234-p3701-0000-p3737-0000.dtb --applet mb1\_t234\_prod.bin --cmd “sign” --cfg flash.xml --chip 0x23 --concat\_cpubl\_bldtb --cpubl uefi\_jetson.bin --minratchet\_config tegra234-mb1-bct-ratchet-p3701-0000.dts --device\_config tegra234-mb1-bct-device-p3701-0000.dts --misc\_config tegra234-mb1-bct-misc-p3701-0000.dts --pinmux\_config tegra234-mb1-bct-pinmux-p3701-0000.dtsi --gpioint\_config tegra234-mb1-bct-gpioint-p3701-0000.dts --pmic\_config tegra234-mb1-bct-pmic-p3701-0000.dts --pmc\_config tegra234-mb1-bct-padvoltage-p3701-0000.dtsi --deviceprod\_config tegra234-mb1-bct-cprod-p3701-0000.dts --prod\_config tegra234-mb1-bct-prod-p3701-0000.dts --scr\_config tegra234-mb2-bct-scr-p3701-0000.dts --wb0sdram\_config tegra234-p3701-0000-wb0sdram-l4t.dts --br\_cmd\_config tegra234-mb1-bct-reset-p3701-0000.dts --uphy tegra234-mb1-bct-uphylane-si.dtsi --dev\_params tegra234-br-bct-p3701-0000.dts,tegra234-br-bct\_b-p3701-0000.dts --mb2bct\_cfg tegra234-mb2-bct-misc-p3701-0000.dts --bins “psc\_fw pscfw\_t234\_prod.bin; mts\_mce mce\_flash\_o10\_cr\_prod.bin; mb2\_applet applet\_t234.bin; mb2\_bootloader mb2\_t234.bin; xusb\_fw xusb\_t234\_prod.bin; dce\_fw display-t234-dce.bin; nvdec nvdec\_t234\_prod.fw; bpmp\_fw bpmp\_t234-TE990M-A1\_prod.bin; bpmp\_fw\_dtb tegra234-bpmp-3701-0000-3737-0000.dtb; sce\_fw camera-rtcpu-sce.img; rce\_fw camera-rtcpu-t234-rce.img; ape\_fw adsp-fw.bin; spe\_fw spe\_t234.bin; tos tos-optee\_t234.img; eks eks\_t234.img” --sdram\_config tegra234-p3701-0000-sdram-l4t.dts --secondary\_gpt\_backup --bct\_backup --boot\_chain A  
> saving flash command in /home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/flashcmd.txt  
> saving Windows flash command to /home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/bootloader/flash\_win.bat  
> \*\*\* Sign and generate BUP… \*\*\*  
> t23x payload generation complete with 5 failure(s)

> SUCCESS: cleaned up BUP tmp files prior to payload creation  
> FAILURE: no payload made for config “boardid=3701;fab=000;boardsku=0000;boardrev=;fuselevel\_s=1;chiprev=;board=jetson-agx-orin-devkit;rootdev=mmcblk0p1;signed\_img\_dir=images-R35-ToT”  
> FAILURE: no payload made for config “boardid=3701;fab=000;boardsku=0004;boardrev=;fuselevel\_s=1;chiprev=;board=jetson-agx-orin-devkit;rootdev=mmcblk0p1;signed\_img\_dir=images-R35-ToT”  
> FAILURE: no payload made for config “boardid=3701;fab=300;boardsku=0000;boardrev=;fuselevel\_s=1;chiprev=;board=jetson-agx-orin-devkit;rootdev=mmcblk0p1;signed\_img\_dir=images-R35-ToT”  
> FAILURE: no payload made for config “boardid=3701;fab=300;boardsku=0004;boardrev=;fuselevel\_s=1;chiprev=;board=jetson-agx-orin-devkit;rootdev=mmcblk0p1;signed\_img\_dir=images-R35-ToT”  
> FAILURE: no payload made for config “boardid=3701;fab=000;boardsku=0005;boardrev=;fuselevel\_s=1;chiprev=;board=jetson-agx-orin-devkit;rootdev=mmcblk0p1;signed\_img\_dir=images-R35-ToT”  
> SUCCESS: cleaned up BUP tmp files after payload creation  
> Failed to run /home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/l4t\_generate\_soc\_bup.sh -f /home/ANT.AMAZON.COM/fallasg/Downloads/test/Linux\_for\_Tegra/tools/ota\_tools/version\_upgrade/ota\_board\_specs.conf -e jetson\_agx\_orin\_devkit\_ota\_emmc\_r35\_spec -b jetson-agx-orin-devkit t23x

I used this command to regenerate the image but I’m not sure if there is missing:

> sudo -E ./tools/ota\_tools/version\_upgrade/l4t\_generate\_ota\_package.sh jetson-agx-orin-devkit R35-3

Any idea about what is wrong/missing?  
I tried with the sample rootfs.

---

<div class="post-metadata">

**Author:** ![greivin.fallas](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/greivin.fallas/32/273049_2.png) [@greivin.fallas](https://forums.developer.nvidia.com/u/greivin.fallas)\
**Post date:** [June 15, 2023, 5:04pm UTC](https://forums.developer.nvidia.com/t/problems-to-create-the-ota-payload-using-the-steps-in-the-guide/256777/2 "2023-06-15T17:04:31Z")

</div>

NVM, had missing link to python,

> update-alternatives —install /usr/bin/python python /usr/bin/python3.10 1

This solved the problem

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [June 19, 2023, 12:40am UTC](https://forums.developer.nvidia.com/t/problems-to-create-the-ota-payload-using-the-steps-in-the-guide/256777/3 "2023-06-19T00:40:41Z")

</div>

Glad to know issue resolved, thanks for the sharing!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [July 3, 2023, 12:41am UTC](https://forums.developer.nvidia.com/t/problems-to-create-the-ota-payload-using-the-steps-in-the-guide/256777/4 "2023-07-03T00:41:02Z")

</div>

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