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 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.