Req.Support for NVIDIA JETSON TX2 reh

Hi,

Do you want to set up the environment and components for TX2?
If yes, the OTA command should run on TX2 rather than the host.

It will be good if you can reset the TX2 and start the h5py installation in a clean environment.
For a Ubuntu20.04, you can run SDKmanager with the docker container as below:
https://docs.nvidia.com/sdk-manager/docker-containers/index.html

Thanks.

From where to download ota_payload_package.tar.gz ?

Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

[ 0.0004 ] Generating signature
[ 0.0031 ] tegrasign_v3.py --getmode mode.txt --key
[ 0.0032 ] Assuming zero filled SBK key : not reading
[ 0.0034 ] sign_type : 0
[ 0.0034 ] header_magic: 414e4452
[ 0.0059 ] tegrahost_v2 --chip 0x18 --align 1_boot.img
[ 0.0072 ]
[ 0.0091 ] tegrahost_v2 --chip 0x18 0 --appendsigheader 1_boot.img zerosbk
[ 0.0131 ]
[ 0.0162 ] tegrasign_v3.py --key --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[ 0.0163 ] Assuming zero filled SBK key : not reading
[ 0.0451 ] tegrahost_v2 --chip 0x18 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[ 0.0529 ]
[ 0.0536 ] Signed file: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
l4t_sign_image.sh: Generate header for boot_sigheader.img.encrypt
l4t_sign_image.sh: chip 0x18: Don’t need to do anything
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for boot_sigheader.img.encrypt
l4t_sign_image.sh: the signed file is /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
done.
Skip re-generating recovery image…
copying recdtbfile(/home/spx_admin/Desktop/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb.rec)… done.
20+0 records in
20+0 records out
20 bytes copied, 0.000359075 s, 55.7 kB/s
Existing sosfile(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)… done.
Existing cpu_bootloader(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
Existing mb2blfile(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)… done.
Existing scefile(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing spefile(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/spe.bin) reused.
copying wb0boot(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)… done.
Existing tosfile(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/tos-trusty.img) reused.
Existing eksfile(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/spx_admin/Desktop/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)… done.
Copying nv_boot_control.conf to rootfs
/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x18 --key --cmd sign kernel_tegra186-quill-p3310-1000-c03-00-base.dtb kernel_dtb
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

[ 0.0004 ] Generating signature
[ 0.0027 ] tegrasign_v3.py --getmode mode.txt --key
[ 0.0028 ] Assuming zero filled SBK key : not reading
[ 0.0030 ] sign_type : 808464433
[ 0.0030 ] header_magic: d00dfeed
[ 0.0050 ] tegrahost_v2 --chip 0x18 --align 1_kernel_tegra186-quill-p3310-1000-c03-00-base.dtb
[ 0.0064 ]
[ 0.0081 ] tegrahost_v2 --chip 0x18 0 --appendsigheader 1_kernel_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[ 0.0103 ]
[ 0.0132 ] tegrasign_v3.py --key --list 1_kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[ 0.0132 ] Assuming zero filled SBK key : not reading
[ 0.0322 ] tegrahost_v2 --chip 0x18 0 --updatesigheader 1_kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt 1_kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[ 0.0357 ]
[ 0.0366 ] Signed file: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x18: Don’t need to do anything
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
l4t_sign_image.sh: the signed file is /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
done.
Skip generating system.img
Existing tbcfile(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/spx_admin/Desktop/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)… done.
copying cfgfile(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186_R32A_R32i_emmc.xml) to flash.xml… done.
Existing flasher(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_lpddr4_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd “sign” --cfg flash.xml --chip 0x18 --misc_config tegra186-mb1-bct-misc-si-l4t.cfg --pinmux_config tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --dev_params emmc.cfg --bins “mb2_bootloader nvtboot_recovery.bin; mts_preboot preboot_d15_prod_cr.bin; mts_bootpack mce_mts_d15_prod_cr.bin; bpmp_fw bpmp.bin; bpmp_fw_dtb tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb; tlk tos-trusty.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb”
saving flash command in /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/flash_win.bat
*** Sign and generate flashing ready partition images… ***
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

[ 0.0088 ] Using default ramcode: 0
[ 0.0088 ] Disable BPMP dtb trim, using default dtb
[ 0.0088 ]
[ 0.0115 ] tegrasign_v3.py --getmode mode.txt --key None
[ 0.0116 ] Assuming zero filled SBK key
[ 0.0116 ] Generating RCM messages
[ 0.0137 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
[ 0.0146 ] RCM 0 is saved as rcm_0.rcm
[ 0.0151 ] RCM 1 is saved as rcm_1.rcm
[ 0.0152 ] List of rcm files are saved in rcm_list.xml
[ 0.0152 ]
[ 0.0152 ] Signing RCM messages
[ 0.0174 ] tegrasign_v3.py --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0175 ] Assuming zero filled SBK key
[ 0.0277 ] Copying signature to RCM mesages
[ 0.0301 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.0320 ]
[ 0.0320 ] Parsing partition layout
[ 0.0348 ] tegraparser_v2 --pt flash.xml.tmp
[ 0.0384 ]
[ 0.0385 ] Creating list of images to be signed
[ 0.0408 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[ 0.1583 ]
[ 0.1584 ] Generating signatures
[ 0.1621 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.1622 ] Assuming zero filled SBK key
[ 1.3614 ] Generating br-bct
[ 1.3641 ] Updating dev and MSS params in BR BCT
[ 1.3643 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_lpddr4_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18 0
[ 1.3998 ]
[ 1.3999 ] Updating bl info
[ 1.4033 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 1.4055 ]
[ 1.4056 ] Updating smd info
[ 1.4075 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[ 1.4111 ]
[ 1.4112 ] Updating Odmdata
[ 1.4139 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatefields Odmdata =0x1090000
[ 1.4156 ]
[ 1.4157 ] Get Signed section of bct
[ 1.4185 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --listbct bct_list.xml
[ 1.4202 ]
[ 1.4221 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 1.4238 ] /usr/bin/env: ‘python’: No such file or directory
*[ 1.4245 ] **
Error: Return value 127
Command tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key
signed_dir=/home/spx_admin/Desktop/Linux_for_Tegra/R28_R32-ToT_OTA/images-R32A-R32i/3310-B01–
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
Warning: the file written to partition BCT is not found
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
Warning: the file written to partition MB1_BCT is not found
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
Warning: the file written to partition bootloader-dtb is not found
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
Warning: the file written to partition bpmp-fw-dtb is not found
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
Warning: the file written to partition kernel-dtb is not found
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
Warning: the file written to partition recovery-dtb is not found
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
grep: /home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx: No such file or directory
Warning: the file written to partition VER is not found
cp: cannot stat '/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/gpt.bin’: No such file or directory

cp: cannot stat ‘/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/flash.idx’: No such file or directory
cp: cannot stat ‘/home/spx_admin/Desktop/Linux_for_Tegra/bootloader/signed/*’: No such file or directory
Error: flashing index file /home/spx_admin/Desktop/Linux_for_Tegra/R28_R32-ToT_OTA/images-R28-R32i/3310-B01–/flash.idx is not found

what to do now?

Hi,

Have you checked the document shared above first?
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/updating_jetson_and_host.html

The OTA feature for system upgrading and package installing can be done via the apt tool directly.

Thanks.

hi,
yes…i am checking same document

And the above Error log is on following the

Updating Jetson Linux with Image-Based Over-the-Air Update on the same document

And If I am trying to follow Updating from the NVIDIA APT Server, i was getting error log as i posted on Jan19 on the device:
GPG error
NO_PUBKEY 0D296FFB880FB005
W: The repository ‘http://repo.download.nvidia.con/jetson/x86_64 xenial InRelease’ is not signed.
Also unable to located packages libvvpil,vpil-dev,python-vpil,nsihr-systens-2021.2.3…

Hi,

Sorry for the late update.

Do you run the apt command on the host?
Please noted that the OTA command should be run on the TX2 directly.

Thanks.

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