准备

系统

Ubuntu 16.04 64位,实体机(Ubuntu18 试过可编译,但无法烧写成功)

源码

  1. 编译器
    gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz
  2. 内核
    Tegra186_Linux_R32.5.0_aarch64.tbz2public_sources.tbz2
  3. 文件系统
    Tegra_Linux_Sample-Root-Filesystem_R32.5.0_aarch64.tbz2

配置

  1. 解压交叉编译器
mkdir -p ~/nvidia/gcc
tar xvf gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz -C ~/nvidia/gcc
  1. 配置环境变量
vim ~/.bashrc
export TEGRA_AGX_KERNEL_OUT=/home/z/nvidia/Linux_for_Tegra/source/public/kernel/output
export LOCALVERSION=-tegra
CROSS_TOOL_PATH=/home/z/nvidia/gcc/bin
export PATH=$PATH:$CROSS_TOOL_PATH
source ~/.bashrc
  1. 解压源码
tar xvf public_sources.tbz2 -C ~/nvidia
tar xvf Tegra186_Linux_R32.5.0_aarch64.tbz2 ~/nvidia
tar xvf Tegra_Linux_Sample-Root-Filesystem_R32.5.0_aarch64.tbz -C ~/nvidia/Linux_for_Tegra/rootfs
cd ~/nvidia/Linux_for_Tegra/source/public
tar xvf  kernel_src.tbz2

编译

cd ~/nvidia/Linux_for_Tegra/source/public/kernel/kernel-4.9
vim build.sh
#! /bin/bashexport CROSS_COMPILE=aarch64-linux-gnu-
make ARCH=arm64 tegra_defconfig
make ARCH=arm64 -j12TOP_PATH=/home/z/nvidia/Linux_for_Tegra
cp arch/arm64/boot/Image $TOP_PATH/kernel/Image
cp arch/arm64/boot/dts/* $TOP_PATH/kernel/dtb/sudo make ARCH=arm64 modules_install INSTALL_MOD_PATH=$TOP_PATH/rootfs/
chmod +x build.sh
./build.sh
cd ~/nvidia/Linux_for_Tegra
sudo ./apply_binaries.sh

烧写

vim burn.sh
./flash.sh jetson-agx-xavier-devkit mmcblk0p1
chmod +x burn.sh
  1. 关闭agx 所有电源
  2. 接好3个按键旁边的typeC口到PC
  3. 接上电源
  4. 按下中间的Recovery按键不放
  5. 按一下电源按键,灯亮
  6. 等待5秒中,放开中间的Recovery按键
  7. 电脑端执行
sudo ./burn.sh

日志

sudo ./burn.sh
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 5.0
###############################################################################
# Target Board Information:
# Name: jetson-agx-xavier-devkit, Board Family: t186ref, SoC: Tegra 194,
# OpMode: production, Boot Authentication: NS,
# Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/z/nvidia/Linux_for_Tegra/bootloader/mb1_t194_prod.bin" --skipuid --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --bins "mb2_applet nvtboot_applet_t194.bin" --cmd "dump eeprom boardinfo cvm.bin;reboot recovery"
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.0035 ] Generating RCM messages
[   0.0185 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/z/nvidia/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.0197 ] Header already present for /home/z/nvidia/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.0333 ]
[   0.0447 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0457 ] Assuming zero filled SBK key
[   0.0458 ]
[   0.0474 ] tegrasign_v2 --key None --file /home/z/nvidia/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --offset 2960 --length 1136 --pubkeyhash pub_key.key
[   0.0483 ] Assuming zero filled SBK key
[   0.0489 ]
[   0.0498 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/z/nvidia/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/z/nvidia/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.0549 ]
[   0.0863 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.1050 ]
[   0.1061 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/z/nvidia/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.1070 ] RCM 0 is saved as rcm_0.rcm
[   0.1118 ] RCM 1 is saved as rcm_1.rcm
[   0.1118 ] RCM 2 is saved as rcm_2.rcm
[   0.1118 ] List of rcm files are saved in rcm_list.xml
[   0.1118 ]
[   0.1119 ] Signing RCM messages
[   0.1128 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   0.1137 ] Assuming zero filled SBK key
[   0.1145 ]
[   0.1145 ] Copying signature to RCM mesages
[   0.1155 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.1169 ]
[   0.1170 ] Boot Rom communication
[   0.1180 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.1189 ] RCM version 0X190001
[   0.1200 ] Boot Rom communication completed
[   1.1350 ]
[   2.1372 ] tegrarcm_v2 --isapplet
[   2.1381 ] Applet version 01.00.0000
[   2.1520 ]
[   2.1534 ] tegrarcm_v2 --ismb2
[   2.1798 ]
[   2.1810 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194.bin
[   2.1819 ]
[   2.1828 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194.bin zerosbk
[   2.1837 ] adding BCH for nvtboot_applet_t194.bin
[   2.2412 ]
[   2.2431 ] tegrasign_v2 --key None --list nvtboot_applet_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   2.2441 ] Assuming zero filled SBK key
[   2.2445 ]
[   2.2456 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_sigheader.bin.encrypt nvtboot_applet_t194_sigheader.bin.hash zerosbk
[   2.2485 ]
[   2.2500 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   2.2510 ] Applet version 01.00.0000
[   2.2640 ] Sending mb2
[   2.2641 ] [................................................] 100%
[   2.2773 ]
[   2.2785 ] tegrarcm_v2 --boot recovery
[   2.2794 ] Applet version 01.00.0000
[   2.2955 ]
[   3.2978 ] tegrarcm_v2 --isapplet
[   3.3122 ]
[   3.3135 ] tegrarcm_v2 --ismb2
[   3.3144 ] MB2 Applet version 01.00.0000
[   3.3440 ]
[   3.3451 ] tegrarcm_v2 --ismb2
[   3.3459 ] MB2 Applet version 01.00.0000
[   3.3719 ]
[   3.3730 ] Retrieving board information
[   3.3739 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   3.3748 ] MB2 Applet version 01.00.0000
[   3.4020 ] Saved platform info in chip_info.bin
[   3.4063 ] Chip minor revision: 2
[   3.4065 ] Bootrom revision: 0xf
[   3.4068 ] Ram code: 0x2
[   3.4068 ] Chip sku: 0xd0
[   3.4068 ] Chip Sample: non es
[   3.4069 ]
[   3.4073 ] Retrieving EEPROM data
[   3.4074 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/z/nvidia/Linux_for_Tegra/bootloader/cvm.bin
[   3.4083 ] MB2 Applet version 01.00.0000
[   3.4341 ] Saved platform info in /home/z/nvidia/Linux_for_Tegra/bootloader/cvm.bin
[   3.4684 ]
[   3.4685 ] Rebooting to recovery mode
[   3.4695 ] tegrarcm_v2 --ismb2
[   3.4704 ] MB2 Applet version 01.00.0000
[   3.4840 ]
[   3.4841 ] Rebooting to recovery mode
[   3.4857 ] tegrarcm_v2 --reboot recovery
[   3.4873 ] MB2 Applet version 01.00.0000
[   3.5229 ]
Board ID(2888) version(400) sku(0004) revision(K.0)
Copy /home/z/nvidia/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb to /home/z/nvidia/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb.rec
copying bctfile(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p2888.cfg)... done.
copying bctfile1(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying uphy_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg)... done.
copying minratchet_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg)... done.
copying device_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-sdmmc.cfg)... done.
copying misc_cold_boot_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg)... done.
copying gpioint_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg)... done.
copying pmic_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg)... done.
copying pmc_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg)... done.
copying prod_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg)... done.
copying scr_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)... done.
copying scr_cold_boot_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)... done.
copying bootrom_config(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg)... done.
copying dev_params(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-sdmmc.cfg)... done.
Existing bootloader(/home/z/nvidia/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/z/nvidia/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.populating kernel to rootfs... done.
/home/z/nvidia/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign /home/z/nvidia/Linux_for_Tegra/rootfs/boot/Image
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.0035 ] Generating signature
[   0.0044 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0051 ] Assuming zero filled SBK key
[   0.0052 ]
[   0.0054 ] header_magic: c05514
[   0.0063 ] tegrahost_v2 --chip 0x19 --align 1_Image
[   0.0075 ]
[   0.0087 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_Image zerosbk
[   0.0097 ] adding BCH for 1_Image
[   1.0066 ]
[   1.0086 ] tegrasign_v2 --key  --list 1_Image_sigheader_list.xml --pubkeyhash pub_key.key
[   1.0093 ] Assuming zero filled SBK key
[   1.0524 ]
[   1.0538 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_Image_sigheader.encrypt 1_Image_sigheader.hash zerosbk
[   1.5666 ]
[   1.5929 ] Signed file: /home/z/nvidia/Linux_for_Tegra/bootloader/Image_sigheader.encrypt
l4t_sign_image.sh: Generate header for Image_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x20af808 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for Image_sigheader.encrypt
l4t_sign_image.sh: the sign header is saved at /home/z/nvidia/Linux_for_Tegra/rootfs/boot/Image.sig
done.populating initrd to rootfs... done.
/home/z/nvidia/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign /home/z/nvidia/Linux_for_Tegra/rootfs/boot/initrd
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.0035 ] Generating signature
[   0.0044 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0051 ] Assuming zero filled SBK key
[   0.0053 ]
[   0.0055 ] header_magic: 1f8b0800
[   0.0064 ] tegrahost_v2 --chip 0x19 --align 1_initrd
[   0.0073 ]
[   0.0082 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_initrd zerosbk
[   0.0090 ] adding BCH for 1_initrd
[   0.2197 ]
[   0.2214 ] tegrasign_v2 --key  --list 1_initrd_sigheader_list.xml --pubkeyhash pub_key.key
[   0.2222 ] Assuming zero filled SBK key
[   0.2308 ]
[   0.2323 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_initrd_sigheader.encrypt 1_initrd_sigheader.hash zerosbk
[   0.3455 ]
[   0.3510 ] Signed file: /home/z/nvidia/Linux_for_Tegra/bootloader/initrd_sigheader.encrypt
l4t_sign_image.sh: Generate header for initrd_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x6e6cb6 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for initrd_sigheader.encrypt
l4t_sign_image.sh: the sign header is saved at /home/z/nvidia/Linux_for_Tegra/rootfs/boot/initrd.sig
done.populating /home/z/nvidia/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb to rootfs... done.
Making Boot image... done.
/home/z/nvidia/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign boot.img
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.0006 ] Generating signature
[   0.0015 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0022 ] Assuming zero filled SBK key
[   0.0024 ]
[   0.0026 ] header_magic: 414e4452
[   0.0036 ] tegrahost_v2 --chip 0x19 --align 1_boot.img
[   0.0045 ]
[   0.0057 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_boot.img zerosbk
[   0.0067 ] adding BCH for 1_boot.img
[   1.2110 ]
[   1.2128 ] tegrasign_v2 --key  --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[   1.2135 ] Assuming zero filled SBK key
[   1.2632 ]
[   1.2646 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[   1.8818 ]
[   1.9148 ] Signed file: /home/z/nvidia/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
l4t_sign_image.sh: Generate header for boot_sigheader.img.encrypt
l4t_sign_image.sh: chip 0x19: add 0x2797800 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for boot_sigheader.img.encrypt
l4t_sign_image.sh: the signed file is /home/z/nvidia/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
done.
Making recovery ramdisk for recovery image...
Re-generating recovery ramdisk for recovery image...
~/nvidia/Linux_for_Tegra/bootloader/ramdisk_tmp ~/nvidia/Linux_for_Tegra/bootloader ~/nvidia/Linux_for_Tegra
30402 块
_BASE_KERNEL_VERSION=4.9.201-tegra
~/nvidia/Linux_for_Tegra/bootloader/ramdisk_tmp/lib ~/nvidia/Linux_for_Tegra/bootloader/ramdisk_tmp ~/nvidia/Linux_for_Tegra/bootloader ~/nvidia/Linux_for_Tegra
65753 块
Making Recovery image...
copying recdtbfile(/home/z/nvidia/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb.rec)... done.
记录了20+0 的读入
记录了20+0 的写出
20 bytes copied, 0.000347212 s, 57.6 kB/s
Existing sosfile(/home/z/nvidia/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/z/nvidia/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/z/nvidia/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/z/nvidia/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/z/nvidia/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/z/nvidia/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/z/nvidia/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/z/nvidia/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/z/nvidia/Linux_for_Tegra/bootloader/bpmp_t194.bin) reused.
copying bpfdtbfile(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p2888-a04.dtb)... done.
Existing scefile(/home/z/nvidia/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/z/nvidia/Linux_for_Tegra/bootloader/camera-rtcpu-rce.img) reused.
Existing spefile(/home/z/nvidia/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing drameccfile(/home/z/nvidia/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/z/nvidia/Linux_for_Tegra/bootloader/badpage.bin) reused.
Existing wb0boot(/home/z/nvidia/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/z/nvidia/Linux_for_Tegra/bootloader/tos-trusty_t194.img) reused.
Existing eksfile(/home/z/nvidia/Linux_for_Tegra/bootloader/eks.img) reused.
copying soft_fuses(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/z/nvidia/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/z/nvidia/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign kernel_tegra194-p2888-0001-p2822-0000.dtb
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.0007 ] Generating signature
[   0.0016 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0023 ] Assuming zero filled SBK key
[   0.0025 ]
[   0.0027 ] header_magic: d00dfeed
[   0.0036 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p2888-0001-p2822-0000.dtb
[   0.0044 ]
[   0.0053 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p2888-0001-p2822-0000.dtb zerosbk
[   0.0061 ] adding BCH for 1_kernel_tegra194-p2888-0001-p2822-0000.dtb
[   0.0151 ]
[   0.0180 ] tegrasign_v2 --key  --list 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0190 ] Assuming zero filled SBK key
[   0.0198 ]
[   0.0211 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.hash zerosbk
[   0.0266 ]
[   0.0271 ] Signed file: /home/z/nvidia/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x19: add 0x451d5 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: the sign header is saved at kernel_tegra194-p2888-0001-p2822-0000.dtb.sig
done.
/home/z/nvidia/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign kernel_tegra194-p2888-0001-p2822-0000.dtb
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.0007 ] Generating signature
[   0.0016 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0023 ] Assuming zero filled SBK key
[   0.0025 ]
[   0.0027 ] header_magic: d00dfeed
[   0.0036 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p2888-0001-p2822-0000.dtb
[   0.0046 ]
[   0.0059 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p2888-0001-p2822-0000.dtb zerosbk
[   0.0070 ] adding BCH for 1_kernel_tegra194-p2888-0001-p2822-0000.dtb
[   0.0159 ]
[   0.0177 ] tegrasign_v2 --key  --list 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0185 ] Assuming zero filled SBK key
[   0.0192 ]
[   0.0203 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.hash zerosbk
[   0.0257 ]
[   0.0262 ] Signed file: /home/z/nvidia/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x19: add 0x451d5 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: the signed file is /home/z/nvidia/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
done.
Making system.img... populating rootfs from /home/z/nvidia/Linux_for_Tegra/rootfs ... done.populating /boot/extlinux/extlinux.conf ... done.Sync'ing system.img ... done.Converting RAW image to Sparse image... done.
system.img built successfully.
Existing tbcfile(/home/z/nvidia/Linux_for_Tegra/bootloader/cboot_t194.bin) reused.
copying tbcdtbfile(/home/z/nvidia/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb)... done.
copying cfgfile(/home/z/nvidia/Linux_for_Tegra/bootloader/t186ref/cfg/flash_t194_sdmmc.xml) to flash.xml... done.
Existing flasher(/home/z/nvidia/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/z/nvidia/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-p2888.cfg,tegra194-memcfg-sw-override.cfg  --odmdata 0x9190000 --applet mb1_t194_prod.bin --cmd "flash; reboot" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg  --cfg flash.xml --chip 0x19 --uphy_config tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --minratchet_config tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg --device_config tegra19x-mb1-bct-device-sdmmc.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --pmic_config tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg --pmc_config tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --prod_config tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini.cfg --br_cmd_config tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --dev_params tegra194-br-bct-sdmmc.cfg  --bin "mb2_bootloader nvtboot_recovery_t194.bin; mts_preboot preboot_c10_prod_cr.bin; mts_mce mce_c10_prod_cr.bin; mts_proper mts_c10_prod_cr.bin; bpmp_fw bpmp_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p2888-a04.dtb; spe_fw spe_t194.bin; tlk tos-trusty_t194.img; eks eks.img; bootloader_dtb tegra194-p2888-0001-p2822-0000.dtb"
saving flash command in /home/z/nvidia/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/z/nvidia/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.0620 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0643 ] Assuming zero filled SBK key
[   0.1220 ]
[   0.1222 ] Generating RCM messages
[   0.1351 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.1376 ] Header already present for mb1_t194_prod.bin
[   0.1657 ]
[   0.1669 ] tegrasign_v2 --key None --getmode mode.txt
[   0.1678 ] Assuming zero filled SBK key
[   0.1876 ]
[   0.1889 ] tegrasign_v2 --key None --file mb1_t194_prod_sigheader.bin --offset 2960 --length 1136 --pubkeyhash pub_key.key
[   0.1897 ] Assuming zero filled SBK key
[   0.1974 ]
[   0.1986 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.2037 ]
[   0.2362 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.2870 ]
[   0.2881 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   0.2892 ] FwIndex: 1, MinRatchetLevel: 0
[   0.2998 ] FwIndex: 2, MinRatchetLevel: 0
[   0.2998 ] FwIndex: 3, MinRatchetLevel: 0
[   0.2998 ] FwIndex: 4, MinRatchetLevel: 0
[   0.2998 ] FwIndex: 5, MinRatchetLevel: 0
[   0.2998 ] FwIndex: 6, MinRatchetLevel: 0
[   0.2998 ] FwIndex: 7, MinRatchetLevel: 0
[   0.2998 ] FwIndex: 8, MinRatchetLevel: 0
[   0.2998 ] FwIndex: 11, MinRatchetLevel: 0
[   0.2999 ] FwIndex: 12, MinRatchetLevel: 0
[   0.2999 ] FwIndex: 13, MinRatchetLevel: 0
[   0.2999 ] FwIndex: 14, MinRatchetLevel: 0
[   0.2999 ] FwIndex: 15, MinRatchetLevel: 0
[   0.2999 ] FwIndex: 16, MinRatchetLevel: 0
[   0.2999 ] FwIndex: 17, MinRatchetLevel: 0
[   0.3000 ] FwIndex: 18, MinRatchetLevel: 0
[   0.3000 ] FwIndex: 19, MinRatchetLevel: 0
[   0.3000 ] FwIndex: 30, MinRatchetLevel: 0
[   0.3000 ] FwIndex: 31, MinRatchetLevel: 0
[   0.3000 ]
[   0.3335 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.3346 ] RCM 0 is saved as rcm_0.rcm
[   0.3397 ] RCM 1 is saved as rcm_1.rcm
[   0.3397 ] RCM 2 is saved as rcm_2.rcm
[   0.3397 ] List of rcm files are saved in rcm_list.xml
[   0.3397 ]
[   0.3398 ] Signing RCM messages
[   0.3407 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   0.3415 ] Assuming zero filled SBK key
[   0.3422 ]
[   0.3422 ] Copying signature to RCM mesages
[   0.3431 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.3449 ]
[   0.3449 ] Parsing partition layout
[   0.3553 ] tegraparser_v2 --pt flash.xml.tmp
[   0.3824 ]
[   0.3826 ] Creating list of images to be signed
[   0.3837 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   0.3846 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.3855 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.3865 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.3905 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.3917 ] adding BCH for spe_t194.bin
[   0.3972 ] adding BCH for spe_t194.bin
[   0.4005 ] adding BCH for nvtboot_t194.bin
[   0.4048 ] adding BCH for nvtboot_t194.bin
[   0.4110 ] Header already present for preboot_c10_prod_cr.bin
[   0.4364 ] Header already present for preboot_c10_prod_cr.bin
[   0.4370 ] Header already present for mce_c10_prod_cr.bin
[   0.4415 ] Header already present for mce_c10_prod_cr.bin
[   0.4446 ] adding BCH for mts_c10_prod_cr.bin
[   0.4886 ] adding BCH for mts_c10_prod_cr.bin
[   0.5878 ] adding BCH for cboot_t194.bin
[   0.6866 ] adding BCH for cboot_t194.bin
[   0.6998 ] adding BCH for tegra194-p2888-0001-p2822-0000.dtb
[   0.7127 ] adding BCH for tegra194-p2888-0001-p2822-0000.dtb
[   0.7211 ] adding BCH for tos-trusty_t194.img
[   0.7626 ] adding BCH for tos-trusty_t194.img
[   0.7761 ] adding BCH for eks.img
[   0.8888 ] adding BCH for eks.img
[   0.8891 ] adding BCH for bpmp_t194.bin
[   0.9779 ] adding BCH for bpmp_t194.bin
[   1.0105 ] adding BCH for tegra194-a02-bpmp-p2888-a04.dtb
[   1.0886 ] adding BCH for tegra194-a02-bpmp-p2888-a04.dtb
[   1.1115 ] adding BCH for camera-rtcpu-rce.img
[   1.1595 ] adding BCH for camera-rtcpu-rce.img
[   1.1684 ] adding BCH for adsp-fw.bin
[   1.1769 ] adding BCH for adsp-fw.bin
[   1.1797 ] Header already present for warmboot_t194_prod.bin
[   1.1868 ] Header already present for warmboot_t194_prod.bin
[   1.1878 ] adding BCH for recovery.img
[   1.9157 ] adding BCH for tegra194-p2888-0001-p2822-0000.dtb.rec
[   3.9623 ] adding BCH for boot.img
[   4.0242 ] adding BCH for boot.img
[   5.2150 ] adding BCH for kernel_tegra194-p2888-0001-p2822-0000.dtb
[   6.7857 ] adding BCH for kernel_tegra194-p2888-0001-p2822-0000.dtb
[   6.8080 ]
[   6.8080 ] Filling MB1 storage info
[   6.8080 ] Generating br-bct
[   6.8092 ] Performing cfg overlay
[   6.8093 ] ['tegra194-mb1-bct-memcfg-p2888.cfg', 'tegra194-memcfg-sw-override.cfg']
[   6.8103 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p2888.cfg -s tegra194-memcfg-sw-override.cfg -o /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1.cfg
[   8.4246 ]
[   8.4249 ] Updating dev and MSS params in BR BCT
[   8.4250 ] tegrabct_v2 --dev_param tegra194-br-bct-sdmmc.cfg --sdram /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   8.4989 ]
[   8.4989 ] Updating bl info
[   8.4999 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   8.5023 ]
[   8.5023 ] Generating signatures
[   8.5034 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[   8.5043 ] Assuming zero filled SBK key
[   8.6887 ]
[   8.6887 ] Generating br-bct
[   8.6901 ] Performing cfg overlay
[   8.6902 ] ['/home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1.cfg']
[   8.6902 ] Updating dev and MSS params in BR BCT
[   8.6903 ] tegrabct_v2 --dev_param tegra194-br-bct-sdmmc.cfg --sdram /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   9.1178 ]
[   9.1179 ] Updating bl info
[   9.1190 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   9.1246 ]
[   9.1247 ] Updating smd info
[   9.1258 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   9.1270 ]
[   9.1270 ] Updating Odmdata
[   9.1280 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0x9190000
[   9.1298 ]
[   9.1299 ] Get Signed section of bct
[   9.1310 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   9.1334 ]
[   9.1343 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   9.1351 ] Assuming zero filled SBK key
[   9.1353 ]
[   9.1353 ] Updating BCT with signature
[   9.1362 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   9.1375 ]
[   9.1376 ] Generating coldboot mb1-bct
[   9.3037 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-sdmmc.cfg
[   9.3048 ] MB1-BCT version: 0x1[   9.3053 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg
[   9.3060 ] Added Platform Config 0 data with size :- 3008[   9.3173 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini.cfg
[   9.3177 ] Added Platform Config 1 data with size :- 19640[   9.3560 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg
[   9.3565 ] Added Platform Config 2 data with size :- 24[   9.3599 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg
[   9.3608 ] Added Platform Config 4 data with size :- 348[   9.3613 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg
[   9.3619 ] Added Platform Config 3 data with size :- 92[   9.3712 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg
[   9.3721 ] Added Platform Config 5 data with size :- 56[   9.3726 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg
[   9.3732 ] Added Platform Config 7 data with size :- 392[   9.3831 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg
[   9.3838 ] Added Platform Config 8 data with size :- 12[   9.3929 ] Parsing config file :tegra19x-mb1-bct-device-sdmmc.cfg
[   9.3934 ] Added Platform Config 9 data with size :- 32
[   9.4039 ]
[   9.4039 ] Updating mb1-bct with firmware information
[   9.4049 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   9.4057 ] MB1-BCT version: 0x1
[   9.4062 ]
[   9.4062 ] Updating mb1-bct with storage information
[   9.4072 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   9.4080 ] MB1-BCT version: 0x1
[   9.4084 ]
[   9.4084 ] Updating mb1-bct with ratchet information
[   9.4092 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   9.4099 ] MB1-BCT version: 0x1
[   9.4102 ] FwIndex: 1, MinRatchetLevel: 0
[   9.4103 ] FwIndex: 2, MinRatchetLevel: 0
[   9.4103 ] FwIndex: 3, MinRatchetLevel: 0
[   9.4104 ] FwIndex: 4, MinRatchetLevel: 0
[   9.4104 ] FwIndex: 5, MinRatchetLevel: 0
[   9.4104 ] FwIndex: 6, MinRatchetLevel: 0
[   9.4104 ] FwIndex: 7, MinRatchetLevel: 0
[   9.4104 ] FwIndex: 8, MinRatchetLevel: 0
[   9.4104 ] FwIndex: 11, MinRatchetLevel: 0
[   9.4104 ] FwIndex: 12, MinRatchetLevel: 0
[   9.4104 ] FwIndex: 13, MinRatchetLevel: 0
[   9.4104 ] FwIndex: 14, MinRatchetLevel: 0
[   9.4104 ] FwIndex: 15, MinRatchetLevel: 0
[   9.4104 ] FwIndex: 16, MinRatchetLevel: 0
[   9.4105 ] FwIndex: 17, MinRatchetLevel: 0
[   9.4105 ] FwIndex: 18, MinRatchetLevel: 0
[   9.4105 ] FwIndex: 19, MinRatchetLevel: 0
[   9.4105 ] FwIndex: 30, MinRatchetLevel: 0
[   9.4105 ] FwIndex: 31, MinRatchetLevel: 0
[   9.4105 ]
[   9.4113 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct
[   9.4121 ]
[   9.4129 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   9.4136 ] adding BCH for mb1_cold_boot_bct_MB1.bct
[   9.4147 ]
[   9.4158 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   9.4165 ] Assuming zero filled SBK key
[   9.4168 ]
[   9.4178 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   9.4192 ]
[   9.4194 ] Generating recovery mb1-bct
[   9.4206 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1.cfg --misc tegra194-mb1-bct-misc-flash.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-sdmmc.cfg
[   9.4215 ] MB1-BCT version: 0x1[   9.4219 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg
[   9.4229 ] Added Platform Config 0 data with size :- 3008[   9.4246 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini.cfg
[   9.4256 ] Added Platform Config 1 data with size :- 19640[   9.4427 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg
[   9.4434 ] Added Platform Config 2 data with size :- 24[   9.4439 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg
[   9.4442 ] Added Platform Config 4 data with size :- 348
[   9.4442 ]
[   9.4442 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg
[   9.4442 ] Added Platform Config 3 data with size :- 92
[   9.4442 ]
[   9.4442 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg
[   9.4443 ] Added Platform Config 5 data with size :- 56
[   9.4443 ]
[   9.4443 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg
[   9.4443 ] Added Platform Config 7 data with size :- 392
[   9.4443 ]
[   9.4443 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg
[   9.4443 ] Added Platform Config 8 data with size :- 12
[   9.4443 ]
[   9.4443 ] Parsing config file :tegra19x-mb1-bct-device-sdmmc.cfg
[   9.4443 ] Added Platform Config 9 data with size :- 32
[   9.4443 ]
[   9.4444 ] Updating mb1-bct with firmware information
[   9.4452 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   9.4459 ] MB1-BCT version: 0x1
[   9.4463 ]
[   9.4464 ] Updating mb1-bct with storage information
[   9.4471 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   9.4478 ] MB1-BCT version: 0x1
[   9.4482 ]
[   9.4483 ] Updating mb1-bct with ratchet information
[   9.4490 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   9.4497 ] MB1-BCT version: 0x1
[   9.4500 ] FwIndex: 1, MinRatchetLevel: 0
[   9.4501 ] FwIndex: 2, MinRatchetLevel: 0
[   9.4501 ] FwIndex: 3, MinRatchetLevel: 0
[   9.4502 ] FwIndex: 4, MinRatchetLevel: 0
[   9.4502 ] FwIndex: 5, MinRatchetLevel: 0
[   9.4502 ] FwIndex: 6, MinRatchetLevel: 0
[   9.4502 ] FwIndex: 7, MinRatchetLevel: 0
[   9.4502 ] FwIndex: 8, MinRatchetLevel: 0
[   9.4502 ] FwIndex: 11, MinRatchetLevel: 0
[   9.4502 ] FwIndex: 12, MinRatchetLevel: 0
[   9.4503 ] FwIndex: 13, MinRatchetLevel: 0
[   9.4503 ] FwIndex: 14, MinRatchetLevel: 0
[   9.4503 ] FwIndex: 15, MinRatchetLevel: 0
[   9.4503 ] FwIndex: 16, MinRatchetLevel: 0
[   9.4503 ] FwIndex: 17, MinRatchetLevel: 0
[   9.4503 ] FwIndex: 18, MinRatchetLevel: 0
[   9.4503 ] FwIndex: 19, MinRatchetLevel: 0
[   9.4503 ] FwIndex: 30, MinRatchetLevel: 0
[   9.4503 ] FwIndex: 31, MinRatchetLevel: 0
[   9.4504 ]
[   9.4511 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct
[   9.4520 ]
[   9.4529 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1.bct zerosbk
[   9.4537 ] adding BCH for mb1_bct_MB1.bct
[   9.4547 ]
[   9.4558 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   9.4569 ] Assuming zero filled SBK key
[   9.4573 ]
[   9.4588 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   9.4612 ]
[   9.4615 ] Generating coldboot mem-bct
[   9.4630 ] tegrabct_v2 --chip 0x19 0 --sdram /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1.cfg --membct /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_1.bct /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_2.bct /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_3.bct /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_4.bct
[   9.4638 ] Packing sdram param for instance[0]
[   9.5268 ] Packing sdram param for instance[1]
[   9.5271 ] Packing sdram param for instance[2]
[   9.5273 ] Packing sdram param for instance[3]
[   9.5275 ] Packing sdram param for instance[4]
[   9.5275 ] Packing sdram param for instance[5]
[   9.5275 ] Packing sdram param for instance[6]
[   9.5275 ] Packing sdram param for instance[7]
[   9.5275 ] Packing sdram param for instance[8]
[   9.5275 ] Packing sdram param for instance[9]
[   9.5276 ] Packing sdram param for instance[10]
[   9.5276 ] Packing sdram param for instance[11]
[   9.5276 ] Packing sdram param for instance[12]
[   9.5276 ] Packing sdram param for instance[13]
[   9.5276 ] Packing sdram param for instance[14]
[   9.5276 ] Packing sdram param for instance[15]
[   9.5276 ]
[   9.5276 ] Getting sector size from pt
[   9.5286 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   9.5296 ]
[   9.5297 ] BlockSize read from layout is 200[   9.5306 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_1.bct /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_2.bct /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_3.bct /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_4.bct
[   9.5313 ] adding BCH for /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_1.bct
[   9.5345 ]
[   9.5354 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct
[   9.5363 ]
[   9.5372 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot.bct zerosbk
[   9.5386 ] Header already present for mem_coldboot.bct
[   9.5390 ]
[   9.5413 ] tegrasign_v2 --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   9.5429 ] Assuming zero filled SBK key
[   9.5435 ]
[   9.5446 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk
[   9.5458 ]
[   9.5459 ] Generating recovery mem-bct
[   9.5468 ] tegrabct_v2 --chip 0x19 0 --sdram /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1.cfg --membct /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_1.bct /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_2.bct /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_3.bct /home/z/nvidia/Linux_for_Tegra/bootloader/3107/tmp570rh31i1_4.bct
[   9.5477 ] Packing sdram param for instance[0]
[   9.6106 ] Packing sdram param for instance[1]
[   9.6110 ] Packing sdram param for instance[2]
[   9.6114 ] Packing sdram param for instance[3]
[   9.6114 ] Packing sdram param for instance[4]
[   9.6114 ] Packing sdram param for instance[5]
[   9.6114 ] Packing sdram param for instance[6]
[   9.6114 ] Packing sdram param for instance[7]
[   9.6114 ] Packing sdram param for instance[8]
[   9.6114 ] Packing sdram param for instance[9]
[   9.6114 ] Packing sdram param for instance[10]
[   9.6115 ] Packing sdram param for instance[11]
[   9.6115 ] Packing sdram param for instance[12]
[   9.6115 ] Packing sdram param for instance[13]
[   9.6115 ] Packing sdram param for instance[14]
[   9.6115 ] Packing sdram param for instance[15]
[   9.6115 ]
[   9.6116 ] Reading ramcode from backup chip_info.bin file
[   9.6177 ] RAMCODE Read from Device: 2[   9.6178 ] Disabled BPMP dtb trim, using default dtb
[   9.6178 ]
[   9.6191 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[   9.6201 ]
[   9.6210 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm.bct zerosbk
[   9.6221 ] adding BCH for mem_rcm.bct
[   9.6238 ]
[   9.6263 ] tegrasign_v2 --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   9.6274 ] Assuming zero filled SBK key
[   9.6279 ]
[   9.6290 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[   9.6309 ]
[   9.6311 ] Copying signatures
[   9.6320 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[  13.3111 ]
[  13.3111 ] Boot Rom communication
[  13.3124 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[  13.3134 ] BR_CID: 0x8802191164705706200000000a0000c0
[  13.3143 ] RCM version 0X190001
[  13.3249 ] Boot Rom communication completed
[  14.3402 ]
[  15.3445 ] tegrarcm_v2 --isapplet
[  15.3472 ] Applet version 01.00.0000
[  15.3585 ]
[  15.3587 ] Sending BCTs
[  15.3620 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[  15.3642 ] Applet version 01.00.0000
[  15.3904 ] Sending bct_bootrom
[  15.3907 ] [................................................] 100%
[  15.3919 ] Sending bct_mb1
[  15.3964 ] [................................................] 100%
[  15.4001 ] Sending bct_mem
[  15.4459 ] [................................................] 100%
[  15.5277 ]
[  15.5278 ] Generating blob
[  15.5289 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_cpu_t194.bin
[  15.5297 ]
[  15.5306 ] tegrahost_v2 --chip 0x19 0 --magicid CPBL --ratchet_blob ratchet_blob.bin --appendsigheader blob_nvtboot_recovery_cpu_t194.bin zerosbk
[  15.5314 ] adding BCH for blob_nvtboot_recovery_cpu_t194.bin
[  15.5441 ]
[  15.5453 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  15.5461 ] Assuming zero filled SBK key
[  15.5466 ]
[  15.5478 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_t194_sigheader.bin.hash zerosbk
[  15.5528 ]
[  15.5539 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_t194.bin
[  15.5551 ]
[  15.5562 ] tegrahost_v2 --chip 0x19 0 --magicid MB2B --ratchet_blob ratchet_blob.bin --appendsigheader blob_nvtboot_recovery_t194.bin zerosbk
[  15.5571 ] adding BCH for blob_nvtboot_recovery_t194.bin
[  16.4789 ]
[  16.4828 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  16.4854 ] Assuming zero filled SBK key
[  16.4866 ]
[  16.4892 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_t194_sigheader.bin.encrypt blob_nvtboot_recovery_t194_sigheader.bin.hash zerosbk
[  16.4961 ]
[  16.4975 ] tegrahost_v2 --chip 0x19 --align blob_preboot_c10_prod_cr.bin
[  16.4992 ]
[  16.5012 ] tegrahost_v2 --chip 0x19 0 --magicid MTSP --ratchet_blob ratchet_blob.bin --appendsigheader blob_preboot_c10_prod_cr.bin zerosbk
[  16.5024 ] Header already present for blob_preboot_c10_prod_cr.bin
[  16.5032 ]
[  16.5046 ] tegrasign_v2 --key None --list blob_preboot_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  16.5055 ] Assuming zero filled SBK key
[  16.5058 ]
[  16.5070 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_preboot_c10_prod_cr_sigheader.bin.encrypt blob_preboot_c10_prod_cr_sigheader.bin.hash zerosbk
[  16.5085 ]
[  16.5096 ] tegrahost_v2 --chip 0x19 --align blob_mce_c10_prod_cr.bin
[  16.5104 ]
[  16.5113 ] tegrahost_v2 --chip 0x19 0 --magicid MTSM --ratchet_blob ratchet_blob.bin --appendsigheader blob_mce_c10_prod_cr.bin zerosbk
[  16.5122 ] Header already present for blob_mce_c10_prod_cr.bin
[  16.5146 ]
[  16.5157 ] tegrasign_v2 --key None --list blob_mce_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  16.5167 ] Assuming zero filled SBK key
[  16.5172 ]
[  16.5183 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mce_c10_prod_cr_sigheader.bin.encrypt blob_mce_c10_prod_cr_sigheader.bin.hash zerosbk
[  16.5217 ]
[  16.5228 ] tegrahost_v2 --chip 0x19 --align blob_mts_c10_prod_cr.bin
[  16.5237 ]
[  16.5247 ] tegrahost_v2 --chip 0x19 0 --magicid MTSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_mts_c10_prod_cr.bin zerosbk
[  16.5261 ] adding BCH for blob_mts_c10_prod_cr.bin
[  16.6300 ]
[  16.6313 ] tegrasign_v2 --key None --list blob_mts_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  16.6321 ] Assuming zero filled SBK key
[  16.6365 ]
[  16.6377 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mts_c10_prod_cr_sigheader.bin.encrypt blob_mts_c10_prod_cr_sigheader.bin.hash zerosbk
[  16.6889 ]
[  16.6902 ] tegrahost_v2 --chip 0x19 --align blob_bpmp_t194.bin
[  16.6912 ]
[  16.6921 ] tegrahost_v2 --chip 0x19 0 --magicid BPMF --ratchet_blob ratchet_blob.bin --appendsigheader blob_bpmp_t194.bin zerosbk
[  16.6930 ] adding BCH for blob_bpmp_t194.bin
[  16.7179 ]
[  16.7193 ] tegrasign_v2 --key None --list blob_bpmp_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  16.7201 ] Assuming zero filled SBK key
[  16.7214 ]
[  16.7234 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_bpmp_t194_sigheader.bin.encrypt blob_bpmp_t194_sigheader.bin.hash zerosbk
[  16.7372 ]
[  16.7383 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-a02-bpmp-p2888-a04.dtb
[  16.7392 ]
[  16.7401 ] tegrahost_v2 --chip 0x19 0 --magicid BPMD --ratchet_blob ratchet_blob.bin --appendsigheader blob_tegra194-a02-bpmp-p2888-a04.dtb zerosbk
[  16.7409 ] adding BCH for blob_tegra194-a02-bpmp-p2888-a04.dtb
[  16.7632 ]
[  16.7645 ] tegrasign_v2 --key None --list blob_tegra194-a02-bpmp-p2888-a04_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[  16.7652 ] Assuming zero filled SBK key
[  16.7664 ]
[  16.7676 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-a02-bpmp-p2888-a04_sigheader.dtb.encrypt blob_tegra194-a02-bpmp-p2888-a04_sigheader.dtb.hash zerosbk
[  16.7805 ]
[  16.7828 ] tegrahost_v2 --chip 0x19 --align blob_spe_t194.bin
[  16.7845 ]
[  16.7858 ] tegrahost_v2 --chip 0x19 0 --magicid SPEF --ratchet_blob ratchet_blob.bin --appendsigheader blob_spe_t194.bin zerosbk
[  16.7866 ] adding BCH for blob_spe_t194.bin
[  16.7896 ]
[  16.7907 ] tegrasign_v2 --key None --list blob_spe_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  16.7915 ] Assuming zero filled SBK key
[  16.7920 ]
[  16.7931 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_spe_t194_sigheader.bin.encrypt blob_spe_t194_sigheader.bin.hash zerosbk
[  16.7954 ]
[  16.7965 ] tegrahost_v2 --chip 0x19 --align blob_tos-trusty_t194.img
[  16.7974 ]
[  16.7983 ] tegrahost_v2 --chip 0x19 0 --magicid TOSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_tos-trusty_t194.img zerosbk
[  16.7991 ] adding BCH for blob_tos-trusty_t194.img
[  16.8110 ]
[  16.8126 ] tegrasign_v2 --key None --list blob_tos-trusty_t194_sigheader.img_list.xml --pubkeyhash pub_key.key
[  16.8137 ] Assuming zero filled SBK key
[  16.8147 ]
[  16.8171 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tos-trusty_t194_sigheader.img.encrypt blob_tos-trusty_t194_sigheader.img.hash zerosbk
[  16.8243 ]
[  16.8254 ] tegrahost_v2 --chip 0x19 --align blob_eks.img
[  16.8263 ]
[  16.8272 ] tegrahost_v2 --chip 0x19 0 --magicid EKSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_eks.img zerosbk
[  16.8280 ] adding BCH for blob_eks.img
[  16.8283 ]
[  16.8293 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml --pubkeyhash pub_key.key
[  16.8301 ] Assuming zero filled SBK key
[  16.8304 ]
[  16.8314 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[  16.8323 ]
[  16.8334 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-p2888-0001-p2822-0000.dtb
[  16.8343 ]
[  16.8351 ] tegrahost_v2 --chip 0x19 0 --magicid CDTB --ratchet_blob ratchet_blob.bin --appendsigheader blob_tegra194-p2888-0001-p2822-0000.dtb zerosbk
[  16.8358 ] adding BCH for blob_tegra194-p2888-0001-p2822-0000.dtb
[  16.8444 ]
[  16.8459 ] tegrasign_v2 --key None --list blob_tegra194-p2888-0001-p2822-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[  16.8473 ] Assuming zero filled SBK key
[  16.8486 ]
[  16.8498 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt blob_tegra194-p2888-0001-p2822-0000_sigheader.dtb.hash zerosbk
[  16.8550 ]
[  16.8563 ] tegrahost_v2 --chip 0x19 --generateblob blob.xml blob.bin
[  16.8571 ] number of images in blob are 11
[  16.8576 ] blobsize is 6381544
[  16.8578 ] Added binary blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt of size 260032
[  16.8609 ] Added binary blob_nvtboot_recovery_t194_sigheader.bin.encrypt of size 130928
[  16.8616 ] Added binary blob_preboot_c10_prod_cr_sigheader.bin.encrypt of size 24016
[  16.8623 ] Added binary blob_mce_c10_prod_cr_sigheader.bin.encrypt of size 143200
[  16.8633 ] Added binary blob_mts_c10_prod_cr_sigheader.bin.encrypt of size 3430416
[  16.8640 ] Added binary blob_bpmp_t194_sigheader.bin.encrypt of size 856352
[  16.8648 ] Added binary blob_tegra194-a02-bpmp-p2888-a04_sigheader.dtb.encrypt of size 746752
[  16.8657 ] Added binary blob_spe_t194_sigheader.bin.encrypt of size 94960
[  16.8663 ] Added binary blob_tos-trusty_t194_sigheader.img.encrypt of size 402368
[  16.8670 ] Added binary blob_eks_sigheader.img.encrypt of size 5136
[  16.8675 ] Added binary blob_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt of size 287200
[  16.8700 ]
[  16.8700 ] Sending bootloader and pre-requisite binaries
[  16.8710 ] tegrarcm_v2 --download blob blob.bin
[  16.8718 ] Applet version 01.00.0000
[  16.8867 ] Sending blob
[  16.8868 ] [................................................] 100%
[  17.7687 ]
[  17.7697 ] tegrarcm_v2 --boot recovery
[  17.7705 ] Applet version 01.00.0000
[  17.7868 ]
[  18.7910 ] tegrarcm_v2 --isapplet
[  19.4002 ]
[  19.4030 ] tegrarcm_v2 --ismb2
[  19.4220 ]
[  19.5170 ] tegradevflash_v2 --iscpubl
[  19.5186 ] Bootloader version 01.00.0000
[  19.5829 ] Bootloader version 01.00.0000
[  19.5842 ]
[  19.5843 ] Retrieving storage infomation
[  19.5858 ] tegrarcm_v2 --oem platformdetails storage storage_info.bin
[  19.5866 ] Applet is not running on device. Continue with Bootloader
[  19.6110 ]
[  19.6122 ] tegradevflash_v2 --oem platformdetails storage storage_info.bin
[  19.6132 ] Bootloader version 01.00.0000
[  19.6260 ] Saved platform info in storage_info.bin
[  19.6274 ]
[  19.6275 ] Flashing the device
[  19.6285 ] tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
[  19.6298 ]
[  19.6307 ] tegradevflash_v2 --pt flash.xml.bin --create
[  19.6316 ] Bootloader version 01.00.0000
[  19.6462 ] Erasing sdmmc_boot: 3 ......... [Done]
[  20.7731 ] Writing partition secondary_gpt with gpt_secondary_0_3.bin
[  20.7745 ] [................................................] 100%[  20.8060 ] Erasing sdmmc_user: 3 ......... [Done]
[  21.7487 ] Writing partition master_boot_record with mbr_1_3.bin
[  21.7501 ] [................................................] 100%
[  21.7514 ] Writing partition primary_gpt with gpt_primary_1_3.bin
[  21.7578 ] [................................................] 100%
[  21.7593 ] Writing partition secondary_gpt with gpt_secondary_1_3.bin
[  21.7783 ] [................................................] 100%[  21.7987 ] Writing partition mb1 with mb1_t194_prod_sigheader.bin.encrypt
[  21.7992 ] [................................................] 100%
[  21.8076 ] Writing partition mb1_b with mb1_t194_prod_sigheader.bin.encrypt
[  21.9144 ] [................................................] 100%
[  21.9224 ] Writing partition spe-fw with spe_t194_sigheader.bin.encrypt
[  21.9479 ] [................................................] 100%
[  21.9516 ] Writing partition spe-fw_b with spe_t194_sigheader.bin.encrypt
[  21.9715 ] [................................................] 100%
[  21.9755 ] Writing partition mb2 with nvtboot_t194_sigheader.bin.encrypt
[  21.9956 ] [................................................] 100%
[  22.0008 ] Writing partition mb2_b with nvtboot_t194_sigheader.bin.encrypt
[  22.0237 ] [................................................] 100%
[  22.0288 ] Writing partition mts-preboot with preboot_c10_prod_cr_sigheader.bin.encrypt
[  22.0516 ] [................................................] 100%
[  22.0531 ] Writing partition mts-preboot_b with preboot_c10_prod_cr_sigheader.bin.encrypt
[  22.0725 ] [................................................] 100%
[  22.0739 ] Writing partition SMD with slot_metadata.bin
[  22.0925 ] [................................................] 100%
[  22.1316 ] Writing partition SMD_b with slot_metadata.bin
[  22.1441 ] [................................................] 100%
[  22.1454 ] Writing partition VER_b with emmc_bootblob_ver.txt
[  22.1578 ] [................................................] 100%
[  22.1782 ] Writing partition VER with emmc_bootblob_ver.txt
[  22.1909 ] [................................................] 100%
[  22.1922 ] Writing partition master_boot_record with mbr_1_3.bin
[  22.2046 ] [................................................] 100%
[  22.2056 ] Writing partition APP with system.img
[  22.2132 ] [................................................] 100%
[ 232.8036 ] Writing partition mts-mce with mce_c10_prod_cr_sigheader.bin.encrypt
[ 232.8365 ] [................................................] 100%
[ 232.8416 ] Writing partition mts-mce_b with mce_c10_prod_cr_sigheader.bin.encrypt
[ 232.8600 ] [................................................] 100%
[ 232.8645 ] Writing partition mts-proper with mts_c10_prod_cr_sigheader.bin.encrypt
[ 232.8833 ] [................................................] 100%
[ 233.0133 ] Writing partition mts-proper_b with mts_c10_prod_cr_sigheader.bin.encrypt
[ 233.0329 ] [................................................] 100%
[ 233.1654 ] Writing partition cpu-bootloader with cboot_t194_sigheader.bin.encrypt
[ 233.1852 ] [................................................] 100%
[ 233.1979 ] Writing partition cpu-bootloader_b with cboot_t194_sigheader.bin.encrypt
[ 233.2179 ] [................................................] 100%
[ 233.2305 ] Writing partition bootloader-dtb with tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
[ 233.2511 ] [................................................] 100%
[ 233.2585 ] Writing partition bootloader-dtb_b with tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
[ 233.2784 ] [................................................] 100%
[ 233.2862 ] Writing partition secure-os with tos-trusty_t194_sigheader.img.encrypt
[ 233.3060 ] [................................................] 100%
[ 233.3173 ] Writing partition secure-os_b with tos-trusty_t194_sigheader.img.encrypt
[ 233.3372 ] [................................................] 100%
[ 233.3482 ] Writing partition eks with eks_sigheader.img.encrypt
[ 233.3678 ] [................................................] 100%
[ 233.3690 ] Writing partition eks_b with eks_sigheader.img.encrypt
[ 233.3877 ] [................................................] 100%
[ 233.3888 ] Writing partition bpmp-fw with bpmp_t194_sigheader.bin.encrypt
[ 233.4075 ] [................................................] 100%
[ 233.4307 ] Writing partition bpmp-fw_b with bpmp_t194_sigheader.bin.encrypt
[ 233.4665 ] [................................................] 100%
[ 233.4894 ] Writing partition bpmp-fw-dtb with tegra194-a02-bpmp-p2888-a04_sigheader.dtb.encrypt
[ 233.5137 ] [................................................] 100%
[ 233.5331 ] Writing partition bpmp-fw-dtb_b with tegra194-a02-bpmp-p2888-a04_sigheader.dtb.encrypt
[ 233.5558 ] [................................................] 100%
[ 233.5749 ] Writing partition xusb-fw with xusb_sil_rel_fw
[ 233.5976 ] [................................................] 100%
[ 233.7187 ] Writing partition xusb-fw_b with xusb_sil_rel_fw
[ 233.7251 ] [................................................] 100%
[ 233.7292 ] Writing partition rce-fw with camera-rtcpu-rce_sigheader.img.encrypt
[ 233.7361 ] [................................................] 100%
[ 233.7436 ] Writing partition rce-fw_b with camera-rtcpu-rce_sigheader.img.encrypt
[ 233.7639 ] [................................................] 100%
[ 233.7713 ] Writing partition adsp-fw with adsp-fw_sigheader.bin.encrypt
[ 233.7901 ] [................................................] 100%
[ 233.7931 ] Writing partition adsp-fw_b with adsp-fw_sigheader.bin.encrypt
[ 233.8120 ] [................................................] 100%
[ 233.8152 ] Writing partition sc7 with warmboot_t194_prod_sigheader.bin.encrypt
[ 233.8339 ] [................................................] 100%
[ 233.8364 ] Writing partition sc7_b with warmboot_t194_prod_sigheader.bin.encrypt
[ 233.8553 ] [................................................] 100%
[ 233.8577 ] Writing partition BMP with bmp.blob
[ 233.8766 ] [................................................] 100%
[ 233.8821 ] Writing partition BMP_b with bmp.blob
[ 233.9005 ] [................................................] 100%
[ 233.9058 ] Writing partition recovery with recovery_sigheader.img.encrypt
[ 233.9245 ] [................................................] 100%
[ 235.8246 ] Writing partition recovery-dtb with tegra194-p2888-0001-p2822-0000.dtb_sigheader.rec.encrypt
[ 235.8386 ] [................................................] 100%
[ 235.8459 ] Writing partition kernel-bootctrl with kernel_bootctrl.bin
[ 235.8656 ] [................................................] 100%
[ 236.1516 ] Writing partition kernel-bootctrl_b with kernel_bootctrl.bin
[ 236.1642 ] [................................................] 100%
[ 236.1654 ] Writing partition kernel with boot_sigheader.img.encrypt
[ 236.1780 ] [................................................] 100%
[ 237.8023 ] Writing partition kernel_b with boot_sigheader.img.encrypt
[ 237.8132 ] [................................................] 100%
[ 239.4842 ] Writing partition kernel-dtb with kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
[ 239.4952 ] [................................................] 100%
[ 239.5028 ] Writing partition kernel-dtb_b with kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
[ 239.5229 ] [................................................] 100%
[ 239.5489 ]
[ 239.5501 ] tegradevflash_v2 --write BCT br_bct_BR.bct
[ 239.5510 ] Bootloader version 01.00.0000
[ 239.5529 ] Writing partition BCT with br_bct_BR.bct
[ 239.5533 ] [................................................] 100%
[ 239.6101 ]
[ 239.6126 ] tegradevflash_v2 --write MB1_BCT mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 239.6134 ] Bootloader version 01.00.0000
[ 239.6153 ] Writing partition MB1_BCT with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 239.6159 ] [................................................] 100%
[ 239.6358 ]
[ 239.6371 ] tegradevflash_v2 --write MB1_BCT_b mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 239.6380 ] Bootloader version 01.00.0000
[ 239.6401 ] Writing partition MB1_BCT_b with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 239.6412 ] [................................................] 100%
[ 239.6604 ]
[ 239.6626 ] tegradevflash_v2 --write MEM_BCT mem_coldboot_sigheader.bct.encrypt
[ 239.6633 ] Bootloader version 01.00.0000
[ 239.6651 ] Writing partition MEM_BCT with mem_coldboot_sigheader.bct.encrypt
[ 239.6656 ] [................................................] 100%
[ 239.6826 ]
[ 239.6837 ] tegradevflash_v2 --write MEM_BCT_b mem_coldboot_sigheader.bct.encrypt
[ 239.6846 ] Bootloader version 01.00.0000
[ 239.6864 ] Writing partition MEM_BCT_b with mem_coldboot_sigheader.bct.encrypt
[ 239.6869 ] [................................................] 100%
[ 239.7042 ]
[ 239.7043 ] Flashing completed[ 239.7044 ] Coldbooting the device
[ 239.7058 ] tegrarcm_v2 --ismb2
[ 239.7218 ]
[ 239.7230 ] tegradevflash_v2 --reboot coldboot
[ 239.7238 ] Bootloader version 01.00.0000
[ 239.7386 ]
*** The target t186ref has been flashed successfully. ***
Reset the board to boot from internal eMMC.z@z-Lenovo-G510:~/nvidia/Linux_for_Tegra$

问题

  1. 烧写停在 BootRom is not running
    操作系统为ubuntu18。起初以为是线的问题,更换后还是失败;更换其他USB口问题依旧。改用SDKManager进行烧写,提示没有进入RCM(强制恢复模式)。
    最后换了一台电脑,系统为Ubuntu16,可以成功烧写。可能是我电脑的ubuntu18系统没有安装好某些软件而无法烧写。
  2. 查看是否进入强制恢复模式
z@ubuntu:~/nvidia/Linux_for_Tegra$ lsusb
Bus 001 Device 002: ID 0955:7019 NVidia Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

jetson agx xavier 系统源码编译及固件烧写相关推荐

  1. 手把手教你备份 nvidia jetson agx xavier 系统(亲测有效、超详细)

    手把手教你备份 nvidia jetson agx xavier 系统(亲测有效.超详细) 此版本适合小白,网上虽然很多教程,但是对于超级小白来说还是有点粗略了,教程奉上! 文章目录 手把手教你备份 ...

  2. 安卓系统源码编译系列(一)——下载安卓系统源码教程

    最近需要编译安卓系统,咨询了一个编译过安卓系统的朋友,说是下载源码就得下载两天,于是做好了长期抗战的准备,开始了下载安卓源码的旅程.在刚开始下载时,可以参照的内容只有官方教程,于是跟着官方教程一步一步 ...

  3. 02 A33 Android系统源码编译

    下载源码包,解包后进入Android-SDK/tools目录. 1 先安装dtc-master和fakeroot工具. dtc-master安装方法: 解包后,在源码目录下: make &&a ...

  4. 安卓系统源码编译系列(1)——下载安卓系统源码教程

    安卓系统源码编译系列(一)--下载安卓系统源码教程 最近需要编译安卓系统,咨询了一个编译过安卓系统的朋友,说是下载源码就得下载两天,于是做好了长期抗战的准备,开始了下载安卓源码的旅程.在刚开始下载时, ...

  5. Jetson基本笔录2 -- 源码编译与KO生成

    文章目录 内核源码编译 内核和设备树更新 发行版部分组件 X86 First KO Jetson First KO Longterm Kernel 命令备忘 参考 内核源码编译 对于自己做的Jetso ...

  6. 安卓系统源码编译系列(六)——单独编译内置浏览器WebView教程

    原文                   http://blog.csdn.net/zhaoxy_thu/article/details/18883015             本文主要对从安卓系统 ...

  7. Android系统源码编译环境搭建(清华镜像,想编译什么版本都可以,只是有JDK和make的版本要求)

    上一次,写得有点匆忙,现在补上清华镜像源码的详细下载方法. 编译Android 5.1源代码并烧录到Nexus4(用的是清华镜像的源) 环境准备: 基本环境:ubuntu-14.04-desktop- ...

  8. Android9.0 系统源码编译

    两个多月没写博客了,感觉不会再爱了.Android P 发布已经好久了,今天来尝一尝这块Pie. 编译环境 Ubuntu18.04, 双系统环境 PC机,内存32G,CPU 16 核心,I7八代. 源 ...

  9. micropython固件源码_Micropython加速物联网开发7 - Micropython源码编译与固件更新

    在实际开发中,难免会遇到编译Micropython源码的情况:比如当前固件损坏.固件版本升级.需要裁剪固件节省空间等.本文介绍在Linux环境中编译Micropython源码并下载到TPYBoard运 ...

  10. 英伟达开发板学习系列----更新Jetson AGX Xavier系统

    概叙: 原装的系统不支持摄像头模组,所以需要更新系统来支持摄像头模组.需要更新Jetson系统的L4T(Linux for Tegra)的两个部分,Image和DTB. Image部分,我们增加了摄像 ...

最新文章

  1. 用示波器恢复软盘里的游戏,这个程序员大神的操作太硬核了
  2. CEF(包含均衡负载)
  3. Linux 使用本地yum源及软件包管理
  4. python从random生成列表_Python 学习DAY 17 列表生成式,生成器,迭代器,time模块,random模块...
  5. AliExpress:在检索式问答系统中应用迁移学习 | PaperDaily #24
  6. mysql存储过程捕获错误处理_mysql存储过程之异常处理篇
  7. DirectX支配游戏!历代GPU架构全解析
  8. cuk电路设计及matlab仿真,cuk斩波电路仿真毕业论文,绝对精品.doc
  9. 服务器2012能安装无线网卡,网件无线网卡在windows 2012支持问题
  10. Eclipse无法DEBUG
  11. 利用workbench建立的响应面模型质量很差,该如何解决?求指点
  12. n-3000系列串口服务器,串口转网络,网络转串口
  13. 向Spring大佬低头——大量源码流出解析
  14. 删除微云同步助手计算机快捷访问,腾讯微云同步助手使用说明:设置同步文件,方便随时查看...
  15. 爱荷华州立大学计算机专业,爱荷华州立大学|Iowa State University|Department of Electrical and Computer Engineering_毕达留学...
  16. vue2开发过程中el-select懒加载问题
  17. jzoj2555 雾雨魔理沙
  18. discuzX1.5制作单页教程
  19. MATLAB及app designer中函数:定义与调用
  20. 软件测试-web自动化测试教程

热门文章

  1. rstudio中读取数据_如何在RStudio中预览数据
  2. 2022山东省安全员C证试题及模拟考试
  3. html absolute溢出,position:absolute溢出处理
  4. python 005 __ 小斌文档 | 函数的定义和调用
  5. Leetcode237之删除链表中的节点
  6. Python sorted函数|sorted([13,1,237,89,100],key=lambda x:len(str(x)))
  7. vue的学习笔记(15)之Promise知识讲解
  8. 哪个牌子的投影仪更好?哪个品牌投影仪好
  9. Intel CPU(i3、i5、i7、i9)型号、性能详细解读
  10. 如何写好工作日报,周报,月报?