Jetpack output when flashing Jetson TX1

From RidgeRun Developer Wiki
Please put your device to Force USB Recovery Mode, when your are ready, press Enter key
To place system in Force USB Recovery Mode:
1. Power down the device. If connected, remove the AC adapter from the device. The device MUST be powered OFF, not in a suspend or sleep state.
2. Connect the Micro-B plug on the USB cable to the Recovery (USB Micro-B) Port on the device and the other end to an available USB port on the host PC.
3. Connect the power adapter to the device.
4. Press and release the POWER button to power on device. Press and hold the FORCE RECOVERY button: while pressing the FORCE RECOVERY button, press and release the RESET button; wait two seconds and release the FORCE RECOVERY button.;
5. When device is in recovery mode, lsusb command on host will list a line of "NVidia Corp"

Warning: missing eksfile (bootloader/eks.img), continue... 
Warning: missing fbfile (bootloader/reserved_fb.xml), continue... 
copying bctfile(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/BCT/P2180_A00_LP4_DSC_204Mhz.cfg)... done.
        populating kernel to rootfs... done.
        populating initrd to rootfs... done.
        populating extlinux.conf.emmc to rootfs... done.
        populating /home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb to rootfs... done.
done.
copying bcffile(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/cfg/board_config_p2597-devkit.xml)... done.
Existing sosfile(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/nvtboot.bin)... done.
Existing bpffile(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/bootloader/bpmp.bin) reused.
copying wb0boot(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/bootloader/tos.img) reused.
copying dtbfile(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb)... done.
Making system.img... 
        populating rootfs from /home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/rootfs ... 


.... a lot of these messages...

1617: SKP:        40961617: SKP:        4096(      1 blks) ==>  1445448680:4108
1618: RAW:       40960(     10 blks) ==>  1445448692:40972
1619: SKP:        4096(      1 blks) ==>  1445489664:4108
1620: RAW:       40960(     10 blks) ==>  1445489676:40972
1621: SKP:        8192(      2 blks) ==>  1445530648:8204
1622: RAW:       40960(     10 blks) ==>  1445530660:40972
1623: SKP:        4096(      1 blks) ==>  1445571632:4108
1624: RAW:      122880(     30 blks) ==>  1445571644:122892
1625: SKP:        4096(      1 blks) ==>  1445694536:4108
1626: RAW:       32768(      8 blks) ==>  1445694548:32780
(      1 blks) ==>  1445448680:4108
1618: RAW:       40960(     10 blks) ==>  1445448692:40972
1619: SKP:        4096(      1 blks) ==>  1445489664:4108
1620: RAW:       40960(     10 blks) ==>  1445489676:40972
1621: SKP:        8192(      2 blks) ==>  1445530648:8204
1622: RAW:       40960(     10 blks) ==>  1445530660:40972
1623: SKP:        4096(      1 blks) ==>  1445571632:4108
1624: RAW:      122880(     30 blks) ==>  1445571644:122892
1625: SKP:        4096(      1 blks) ==>  1445694536:4108
1626: RAW:       32768(      8 blks) ==>  1445694548:32780

.... a lot of these messages...

1821: SKP:       20480(      5 blks) ==>  2527360376:20492
1822: RAW:    17555456(   4286 blks) ==>  2527360388:17555468
1823: SKP:        4096(      1 blks) ==>  2544915856:4108
1824: RAW:    10264576(   2506 blks) ==>  2544915868:10264588
1825: SKP:  1644167168( 401408 blks) ==>  2555180456:1644167180
-- Total: -----------------------------------------------------------
1826 CHUNK 15032385536(3670016 blks) ==>  2555180468(623818 blks)

done.
system.img built successfully. 
Existing tbcfile(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/bootloader/nvtboot_cpu.bin) reused.
copying cfgfile(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/cfg/gnu_linux_tegraboot_emmc_full.xml) to flash.xml... done.
creating gpt(ppt.img)... 

*** GPT Parameters ***
device size -------------- 31276924928
bootpart size ------------ 8388608
userpart size ------------ 31268536320
Erase Block Size --------- 2097152
sector size -------------- 4096
Partition Config file ---- flash.xml
Visible partition flag --- GP1
Primary GPT output ------- PPT->ppt.img
Secondary GPT output ----- GPT->gpt.img
Target device name ------- none

*** PARTITION LAYOUT(23 partitions) ***
[     BCT] BH            0         8191       4.0MiB 
[     NVC] BH         8192        16383       4.0MiB nvtboot.bin
[     PPT] UH            0         4095       2.0MiB 
[     GP1] UH         4096         8191       2.0MiB 
[     APP] UH         8192     29368319   14336.0MiB system.img
[     TBC] UV     29368320     29372415       2.0MiB nvtboot_cpu.bin
[     EBT] UV     29372416     29380607       4.0MiB u-boot-dtb.bin
[     BPF] UV     29380608     29384703       2.0MiB bpmp.bin
[     WB0] UV     29384704     29396991       6.0MiB warmboot.bin
[     RP1] UV     29396992     29405183       4.0MiB tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[     TOS] UV     29405184     29417471       6.0MiB tos.img
[     EKS] UV     29417472     29421567       2.0MiB 
[      FX] UV     29421568     29425663       2.0MiB 
[     SOS] UV     29425664     29466623      20.0MiB 
[     EXI] UV     29466624     29597695      64.0MiB 
[     LNX] UV     29597696     29728767      64.0MiB 
[     DTB] UV     29728768     29736959       4.0MiB tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[     NXT] UV     29736960     29741055       2.0MiB 
[     MXB] UV     29741056     29753343       6.0MiB 
[     MXP] UV     29753344     29765631       6.0MiB 
[     USP] UV     29765632     29769727       2.0MiB 
[     UDA] UV     29769728     61067263   15282.0MiB 
[     GPT] UH     61067264     61071359       2.0MiB 
copying flasher(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/cboot.bin)... done.
Existing flashapp(/home/dsoto/devdirs/tegra/Jetpack/TX1/Linux_for_Tegra_tx1/bootloader/tegraflash.py) reused.
*** Flashing target device started. ***
./tegraflash.py --bl cboot.bin --bct P2180_A00_LP4_DSC_204Mhz.cfg --odmdata 0x84000 --bldtb tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb --applet nvtboot_recovery.bin --boardconfig board_config_p2597-devkit.xml --cmd "flash;reboot" --cfg flash.xml --chip 0x21 

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.0000 ] Generating RCM messages
[   0.0237 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0
[   0.0246 ] RCM 0 is saved as rcm_0.rcm
[   0.0971 ] RCM 1 is saved as rcm_1.rcm
[   0.0971 ] List of rcm files are saved in rcm_list.xml
[   0.0971 ] 
[   0.0971 ] Signing RCM messages
[   0.1326 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.hash
[   0.1335 ] Assuming zero filled SBK key
[   0.1936 ] 
[   0.1936 ] Copying signature to RCM mesages
[   0.1954 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml
[   0.1968 ] 
[   0.1968 ] Parsing partition layout
[   0.2211 ] tegraparser --pt flash.xml
[   0.2974 ] 
[   0.2974 ] Creating list of images to be signed
[   0.3202 ] tegrahost --chip 0x21 --partitionlayout flash.bin --list images_list.xml
[   0.5291 ] 
[   0.5291 ] Generating signatures
[   0.5323 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.hash
[   0.5346 ] Assuming zero filled SBK key
[   0.6706 ] 
[   0.6706 ] Parsing BCT
[   0.6927 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21
[   0.6936 ] Copying Sdram info from 0 to 1 set
[   0.7329 ] Copying Sdram info from 1 to 2 set
[   0.7329 ] Copying Sdram info from 2 to 3 set
[   0.7329 ] 
[   0.7329 ] Updating boot device parameters
[   0.7354 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatedevparam flash.bin
[   0.7368 ] Warning: No sdram params
[   0.7375 ] 
[   0.7375 ] Updating bl info
[   0.7394 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updateblinfo flash.bin --updatesig images_list_signed.xml
[   0.7422 ] 
[   0.7423 ] Updating secondary storage information into bct
[   0.7439 ] tegraparser --pt flash.bin --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[   0.7456 ] 
[   0.7457 ] Updating board information from board config into bct
[   0.7485 ] tegraparser --boardconfig board_config_p2597-devkit.xml --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[   0.7496 ] 
[   0.7496 ] Updating Odmdata
[   0.7526 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatefields Odmdata = 0x84000
[   0.7547 ] Warning: No sdram params
[   0.7625 ] 
[   0.7626 ] Get Signed section bct
[   0.7634 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --listbct bct_list.xml
[   0.7642 ] 
[   0.7642 ] Signing BCT
[   0.7662 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.hash
[   0.7675 ] Assuming zero filled SBK key
[   0.7683 ] 
[   0.7684 ] Updating BCT with signature
[   0.7715 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatesig bct_list_signed.xml
[   0.7735 ] 
[   0.7736 ] Copying signatures
[   0.7753 ] tegrahost --chip 0x21 --partitionlayout flash.bin --updatesig images_list_signed.xml
[   0.7768 ] Run tegrabct to update tboot signature in bct
[   0.7800 ] 
[   0.7800 ] Boot Rom communication
[   0.7824 ] tegrarcm --rcm rcm_list_signed.xml
[   0.7831 ] BR_CID: 0x321010015c660002200000000e060140
[   0.9322 ] RCM version 0X210001
[   1.0202 ] Boot Rom communication completed
[   2.0270 ] 
[   2.0270 ] Sending BCT and pre-requisite binaries
[   2.0280 ] tegrarcm --download bct P2180_A00_LP4_DSC_204Mhz.bct
[   2.0294 ] Applet version 00.01.0000
[   2.1778 ] Sending bct
[   2.1778 ] [................................................] 100%
[   2.3789 ] 
[   2.3790 ] Retrieving storage infomation
[   2.3798 ] tegrarcm --oem platformdetails storage storage_info.bin
[   2.3805 ] Applet version 00.01.0000
[   2.5298 ] Saved platform info in storage_info.bin
[   2.5573 ] 
[   2.5573 ] Sending bootloader and pre-requisite binaries
[   2.5607 ] tegrarcm --download rp1 tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb 0 --download ebt cboot.bin 0 0
[   2.5621 ] Applet version 00.01.0000
[   2.6217 ] Sending rp1
[   2.6728 ] [................................................] 100%
[   2.7271 ] Sending ebt
[   2.7326 ] [................................................] 100%
[   2.8164 ] 
[   2.8179 ] tegrarcm --boot recovery
[   2.8192 ] Applet version 00.01.0000
[   2.9757 ] 
[   2.9758 ] Flashing the device
[   3.0124 ] tegradevflash --pt flash.bin --storageinfo storage_info.bin --create
[   3.0132 ] Cboot version 00.01.0000
[   3.6660 ] Writing partition GPT with gpt.bin
[   3.6662 ] [................................................] 100%
[   3.6708 ] Writing partition NVC with nvtboot.bin.encrypt
[   4.6052 ] [................................................] 100%
[   4.6187 ] Writing partition APP with system.img
[   4.6532 ] [................................................] 100%
[ 130.5756 ] Writing partition TBC with nvtboot_cpu.bin.encrypt
[ 130.5928 ] [................................................] 100%
[ 130.5988 ] Writing partition EBT with u-boot-dtb.bin.encrypt
[ 130.6057 ] [................................................] 100%
[ 130.6230 ] Writing partition BPF with bpmp.bin
[ 130.6370 ] [................................................] 100%
[ 130.6767 ] Writing partition WB0 with warmboot.bin.encrypt
[ 130.6837 ] [................................................] 100%
[ 130.6877 ] Writing partition RP1 with tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[ 130.6940 ] [................................................] 100%
[ 130.7057 ] Writing partition TOS with tos.img.encrypt
[ 130.7150 ] [................................................] 100%
[ 130.7208 ] Writing partition DTB with tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[ 130.7280 ] [................................................] 100%
[ 130.7491 ] 
[ 130.7501 ] tegradevflash --write BCT P2180_A00_LP4_DSC_204Mhz.bct
[ 130.7509 ] Cboot version 00.01.0000
[ 130.8651 ] Writing partition BCT with P2180_A00_LP4_DSC_204Mhz.bct
[ 130.8653 ] [................................................] 100%
[ 130.9723 ] 
[ 130.9723 ] Flashing completed
[ 130.9723 ] Coldbooting the device
[ 130.9732 ] tegradevflash --reboot coldboot
[ 130.9739 ] Cboot version 00.01.0000
[ 131.0855 ] 
*** The target t210ref has been flashed successfully. ***
Reset the board to boot from internal eMMC.

1
Finished Flashing OS
Determining the IP address of target...