Tx1 reboot over and over after install latest updates (R24.1.0)

Hi

I followed this site http://developer.download.nvidia.com/embedded/L4T/r24_Release_v1.0/24.1_64bit/t210ref_release_aarch64/l4t_quick_start_guide.txt?autho=1467495948_9d81bdbfd01b0a56ed664f519236a5c2&file=l4t_quick_start_guide.txt to install 64bits in tegra TX1.

After the step3, the tx1 board is rebooting all the time.
The last line of step 3 is
*** The target t210ref has been flashed successfully. ***
Reset the board to boot from internal eMMC.

Could anyone help me?

Thanks

Flash would have created files “bootloader/system.img.raw” and “bootloader/system.img”. What is the exact file size of the “bootloader/system.img.raw” file?

Can you describe more closely exactly what you observe just before each reboot?

If possible, connect a serial console and see what goes on with that after flash. Serial console is described here:
[url]http://elinux.org/Jetson/TX1_Serial_Console[/url]

The size of bootloader/system.img.raw is 15GB.
bootloader/system.img is 2.5GB.

For each reboot, it is just in cmd, and output many lines. The last line is:
Rebooting in 30 seconds…

Thanks for your help.

What is the exact size of system.img.raw? The reason I ask is because it can be determined if the file was truncated or not.

The “rebooting” message sounds like what follows a kernel panic/OOPS. Is it possible to post more of the output prior to ths line? A panic or OOPS might start something like this example from a different problem:

[    0.000000] swapper[0]: undefined instruction: pc=ffffffc000000000
[    0.000000] Code: bad PC value
[    0.000000] Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.10.96-tegra #1
[    0.000000] task: ffffffc0010f1870 ti: ffffffc0010e4000 task.ti: ffffffc0010e4000
[    0.000000] PC is at 0xffffffc000000000
[    0.000000] LR is at 0xffffffc000000000
[    0.000000] pc : [<ffffffc000000000>] lr : [<ffffffc000000000>] pstate: 600003c5
[    0.000000] sp : ffffffc0010e7f90
[    0.000000] x29: 0000000000000000 x28: 0000004080000000 
[    0.000000] x27: ffffffc0000803f8 x26: 000000008007d000 
[    0.000000] x25: 000000008007b000 x24: 0000000080000000 
[    0.000000] x23: 00000000810f3090 x22: 00000000411fd071 
[    0.000000] x21: ffffffc001345000 x20: ffffffc0012a4608 
[    0.000000] x19: ffffffc002000058 x18: 00000000fcc28df8 
[    0.000000] x17: 0000000000010000 x16: 0000000000000074 
[    0.000000] x15: 0000000000000075 x14: 000000000000006f 
[    0.000000] x13: 0000000000000065 x12: 0000000000000076 
[    0.000000] x11: 0000000000000072 x10: 0000000000000061 
[    0.000000] x9 : 0000000000000061 x8 : 0000000000000001 
[    0.000000] x7 : ffffffc0002e05f8 x6 : ffffffc0002e0600 
[    0.000000] x5 : ffffffc000ab5398 x4 : 0000000000000030 
[    0.000000] x3 : ffffffc000093a3c x2 : 0000000000000000 
[    0.000000] x1 : ffffffc0010e4000 x0 : 0000000000000001

The exact size of system.img.raw is 15,032,385,536 bytes.

Some outputs after I input “sudo ./flash.sh jetson-tx1 mmcblk0p1” are:
2446: RAW: 8192( 2 blks) ==> 2146173636:8204
2447: SKP: 4096( 1 blks) ==> 2146181840:4108
2448: RAW: 16384( 4 blks) ==> 2146181852:16396
2449: SKP: 4096( 1 blks) ==> 2146198248:4108
2450: RAW: 8192( 2 blks) ==> 2146198260:8204
2451: SKP: 4096( 1 blks) ==> 2146206464:4108
2452: RAW: 28672( 7 blks) ==> 2146206476:28684
2453: SKP: 4096( 1 blks) ==> 2146235160:4108
2454: RAW: 16384( 4 blks) ==> 2146235172:16396
2455: SKP: 4096( 1 blks) ==> 2146251568:4108
2456: RAW: 4096( 1 blks) ==> 2146251580:4108
2457: SKP: 4096( 1 blks) ==> 2146255688:4108
2458: RAW: 20480( 5 blks) ==> 2146255700:20492
2459: SKP: 4096( 1 blks) ==> 2146276192:4108
2460: RAW: 8192( 2 blks) ==> 2146276204:8204
2461: SKP: 4096( 1 blks) ==> 2146284408:4108
2462: RAW: 8192( 2 blks) ==> 2146284420:8204
2463: SKP: 4096( 1 blks) ==> 2146292624:4108
2464: RAW: 36864( 9 blks) ==> 2146292636:36876
2465: SKP: 4096( 1 blks) ==> 2146329512:4108
2466: RAW: 12288( 3 blks) ==> 2146329524:12300
2467: SKP: 4096( 1 blks) ==> 2146341824:4108
2468: RAW: 4096( 1 blks) ==> 2146341836:4108
2469: SKP: 4096( 1 blks) ==> 2146345944:4108
2470: RAW: 4096( 1 blks) ==> 2146345956:4108
2471: SKP: 4096( 1 blks) ==> 2146350064:4108
2472: RAW: 4096( 1 blks) ==> 2146350076:4108
2473: SKP: 4096( 1 blks) ==> 2146354184:4108
2474: RAW: 24576( 6 blks) ==> 2146354196:24588
2475: SKP: 4096( 1 blks) ==> 2146378784:4108
2476: RAW: 28672( 7 blks) ==> 2146378796:28684
2477: SKP: 4096( 1 blks) ==> 2146407480:4108
2478: RAW: 8192( 2 blks) ==> 2146407492:8204
2479: SKP: 4096( 1 blks) ==> 2146415696:4108
2480: RAW: 8192( 2 blks) ==> 2146415708:8204
2481: SKP: 4096( 1 blks) ==> 2146423912:4108
2482: RAW: 200704( 49 blks) ==> 2146423924:200716
2483: SKP: 4096( 1 blks) ==> 2146624640:4108
2484: RAW: 69632( 17 blks) ==> 2146624652:69644
2485: SKP: 4096( 1 blks) ==> 2146694296:4108
2486: RAW: 8192( 2 blks) ==> 2146694308:8204
2487: SKP: 4096( 1 blks) ==> 2146702512:4108
2488: RAW: 32768( 8 blks) ==> 2146702524:32780
2489: SKP: 4096( 1 blks) ==> 2146735304:4108
2490: RAW: 4096( 1 blks) ==> 2146735316:4108
2491: SKP: 4096( 1 blks) ==> 2146739424:4108
2492: RAW: 12288( 3 blks) ==> 2146739436:12300
2493: SKP: 4096( 1 blks) ==> 2146751736:4108
2494: RAW: 58376192( 14252 blks) ==> 2146751748:58376204
2495: SKP: 1877913600( 458475 blks) ==> 2205127952:1877913612
2496: RAW: 12288( 3 blks) ==> 2205127964:12300
2497: SKP: 53248( 13 blks) ==> 2205140264:53260
2498: RAW: 8192( 2 blks) ==> 2205140276:8204
2499: SKP: 57344( 14 blks) ==> 2205148480:57356
2500: RAW: 3530752( 862 blks) ==> 2205148492:3530764
2501: SKP: 30023680( 7330 blks) ==> 2208679256:30023692
2502: RAW: 4427776( 1081 blks) ==> 2208679268:4427788
2503: SKP: 96104448( 23463 blks) ==> 2213107056:96104460
2504: RAW: 8192( 2 blks) ==> 2213107068:8204
2505: SKP: 3665920( 895 blks) ==> 2213115272:3665932
2506: RAW: 77561856( 18936 blks) ==> 2213115284:77561868
2507: SKP: 4096( 1 blks) ==> 2290677152:4108
2508: RAW: 30646272( 7482 blks) ==> 2290677164:30646284
2509: SKP: 4096( 1 blks) ==> 2321323448:4108
2510: RAW: 17203200( 4200 blks) ==> 2321323460:17203212
2511: SKP: 4096( 1 blks) ==> 2338526672:4108
2512: RAW: 38674432( 9442 blks) ==> 2338526684:38674444
2513: SKP: 33554432( 8192 blks) ==> 2377201128:33554444
2514: RAW: 27602944( 6739 blks) ==> 2377201140:27602956
2515: SKP: 1784336384( 435629 blks) ==> 2404804096:1784336396
2516: RAW: 8192( 2 blks) ==> 2404804108:8204
2517: SKP: 57344( 14 blks) ==> 2404812312:57356
2518: RAW: 20480( 5 blks) ==> 2404812324:20492
2519: SKP: 45056( 11 blks) ==> 2404832816:45068
2520: RAW: 8945664( 2184 blks) ==> 2404832828:8945676
2521: SKP: 24608768( 6008 blks) ==> 2413778504:24608780
2522: RAW: 48332800( 11800 blks) ==> 2413778516:48332812
2523: SKP: 52199424( 12744 blks) ==> 2462111328:52199436
2524: RAW: 73728( 18 blks) ==> 2462111340:73740
2525: SKP: 4096( 1 blks) ==> 2462185080:4108
2526: RAW: 4096( 1 blks) ==> 2462185092:4108
2527: SKP: 4096( 1 blks) ==> 2462189200:4108
2528: RAW: 204800( 50 blks) ==> 2462189212:204812
2529: SKP: 8192( 2 blks) ==> 2462394024:8204
2530: RAW: 57344( 14 blks) ==> 2462394036:57356
2531: SKP: 8192( 2 blks) ==> 2462451392:8204
2532: RAW: 294912( 72 blks) ==> 2462451404:294924
2533: SKP: 4096( 1 blks) ==> 2462746328:4108
2534: RAW: 49152( 12 blks) ==> 2462746340:49164
2535: SKP: 16384( 4 blks) ==> 2462795504:16396
2536: RAW: 151552( 37 blks) ==> 2462795516:151564
2537: SKP: 16384( 4 blks) ==> 2462947080:16396
2538: RAW: 61497344( 15014 blks) ==> 2462947092:61497356
2539: SKP: 4096( 1 blks) ==> 2524444448:4108
2540: RAW: 32768( 8 blks) ==> 2524444460:32780
2541: SKP: 16384( 4 blks) ==> 2524477240:16396
2542: RAW: 4501504( 1099 blks) ==> 2524477252:4501516
2543: SKP: 33714176( 8231 blks) ==> 2528978768:33714188
2544: RAW: 5046272( 1232 blks) ==> 2528978780:5046284
2545: SKP: 1907556352( 465712 blks) ==> 2534025064:1907556364
– Total: -----------------------------------------------------------
2546 CHUNK 15032385536(3670016 blks) ==> 2534025076(618651 blks)

done.
system.img built successfully.
Existing tbcfile(/home/stone/Documents/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying cfgfile(/home/stone/Documents/Linux_for_Tegra/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/stone/Documents/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
Existing flashapp(/home/stone/Documents/Linux_for_Tegra/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.0022 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0
[ 0.0034 ] RCM 0 is saved as rcm_0.rcm
[ 0.0070 ] RCM 1 is saved as rcm_1.rcm
[ 0.0078 ] List of rcm files are saved in rcm_list.xml
[ 0.0141 ]
[ 0.0142 ] Signing RCM messages
[ 0.0169 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0182 ] Assuming zero filled SBK key
[ 0.0335 ]
[ 0.0336 ] Copying signature to RCM mesages
[ 0.0347 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml
[ 0.0415 ]
[ 0.0415 ] Parsing partition layout
[ 0.0433 ] tegraparser --pt flash.xml
[ 0.0495 ]
[ 0.0496 ] Creating list of images to be signed
[ 0.0519 ] tegrahost --chip 0x21 --partitionlayout flash.bin --list images_list.xml
[ 0.0695 ]
[ 0.0696 ] Generating signatures
[ 0.0705 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.0714 ] Assuming zero filled SBK key
[ 0.1055 ]
[ 0.1074 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21
[ 0.1091 ] Copying Sdram info from 0 to 1 set
[ 0.1127 ] Copying Sdram info from 1 to 2 set
[ 0.1135 ] Copying Sdram info from 2 to 3 set
[ 0.1175 ]
[ 0.1176 ] Updating boot device parameters
[ 0.1187 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatedevparam flash.bin
[ 0.1196 ] Warning: No sdram params
[ 0.1295 ]
[ 0.1296 ] Updating bl info
[ 0.1305 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updateblinfo flash.bin --updatesig images_list_signed.xml
[ 0.1375 ]
[ 0.1375 ] Updating secondary storage information into bct
[ 0.1383 ] tegraparser --pt flash.bin --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[ 0.1455 ]
[ 0.1456 ] Updating board information from board config into bct
[ 0.1464 ] tegraparser --boardconfig board_config_p2597-devkit.xml --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[ 0.1560 ]
[ 0.1561 ] Updating Odmdata
[ 0.1571 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatefields Odmdata = 0x84000
[ 0.1592 ] Warning: No sdram params
[ 0.1655 ]
[ 0.1655 ] Get Signed section bct
[ 0.1663 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --listbct bct_list.xml
[ 0.1735 ]
[ 0.1735 ] Signing BCT
[ 0.1743 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.1751 ] Assuming zero filled SBK key
[ 0.1838 ]
[ 0.1839 ] Updating BCT with signature
[ 0.1860 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatesig bct_list_signed.xml
[ 0.1935 ]
[ 0.1935 ] Copying signatures
[ 0.1943 ] tegrahost --chip 0x21 --partitionlayout flash.bin --updatesig images_list_signed.xml
[ 0.1950 ] Run tegrabct to update tboot signature in bct
[ 0.2015 ]
[ 0.2017 ] Updating BFS information
[ 0.2029 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatebfsinfo flash.bin
[ 0.2095 ]
[ 0.2096 ] Boot Rom communication
[ 0.2104 ] tegrarcm --chip 0x21 --rcm rcm_list_signed.xml
[ 0.2113 ] BR_CID: 0x32101001640ca5870400000010fe8200
[ 0.2193 ] RCM version 0X210001
[ 0.2216 ] Boot Rom communication completed
[ 1.2856 ]
[ 1.2857 ] Sending BCTs
[ 1.2867 ] tegrarcm --download bct P2180_A00_LP4_DSC_204Mhz.bct
[ 1.2876 ] Applet version 00.01.0000
[ 1.3255 ] Sending bct
[ 1.3256 ] […] 100%
[ 1.5256 ]
[ 1.5257 ] Sending bootloader and pre-requisite binaries
[ 1.5269 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb 0
[ 1.5280 ] Applet version 00.01.0000
[ 1.5678 ] Sending ebt
[ 1.5683 ] […] 100%
[ 1.7743 ] Sending rp1
[ 1.7970 ] […] 100%
[ 1.9815 ]
[ 1.9816 ] Retrieving storage infomation
[ 1.9828 ] tegrarcm --oem platformdetails storage storage_info.bin
[ 1.9838 ] Applet version 00.01.0000
[ 2.0239 ] Saved platform info in storage_info.bin
[ 2.0926 ]
[ 2.0947 ] tegrarcm --boot recovery
[ 2.0956 ] Applet version 00.01.0000
[ 2.1735 ]
[ 2.1737 ] Flashing the device
[ 2.1819 ] tegradevflash --pt flash.bin --storageinfo storage_info.bin --create
[ 2.1846 ] Cboot version 00.01.0000
[ 2.9724 ] Writing partition GPT with gpt.bin
[ 2.9727 ] […] 100%
[ 2.9959 ] Writing partition NVC with nvtboot.bin.encrypt
[ 3.8827 ] […] 100%
[ 3.9539 ] Writing partition APP with system.img
[ 4.0025 ] [… ] 038%
[ 4.0025 ] [… ] 039%
[ 4.0025 ] [… ] 039%
[ 4.0025 ] [… ] 039%
[ 4.0025 ] [… ] 039%

[ 4.0025 ] [… ] 039%

[ 4.0025 ] [… ] 039%

[ 4.0025 ] [… ] 039%

[ 4.0025 ] [… ] 039%

[ 4.0025 ] [… ] 039%

[ 4.0025 ] [… ] 039%

[ 4.0025 ] [… ] 053%
[ 4.0025 ] [… ] 075%
[ 4.0025 ] […] 100%
[ 811.8932 ] Writing partition TBC with nvtboot_cpu.bin.encrypt
[ 812.7503 ] […] 100%
[ 812.7944 ] Writing partition EBT with u-boot-dtb.bin.encrypt
[ 812.8201 ] […] 100%
[ 812.9809 ] Writing partition BPF with bpmp.bin
[ 813.0137 ] […] 100%
[ 813.0557 ] Writing partition WB0 with warmboot.bin.encrypt
[ 813.0815 ] […] 100%
[ 813.1111 ] Writing partition RP1 with tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[ 813.1357 ] […] 100%
[ 813.2542 ] Writing partition TOS with tos.img.encrypt
[ 813.2846 ] […] 100%
[ 813.3274 ] Writing partition DTB with tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[ 813.3523 ] […] 100%
[ 813.5067 ]
[ 813.5092 ] tegradevflash --write BCT P2180_A00_LP4_DSC_204Mhz.bct
[ 813.5104 ] Cboot version 00.01.0000
[ 813.5507 ] Writing partition BCT with P2180_A00_LP4_DSC_204Mhz.bct
[ 813.5521 ] […] 100%
[ 813.6935 ]
[ 813.6936 ] Flashing completed

[ 813.6938 ] Coldbooting the device
[ 813.6949 ] tegradevflash --reboot coldboot
[ 813.6958 ] Cboot version 00.01.0000
[ 813.7615 ]
*** The target t210ref has been flashed successfully. ***
Reset the board to boot from internal eMMC.

The automatically reboot shows following info:
https://s19.postimg.org/vl8p00feb/IMG_1546.jpg

I just redo “sudo ./flash.sh jetson-tx1 mmcblk0p1” again, and the full log is as follows.
The tx1 board still reboots over and over again.
Thank you for help.

Full logs:
Warning: missing eksfile (bootloader/eks.img), continue…
Warning: missing fbfile (bootloader/reserved_fb.xml), continue…
copying bctfile(/home/stone/Documents/Linux_for_Tegra/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/stone/Documents/Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb to rootfs… done.
done.
copying bcffile(/home/stone/Documents/Linux_for_Tegra/bootloader/t210ref/cfg/board_config_p2597-devkit.xml)… done.
Existing sosfile(/home/stone/Documents/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/stone/Documents/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)… done.
Existing bpffile(/home/stone/Documents/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying wb0boot(/home/stone/Documents/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)… done.
Existing tosfile(/home/stone/Documents/Linux_for_Tegra/bootloader/tos.img) reused.
copying dtbfile(/home/stone/Documents/Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb)… done.
Making system.img…
populating rootfs from /home/stone/Documents/Linux_for_Tegra/rootfs … done.
Sync’ing system.img … done.
Converting RAW image to Sparse image…
done.
system.img built successfully.
Existing tbcfile(/home/stone/Documents/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying cfgfile(/home/stone/Documents/Linux_for_Tegra/bootloader/t210ref/cfg/gnu_linux_tegraboot_emmc_full.xml) to flash.xml… done.
creating gpt(ppt.img)…
copying flasher(/home/stone/Documents/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
Existing flashapp(/home/stone/Documents/Linux_for_Tegra/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.0022 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0
[ 0.0036 ] RCM 0 is saved as rcm_0.rcm
[ 0.0066 ] RCM 1 is saved as rcm_1.rcm
[ 0.0068 ] List of rcm files are saved in rcm_list.xml
[ 0.0070 ]
[ 0.0070 ] Signing RCM messages
[ 0.0082 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0096 ] Assuming zero filled SBK key
[ 0.0190 ]
[ 0.0190 ] Copying signature to RCM mesages
[ 0.0198 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml
[ 0.0270 ]
[ 0.0270 ] Parsing partition layout
[ 0.0281 ] tegraparser --pt flash.xml
[ 0.0350 ]
[ 0.0350 ] Creating list of images to be signed
[ 0.0361 ] tegrahost --chip 0x21 --partitionlayout flash.bin --list images_list.xml
[ 0.0470 ]
[ 0.0471 ] Generating signatures
[ 0.0480 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.0488 ] Assuming zero filled SBK key
[ 0.0710 ]
[ 0.0726 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21
[ 0.0748 ] Copying Sdram info from 0 to 1 set
[ 0.0762 ] Copying Sdram info from 1 to 2 set
[ 0.0763 ] Copying Sdram info from 2 to 3 set
[ 0.0815 ]
[ 0.0815 ] Updating boot device parameters
[ 0.0823 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatedevparam flash.bin
[ 0.0831 ] Warning: No sdram params
[ 0.0870 ]
[ 0.0870 ] Updating bl info
[ 0.0877 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updateblinfo flash.bin --updatesig images_list_signed.xml
[ 0.0951 ]
[ 0.0951 ] Updating secondary storage information into bct
[ 0.0963 ] tegraparser --pt flash.bin --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[ 0.1030 ]
[ 0.1030 ] Updating board information from board config into bct
[ 0.1037 ] tegraparser --boardconfig board_config_p2597-devkit.xml --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[ 0.1110 ]
[ 0.1110 ] Updating Odmdata
[ 0.1117 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatefields Odmdata = 0x84000
[ 0.1124 ] Warning: No sdram params
[ 0.1190 ]
[ 0.1190 ] Get Signed section bct
[ 0.1197 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --listbct bct_list.xml
[ 0.1270 ]
[ 0.1270 ] Signing BCT
[ 0.1277 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.1285 ] Assuming zero filled SBK key
[ 0.1350 ]
[ 0.1350 ] Updating BCT with signature
[ 0.1359 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatesig bct_list_signed.xml
[ 0.1430 ]
[ 0.1430 ] Copying signatures
[ 0.1437 ] tegrahost --chip 0x21 --partitionlayout flash.bin --updatesig images_list_signed.xml
[ 0.1444 ] Run tegrabct to update tboot signature in bct
[ 0.1511 ]
[ 0.1511 ] Updating BFS information
[ 0.1521 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatebfsinfo flash.bin
[ 0.1575 ]
[ 0.1576 ] Boot Rom communication
[ 0.1583 ] tegrarcm --chip 0x21 --rcm rcm_list_signed.xml
[ 0.1592 ] BR_CID: 0x32101001640ca5870400000010fe8200
[ 0.1600 ] RCM version 0X210001
[ 0.1628 ] Boot Rom communication completed
[ 1.2231 ]
[ 1.2231 ] Sending BCTs
[ 1.2256 ] tegrarcm --download bct P2180_A00_LP4_DSC_204Mhz.bct
[ 1.2291 ] Applet version 00.01.0000
[ 1.2635 ] Sending bct
[ 1.2636 ] […] 100%
[ 1.4591 ]
[ 1.4591 ] Sending bootloader and pre-requisite binaries
[ 1.4602 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb 0
[ 1.4611 ] Applet version 00.01.0000
[ 1.4969 ] Sending ebt
[ 1.4973 ] […] 100%
[ 1.6994 ] Sending rp1
[ 1.7193 ] […] 100%
[ 1.9115 ]
[ 1.9116 ] Retrieving storage infomation
[ 1.9141 ] tegrarcm --oem platformdetails storage storage_info.bin
[ 1.9169 ] Applet version 00.01.0000
[ 1.9559 ] Saved platform info in storage_info.bin
[ 2.0231 ]
[ 2.0243 ] tegrarcm --boot recovery
[ 2.0252 ] Applet version 00.01.0000
[ 2.0951 ]
[ 2.0951 ] Flashing the device
[ 2.1002 ] tegradevflash --pt flash.bin --storageinfo storage_info.bin --create
[ 2.1017 ] Cboot version 00.01.0000
[ 2.8954 ] Writing partition GPT with gpt.bin
[ 2.8957 ] […] 100%
[ 2.9177 ] Writing partition NVC with nvtboot.bin.encrypt
[ 3.7947 ] […] 100%
[ 3.8587 ] Writing partition APP with system.img
[ 3.9062 ] [ ] 000%
[ 3.9062 ] […] 100%
[ 807.1764 ] Writing partition TBC with nvtboot_cpu.bin.encrypt
[ 808.0385 ] […] 100%
[ 808.0835 ] Writing partition EBT with u-boot-dtb.bin.encrypt
[ 808.1085 ] […] 100%
[ 808.2656 ] Writing partition BPF with bpmp.bin
[ 808.2966 ] […] 100%
[ 808.3386 ] Writing partition WB0 with warmboot.bin.encrypt
[ 808.3632 ] […] 100%
[ 808.3892 ] Writing partition RP1 with tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[ 808.4128 ] […] 100%
[ 808.5252 ] Writing partition TOS with tos.img.encrypt
[ 808.5544 ] […] 100%
[ 808.6003 ] Writing partition DTB with tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[ 808.6264 ] […] 100%
[ 808.7796 ]
[ 808.7816 ] tegradevflash --write BCT P2180_A00_LP4_DSC_204Mhz.bct
[ 808.7826 ] Cboot version 00.01.0000
[ 808.8241 ] Writing partition BCT with P2180_A00_LP4_DSC_204Mhz.bct
[ 808.8243 ] […] 100%
[ 808.9633 ]
[ 808.9633 ] Flashing completed
[ 808.9633 ] Coldbooting the device
[ 808.9647 ] tegradevflash --reboot coldboot
[ 808.9657 ] Cboot version 00.01.0000
[ 809.0384 ]
*** The target t210ref has been flashed successfully. ***
Reset the board to boot from internal eMMC.

The system.img.raw size is correct, it corresponds to “-S 14GiB”. Flash itself looks ok. I can’t see enough of the actual boot to know what is going on, but what does show appears to be a register dump.

Basically it seems flash is being done correctly, although there is no guarantee the image itself contains the correct sample rootfs plus apply_binaries.sh step. Sometimes there is odd behavior if the host machine is a VM or the file system underneath the sample rootfs is not a native Linux file system type (or even if sample rootfs is unpacked without sudo). Can you describe if there is anything special about the host machine or the disk space underneath the L4T flash software?

The host system is Ubuntu 14.04 LTS. I tried in a pure ubuntu and vm. Add got the same results.
The ubuntu system space > 50GB.

Thanks for all your help! I finally succeeded after trying different ways all day. Possible solutions for this error (the possibilities are in defending order):

  1. Untar the downloaded files in commander line with sudo. No use of UI.
  2. Update ubuntu to the latest.
  3. A pure ubuntu system, instead of a VM.
  4. Different usbs.

For some reason genquan’s latest update was hidden, adding it here.

I am seeing the same logs as mentioned above. What is the root cause of this issue?
“Update to latest” does not seem to be much of a solution.

Thanks.

I’m not sure which part of the many logs above you refer to…please elaborate on what kind of flash procedure and specific symptom you are running into. There would be more than one issue considered in the above posts, e.g., permissions from failing to use sudo in the right places.

The permission of the files in rootfs was wrong. Fixing it solved the problem

I know its been a long time, but could you elaborate on your fix here? What files? What permissions needed to be changed and to what?

Thank you!

There are many different reasons for reboot issues, one of which could be an incorrect install. Sometimes permissions are wrong during a flash. If that’s the case, then it means a lot of files are the wrong permission (or else are truncated). I’d suggest starting a new thread, but you would need to describe what release the TX1 is flashed with, whether the issue is after a flash or if it just started on a system which has otherwise been running, and any note you might have on what goes on right before the reboot. If this was a case of a new flash, then flash procedure has to be considered.