Hi I’m Jang
I would appreciate your understanding that English is not my first language.
I have TX2 kit, L4T version is 27.1
In order to update the L4T version from 27.1 to 28.1, I have seen and followed the following manuals.
1. Download the L4T R28.1 for TX2 from link below.
https://www.dropbox.com/sh/8p3kgws42csrulu/AADYMwGXYE2_qKjtPLVDawgta?dl=0
and follow below steps to flash the R28.1 image the TX2.
Set the TX2 to recovery mode
sudo tar xpf Tegra186_Linux_R28.1.0_aarch64.tbz2
cd Linux_for_Tegra/rootfs/
sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R28.1.0_aarch64.tbz2
cd ..
sudo ./apply_binaries.sh
Copy and replace the tegra186-quill-p3310-1000-c03-00-base.dtb under Linux_for_Tegra/kernel/dtb
sudo ./flash.sh jetson-tx2 mmcblk0p1
However, there was a problem that ‘recovery mode’ was not recognized in ‘vm ubuntu’, but it was solved and now I did the last line ‘sudo ./flash.sh jetson-tx2 mmcblk0p1’
The execution result is very long I will give a brief introduction to help those who see this article understand.
./tegraflash.py --chip 0x18 --applet "/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin" --cmd "dump eeprom boardinfo cvm.bin" --skipuid
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.0029 ] Generating RCM messages
[ 0.0046 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm /home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[ 0.0057 ] RCM 0 is saved as rcm_0.rcm
[ 0.0067 ] RCM 1 is saved as rcm_1.rcm
[ 0.0067 ] List of rcm files are saved in rcm_list.xml
[ 0.0067 ]
[ 0.0067 ] Signing RCM messages
[ 0.0078 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0083 ] Assuming zero filled SBK key
[ 0.0120 ]
[ 0.0120 ] Copying signature to RCM mesages
[ 0.0126 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[ 0.0134 ]
[ 0.0135 ] Boot Rom communication
[ 0.0139 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
[ 0.0143 ] RCM version 0X180001
[ 0.0188 ] Boot Rom communication completed
[ 1.0542 ]
[ 1.0548 ] tegrarcm_v2 --isapplet
[ 1.0553 ] USB communication failed.Check if device is in recovery
[ 1.8666 ]
[ 1.8699 ] tegradevflash_v2 --iscpubl
[ 1.8703 ] CPU Bootloader is not running on device.
[ 1.9802 ]
[ 3.0918 ] Retrieving EEPROM data
[ 3.0922 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/cvm.bin
[ 3.0949 ] Applet version 01.00.0000
[ 3.2059 ] Saved platform info in /home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/cvm.bin
[ 3.4138 ]
Board ID(3310) version(B02)
copying bctfile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg)... done.
copying misc_config(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)... done.
copying pinmux_config(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)... done.
copying pmic_config(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg)... done.
copying pmc_config(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg)... done.
copying prod_config(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)... done.
copying scr_config(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)... done.
copying scr_cold_boot_config(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)... done.
copying bootrom_config(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)... done.
copying dev_params(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)... done.
Existing bootloader(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
populating kernel to rootfs... done.
populating initrd to rootfs... done.
populating extlinux.conf.emmc to rootfs... done.
populating /home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to rootfs... done.
done.
Making Boot image... done.
Existing sosfile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)... done.
Existing mb2blfile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)... done.
Existing scefile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/camera-rtcpu-sce.bin) reused.
Existing spefile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/spe.bin) reused.
copying wb0boot(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)... done.
Existing tosfile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/tos.img) reused.
Existing eksfile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
Making system.img...
populating rootfs from /home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/rootfs ... done.
Sync'ing system.img ... done.
Converting RAW image to Sparse image...
---- Raw to Sparse Image Converter v1.0 ----------------------------
0: RAW: 4235264( 1034 blks) ==> 28:4235276
1: SKP: 28672( 7 blks) ==> 4235304:12
2: RAW: 4096( 1 blks) ==> 4235316:4108
3: SKP: 61440( 15 blks) ==> 4239424:12
4: RAW: 4096( 1 blks) ==> 4239436:4108
5: SKP: 33550336( 8191 blks) ==> 4243544:12
6: RAW: 24576( 6 blks) ==> 4243556:24588
7: SKP: 96309248( 23513 blks) ==> 4268144:12
8: RAW: 12288( 3 blks) ==> 4268156:12300
9: SKP: 4186112( 1022 blks) ==> 4280456:12
10: RAW: 729088( 178 blks) ==> 4280468:729100
###
done.
system.img built successfully.
Existing tbcfile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
copying cfgfile(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml... done.
Existing flasher(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd "flash; reboot" --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.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"
saving flash command in /home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/flashcmd.txt
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd "flash; reboot" --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.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"
saving flash parameters in /home/jc/Downloads/TX2-R28.1/Linux_for_Tegra/bootloader/flash_parameters.txt
--bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd "flash; reboot" --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.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"
*** Flashing target device started. ***
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.0015 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.0021 ] Assuming zero filled SBK key
[ 0.0038 ]
###
[ 0.2968 ] MB1-BCT version: 0xe
[ 0.2972 ]
[ 0.2976 ] tegrahost_v2 --align mb1_bct_MB1.bct
[ 0.2981 ]
[ 0.2985 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[ 0.2990 ]
[ 0.2996 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml
[ 0.3000 ] Assuming zero filled SBK key
[ 0.3011 ]
[ 0.3017 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[ 0.3023 ]
[ 0.3023 ] Copying signatures
[ 0.3028 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.3086 ]
[ 0.3087 ] Boot Rom communication
[ 0.3095 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml
[ 0.3102 ] BootRom is not running
[ 1.3390 ]
[ 1.3420 ] tegrarcm_v2 --isapplet
[ 1012.8564 ]
[ 1012.8625 ] tegradevflash_v2 --iscpubl
[ 1012.8653 ] CPU Bootloader is not running on device.
[ 2028.6645 ]
This is all the result of the execution.
At the end of
[ 1.3390 ]
[ 1.3420 ] tegrarcm_v2 --isapplet'
it took some time(about 10 minutes) and passed to the next,
[ 1012.8653 ] CPU Bootloader is not running on device.
[ 2028.6645 ]
did not work even after one hour, so i forcibly quit
Why can not i do what i want?
How can we solve this problem?
Thank you for reading the long story. i look forward to a good solution coming up. Thank you