@telphan I was just checking out the commit for the Nano you made in the “fix” branch yesterday. Thanks for those very fast first results!
Using the newest Jetson release from Balena Cloud, the flash starts but got stuck at the line “[ 1.3239 ] Saved platform info in storage_info.bin”. This is the full output:
Checking resin cache
Cache image check done
Extracting partition LNX from /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin/img to /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin
Extracting partition DTB from /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin/img to /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin
Extracting partition resin-boot from /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin/img to /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin
Extracting partition resin-rootA from /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin/img to /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin
Extracting partition resin-rootB from /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin/img to /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin
Extracting partition resin-state from /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin/img to /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin
Extracting partition resin-data from /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin/img to /home/max/jetson-flash/workdir/jetson-flash-artifacts/resin
Successfully generated hash
###############################################################################
L4T BSP Information:
R32 , REVISION: 2.0
###############################################################################
Target Board Information:
Name: jetson-nano-emmc, Board Family: t210ref, SoC: Tegra 210,
OpMode: production, Boot Authentication: ,
###############################################################################
./tegraflash.py --chip 0x21 --applet “/tmp/Linux_for_Tegra/bootloader/nvtboot_recovery.bin” --skipuid --cmd “dump eeprom boardinfo cvm.bin”
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.0013 ] Generating RCM messages
[ 0.0022 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /tmp/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[ 0.0030 ] RCM 0 is saved as rcm_0.rcm
[ 0.0036 ] RCM 1 is saved as rcm_1.rcm
[ 0.0036 ] List of rcm files are saved in rcm_list.xml
[ 0.0036 ]
[ 0.0036 ] Signing RCM messages
[ 0.0045 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0053 ] Assuming zero filled SBK key
[ 0.0105 ]
[ 0.0105 ] Copying signature to RCM mesages
[ 0.0114 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0126 ]
[ 0.0127 ] Boot Rom communication
[ 0.0135 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0143 ] RCM version 0X210001
[ 0.0561 ] Boot Rom communication completed
[ 1.0636 ]
[ 1.0639 ] dump EEPROM info
[ 1.0678 ] tegrarcm --oem platformdetails eeprom /tmp/Linux_for_Tegra/bootloader/cvm.bin
[ 1.0707 ] Applet version 00.01.0000
[ 1.0728 ] Saved platform info in /tmp/Linux_for_Tegra/bootloader/cvm.bin
[ 1.1511 ]
Board ID(3448) version(400)
copying bctfile(/tmp/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg)… done.
copying bootloader(/tmp/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying initrd(/tmp/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
populating kernel to rootfs… done.
populating initrd to rootfs… done.
populating /tmp/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb to rootfs… done.
Making Boot image… done.
Existing sosfile(/tmp/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/tmp/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)… done.
copying cpu_bootloader(/tmp/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying bpffile(/tmp/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)… done.
Existing badpagefile(/tmp/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/tmp/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)… done.
Existing tosfile(/tmp/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/tmp/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/tmp/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)… done.
Copying nv_boot_control.conf to rootfs
sed: can’t read /tmp/Linux_for_Tegra/rootfs/etc/nv_boot_control.conf: Not a directory
sed: can’t read /tmp/Linux_for_Tegra/rootfs/etc/nv_boot_control.conf: Not a directory
sed: can’t read /tmp/Linux_for_Tegra/rootfs/etc/nv_boot_control.conf: Not a directory
sed: can’t read /tmp/Linux_for_Tegra/rootfs/etc/nv_boot_control.conf: Not a directory
sed: can’t read /tmp/Linux_for_Tegra/rootfs/etc/nv_boot_control.conf: Not a directory
sed: can’t read /tmp/Linux_for_Tegra/rootfs/etc/nv_boot_control.conf: Not a directory
sed: can’t read /tmp/Linux_for_Tegra/rootfs/etc/nv_boot_control.conf: Not a directory
sed: can’t read /tmp/Linux_for_Tegra/rootfs/etc/nv_boot_control.conf: Not a directory
Making system.img…
populating rootfs from /tmp/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: 5242880( 5 blks) ==> 28:5242892
1: SKP: 32505856( 31 blks) ==> 5242920:12
2: RAW: 1048576( 1 blks) ==> 5242932:1048588
3: SKP: 95420416( 91 blks) ==> 6291520:12
4: RAW: 1048576( 1 blks) ==> 6291532:1048588
5: SKP: 3145728( 3 blks) ==> 7340120:12
6: RAW: 1048576( 1 blks) ==> 7340132:1048588
7: SKP: 3145728( 3 blks) ==> 8388720:12
8: RAW: 23068672( 22 blks) ==> 8388732:23068684
9: SKP: 1048576( 1 blks) ==> 31457416:12
10: RAW: 9437184( 9 blks) ==> 31457428:9437196
11: SKP: 226492416( 216 blks) ==> 40894624:12
12: RAW: 1048576( 1 blks) ==> 40894636:1048588
13: SKP: 267386880( 255 blks) ==> 41943224:12
14: RAW: 1048576( 1 blks) ==> 41943236:1048588
15: SKP: 267386880( 255 blks) ==> 42991824:12
16: RAW: 1048576( 1 blks) ==> 42991836:1048588
17: SKP: 267386880( 255 blks) ==> 44040424:12
18: RAW: 1048576( 1 blks) ==> 44040436:1048588
19: SKP: 938475520( 895 blks) ==> 45089024:12
20: RAW: 1048576( 1 blks) ==> 45089036:1048588
21: SKP: 32505856( 31 blks) ==> 46137624:12
22: RAW: 1048576( 1 blks) ==> 46137636:1048588
23: SKP: 99614720( 95 blks) ==> 47186224:12
24: RAW: 6291456( 6 blks) ==> 47186236:6291468
25: SKP: 1067450368( 1018 blks) ==> 53477704:12
26: RAW: 1048576( 1 blks) ==> 53477716:1048588
27: SKP: 267386880( 255 blks) ==> 54526304:12
28: RAW: 1048576( 1 blks) ==> 54526316:1048588
29: SKP: 670040064( 639 blks) ==> 55574904:12
30: RAW: 1048576( 1 blks) ==> 55574916:1048588
31: SKP: 2146435072( 2047 blks) ==> 56623504:12
32: RAW: 1048576( 1 blks) ==> 56623516:1048588
33: SKP: 133169152( 127 blks) ==> 57672104:12
34: RAW: 1048576( 1 blks) ==> 57672116:1048588
35: SKP: 3145728( 3 blks) ==> 58720704:12
36: RAW: 1048576( 1 blks) ==> 58720716:1048588
37: SKP: 2008023040( 1915 blks) ==> 59769304:12
38: RAW: 1048576( 1 blks) ==> 59769316:1048588
39: SKP: 2146435072( 2047 blks) ==> 60817904:12
40: RAW: 1048576( 1 blks) ==> 60817916:1048588
41: SKP: 133169152( 127 blks) ==> 61866504:12
42: RAW: 1048576( 1 blks) ==> 61866516:1048588
43: SKP: 2012217344( 1919 blks) ==> 62915104:12
44: RAW: 1048576( 1 blks) ==> 62915116:1048588
45: SKP: 2146435072( 2047 blks) ==> 63963704:12
– Total: ---------------------------------------------------
46 CHUNK 15032385536( 14336 blks) ==> 63963716(61 blks)
done.
system.img built successfully.
Existing tbcfile(/tmp/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/tmp/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)… done.
copying cfgfile(/home/max/jetson-flash/workdir/jetson-flash-artifacts/resin/flash.xml) to flash.xml… done.
copying flasher(/tmp/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
Existing flashapp(/tmp/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl cboot.bin --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --odmdata 0x94000 --bldtb tegra210-p3448-0002-p3449-0000-b00.dtb --applet nvtboot_recovery.bin --cmd “flash; reboot” --cfg flash.xml --chip 0x21 --bins “EBT cboot.bin; DTB tegra210-p3448-0002-p3449-0000-b00.dtb”
saving flash command in /tmp/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /tmp/Linux_for_Tegra/bootloader/flash_win.bat
*** 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.0010 ] tegrasign --key None --getmode mode.txt
[ 0.0017 ] Assuming zero filled SBK key
[ 0.0019 ]
[ 0.0019 ] Generating RCM messages
[ 0.0028 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.0035 ] RCM 0 is saved as rcm_0.rcm
[ 0.0039 ] RCM 1 is saved as rcm_1.rcm
[ 0.0039 ] List of rcm files are saved in rcm_list.xml
[ 0.0039 ]
[ 0.0039 ] Signing RCM messages
[ 0.0046 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0052 ] Assuming zero filled SBK key
[ 0.0097 ]
[ 0.0097 ] Copying signature to RCM mesages
[ 0.0104 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0115 ]
[ 0.0116 ] Parsing partition layout
[ 0.0126 ] tegraparser --pt flash.xml.tmp
[ 0.0138 ]
[ 0.0138 ] Creating list of images to be signed
[ 0.0148 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.0241 ]
[ 0.0242 ] Generating signatures
[ 0.0264 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.0285 ] Assuming zero filled SBK key
[ 0.0967 ]
[ 0.0968 ] Generating br-bct
[ 0.0979 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.0986 ] Copying Sdram info from 0 to 1 set
[ 0.0997 ] Copying Sdram info from 1 to 2 set
[ 0.0997 ] Copying Sdram info from 2 to 3 set
[ 0.0997 ]
[ 0.0998 ] Updating boot device parameters
[ 0.1004 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.1010 ] Warning: No sdram params
[ 0.1011 ]
[ 0.1011 ] Updating bl info
[ 0.1018 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.1027 ]
[ 0.1027 ] Updating secondary storage information into bct
[ 0.1033 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct
[ 0.1040 ]
[ 0.1040 ] Updating Odmdata
[ 0.1046 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0x94000
[ 0.1052 ] Warning: No sdram params
[ 0.1053 ]
[ 0.1053 ] Get Signed section of bct
[ 0.1059 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.1065 ]
[ 0.1066 ] Signing BCT
[ 0.1078 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.1084 ] Assuming zero filled SBK key
[ 0.1087 ]
[ 0.1088 ] Updating BCT with signature
[ 0.1094 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.1101 ]
[ 0.1101 ] Copying signatures
[ 0.1108 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.1141 ]
[ 0.1142 ] Updating BFS information on BCT
[ 0.1151 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[ 0.1157 ] BFS:
[ 0.1170 ] 0: [PT ] flash.xml.bin (size=2763/65536)
[ 0.1173 ] 2: [VER] emmc_bootblob_ver.txt (size=57/65536)
[ 0.1176 ] BFS0: 65536 @ 224 SUM 5e11e594 over 3735552 bytes
[ 0.1176 ]
[ 0.1177 ] Boot Rom communication
[ 0.1184 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[ 0.1190 ] BootRom is not running
[ 0.1632 ]
[ 0.1633 ] Sending BCTs
[ 0.1648 ] tegrarcm --download bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct
[ 0.1661 ] Applet version 00.01.0000
[ 0.1680 ] Sending bct
[ 0.1682 ] […] 100%
[ 0.3422 ]
[ 0.3455 ] tegrahost --chip 0x21 --align cboot.bin
[ 0.3490 ]
[ 0.3522 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader
[ 0.3587 ]
[ 0.3600 ] tegrasign --key None --list cboot.bin_list.xml
[ 0.3610 ] Assuming zero filled SBK key
[ 0.3830 ]
[ 0.3851 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk
[ 0.3878 ]
[ 0.3903 ] tegrahost --chip 0x21 --align tegra210-p3448-0002-p3449-0000-b00.dtb
[ 0.3917 ]
[ 0.3931 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0002-p3449-0000-b00.dtb tegra210-p3448-0002-p3449-0000-b00.dtb_blheader
[ 0.3954 ]
[ 0.3971 ] tegrasign --key None --list tegra210-p3448-0002-p3449-0000-b00.dtb_list.xml
[ 0.3983 ] Assuming zero filled SBK key
[ 0.4085 ]
[ 0.4105 ] tegrahost --updatesigheader tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.encrypt tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.hash zerosbk
[ 0.4124 ]
[ 0.4131 ] Sending bootloader and pre-requisite binaries
[ 0.4146 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt 0
[ 0.4159 ] Applet version 00.01.0000
[ 0.4180 ] Sending ebt
[ 0.4183 ] […] 100%
[ 0.5282 ] Sending rp1
[ 0.5325 ] […] 100%
[ 0.5838 ]
[ 0.5869 ] tegrarcm --boot recovery
[ 0.5905 ] Applet version 00.01.0000
[ 0.5941 ]
[ 0.5942 ] Retrieving storage infomation
[ 0.5980 ] tegrarcm --oem platformdetails storage storage_info.bin
[ 0.6014 ] Applet is not running on device. Continue with Bootloader
[ 1.3069 ]
[ 1.3182 ] tegradevflash --oem platformdetails storage storage_info.bin
[ 1.3211 ] Cboot version 00.01.0000
[ 1.3239 ] Saved platform info in storage_info.bin
Do you have an idea what could be the reason, or is the development not yet finished and this was only an intermediate commit?