Hi,
-
according to this instruction I generate a custom image for jetson nano with emmc.
-
according to this instruction the image files are flashed in emmc on jetson nano.
doflash.sh i get it from here. -
the output of flashing process seems successfully:
sudo ./deploy.sh core-image-sato-dev jetson-nano-devkit-emmc
Using temp directory /tmp/tmp.dqrpz9m9ZD
/tmp/tmp.dqrpz9m9ZD ~/yocto-tegra/tegra_flash
./
cboot.bin
odmsign.func
jetson-nano-devkit-emmc.cfg
make-sdcard
nvtboot_cpu_rb.bin
eks.img
tegraflash_internal.py
tegradevflash
tegrabct
core-image-sato-dev.ext4
tegrasign_v3.py
chkbdinfo
sc7entry-firmware.bin
tegra210-p3448-0002-p3449-0000-a02.dtb
nvtboot.bin
BMP_generator_L4T.py
flash.xml.in
tegraflash.py
tos-mon-only.img
mkpkc
bmp.blob
cboot_rb.bin
warmboot.bin
tegrasign_v3_util.py
tegraopenssl
mkbctpart
nvflashxmlparse
doflash.sh
nvtboot_cpu.bin
tegrasign
nvtboot_recovery.bin
l4t_bup_gen.func
tegraparser
tegra210-p3448-0002-p3449-0000-b00.dtb
tegrarcm
rp4.blob
generate_bup_payload.sh
tegrasign_v3_internal.py
mkgpt
tegrahost
tegra210-flash-helper.sh
boot.img
mksparse
mkbootimg
nvtboot_rb.bin
flashvars
BUP_generator.py
bsp_version
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.0049 ] Generating RCM messages
[ 0.0148 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.0197 ] RCM 0 is saved as rcm_0.rcm
[ 0.0216 ] RCM 1 is saved as rcm_1.rcm
[ 0.0217 ] List of rcm files are saved in rcm_list.xml
[ 0.0218 ]
[ 0.0218 ] Signing RCM messages
[ 0.0310 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0389 ] Assuming zero filled SBK key
[ 0.0568 ]
[ 0.0571 ] Copying signature to RCM mesages
[ 0.0640 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0796 ]
[ 0.0799 ] Boot Rom communication
[ 0.0878 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0953 ] RCM version 0X210001
[ 0.2220 ] Boot Rom communication completed
[ 1.2492 ]
[ 1.2495 ] dump EEPROM info
[ 1.2612 ] tegrarcm --oem platformdetails eeprom /tmp/tmp.dqrpz9m9ZD/cvm.bin.dldke
[ 1.2694 ] Applet version 00.01.0000
[ 1.3920 ] Saved platform info in /tmp/tmp.dqrpz9m9ZD/cvm.bin.dldke
[ 1.5023 ]
[ 1.5105 ] tegrarcm --reboot recovery
[ 1.5154 ] Applet version 00.01.0000
[ 1.6525 ]
Board ID(3448) version(401) SKU(0002) revision(G.0)
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.0103 ] tegrasign --getmode mode.txt --key None
[ 0.0147 ] Assuming zero filled SBK key
[ 0.0174 ]
[ 0.0180 ] Generating RCM messages
[ 0.0260 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.0303 ] RCM 0 is saved as rcm_0.rcm
[ 0.0342 ] RCM 1 is saved as rcm_1.rcm
[ 0.0343 ] List of rcm files are saved in rcm_list.xml
[ 0.0343 ]
[ 0.0345 ] Signing RCM messages
[ 0.0420 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0458 ] Assuming zero filled SBK key
[ 0.0618 ]
[ 0.0621 ] Copying signature to RCM mesages
[ 0.0718 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0821 ]
[ 0.0824 ] Parsing partition layout
[ 0.0945 ] tegraparser --pt flash.xml.tmp
[ 0.1079 ]
[ 0.1086 ] Using default ramcode: 0
[ 0.1087 ] Disable BPMP dtb trim, using default dtb
[ 0.1088 ]
[ 0.1089 ] Creating list of images to be signed
[ 0.1247 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.2133 ]
[ 0.2136 ] Generating signatures
[ 0.2188 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.2231 ] Assuming zero filled SBK key
[ 0.5222 ]
[ 0.5226 ] Generating br-bct
[ 0.5334 ] tegrabct --bct jetson-nano-devkit-emmc.cfg --chip 0x21 0
[ 0.5618 ]
[ 0.5620 ] Updating boot device parameters
[ 0.5708 ] tegrabct --bct jetson-nano-devkit-emmc.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.5752 ] Warning: No sdram params
[ 0.5781 ]
[ 0.5783 ] Updating bl info
[ 0.5868 ] tegrabct --bct jetson-nano-devkit-emmc.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.5960 ]
[ 0.5962 ] Updating secondary storage information into bct
[ 0.6008 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo jetson-nano-devkit-emmc.bct
[ 0.6085 ]
[ 0.6089 ] Updating Odmdata
[ 0.6161 ] tegrabct --bct jetson-nano-devkit-emmc.bct --chip 0x21 0 --updatefields Odmdata =0xA4000
[ 0.6269 ] Warning: No sdram params
[ 0.6277 ]
[ 0.6279 ] Get Signed section of bct
[ 0.6326 ] tegrabct --bct jetson-nano-devkit-emmc.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.6432 ]
[ 0.6435 ] Signing BCT
[ 0.6606 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.6663 ] Assuming zero filled SBK key
[ 0.6682 ]
[ 0.6683 ] Updating BCT with signature
[ 0.6747 ] tegrabct --bct jetson-nano-devkit-emmc.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.6820 ]
[ 0.6822 ] Copying signatures
[ 0.6886 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.7446 ]
[ 0.7450 ] Updating BFS information on BCT
[ 0.7541 ] tegrabct --bct jetson-nano-devkit-emmc.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[ 0.7580 ] BFS:
[ 0.7628 ] 0: [PT ] crc-flash.xml.bin (size=131072/131072)
[ 0.7663 ] 1: [TBC] nvtboot_cpu.bin.encrypt (size=65760/196608)
[ 0.7689 ] 2: [RP1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=238304/1048576)
[ 0.7911 ] 3: [EBT] cboot.bin.encrypt (size=484464/655360)
[ 0.7996 ] 4: [WB0] warmboot.bin.encrypt (size=3952/131072)
[ 0.8108 ] 5: [BPF] sc7entry-firmware.bin.encrypt (size=3376/262144)
[ 0.8239 ] BFS0: 131072 @ 2560 SUM 1723bf26 over 2883584 bytes
[ 0.8378 ] BFS:
[ 0.8390 ] 0: [PT-1] crc-flash.xml.bin (size=131072/131072)
[ 0.8597 ] 1: [TBC-1] nvtboot_cpu.bin.encrypt (size=65760/196608)
[ 0.8768 ] 2: [RP1-1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=238304/1048576)
[ 0.8923 ] 3: [EBT-1] cboot.bin.encrypt (size=484464/655360)
[ 0.9081 ] 4: [WB0-1] warmboot.bin.encrypt (size=3952/131072)
[ 0.9212 ] 5: [BPF-1] sc7entry-firmware.bin.encrypt (size=3376/262144)
[ 0.9385 ] 8: [VER_b] jetson-nano-devkit-emmc_bootblob_ver.txt (size=102/32768)
[ 0.9513 ] 9: [VER] jetson-nano-devkit-emmc_bootblob_ver.txt (size=102/32768)
[ 0.9706 ] BFS1: 131072 @ 8704 SUM 1723bf26 over 2981888 bytes
[ 0.9759 ] KFS:
[ 0.9762 ] 0: [DTB] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=238304/1048576)
[ 0.9776 ] 1: [TOS] tos-mon-only.img.encrypt (size=54208/6291456)
[ 0.9796 ] 2: [EKS] eks.img (size=1028/81920)
[ 0.9809 ] 3: [LNX] boot.img.encrypt (size=659456/67092480)
[ 0.9832 ] KFS0: 1048576 @ 29376546 SUM 301298db over 8081408 bytes
[ 0.9847 ] KFS:
[ 1.0288 ] 0: [DTB-1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=238304/1048576)
[ 1.0312 ] 1: [TOS-1] tos-mon-only.img.encrypt (size=54208/6291456)
[ 1.0323 ] 2: [EKS-1] eks.img (size=1028/81920)
[ 1.0330 ] 3: [LNX-1] boot.img.encrypt (size=659456/67092480)
[ 1.0467 ] KFS1: 1048576 @ 29522082 SUM 301298db over 8081408 bytes
[ 1.0470 ]
[ 1.0477 ] Boot Rom communication
[ 1.0561 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[ 1.0618 ] BR_CID: 0x32101001643205c92400000012ff0280
[ 1.1069 ] RCM version 0X210001
[ 1.1471 ] Boot Rom communication completed
[ 2.1719 ]
[ 2.1724 ] Sending BCTs
[ 2.1833 ] tegrarcm --download bct jetson-nano-devkit-emmc.bct
[ 2.1964 ] Applet version 00.01.0000
[ 2.2837 ] Sending bct
[ 2.2878 ] […] 100%
[ 2.5451 ]
[ 2.5537 ] tegrahost --chip 0x21 --align cboot.bin
[ 2.5589 ]
[ 2.5629 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader
[ 2.5725 ]
[ 2.5780 ] tegrasign --key None --list cboot.bin_list.xml
[ 2.5822 ] Assuming zero filled SBK key
[ 2.6270 ]
[ 2.6383 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk
[ 2.6508 ]
[ 2.6629 ] tegrahost --chip 0x21 --align tegra210-p3448-0002-p3449-0000-b00.dtb
[ 2.6722 ]
[ 2.6826 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0002-p3449-0000-b00.dtb tegra210-p3448-0002-p3449-0000-b00.dtb_blheader
[ 2.6909 ]
[ 2.6955 ] tegrasign --key None --list tegra210-p3448-0002-p3449-0000-b00.dtb_list.xml
[ 2.6985 ] Assuming zero filled SBK key
[ 2.7117 ]
[ 2.7199 ] tegrahost --updatesigheader tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.encrypt tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.hash zerosbk
[ 2.7287 ]
[ 2.7312 ] Sending bootloader and pre-requisite binaries
[ 2.7416 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt 0
[ 2.7471 ] Applet version 00.01.0000
[ 2.8598 ] Sending ebt
[ 2.8637 ] […] 100%
[ 3.0399 ] Sending rp1
[ 3.0547 ] […] 100%
[ 3.2019 ]
[ 3.2100 ] tegrarcm --boot recovery
[ 3.2154 ] Applet version 00.01.0000
[ 3.3777 ]
[ 3.3799 ] Retrieving storage infomation
[ 3.3878 ] tegrarcm --oem platformdetails storage storage_info.bin
[ 3.3946 ] Applet is not running on device. Continue with Bootloader
[ 4.0067 ]
[ 4.0183 ] tegradevflash --oem platformdetails storage storage_info.bin
[ 4.0295 ] Cboot version 00.01.0000
[ 4.1075 ] Saved platform info in storage_info.bin
[ 4.1522 ]
[ 4.1528 ] Flashing the device
[ 4.1608 ] tegradevflash --pt flash.xml.bin --storageinfo storage_info.bin --create
[ 4.1661 ] Cboot version 00.01.0000
[ 4.2620 ] Writing partition GPT with gpt.bin
[ 4.2675 ] […] 100%
[ 4.2957 ] Writing partition PT with crc-flash.xml.bin
[ 4.7468 ] […] 100%
[ 4.7885 ] Writing partition PT-1 with crc-flash.xml.bin
[ 4.8177 ] […] 100%
[ 4.8761 ] Writing partition NVC with nvtboot.bin.encrypt
[ 4.9129 ] […] 100%
[ 4.9667 ] Writing partition TBC with nvtboot_cpu.bin.encrypt
[ 5.0109 ] […] 100%
[ 5.0593 ] Writing partition RP1 with tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt
[ 5.1198 ] […] 100%
[ 5.1804 ] Writing partition EBT with cboot.bin.encrypt
[ 5.2443 ] […] 100%
[ 5.3350 ] Writing partition WB0 with warmboot.bin.encrypt
[ 5.3983 ] […] 100%
[ 5.4275 ] Writing partition BPF with sc7entry-firmware.bin.encrypt
[ 5.4894 ] […] 100%
[ 5.5289 ] Writing partition NVC-1 with nvtboot.bin.encrypt
[ 5.5884 ] […] 100%
[ 5.6429 ] Writing partition TBC-1 with nvtboot_cpu.bin.encrypt
[ 5.7160 ] […] 100%
[ 5.7625 ] Writing partition RP1-1 with tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt
[ 5.8340 ] […] 100%
[ 5.8942 ] Writing partition EBT-1 with cboot.bin.encrypt
[ 5.9682 ] […] 100%
[ 6.0583 ] Writing partition WB0-1 with warmboot.bin.encrypt
[ 6.1410 ] […] 100%
[ 6.1763 ] Writing partition BPF-1 with sc7entry-firmware.bin.encrypt
[ 6.2537 ] […] 100%
[ 6.2901 ] Writing partition VER_b with jetson-nano-devkit-emmc_bootblob_ver.txt
[ 6.3660 ] […] 100%
[ 6.4035 ] Writing partition VER with jetson-nano-devkit-emmc_bootblob_ver.txt
[ 6.4720 ] […] 100%
[ 6.5077 ] Writing partition APP with core-image-sato-dev.ext4.img
[ 6.5742 ] […] 100%
[ 82.9661 ] Writing partition DTB with tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt
[ 84.0556 ] […] 100%
[ 84.1112 ] Writing partition TOS with tos-mon-only.img.encrypt
[ 84.1580 ] […] 100%
[ 84.1916 ] Warning: EKS partition magic header mismatch!
[ 84.2439 ] Writing partition EKS with eks.img
[ 84.2473 ] […] 100%
[ 84.2691 ] Writing partition LNX with boot.img.encrypt
[ 84.3174 ] […] 100%
[ 84.4121 ] Writing partition DTB-1 with tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt
[ 84.4777 ] […] 100%
[ 84.5344 ] Writing partition TOS-1 with tos-mon-only.img.encrypt
[ 84.5901 ] […] 100%
[ 84.6305 ] Writing partition EKS-1 with eks.img
[ 84.6799 ] […] 100%
[ 84.7109 ] Writing partition LNX-1 with boot.img.encrypt
[ 84.7600 ] […] 100%
[ 84.8686 ] Writing partition BMP with bmp.blob
[ 84.9282 ] […] 100%
[ 84.9722 ] Writing partition RP4 with rp4.blob
[ 85.0237 ] […] 100%
[ 85.1283 ]
[ 85.1384 ] tegradevflash --write BCT jetson-nano-devkit-emmc.bct
[ 85.1452 ] Cboot version 00.01.0000
[ 85.2241 ] Writing partition BCT with jetson-nano-devkit-emmc.bct
[ 85.2313 ] […] 100%
[ 85.6719 ]
[ 85.6723 ] Flashing completed
[ 85.6727 ] Coldbooting the device
[ 85.6824 ] tegradevflash --reboot coldboot
[ 85.6865 ] Cboot version 00.01.0000
[ 85.7710 ]
~/yocto-tegra/tegra_flash
Removing temp directory /tmp/tmp.dqrpz9m9ZD
but i can not see this:
- after flashing, the board can not be startet correctly. It hangs, the usb connection does not exist any more…
Can someone give me some tipps? thanks a lot in advance.