Roadmap

Jetson Roadmap | NVIDIA Developer

商业硬件路线图, 2022年有64GB RAM的Xavier, 16GB RAM的Xavier NX, 32GB RAM的Orin, 12GB RAM的Orin NX.

在这里插入图片描述

工业硬件路线图

在这里插入图片描述

Jetpack软件路线图, 2022第一季度会发布Jetpack 5.0(Linux内核5.10, 发行版Ubuntu20.04)开发者预览版, 而Release版需要等到2022年下半年(2H)

在这里插入图片描述

已经发布的Jetpack 4.6关键特性: OTA, A/B Rootfs, Cboot支持从NVME加载内核和根文件系统 等

即将发布的 Jetpack 5.0关键特性: 5.10内核, 发行版为Ubuntu 20.04, Bootloader使用UEFI代替CBoot 等

在这里插入图片描述

不知道是不是金手指的原因,

Jetson Linux

Jetson Linux | NVIDIA Developer

文档

TX2:

  • 官方载板原理图: P2597_C02_OrCAD_schematics.pdf
  • Pinmux: Jetson-TX2-Series-Pinmux-Template_v1.08.xlsm

调试串口

TX2

# TX2 Serial Console, ttyS0
# J21-Pin6 is GND
UART0_TX, H12, J21-Pin8
UART0_RX, G12, J21-Pin10

用CH340或CP210x的USB转串口的小板子连接如图所示

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-bN8Enxqx-1642596698673)(jetson_base_notes.assets/image-20220119105035471.png)]

Script

L4T_RELEASE_PACKAGE = jetson_linux_r32.6.1_aarch64.tbz2
SAMPLE_FS_PACKAGE = tegra_linux_sample-root-filesystem_r32.6.1_aarch64.tbz2
BOARD = jetson-tx2-devkit.PHONY: download
download:# L4T Driver Package (BSP), ~355MBwget https://developer.nvidia.com/embedded/l4t/r32_release_v6.1/t186/jetson_linux_r32.6.1_aarch64.tbz2# Sample Root Filesystem, ~1430MBwget https://developer.nvidia.com/embedded/l4t/r32_release_v6.1/t186/tegra_linux_sample-root-filesystem_r32.6.1_aarch64.tbz2# L4T Driver Package (BSP) Sources, ~174MBwget https://developer.nvidia.com/embedded/l4t/r32_release_v6.1/sources/t186/public_sources.tbz2# Jetson Linux Developer Guide (downloadable version)wget https://developer.nvidia.com/embedded/l4t/r32_release_v6.1/nvidia_jetson_linux_driver_package.tar.PHONY: env_depend
env_depend:sudo apt updatesudo apt install -y qemu-user-static.PHONY: decompress
decompress:@# ===== doc =====mkdir -p l4t_docs & tar xvf nvidia_jetson_linux_driver_package.tar -C l4t_docs@# ===== bsp =====@echo "\n-->\ndecompress l4t release package\n-->\n"@echo ${L4T_RELEASE_PACKAGE}tar xf ${L4T_RELEASE_PACKAGE}@# ===== rootfs =====@# must use sudo, or apply_binaries.sh will break and tell you do this @echo "\n--->\ndecompress sample fs package\n--->\n"cd Linux_for_Tegra/rootfs/; \sudo tar xpf ../../${SAMPLE_FS_PACKAGE}; \cd .. ...PHONY: apply_binaries
apply_binaries:cd Linux_for_Tegra; \sudo ./apply_binaries.sh; \cd ..@# the last line must be Success!.PHONY: flashing
flashing:cd Linux_for_Tegra; \sudo ./flash.sh ${BOARD} mmcblk0p1

apply_binaries 日志

TX2

# 主要是拷贝/安装 extlinux.conf, debian包, QEMU, 引导, 各种包, 桌面系统 等到 rootfs
$ sudo ./apply_binaries.sh
Using rootfs directory of: /home/z/jetson/Linux_for_Tegra/rootfs
Installing extlinux.conf into /boot/extlinux in target rootfs
/home/z/jetson/Linux_for_Tegra/nv_tegra/nv-apply-debs.sh
Root file system directory is /home/z/jetson/Linux_for_Tegra/rootfs
Copying public debian packages to rootfs
Start L4T BSP package installation
QEMU binary is not available, looking for QEMU from host system
Found /usr/bin/qemu-aarch64-static
Installing QEMU binary in rootfs
/home/z/jetson/Linux_for_Tegra/rootfs /home/z/jetson/Linux_for_Tegra
Installing BSP Debian packages in /home/z/jetson/Linux_for_Tegra/rootfs
Selecting previously unselected package nvidia-l4t-core.
(Reading database ... 142475 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_32.6.1-20210726122859_arm64.deb ...
Pre-installing... skip compatibility checking.
Unpacking nvidia-l4t-core (32.6.1-20210726122859) ...
Setting up nvidia-l4t-core (32.6.1-20210726122859) ...
Selecting previously unselected package jetson-gpio-common.
(Reading database ... 142523 files and directories currently installed.)
Preparing to unpack .../jetson-gpio-common_2.0.17_arm64.deb ...
Unpacking jetson-gpio-common (2.0.17) ...
Selecting previously unselected package python3-jetson-gpio.
Preparing to unpack .../python3-jetson-gpio_2.0.17_arm64.deb ...
Unpacking python3-jetson-gpio (2.0.17) ...
Selecting previously unselected package python-jetson-gpio.
Preparing to unpack .../python-jetson-gpio_2.0.17_arm64.deb ...
Unpacking python-jetson-gpio (2.0.17) ...
Selecting previously unselected package nvidia-l4t-3d-core.
Preparing to unpack .../nvidia-l4t-3d-core_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-3d-core (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-apt-source.
Preparing to unpack .../nvidia-l4t-apt-source_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-apt-source (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-camera.
Preparing to unpack .../nvidia-l4t-camera_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-camera (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-configs.
Preparing to unpack .../nvidia-l4t-configs_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-configs (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-cuda.
Preparing to unpack .../nvidia-l4t-cuda_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-cuda (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-firmware.
Preparing to unpack .../nvidia-l4t-firmware_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-firmware (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-gputools.
Preparing to unpack .../nvidia-l4t-gputools_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-gputools (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-graphics-demos.
Preparing to unpack .../nvidia-l4t-graphics-demos_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-graphics-demos (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-gstreamer.
Preparing to unpack .../nvidia-l4t-gstreamer_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-gstreamer (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-init.
Preparing to unpack .../nvidia-l4t-init_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-init (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-initrd.
Preparing to unpack .../nvidia-l4t-initrd_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-initrd (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-jetson-io.
Preparing to unpack .../nvidia-l4t-jetson-io_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-jetson-io (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-libvulkan.
Preparing to unpack .../nvidia-l4t-libvulkan_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-libvulkan (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-multimedia.
Preparing to unpack .../nvidia-l4t-multimedia_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-multimedia (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-multimedia-utils.
Preparing to unpack .../nvidia-l4t-multimedia-utils_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-multimedia-utils (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-oem-config.
Preparing to unpack .../nvidia-l4t-oem-config_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-oem-config (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-tools.
Preparing to unpack .../nvidia-l4t-tools_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-tools (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-wayland.
Preparing to unpack .../nvidia-l4t-wayland_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-wayland (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-weston.
Preparing to unpack .../nvidia-l4t-weston_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-weston (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-x11.
Preparing to unpack .../nvidia-l4t-x11_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-x11 (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-xusb-firmware.
Preparing to unpack .../nvidia-l4t-xusb-firmware_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-xusb-firmware (32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-kernel.
Preparing to unpack .../nvidia-l4t-kernel_4.9.253-tegra-32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-kernel (4.9.253-tegra-32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-kernel-dtbs.
Preparing to unpack .../nvidia-l4t-kernel-dtbs_4.9.253-tegra-32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-kernel-dtbs (4.9.253-tegra-32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-kernel-headers.
Preparing to unpack .../nvidia-l4t-kernel-headers_4.9.253-tegra-32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-kernel-headers (4.9.253-tegra-32.6.1-20210726122859) ...
Selecting previously unselected package nvidia-l4t-bootloader.
Preparing to unpack .../nvidia-l4t-bootloader_32.6.1-20210726122859_arm64.deb ...
Unpacking nvidia-l4t-bootloader (32.6.1-20210726122859) ...
Setting up jetson-gpio-common (2.0.17) ...
Setting up python3-jetson-gpio (2.0.17) ...
Setting up python-jetson-gpio (2.0.17) ...
Setting up nvidia-l4t-apt-source (32.6.1-20210726122859) ...
Pre-installing... skip changing source list.
Setting up nvidia-l4t-configs (32.6.1-20210726122859) ...
Setting up nvidia-l4t-firmware (32.6.1-20210726122859) ...
Setting up nvidia-l4t-gputools (32.6.1-20210726122859) ...
Setting up nvidia-l4t-init (32.6.1-20210726122859) ...
Setting up nvidia-l4t-libvulkan (32.6.1-20210726122859) ...
Setting up nvidia-l4t-multimedia-utils (32.6.1-20210726122859) ...
Setting up nvidia-l4t-oem-config (32.6.1-20210726122859) ...
Setting up nvidia-l4t-tools (32.6.1-20210726122859) ...
Setting up nvidia-l4t-wayland (32.6.1-20210726122859) ...
Setting up nvidia-l4t-weston (32.6.1-20210726122859) ...
Setting up nvidia-l4t-x11 (32.6.1-20210726122859) ...
Setting up nvidia-l4t-xusb-firmware (32.6.1-20210726122859) ...
Pre-installing xusb firmware package, skip flashing
Setting up nvidia-l4t-kernel (4.9.253-tegra-32.6.1-20210726122859) ...
Using the existing boot entry 'primary'
Pre-installing kernel package, skip flashing
Setting up nvidia-l4t-kernel-dtbs (4.9.253-tegra-32.6.1-20210726122859) ...
Pre-installing kernel-dtbs package, skip flashing
Setting up nvidia-l4t-kernel-headers (4.9.253-tegra-32.6.1-20210726122859) ...
Setting up nvidia-l4t-bootloader (32.6.1-20210726122859) ...
Pre-installing bootloader package, skip flashing
Setting up nvidia-l4t-3d-core (32.6.1-20210726122859) ...
Setting up nvidia-l4t-cuda (32.6.1-20210726122859) ...
Setting up nvidia-l4t-graphics-demos (32.6.1-20210726122859) ...
Setting up nvidia-l4t-initrd (32.6.1-20210726122859) ...
Pre-installing initrd package, skip flashing
Setting up nvidia-l4t-jetson-io (32.6.1-20210726122859) ...
Setting up nvidia-l4t-multimedia (32.6.1-20210726122859) ...
Setting up nvidia-l4t-camera (32.6.1-20210726122859) ...
Setting up nvidia-l4t-gstreamer (32.6.1-20210726122859) ...
Processing triggers for nvidia-l4t-kernel (4.9.253-tegra-32.6.1-20210726122859) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
/home/z/jetson/Linux_for_Tegra
Removing QEMU binary from rootfs
Removing stashed Debian packages from rootfs
L4T BSP package installation completed!
Rename ubuntu.desktop --> ux-ubuntu.desktop
Disabling NetworkManager-wait-online.service
Disable the ondemand service by changing the runlevels to 'K'
Success!

进入Recovery模式

烧录需要进入Recovery模式, 插上Jetson开发板的刷机USB到Ubuntu电脑或虚拟机:

  • 给板子上电, 按住RECOVERY按钮不动
  • 按一下RESET按钮松开
  • 等2~5秒. 再松开RECOVERY按钮
  • 刷机: cd Linux_for_Tegra & sudo ./flash.sh jetson-tx2-devkit mmcblk0p1

flash.sh 日志

TX2

$ sudo ./flash.sh jetson-tx2-devkit mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 6.1
###############################################################################
# Target Board Information:
# Name: jetson-tx2-devkit, Board Family: t186ref, SoC: Tegra 186, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
./tegraflash.py --chip 0x18 --applet "/home/z/jetson/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin" --skipuid --cmd "dump eeprom boardinfo cvm.bin" 
/home/z/jetson/Linux_for_Tegra/bootloader/tegraflash_internal.py:2064: SyntaxWarning: "is not" with a literal. Did you mean "!="?if sig_type is not "zerosbk":
/home/z/jetson/Linux_for_Tegra/bootloader/tegraflash_internal.py:2067: SyntaxWarning: "is" with a literal. Did you mean "=="?if sig_type is "oem-rsa":
/home/z/jetson/Linux_for_Tegra/bootloader/tegraflash_internal.py:2560: SyntaxWarning: "is not" with a literal. Did you mean "!="?while count is not 0 and not check_ismb2():
/home/z/jetson/Linux_for_Tegra/bootloader/tegraflash_internal.py:2569: SyntaxWarning: "is not" with a literal. Did you mean "!="?while count is not 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.0038 ] Generating RCM messages
[   0.0068 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/z/jetson/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[   0.0083 ] RCM 0 is saved as rcm_0.rcm
[   0.0091 ] RCM 1 is saved as rcm_1.rcm
[   0.0091 ] List of rcm files are saved in rcm_list.xml
[   0.0091 ] 
[   0.0091 ] Signing RCM messages
[   0.0125 ] tegrasign_v3.py --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0126 ] Assuming zero filled SBK key
[   0.0254 ] Copying signature to RCM mesages
[   0.0283 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[   0.0314 ] 
[   0.0315 ] Boot Rom communication
[   0.0343 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml --skipuid
[   0.0357 ] RCM version 0X180001
[   0.0387 ] Boot Rom communication completed
[   1.0492 ] 
[   2.0538 ] tegrarcm_v2 --isapplet
[   2.0549 ] Applet version 01.00.0000
[   2.0692 ] 
[   2.0726 ] Retrieving EEPROM data
[   2.0727 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/z/jetson/Linux_for_Tegra/bootloader/cvm.bin
[   2.0742 ] Applet version 01.00.0000
[   2.1114 ] Saved platform info in /home/z/jetson/Linux_for_Tegra/bootloader/cvm.bin
[   2.1961 ] 
Board ID(3310) version(B02) sku(1000) revision(D.0)
Copy /home/z/jetson/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to /home/z/jetson/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb.rec
copying bctfile(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_lpddr4_A02_l4t.cfg)... done.
copying misc_config(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)... done.
copying pinmux_config(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)... done.
copying pmic_config(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg)... done.
copying pmc_config(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg)... done.
copying prod_config(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)... done.
copying scr_config(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)... done.
copying scr_cold_boot_config(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)... done.
copying bootrom_config(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)... done.
copying dev_params(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)... done.
Existing bootloader(/home/z/jetson/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying initrd(/home/z/jetson/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
Making Boot image... done.
/home/z/jetson/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x18 --key  --cmd sign boot.img kernel
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.0035 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0036 ] Assuming zero filled SBK key : not reading 
[   0.0036 ] sign_type   : 0
[   0.0036 ] header_magic: 414e4452
[   0.0062 ] tegrahost_v2 --chip 0x18 --align 1_boot.img
[   0.0071 ] 
[   0.0097 ] tegrahost_v2 --chip 0x18 0 --appendsigheader 1_boot.img zerosbk
[   0.0129 ] 
[   0.0239 ] tegrasign_v3.py --key  --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[   0.0240 ] Assuming zero filled SBK key : not reading 
[   0.0424 ] tegrahost_v2 --chip 0x18 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[   0.0459 ] 
[   0.0471 ] Signed file: /home/z/jetson/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 0x18: Don't need to do anything
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/jetson/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...
/home/z/jetson/Linux_for_Tegra/bootloader/ramdisk_tmp /home/z/jetson/Linux_for_Tegra/bootloader /home/z/jetson/Linux_for_Tegra
30412 blocks
_BASE_KERNEL_VERSION=4.9.253-tegra
/home/z/jetson/Linux_for_Tegra/bootloader/ramdisk_tmp/lib /home/z/jetson/Linux_for_Tegra/bootloader/ramdisk_tmp /home/z/jetson/Linux_for_Tegra/bootloader /home/z/jetson/Linux_for_Tegra
66121 blocks
Making Recovery image...
copying recdtbfile(/home/z/jetson/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 0.000157009 s, 127 kB/s
Existing sosfile(/home/z/jetson/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)... done.
Existing cpu_bootloader(/home/z/jetson/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
Existing mb2blfile(/home/z/jetson/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/z/jetson/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/z/jetson/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/z/jetson/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/z/jetson/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)... done.
Existing scefile(/home/z/jetson/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing spefile(/home/z/jetson/Linux_for_Tegra/bootloader/spe.bin) reused.
copying wb0boot(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)... done.
Existing tosfile(/home/z/jetson/Linux_for_Tegra/bootloader/tos-trusty.img) reused.
Existing eksfile(/home/z/jetson/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/z/jetson/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/z/jetson/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x18 --key  --cmd sign kernel_tegra186-quill-p3310-1000-c03-00-base.dtb kernel_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.0006 ] Generating signature
[   0.0037 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0038 ] Assuming zero filled SBK key : not reading 
[   0.0041 ] sign_type   : 808464433
[   0.0041 ] header_magic: d00dfeed
[   0.0069 ] tegrahost_v2 --chip 0x18 --align 1_kernel_tegra186-quill-p3310-1000-c03-00-base.dtb
[   0.0080 ] 
[   0.0113 ] tegrahost_v2 --chip 0x18 0 --appendsigheader 1_kernel_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[   0.0152 ] 
[   0.0191 ] tegrasign_v3.py --key  --list 1_kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0192 ] Assuming zero filled SBK key : not reading 
[   0.0342 ] tegrahost_v2 --chip 0x18 0 --updatesigheader 1_kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt 1_kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[   0.0374 ] 
[   0.0386 ] Signed file: /home/z/jetson/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x18: Don't need to do anything
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
l4t_sign_image.sh: the signed file is /home/z/jetson/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
done.populating kernel to rootfs... done.populating initrd to rootfs... done.populating kernel_tegra186-quill-p3310-1000-c03-00-base.dtb to rootfs... done.
Making system.img... populating rootfs from /home/z/jetson/Linux_for_Tegra/rootfs ...        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/jetson/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/z/jetson/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
copying cfgfile(/home/z/jetson/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml... done.
Existing flasher(/home/z/jetson/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/z/jetson/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_lpddr4_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin  --cmd "flash; reboot"  --cfg flash.xml --chip 0x18 --misc_config tegra186-mb1-bct-misc-si-l4t.cfg --pinmux_config tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --dev_params emmc.cfg  --bins "mb2_bootloader nvtboot_recovery.bin; mts_preboot preboot_d15_prod_cr.bin; mts_bootpack mce_mts_d15_prod_cr.bin; bpmp_fw bpmp.bin; bpmp_fw_dtb tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb; tlk tos-trusty.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"   
saving flash command in /home/z/jetson/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/z/jetson/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.0122 ] tegrasign_v3.py --getmode mode.txt --key None
[   0.0123 ] Assuming zero filled SBK key
[   0.0035 ] Generating RCM messages
[   0.0307 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
[   0.0325 ] RCM 0 is saved as rcm_0.rcm
[   0.0433 ] RCM 1 is saved as rcm_1.rcm
[   0.0434 ] List of rcm files are saved in rcm_list.xml
[   0.0434 ] 
[   0.0434 ] Signing RCM messages
[   0.0552 ] tegrasign_v3.py --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0552 ] Assuming zero filled SBK key
[   0.0743 ] Copying signature to RCM mesages
[   0.0966 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[   0.0992 ] 
[   0.0993 ] Parsing partition layout
[   0.1322 ] tegraparser_v2 --pt flash.xml.tmp
[   0.2155 ] 
[   0.2156 ] Using default ramcode: 0
[   0.2157 ] Disable BPMP dtb trim, using default dtb
[   0.2157 ] 
[   0.2157 ] Creating list of images to be signed
[   0.2581 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   1.0831 ] 
[   1.0832 ] Generating signatures
[   1.0951 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   1.0952 ] Assuming zero filled SBK key
[   2.4091 ] Generating br-bct
[   2.4197 ] Updating dev and MSS params in BR BCT
[   2.4199 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_lpddr4_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18 0
[   2.4614 ] 
[   2.4615 ] Updating bl info
[   2.4646 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   2.4765 ] 
[   2.4765 ] Updating smd info
[   2.4794 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[   2.4828 ] 
[   2.4829 ] Updating Odmdata
[   2.4859 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatefields Odmdata =0x1090000
[   2.5092 ] 
[   2.5093 ] Get Signed section of bct
[   2.5118 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --listbct bct_list.xml
[   2.5141 ] 
[   2.5174 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key
[   2.5190 ] Assuming zero filled SBK key
[   3.3302 ] 
[   3.3304 ] Updating BCT with signature
[   3.3334 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatesig bct_list_signed.xml
[   3.4022 ] 
[   3.4023 ] Generating coldboot mb1-bct
[   3.4051 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_cold_boot_bct.cfg --sdram P3310_A00_8GB_lpddr4_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr mobile_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[   3.4081 ] MB1-BCT version: 0xf
[   3.4084 ] Packing sdram param for instance[0]
[   3.4289 ] Packing sdram param for instance[1]
[   3.4291 ] Packing sdram param for instance[2]
[   3.4292 ] Packing sdram param for instance[3][   3.4306 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg 
[   3.4312 ] Appending platform config data of size :- 3032[   3.4347 ] Parsing config file :mobile_scr.cfg 
[   3.4351 ] Appending platform config data of size :- 12240[   3.4397 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg 
[   3.4402 ] Appending platform config data of size :- 24[   3.4440 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg 
[   3.4453 ] Appending platform config data of size :- 672[   3.4489 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg 
[   3.4493 ] Appending platform config data of size :- 64[   3.4582 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg 
[   3.4584 ] Appending platform config data of size :- 1628
[   3.4585 ] 
[   3.4585 ] Updating mb1-bct with firmware information
[   3.4619 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   3.4636 ] MB1-BCT version: 0xf
[   3.4714 ] 
[   3.4714 ] Updating mb1-bct with storage information
[   3.4743 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   3.4761 ] MB1-BCT version: 0xf
[   3.4857 ] 
[   3.4884 ] tegrahost_v2 --chip 0x18 --align mb1_cold_boot_bct_MB1.bct
[   3.4898 ] 
[   3.4938 ] tegrahost_v2 --chip 0x18 0 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   3.5360 ] 
[   3.5989 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   3.5990 ] Assuming zero filled SBK key
[   3.5973 ] tegrahost_v2 --chip 0x18 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   3.6077 ] 
[   3.6079 ] Generating recovery mb1-bct
[   3.6113 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_bct.cfg --sdram P3310_A00_8GB_lpddr4_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr minimal_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[   3.6149 ] MB1-BCT version: 0xf
[   3.6152 ] Packing sdram param for instance[0]
[   3.6394 ] Packing sdram param for instance[1]
[   3.6403 ] Packing sdram param for instance[2]
[   3.6406 ] Packing sdram param for instance[3][   3.6408 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg 
[   3.6413 ] Appending platform config data of size :- 3032[   3.6417 ] Parsing config file :minimal_scr.cfg 
[   3.6420 ] Appending platform config data of size :- 12240
[   3.6463 ] 
[   3.6463 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg 
[   3.6463 ] Appending platform config data of size :- 24
[   3.6463 ] 
[   3.6464 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg 
[   3.6464 ] Appending platform config data of size :- 672
[   3.6464 ] 
[   3.6464 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg 
[   3.6464 ] Appending platform config data of size :- 64
[   3.6464 ] 
[   3.6464 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg 
[   3.6464 ] Appending platform config data of size :- 1628
[   3.6464 ] 
[   3.6465 ] Updating mb1-bct with firmware information
[   3.6494 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   3.6506 ] MB1-BCT version: 0xf
[   3.6577 ] 
[   3.6578 ] Updating mb1-bct with storage information
[   3.6609 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   3.6621 ] MB1-BCT version: 0xf
[   3.6646 ] 
[   3.6671 ] tegrahost_v2 --chip 0x18 --align mb1_bct_MB1.bct
[   3.6685 ] 
[   3.6713 ] tegrahost_v2 --chip 0x18 0 --appendsigheader mb1_bct_MB1.bct zerosbk
[   3.6736 ] 
[   3.6865 ] tegrasign_v3.py --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   3.6867 ] Assuming zero filled SBK key
[   3.6854 ] tegrahost_v2 --chip 0x18 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   3.6888 ] 
[   3.6890 ] Copying signatures
[   3.6927 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   3.9547 ] 
[   3.9549 ] Boot Rom communication
[   3.9579 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
[   3.9594 ] BootRom is not running
[   9.1007 ] 
[  10.1044 ] tegrarcm_v2 --isapplet
[  10.1057 ] Applet version 01.00.0000
[  10.1228 ] 
[  10.1229 ] Sending BCTs
[  10.1254 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[  10.1265 ] Applet version 01.00.0000
[  10.1374 ] Sending bct_bootrom
[  10.1375 ] [................................................] 100%
[  10.1437 ] Sending bct_mb1
[  10.1473 ] [................................................] 100%
[  10.1713 ] 
[  10.1714 ] Generating blob
[  10.1746 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery_cpu.bin
[  10.1769 ] 
[  10.1800 ] tegrahost_v2 --chip 0x18 0 --appendsigheader blob_nvtboot_recovery_cpu.bin zerosbk
[  10.1820 ] 
[  10.1945 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_cpu_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.1946 ] Assuming zero filled SBK key
[  10.1966 ] tegrahost_v2 --chip 0x18 0 --updatesigheader blob_nvtboot_recovery_cpu_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[  10.1987 ] 
[  10.2029 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery.bin
[  10.2092 ] 
[  10.2126 ] tegrahost_v2 --chip 0x18 0 --appendsigheader blob_nvtboot_recovery.bin zerosbk
[  10.2168 ] 
[  10.2294 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.2295 ] Assuming zero filled SBK key
[  10.2309 ] tegrahost_v2 --chip 0x18 0 --updatesigheader blob_nvtboot_recovery_sigheader.bin.encrypt blob_nvtboot_recovery_sigheader.bin.hash zerosbk
[  10.2329 ] 
[  10.2363 ] tegrahost_v2 --chip 0x18 --align blob_preboot_d15_prod_cr.bin
[  10.2383 ] 
[  10.2410 ] tegrahost_v2 --chip 0x18 0 --appendsigheader blob_preboot_d15_prod_cr.bin zerosbk
[  10.2430 ] 
[  10.2560 ] tegrasign_v3.py --key None --list blob_preboot_d15_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.2561 ] Assuming zero filled SBK key
[  10.2609 ] tegrahost_v2 --chip 0x18 0 --updatesigheader blob_preboot_d15_prod_cr_sigheader.bin.encrypt blob_preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[  10.2644 ] 
[  10.2676 ] tegrahost_v2 --chip 0x18 --align blob_mce_mts_d15_prod_cr.bin
[  10.2723 ] 
[  10.2746 ] tegrahost_v2 --chip 0x18 0 --appendsigheader blob_mce_mts_d15_prod_cr.bin zerosbk
[  10.2843 ] 
[  10.2990 ] tegrasign_v3.py --key None --list blob_mce_mts_d15_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.2992 ] Assuming zero filled SBK key
[  10.3330 ] tegrahost_v2 --chip 0x18 0 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[  10.3405 ] 
[  10.3435 ] tegrahost_v2 --chip 0x18 --align blob_bpmp.bin
[  10.3446 ] 
[  10.3474 ] tegrahost_v2 --chip 0x18 0 --appendsigheader blob_bpmp.bin zerosbk
[  10.3504 ] 
[  10.3624 ] tegrasign_v3.py --key None --list blob_bpmp_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.3626 ] Assuming zero filled SBK key
[  10.3696 ] tegrahost_v2 --chip 0x18 0 --updatesigheader blob_bpmp_sigheader.bin.encrypt blob_bpmp_sigheader.bin.hash zerosbk
[  10.3727 ] 
[  10.3764 ] tegrahost_v2 --chip 0x18 --align blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[  10.3789 ] 
[  10.3820 ] tegrahost_v2 --chip 0x18 0 --appendsigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[  10.3850 ] 
[  10.3971 ] tegrasign_v3.py --key None --list blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[  10.3972 ] Assuming zero filled SBK key
[  10.4087 ] tegrahost_v2 --chip 0x18 0 --updatesigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.hash zerosbk
[  10.4114 ] 
[  10.4145 ] tegrahost_v2 --chip 0x18 --align blob_tos-trusty.img
[  10.4159 ] 
[  10.4190 ] tegrahost_v2 --chip 0x18 0 --appendsigheader blob_tos-trusty.img zerosbk
[  10.4211 ] 
[  10.4342 ] tegrasign_v3.py --key None --list blob_tos-trusty_sigheader.img_list.xml --pubkeyhash pub_key.key
[  10.4343 ] Assuming zero filled SBK key
[  10.4373 ] tegrahost_v2 --chip 0x18 0 --updatesigheader blob_tos-trusty_sigheader.img.encrypt blob_tos-trusty_sigheader.img.hash zerosbk
[  10.4530 ] 
[  10.4556 ] tegrahost_v2 --chip 0x18 --align blob_eks.img
[  10.4575 ] 
[  10.4601 ] tegrahost_v2 --chip 0x18 0 --appendsigheader blob_eks.img zerosbk
[  10.4620 ] 
[  10.4740 ] tegrasign_v3.py --key None --list blob_eks_sigheader.img_list.xml --pubkeyhash pub_key.key
[  10.4741 ] Assuming zero filled SBK key
[  10.4735 ] tegrahost_v2 --chip 0x18 0 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[  10.4757 ] 
[  10.4787 ] tegrahost_v2 --chip 0x18 --align blob_tegra186-quill-p3310-1000-c03-00-base.dtb
[  10.4808 ] 
[  10.4841 ] tegrahost_v2 --chip 0x18 0 --appendsigheader blob_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[  10.4872 ] 
[  10.4994 ] tegrasign_v3.py --key None --list blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[  10.4996 ] Assuming zero filled SBK key
[  10.5045 ] tegrahost_v2 --chip 0x18 0 --updatesigheader blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[  10.5088 ] 
[  10.5121 ] tegrahost_v2 --chip 0x18 --generateblob blob.xml blob.bin
[  10.5134 ] number of images in blob are 9
[  10.5143 ] blobsize is 4625032
[  10.5146 ] Added binary blob_nvtboot_recovery_cpu_sigheader.bin.encrypt of size 225152
[  10.5171 ] Added binary blob_nvtboot_recovery_sigheader.bin.encrypt of size 122272
[  10.5178 ] Added binary blob_preboot_d15_prod_cr_sigheader.bin.encrypt of size 58384
[  10.5182 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2298464
[  10.5219 ] Added binary blob_bpmp_sigheader.bin.encrypt of size 534816
[  10.5224 ] Added binary blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt of size 605120
[  10.5228 ] Added binary blob_tos-trusty_sigheader.img.encrypt of size 403264
[  10.5232 ] Added binary blob_eks_sigheader.img.encrypt of size 1440
[  10.5234 ] Added binary blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt of size 375968
[  10.5261 ] 
[  10.5263 ] Sending bootloader and pre-requisite binaries
[  10.5305 ] tegrarcm_v2 --download blob blob.bin
[  10.5320 ] Applet version 01.00.0000
[  10.5594 ] Sending blob
[  10.5596 ] [................................................] 100%
[  11.1809 ] 
[  11.1836 ] tegrarcm_v2 --boot recovery
[  11.1849 ] Applet version 01.00.0000
[  11.2781 ] 
[  12.2822 ] tegrarcm_v2 --isapplet
[  12.6112 ] 
[  12.6748 ] tegradevflash_v2 --iscpubl
[  12.6760 ] Cannot Open USB
[  13.5963 ] 
[  14.6324 ] tegrarcm_v2 --isapplet
[  14.6486 ] 
[  14.6512 ] tegradevflash_v2 --iscpubl
[  14.6527 ] Bootloader version 01.00.0000
[  14.6668 ] Bootloader version 01.00.0000
[  14.6760 ] 
[  14.6760 ] Retrieving storage infomation
[  14.6785 ] tegrarcm_v2 --oem platformdetails storage storage_info.bin
[  14.6797 ] Applet is not running on device. Continue with Bootloader
[  14.6994 ] 
[  14.7019 ] tegradevflash_v2 --oem platformdetails storage storage_info.bin
[  14.7029 ] Bootloader version 01.00.0000
[  14.7148 ] Saved platform info in storage_info.bin
[  14.7285 ] 
[  14.7286 ] Flashing the device
[  14.7308 ] tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
[  14.7332 ] 
[  14.7361 ] tegradevflash_v2 --pt flash.xml.bin --create
[  14.7372 ] Bootloader version 01.00.0000
[  14.7502 ] Erasing sdmmc_boot: 3 ......... [Done]
[  14.7969 ] Writing partition secondary_gpt with gpt_secondary_0_3.bin
[  14.7978 ] [................................................] 100%[  14.8571 ] Erasing sdmmc_user: 3 ......... [Done]
[  20.7876 ] Writing partition master_boot_record with mbr_1_3.bin
[  20.7878 ] [................................................] 100%
[  20.7963 ] Writing partition primary_gpt with gpt_primary_1_3.bin
[  20.8073 ] [................................................] 100%
[  20.8189 ] Writing partition secondary_gpt with gpt_secondary_1_3.bin
[  20.8326 ] [................................................] 100%[  20.8531 ] Writing partition mb1 with mb1_prod.bin.encrypt
[  20.8539 ] [................................................] 100%
[  20.8656 ] Writing partition mb1_b with mb1_prod.bin.encrypt
[  20.8930 ] [................................................] 100%
[  20.9059 ] Writing partition spe-fw with spe_sigheader.bin.encrypt
[  20.9327 ] [................................................] 100%
[  20.9493 ] Writing partition spe-fw_b with spe_sigheader.bin.encrypt
[  20.9888 ] [................................................] 100%
[  21.0043 ] Writing partition mb2 with nvtboot_sigheader.bin.encrypt
[  21.0396 ] [................................................] 100%
[  21.0530 ] Writing partition mb2_b with nvtboot_sigheader.bin.encrypt
[  21.0980 ] [................................................] 100%
[  21.1148 ] Writing partition mts-preboot with preboot_d15_prod_cr_sigheader.bin.encrypt
[  21.1639 ] [................................................] 100%
[  21.1753 ] Writing partition mts-preboot_b with preboot_d15_prod_cr_sigheader.bin.encrypt
[  21.2301 ] [................................................] 100%
[  21.2414 ] Writing partition SMD with slot_metadata.bin
[  21.3011 ] [................................................] 100%
[  21.3521 ] Writing partition SMD_b with slot_metadata.bin
[  21.3618 ] [................................................] 100%
[  21.3700 ] Writing partition VER_b with emmc_bootblob_ver.txt
[  21.3763 ] [................................................] 100%
[  21.3861 ] Writing partition VER with emmc_bootblob_ver.txt
[  21.4412 ] [................................................] 100%
[  21.4495 ] Writing partition master_boot_record with mbr_1_3.bin
[  21.4568 ] [................................................] 100%
[  21.4652 ] Writing partition APP with system.img
[  21.4744 ] [................................................] 100%
[ 341.4465 ] Writing partition mts-bootpack with mce_mts_d15_prod_cr_sigheader.bin.encrypt
[ 341.4761 ] [................................................] 100%
[ 341.6280 ] Writing partition mts-bootpack_b with mce_mts_d15_prod_cr_sigheader.bin.encrypt
[ 341.6366 ] [................................................] 100%
[ 341.7908 ] Writing partition cpu-bootloader with cboot_sigheader.bin.encrypt
[ 341.7991 ] [................................................] 100%
[ 341.8241 ] Writing partition cpu-bootloader_b with cboot_sigheader.bin.encrypt
[ 341.8329 ] [................................................] 100%
[ 341.8565 ] Writing partition bootloader-dtb with tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 341.8660 ] [................................................] 100%
[ 341.8925 ] Writing partition bootloader-dtb_b with tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 341.9090 ] [................................................] 100%
[ 341.9366 ] Writing partition secure-os with tos-trusty_sigheader.img.encrypt
[ 341.9490 ] [................................................] 100%
[ 341.9804 ] Writing partition secure-os_b with tos-trusty_sigheader.img.encrypt
[ 341.9916 ] [................................................] 100%
[ 342.0231 ] Writing partition eks with eks_sigheader.img.encrypt
[ 342.0333 ] [................................................] 100%
[ 342.0424 ] Writing partition adsp-fw with adsp-fw_sigheader.bin.encrypt
[ 342.0484 ] [................................................] 100%
[ 342.0621 ] Writing partition adsp-fw_b with adsp-fw_sigheader.bin.encrypt
[ 342.0703 ] [................................................] 100%
[ 342.0836 ] Writing partition bpmp-fw with bpmp_sigheader.bin.encrypt
[ 342.0912 ] [................................................] 100%
[ 342.1304 ] Writing partition bpmp-fw_b with bpmp_sigheader.bin.encrypt
[ 342.1431 ] [................................................] 100%
[ 342.1771 ] Writing partition bpmp-fw-dtb with tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt
[ 342.1924 ] [................................................] 100%
[ 342.2349 ] Writing partition bpmp-fw-dtb_b with tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt
[ 342.2530 ] [................................................] 100%
[ 342.2897 ] Writing partition sce-fw with camera-rtcpu-sce_sigheader.img.encrypt
[ 342.3022 ] [................................................] 100%
[ 342.3175 ] Writing partition sce-fw_b with camera-rtcpu-sce_sigheader.img.encrypt
[ 342.3249 ] [................................................] 100%
[ 342.3391 ] Writing partition sc7 with warmboot_wbheader.bin.encrypt
[ 342.3474 ] [................................................] 100%
[ 342.3567 ] Writing partition sc7_b with warmboot_wbheader.bin.encrypt
[ 342.3630 ] [................................................] 100%
[ 342.3741 ] Writing partition BMP with bmp.blob
[ 342.3801 ] [................................................] 100%
[ 342.4308 ] Writing partition BMP_b with bmp.blob
[ 342.4375 ] [................................................] 100%
[ 342.4553 ] Writing partition recovery with recovery_sigheader.img.encrypt
[ 342.4616 ] [................................................] 100%
[ 345.5647 ] Writing partition recovery-dtb with tegra186-quill-p3310-1000-c03-00-base.dtb_sigheader.rec.encrypt
[ 345.5762 ] [................................................] 100%
[ 345.6021 ] Writing partition kernel-bootctrl with kernel_bootctrl.bin
[ 345.6116 ] [................................................] 100%
[ 345.6281 ] Writing partition kernel-bootctrl_b with kernel_bootctrl.bin
[ 345.6325 ] [................................................] 100%
[ 345.6422 ] Writing partition kernel with boot_sigheader.img.encrypt
[ 345.6466 ] [................................................] 100%
[ 345.6863 ] Writing partition kernel_b with boot_sigheader.img.encrypt
[ 345.6996 ] [................................................] 100%
[ 345.7357 ] Writing partition kernel-dtb with kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 345.7476 ] [................................................] 100%
[ 345.7710 ] Writing partition kernel-dtb_b with kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 345.7804 ] [................................................] 100%
[ 345.8152 ] 
[ 345.8182 ] tegradevflash_v2 --write BCT br_bct_BR.bct
[ 345.8198 ] Bootloader version 01.00.0000
[ 345.8338 ] Writing partition BCT with br_bct_BR.bct
[ 345.8341 ] [................................................] 100%
[ 345.9055 ] 
[ 345.9092 ] tegradevflash_v2 --write MB1_BCT mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 345.9104 ] Bootloader version 01.00.0000
[ 345.9232 ] Writing partition MB1_BCT with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 345.9239 ] [................................................] 100%
[ 346.0018 ] 
[ 346.0047 ] tegradevflash_v2 --write MB1_BCT_b mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 346.0062 ] Bootloader version 01.00.0000
[ 346.0186 ] Writing partition MB1_BCT_b with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 346.0192 ] [................................................] 100%
[ 346.0840 ] 
[ 346.0840 ] Flashing completed[ 346.0841 ] Coldbooting the device
[ 346.0863 ] tegradevflash_v2 --reboot coldboot
[ 346.0872 ] Bootloader version 01.00.0000
[ 346.1048 ] 
*** The target t186ref has been flashed successfully. ***
Reset the board to boot from internal eMMC.

官方固件烧录完后串口终端日志

[0736.744] I> Rebooting : reset-coldboot[0000.180] I> Welcome to MB2(TBoot-BPMP)(version: 01.00.160913-t186-M-00.00-mobile-c368a720)
[0000.189] I> Boot-device: eMMC
[0000.196] I> sdmmc bdev is already initialized
[0000.201] I> pmic: reset reason (nverc)        : 0x0
[0000.234] I> Found 19 partitions in SDMMC_BOOT (instance 3)
[0000.253] I> Found 33 partitions in SDMMC_USER (instance 3)
[0000.259] W> No valid slot number is found in scratch register
[0000.265] W> Return default slot: _a
[0000.269] I> A/B: bin_type (16) slot 0
[0000.272] I> Loading partition bpmp-fw at 0xd7800000
[0000.277] I> Reading two headers - addr:0xd7800000 blocks:1
[0000.282] I> Addr: 0xd7800000, start-block: 58777608, num_blocks: 1
[0000.307] I> Binary(16) of size 534416 is loaded @ 0xd7800000
[0000.313] W> No valid slot number is found in scratch register
[0000.319] W> Return default slot: _a
[0000.322] I> A/B: bin_type (17) slot 0
[0000.326] I> Loading partition bpmp-fw-dtb at 0xd79f0000
[0000.331] I> Reading two headers - addr:0xd79f0000 blocks:1
[0000.336] I> Addr: 0xd79f0000, start-block: 58780024, num_blocks: 1
[0000.362] I> Binary(17) of size 604720 is loaded @ 0xd796c400
[0000.588] I> Loading SCE-FW ...
[0000.591] W> No valid slot number is found in scratch register
[0000.596] W> Return default slot: _a
[0000.600] I> A/B: bin_type (12) slot 0
[0000.603] I> Loading partition sce-fw at 0xd7300000
[0000.608] I> Reading two headers - addr:0xd7300000 blocks:1
[0000.614] I> Addr: 0xd7300000, start-block: 58784120, num_blocks: 1
[0000.633] I> Binary(12) of size 125632 is loaded @ 0xd7300000
[0000.638] I> Init SCE
[0000.641] I> Loading APE-FW ...
[0000.644] W> No valid slot number is found in scratch register
[0000.650] W> Return default slot: _a
[0000.653] I> A/B: bin_type (11) slot 0
[0000.657] I> Loading partition adsp-fw at 0xd7400000
[0000.661] I> Reading two headers - addr:0xd7400000 blocks:1
[0000.667] I> Addr: 0xd7400000, start-block: 58761224, num_blocks: 1
[0000.686] I> Binary(11) of size 77216 is loaded @ 0xd7400000
[0000.692] I> Copy BTCM section
[0000.695] W> No valid slot number is found in scratch register
[0000.700] W> Return default slot: _a
[0000.704] I> A/B: bin_type (13) slot 0
[0000.707] I> Loading partition cpu-bootloader at 0x96000000
[0000.713] I> Reading two headers - addr:0x96000000 blocks:1
[0000.718] I> Addr: 0x96000000, start-block: 58740744, num_blocks: 1
[0000.740] I> Binary(13) of size 308800 is loaded @ 0x96000000
[0000.745] W> No valid slot number is found in scratch register
[0000.751] W> Return default slot: _a
[0000.755] I> A/B: bin_type (20) slot 0
[0000.758] I> Loading partition bootloader-dtb at 0x85205400
[0000.764] I> Reading two headers - addr:0x85205400 blocks:1
[0000.769] I> Addr: 0x85205400, start-block: 58742792, num_blocks: 1
[0000.791] I> Binary(20) of size 375568 is loaded @ 0x85205400
[0000.797] W> No valid slot number is found in scratch register
[0000.803] W> Return default slot: _a
[0000.806] I> A/B: bin_type (14) slot 0
[0000.810] I> Loading partition secure-os at 0x85305600
[0000.815] I> Reading two headers - addr:0x85305600 blocks:1
[0000.820] I> Addr: 0x85305600, start-block: 58744840, num_blocks: 1
[0000.843] I> Binary(14) of size 402864 is loaded @ 0x85305600
[0000.851] I> TOS boot-params @ 0x85000000
[0000.855] I> TOS params prepared
[0000.858] I> Loading EKS ...
[0000.860] I> A/B: bin_type (15) slot 0
[0000.864] I> Loading partition eks at 0x85905800
[0000.869] I> Reading two headers - addr:0x85905800 blocks:1
[0000.874] I> Addr: 0x85905800, start-block: 58757128, num_blocks: 1
[0000.893] I> Binary(15) of size 1040 is loaded @ 0x85905800
[0000.898] I> EKB detected (length: 0x400) @ 0x85905800
[0000.903] I> Copied encrypted keys
[0000.907] I> boot profiler @ 0x275844000
[0000.911] I> boot profiler for TOS @ 0x275844000
[0000.916] I> Unhalting SCE
[0000.918] I> Primary Memory Start:80000000 Size:70000000
[0000.924] I> Extended Memory Start:f0110000 Size:1856f0000
[0000.930] I> MB2(TBoot-BPMP) doneNOTICE:  BL31: v1.3(release):b5eeb33f7
NOTICE:  BL31: Built : 12:15:17, Jul 26 2021
ipc-unittest-main: 1519: Welcome to IPC unittest!!!
ipc-unittest-main: 1531: waiting forever
ipc-unittest-srv: 329: Init unittest services!!!
hwkey-agent: 41: hwkey-agent is running!!
hwkey-agent: 315: key_mgnt_processing .......
hwkey-agent: 223: Setting EKB key 0 to slot 14
hwkey-agent: 178: Init hweky-agent services!!
luks-srv: 40: luks-srv is running!!
luks-srv: 157: Init luks-srv IPC services!!
platform_bootstrap_epilog: trusty bootstrap complete
[0001.303] I> Welcome to Cboot
[0001.305] I> Cboot Version: t186-00029e71
[0001.309] I> CPU-BL Params @ 0x275800000
[0001.313] I>  0) Base:0x00000000 Size:0x00000000
[0001.317] I>  1) Base:0x277f00000 Size:0x00100000
[0001.322] I>  2) Base:0x277e00000 Size:0x00100000
[0001.327] I>  3) Base:0x277d00000 Size:0x00100000
[0001.331] I>  4) Base:0x277c00000 Size:0x00100000
[0001.336] I>  5) Base:0x277b00000 Size:0x00100000
[0001.340] I>  6) Base:0x277800000 Size:0x00200000
[0001.345] I>  7) Base:0x277400000 Size:0x00400000
[0001.349] I>  8) Base:0x277a00000 Size:0x00100000
[0001.354] I>  9) Base:0x277300000 Size:0x00100000
[0001.358] I> 10) Base:0x276800000 Size:0x00800000
[0001.363] I> 11) Base:0x30000000 Size:0x00040000
[0001.367] I> 12) Base:0xf0000000 Size:0x00100000
[0001.372] I> 13) Base:0x30040000 Size:0x00001000
[0001.376] I> 14) Base:0x30048000 Size:0x00001000
[0001.380] I> 15) Base:0x30049000 Size:0x00001000
[0001.385] I> 16) Base:0x3004a000 Size:0x00001000
[0001.389] I> 17) Base:0x3004b000 Size:0x00001000
[0001.394] I> 18) Base:0x3004c000 Size:0x00001000
[0001.398] I> 19) Base:0x3004d000 Size:0x00001000
[0001.403] I> 20) Base:0x3004e000 Size:0x00001000
[0001.407] I> 21) Base:0x3004f000 Size:0x00001000
[0001.411] I> 22) Base:0x00000000 Size:0x00000000
[0001.416] I> 23) Base:0xf0100000 Size:0x00010000
[0001.420] I> 24) Base:0x00000000 Size:0x00000000
[0001.425] I> 25) Base:0x00000000 Size:0x00000000
[0001.429] I> 26) Base:0x00000000 Size:0x00000000
[0001.434] I> 27) Base:0x00000000 Size:0x00000000
[0001.438] I> 28) Base:0x84400000 Size:0x00400000
[0001.442] I> 29) Base:0x30000000 Size:0x00010000
[0001.447] I> 30) Base:0x278000000 Size:0x08000000
[0001.451] I> 31) Base:0x00000000 Size:0x00000000
[0001.456] I> 32) Base:0x276000000 Size:0x00600000
[0001.460] I> 33) Base:0x80000000 Size:0x70000000
[0001.465] I> 34) Base:0xf0110000 Size:0x1856f0000
[0001.469] I> 35) Base:0x00000000 Size:0x00000000
[0001.474] I> 36) Base:0x00000000 Size:0x00000000
[0001.478] I> 37) Base:0x2772e0000 Size:0x00020000
[0001.483] I> 38) Base:0x84000000 Size:0x00400000
[0001.487] I> 39) Base:0x96000000 Size:0x02000000
[0001.492] I> 40) Base:0x85000000 Size:0x01200000
[0001.496] I> 41) Base:0x275800000 Size:0x00500000
[0001.500] I> 42) Base:0x00000000 Size:0x00000000
[0001.505] I> 43) Base:0x00000000 Size:0x00000000
[0001.509] GIC-SPI Target CPU: 4
[0001.513] Interrupts Init done
[0001.516] calling constructors
[0001.519] initializing heap
[0001.522] initializing threads
[0001.525] initializing timers
[0001.528] creating bootstrap completion thread
[0001.533] top of bootstrap2()
[0001.536] CPU: ARM Cortex A57
[0001.539] CPU: MIDR: 0x411FD073, MPIDR: 0x80000100
[0001.544] initializing platform
[0001.547] I> Bl_dtb @0x85205400
[0001.550] I> gpio framework initialized
[0001.557] I> tegrabl_gpio_driver_register: register 'nvidia,tegra186-gpio' driver
[0001.567] I> tegrabl_gpio_driver_register: register 'nvidia,tegra186-gpio-aon' driver
[0001.575] I> GPIO framework and drivers are initialized.
[0001.580] I> Boot-device: eMMC
[0001.587] I> sdmmc bdev is already initialized
[0001.618] I> Found 19 partitions in SDMMC_BOOT (instance 3)
[0001.635] I> Found 33 partitions in SDMMC_USER (instance 3)
[0001.641] W> opt-in fuse is not set, skip fuse_burning
[0001.646] I> Reserved memory at 0xfbe00000 for U-Boot relocation
[0001.651] W> No valid slot number is found in scratch register
[0001.657] W> Return default slot: _a
[0001.667] I> A/B: bin_type (21) slot 0
[0001.670] I> Loading kernel-dtb from partition
[0001.674] I> Loading partition kernel-dtb at 0x80000000 from device(0x1)
[0001.691] I> Kernel_dtb @0x80000000
[0001.695] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xee
[0001.705] I> tegrabl_gpio_driver_register: register 'tca9539_gpio_driver' driver
[0001.712] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xe8
[0001.721] I> tegrabl_gpio_driver_register: register 'tca9539_gpio_driver' driver
[0001.732] I> fixed regulator driver initialized
[0001.765] I> register 'maxim' power off handle
[0001.771] I> virtual i2c enabled
[0001.774] I> registered 'maxim,max77620' pmic
[0001.779] I> tegrabl_gpio_driver_register: register 'max77620-gpio' driver
[0001.792] E> failed to read label property for node 324936: 13
[0001.801] E> failed to read reg property for node 325032: 13
[0001.809] E> failed to read reg property for node 325084: 13
[0001.817] E> failed to read label property for node 325168: 13
[0001.826] E> failed to read label property for node 325236: 13
[0001.834] E> failed to read reg property for node 325304: 13
[0001.842] E> failed to read reg property for node 325376: 13
[0001.853] I> Find /i2c@c250000's alias i2c7
[0001.857] I> Reading eeprom i2c=7 address=0x50
[0001.886] I> Device at /i2c@c250000:0x50
[0001.890] I> Reading eeprom i2c=7 address=0x57
[0001.918] I> Device at /i2c@c250000:0x57
[0001.923] I> Find /i2c@c240000's alias i2c1
[0001.927] I> Reading eeprom i2c=1 address=0x51
[0001.932] E> I2C: slave not found in slaves.
[0001.936] E> I2C: Could not write 0 bytes to slave: 0x00a2 with repeat start true.
[0001.944] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.950] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa2 at 0x00000000 via instance 1.
[0001.959] E> eeprom: Retry to read I2C slave device.
[0001.964] E> I2C: slave not found in slaves.
[0001.968] E> I2C: Could not write 0 bytes to slave: 0x00a2 with repeat start true.
[0001.976] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.982] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa2 at 0x00000000 via instance 1.
[0001.991] E> eeprom: Failed to read I2C slave device
[0001.996] I> Eeprom read failed 0x3526070d
[0002.001] I> Find /i2c@3160000's alias i2c0
[0002.005] I> Reading eeprom i2c=0 address=0x50
[0002.009] E> I2C: slave not found in slaves.
[0002.013] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0002.021] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.027] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 0.
[0002.036] E> eeprom: Failed to read I2C slave device
[0002.041] I> Eeprom read failed 0x3526070d
[0002.046] I> Find /i2c@3180000's alias i2c2
[0002.050] I> Reading eeprom i2c=2 address=0x54
[0002.054] I> Enabling gpio chip_id = 2, gpio pin = 9
[0002.060] E> I2C: slave not found in slaves.
[0002.064] E> I2C: Could not write 0 bytes to slave: 0x00a8 with repeat start true.
[0002.072] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.078] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa8 at 0x00000000 via instance 2.
[0002.088] E> eeprom: Failed to read I2C slave device
[0002.092] I> Disabling gpio chip_id = 2, gpio pin = 9
[0002.097] I> Eeprom read failed 0x00000000
[0002.101] I> Reading eeprom i2c=2 address=0x57
[0002.106] I> Enabling gpio chip_id = 2, gpio pin = 9
[0002.111] E> I2C: slave not found in slaves.
[0002.115] E> I2C: Could not write 0 bytes to slave: 0x00ae with repeat start true.
[0002.123] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.129] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xae at 0x00000000 via instance 2.
[0002.138] E> eeprom: Failed to read I2C slave device
[0002.143] I> Disabling gpio chip_id = 2, gpio pin = 9
[0002.148] I> Eeprom read failed 0x00000000
[0002.152] I> create_pm_ids: id: 3310-1000-B02-D, len: 15
[0002.157] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0002.168] I> create_pm_ids: id: 2597-0000-500-C, len: 15
[0002.174] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0002.209] I> enabling 'vdd-hdmi' regulator
[0002.224] I> regulator 'vdd-hdmi' already enabled
[0002.229] E> tegrabl_display_init_regulator: hdmi cable is not connected
[0002.235] E> tegrabl_display_get_pdata, failed to parse dtb settings
[0002.244] E> cannot find any other nvdisp nodes
[0002.249] E> no valid display unit config found in dtb
[0002.254] W> display init failed
[0002.257] initializing target
[0002.260] calling apps_init()
[0002.264] starting app kernel_boot_app
[0002.286] I> found decompressor handler: lz4-legacy
[0002.291] I> decompressing BMP blob ...
[0002.303] I> Kernel type = Normal
[0002.306] I> ########## Fixed storage boot ##########
[0002.311] I> Loading kernel-bootctrl from partition
[0002.316] I> Loading partition kernel-bootctrl at 0xa8000000 from device(0x1)
[0002.330] W> tegrabl_get_kernel_bootctrl: magic number(0x00000000) is invalid
[0002.337] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data
[0002.344] W> No valid slot number is found in scratch register
[0002.350] W> Return default slot: _a
[0002.353] I> A/B: bin_type (24) slot 0
[0002.369] I> Boot image size read from image header: 9913d
[0002.374] I> Boot image load address: 0x80400000
[0002.378] I> Loading kernel from partition
[0002.382] I> Loading partition kernel at 0x80400000 from device(0x1)
[0003.342] I> Validate kernel ...
[0003.345] I> T18x: Authenticate kernel (bin_type 24), max size 0x4000000
[0003.353] I> Decrypt the buffer ... [0003.356] W> tegrabl_decrypt_block: fuse (0x0) is not burnt to do encryption (0x4); skip decryption.
[0003.365] I> done
[0003.367] I> Checking boot.img header magic ... [0003.371] I> [OK]
[0003.373] I> kernel-dtb is already loaded
[0003.377] I> Validate kernel-dtb ...
[0003.380] I> T18x: Authenticate kernel-dtb (bin_type 21), max size 0x100000
[0003.388] I> Decrypt the buffer ... [0003.391] W> tegrabl_decrypt_block: fuse (0x0) is not burnt to do encryption (0x4); skip decryption.
[0003.400] I> done
[0003.402] I> Kernel hdr @0x80400000
[0003.405] I> Kernel dtb @0x80000000
[0003.408] I> decompressor handler not found
[0003.412] I> Copying kernel image (627005 bytes) from 0x80400800 to 0x80600000 ... [0003.420] I> Done
[0003.422] I> Move ramdisk (len: 0) from 0x8049a000 to 0x947d0000
[0003.429] I> Updated bpmp info to DTB
[0003.435] I> Ramdisk: Base: 0x947d0000; Size: 0x0
[0003.440] I> Updated initrd info to DTB
[0003.443] W> WARN: Fail to override "console=none" in commandline
[0003.449] I> Active rootfs suffix: 
[0003.453] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0003.460] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0003.467] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0003.474] I> disabled_core_mask: 0xffffff0c
[0003.478] W> No valid slot number is found in scratch register
[0003.484] W> Return default slot: _a
[0003.487] I> Active slot suffix: 
[0003.490] I> add_boot_slot_suffix: slot_suffix = 
[0003.495] I> Linux Cmdline: console=ttyS0,115200 androidboot.presilicon=true firmware_class.path=/etc/firmware root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2  video=tegrafb earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x2772e0000 gpt rootfs.slot_suffix= usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 no_console_suspend boot.slot_suffix= boot.ratchetvalues=0.2031647.1 vpr_resize bl_prof_dataptr=0x10000@0x275840000 sdhci_tegra.en_boot_part_access=1 
[0003.542] I> Updated bootarg info to DTB
[0003.546] I> eeprom_get_mac_addr: MAC (type: 0): 00:04:4b:a8:39:f1
[0003.552] I> eeprom_get_mac_addr: MAC (type: 1): 00:04:4b:a8:39:f2
[0003.559] I> eeprom_get_mac_addr: MAC (type: 2): 00:04:4b:a8:39:f3
[0003.565] E> Found no plugin manager ids in source DT
[0003.570] W> Add plugin manager ids from board info
[0003.574] W> "plugin-manager" doesn't exist, creating
[0003.579] W> "ids" doesn't exist, creating
[0003.583] W> "connection" doesn't exist, creating
[0003.588] W> "configs" doesn't exist, creating
[0003.592] I> create_pm_ids: id: 3310-1000-B02-D, len: 15
[0003.598] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0003.608] I> create_pm_ids: id: 2597-0000-500-C, len: 15
[0003.614] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0003.625] I> Adding plugin-manager/ids/3310-1000-B02=/i2c@c250000:module@0x50
[0003.632] W> "i2c@c250000" doesn't exist, creating
[0003.636] W> "module@0x50" doesn't exist, creating
[0003.641] I> Adding plugin-manager/ids/2597-0000-500=/i2c@c250000:module@0x57
[0003.649] W> "module@0x57" doesn't exist, creating
[0003.655] I> Adding plugin-manager/ids/3310-1000-B02-D
[0003.663] I> Adding plugin-manager/configs/3310-mem-type 00
[0003.668] I> Adding plugin-manager/configs/3310-power-config 00
[0003.674] I> Adding plugin-manager/configs/3310-misc-config 00
[0003.680] I> Adding plugin-manager/configs/3310-modem-config 00
[0003.686] I> Adding plugin-manager/configs/3310-touch-config 00
[0003.692] I> Adding plugin-manager/configs/3310-display-config 00
[0003.698] I> Adding plugin-manager/cvm
[0003.702] W> "chip-id" doesn't exist, creating
[0003.706] I> Adding plugin-manager/chip-id/A02P
[0003.711] W> "odm-data" doesn't exist, creating
[0003.715] I> Adding /chosen/plugin-manager/odm-data
[0003.725] I> added [base:0x80000000, size:0x70000000] to /memory
[0003.731] I> added [base:0xf0200000, size:0x185600000] to /memory
[0003.737] I> added [base:0x275e00000, size:0x200000] to /memory
[0003.743] I> added [base:0x276600000, size:0x200000] to /memory
[0003.748] I> added [base:0x277000000, size:0x200000] to /memory
[0003.754] I> Updated memory info to DTB
[0003.759] E> add_disp_param: failed to get display params for du=0
[0003.767] W> "reset" doesn't exist, creating
[0003.771] W> "pmc-reset-reason" doesn't exist, creating
[0003.776] W> "pmic-reset-reason" doesn't exist, creating
[0003.783] I> Adding ecid(000000016440364708000000190103c0) to DT
[0003.789] I> disabled_core_mask: 0xffffff0c
[0003.801] I> Add serial number:0320418051257 as DT property
[0003.810] I> Plugin-manager override starting
[0003.816] I> node /plugin-manager/fragement@0 matches
[0003.826] I> node /plugin-manager/fragement@4 matches
[0003.839] I> node /plugin-manager/fragment-sdwake-p3310-1000-300 matches
[0003.859] I> node /plugin-manager/fragement-pmon-p3310-1000-300 matches
[0003.869] I> node /plugin-manager/fragement-pmon-p3310-1000-800 matches
[0003.878] I> node /plugin-manager/fragment-devslp@0 matches
[0003.890] I> node /plugin-manager/fragment-500-pcie-config matches
[0003.905] I> node /plugin-manager/fragment-500-xusb-config matches
[0003.928] I> node /plugin-manager/fragment-p3310-c00-comm matches
[0003.941] I> node /plugin-manager/fragment-p3310-c00-pmic matches
[0003.952] I> node /plugin-manager/fragment-p3310-c01 matches
[0003.965] I> node /plugin-manager/fragment-p3310-c03 matches
[0004.012] I> node /plugin-manager/fragment-p3310-c00-camera matches
[0004.038] I> Disable plugin-manager status in FDT
[0004.043] I> Plugin-manager override finished successfully
[0004.048] I> tegrabl_load_kernel_and_dtb: Done
[0004.053] E> tegrabl_display_clear: display is not initialized
[0004.058] W> Boot logo display failed...
[0004.062] I> Kernel EP: 0x80600000, DTB: 0x80000000U-Boot 2020.04-g46e4604c78 (Jul 26 2021 - 12:10:58 -0700)SoC: tegra186
Model: NVIDIA P2771-0000-500
Board: NVIDIA P2771-0000
DRAM:  7.8 GiB
MMC:   sdhci@3400000: 1, sdhci@3460000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environmentIn:    serial
Out:   serial
Err:   serial
Net:   
Warning: ethernet@2490000 using MAC address from ROM
eth0: ethernet@2490000
Hit any key to stop autoboot:  0 
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
858 bytes read in 19 ms (43.9 KiB/s)
1:      primary kernel
Retrieving file: /boot/initrd
7238344 bytes read in 196 ms (35.2 MiB/s)
Retrieving file: /boot/Image
34484232 bytes read in 833 ms (39.5 MiB/s)
append: console=ttyS0,115200 androidboot.presilicon=true firmware_class.path=/etc/firmware root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2  video=tegrafb earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x2772e0000 gpt rootfs.slot_suffix= usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 no_console_suspend boot.slot_suffix= boot.ratchetvalues=0.2031647.1 vpr_resize bl_prof_dataptr=0x10000@0x275840000 sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2 
## Flattened Device Tree blob at 80000000Booting using the fdt blob at 0x80000000
ERROR: reserving fdt memory region failed (addr=0 size=0)
ERROR: reserving fdt memory region failed (addr=0 size=0)
ERROR: reserving fdt memory region failed (addr=0 size=0)Using Device Tree in place at 0000000080000000, end 0000000080060aa3
copying carveout for /host1x@13e00000/display-hub@15200000/display@15200000...
copying carveout for /host1x@13e00000/display-hub@15200000/display@15210000...
copying carveout for /host1x@13e00000/display-hub@15200000/display@15220000...Starting kernel ...[    0.000000] Booting Linux on physical CPU 0x100
[    0.000000] Linux version 4.9.253-tegra (buildbrain@mobile-u64-5497-d3000) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Mon Jul 26 12:19:28 PDT 2021
[    0.000000] Boot CPU: AArch64 Processor [411fd073]
[    0.000000] OF: fdt:memory scan node memory@80000000, reg size 80,
[    0.000000] OF: fdt: - 80000000 ,  70000000
[    0.000000] OF: fdt: - f0200000 ,  185600000
[    0.000000] OF: fdt: - 275e00000 ,  200000
[    0.000000] OF: fdt: - 276600000 ,  200000
[    0.000000] OF: fdt: - 277000000 ,  200000
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000003100000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    1.252842] tegradc 15210000.nvdisplay: hdmi: edid read failed
[    2.088088] cgroup: cgroup2: unknown option "nsdelegate"
[    3.018013] using random self ethernet address
[    3.024064] using random host ethernet address
[    3.268948] random: crng init done
[    3.272375] random: 7 urandom warning(s) missed due to ratelimiting
[    3.362083] using random self ethernet address
[    3.366827] using random host ethernet address
[    8.104158] Please complete system configuration setup on desktop to proceed...

第一次开机配置

官方固件刷完后, 需要连上鼠标键盘进行配置, 开发板上只有一个USB3.0, 可以接USB HUB, 主要设置有:

  • 同意 License
  • 系统/键盘配置 English
  • 网络设置, WiFi
  • 位置, Shanghai
  • 主机名, 用户名, 密码
  • 功耗设置(Nvpmodel), 用默认的MAXP_CORE_ARM, 后面可以通过标题栏或命令行修改

开机日志

按下复位按钮, 记录串口日志

[0000.225] I> Welcome to MB2(TBoot-BPMP)(version: 01.00.160913-t186-M-00.00-mobile-c368a720)
[0000.233] I> Boot-device: eMMC
[0000.241] I> sdmmc bdev is already initialized
[0000.245] I> pmic: reset reason (nverc)        : 0x80
[0000.278] I> Found 19 partitions in SDMMC_BOOT (instance 3)
[0000.298] I> Found 33 partitions in SDMMC_USER (instance 3)
[0000.304] W> No valid slot number is found in scratch register
[0000.310] W> Return default slot: _a
[0000.313] I> A/B: bin_type (16) slot 0
[0000.317] I> Loading partition bpmp-fw at 0xd7800000
[0000.322] I> Reading two headers - addr:0xd7800000 blocks:1
[0000.327] I> Addr: 0xd7800000, start-block: 58777608, num_blocks: 1
[0000.352] I> Binary(16) of size 534416 is loaded @ 0xd7800000
[0000.358] W> No valid slot number is found in scratch register
[0000.363] W> Return default slot: _a
[0000.367] I> A/B: bin_type (17) slot 0
[0000.370] I> Loading partition bpmp-fw-dtb at 0xd79f0000
[0000.375] I> Reading two headers - addr:0xd79f0000 blocks:1
[0000.381] I> Addr: 0xd79f0000, start-block: 58780024, num_blocks: 1
[0000.407] I> Binary(17) of size 604720 is loaded @ 0xd796c400
[0000.635] I> Loading SCE-FW ...
[0000.638] W> No valid slot number is found in scratch register
[0000.644] W> Return default slot: _a
[0000.647] I> A/B: bin_type (12) slot 0
[0000.651] I> Loading partition sce-fw at 0xd7300000
[0000.656] I> Reading two headers - addr:0xd7300000 blocks:1
[0000.661] I> Addr: 0xd7300000, start-block: 58784120, num_blocks: 1
[0000.680] I> Binary(12) of size 125632 is loaded @ 0xd7300000
[0000.686] I> Init SCE
[0000.688] I> Loading APE-FW ...
[0000.691] W> No valid slot number is found in scratch register
[0000.697] W> Return default slot: _a
[0000.700] I> A/B: bin_type (11) slot 0
[0000.704] I> Loading partition adsp-fw at 0xd7400000
[0000.709] I> Reading two headers - addr:0xd7400000 blocks:1
[0000.714] I> Addr: 0xd7400000, start-block: 58761224, num_blocks: 1
[0000.733] I> Binary(11) of size 77216 is loaded @ 0xd7400000
[0000.739] I> Copy BTCM section
[0000.742] W> No valid slot number is found in scratch register
[0000.748] W> Return default slot: _a
[0000.751] I> A/B: bin_type (13) slot 0
[0000.755] I> Loading partition cpu-bootloader at 0x96000000
[0000.760] I> Reading two headers - addr:0x96000000 blocks:1
[0000.766] I> Addr: 0x96000000, start-block: 58740744, num_blocks: 1
[0000.787] I> Binary(13) of size 308800 is loaded @ 0x96000000
[0000.793] W> No valid slot number is found in scratch register
[0000.798] W> Return default slot: _a
[0000.802] I> A/B: bin_type (20) slot 0
[0000.805] I> Loading partition bootloader-dtb at 0x85205400
[0000.811] I> Reading two headers - addr:0x85205400 blocks:1
[0000.816] I> Addr: 0x85205400, start-block: 58742792, num_blocks: 1
[0000.839] I> Binary(20) of size 375568 is loaded @ 0x85205400
[0000.845] W> No valid slot number is found in scratch register
[0000.850] W> Return default slot: _a
[0000.854] I> A/B: bin_type (14) slot 0
[0000.857] I> Loading partition secure-os at 0x85305600
[0000.862] I> Reading two headers - addr:0x85305600 blocks:1
[0000.868] I> Addr: 0x85305600, start-block: 58744840, num_blocks: 1
[0000.891] I> Binary(14) of size 402864 is loaded @ 0x85305600
[0000.898] I> TOS boot-params @ 0x85000000
[0000.902] I> TOS params prepared
[0000.905] I> Loading EKS ...
[0000.908] I> A/B: bin_type (15) slot 0
[0000.911] I> Loading partition eks at 0x85905800
[0000.916] I> Reading two headers - addr:0x85905800 blocks:1
[0000.921] I> Addr: 0x85905800, start-block: 58757128, num_blocks: 1
[0000.940] I> Binary(15) of size 1040 is loaded @ 0x85905800
[0000.946] I> EKB detected (length: 0x400) @ 0x85905800
[0000.951] I> Copied encrypted keys
[0000.954] I> boot profiler @ 0x275844000
[0000.958] I> boot profiler for TOS @ 0x275844000
[0000.963] I> Unhalting SCE
[0000.966] I> Primary Memory Start:80000000 Size:70000000
[0000.971] I> Extended Memory Start:f0110000 Size:1856f0000
[0000.978] I> MB2(TBoot-BPMP) doneNOTICE:  BL31: v1.3(release):b5eeb33f7
NOTICE:  BL31: Built : 12:15:17, Jul 26 2021
ipc-unittest-main: 1519: Welcome to IPC unittest!!!
ipc-unittest-main: 1531: waiting forever
ipc-unittest-srv: 329: Init unittest services!!!
hwkey-agent: 41: hwkey-agent is running!!
hwkey-agent: 315: key_mgnt_processing .......
hwkey-agent: 223: Setting EKB key 0 to slot 14
hwkey-agent: 178: Init hweky-agent services!!
luks-srv: 40: luks-srv is running!!
luks-srv: 157: Init luks-srv IPC services!!
platform_bootstrap_epilog: trusty bootstrap complete
[0001.350] I> Welcome to Cboot
[0001.353] I> Cboot Version: t186-00029e71
[0001.357] I> CPU-BL Params @ 0x275800000
[0001.360] I>  0) Base:0x00000000 Size:0x00000000
[0001.365] I>  1) Base:0x277f00000 Size:0x00100000
[0001.369] I>  2) Base:0x277e00000 Size:0x00100000
[0001.374] I>  3) Base:0x277d00000 Size:0x00100000
[0001.378] I>  4) Base:0x277c00000 Size:0x00100000
[0001.383] I>  5) Base:0x277b00000 Size:0x00100000
[0001.387] I>  6) Base:0x277800000 Size:0x00200000
[0001.392] I>  7) Base:0x277400000 Size:0x00400000
[0001.397] I>  8) Base:0x277a00000 Size:0x00100000
[0001.401] I>  9) Base:0x277300000 Size:0x00100000
[0001.406] I> 10) Base:0x276800000 Size:0x00800000
[0001.410] I> 11) Base:0x30000000 Size:0x00040000
[0001.415] I> 12) Base:0xf0000000 Size:0x00100000
[0001.419] I> 13) Base:0x30040000 Size:0x00001000
[0001.423] I> 14) Base:0x30048000 Size:0x00001000
[0001.428] I> 15) Base:0x30049000 Size:0x00001000
[0001.432] I> 16) Base:0x3004a000 Size:0x00001000
[0001.437] I> 17) Base:0x3004b000 Size:0x00001000
[0001.441] I> 18) Base:0x3004c000 Size:0x00001000
[0001.446] I> 19) Base:0x3004d000 Size:0x00001000
[0001.450] I> 20) Base:0x3004e000 Size:0x00001000
[0001.454] I> 21) Base:0x3004f000 Size:0x00001000
[0001.459] I> 22) Base:0x00000000 Size:0x00000000
[0001.463] I> 23) Base:0xf0100000 Size:0x00010000
[0001.468] I> 24) Base:0x00000000 Size:0x00000000
[0001.472] I> 25) Base:0x00000000 Size:0x00000000
[0001.477] I> 26) Base:0x00000000 Size:0x00000000
[0001.481] I> 27) Base:0x00000000 Size:0x00000000
[0001.485] I> 28) Base:0x84400000 Size:0x00400000
[0001.490] I> 29) Base:0x30000000 Size:0x00010000
[0001.494] I> 30) Base:0x278000000 Size:0x08000000
[0001.499] I> 31) Base:0x00000000 Size:0x00000000
[0001.503] I> 32) Base:0x276000000 Size:0x00600000
[0001.508] I> 33) Base:0x80000000 Size:0x70000000
[0001.512] I> 34) Base:0xf0110000 Size:0x1856f0000
[0001.517] I> 35) Base:0x00000000 Size:0x00000000
[0001.521] I> 36) Base:0x00000000 Size:0x00000000
[0001.526] I> 37) Base:0x2772e0000 Size:0x00020000
[0001.530] I> 38) Base:0x84000000 Size:0x00400000
[0001.534] I> 39) Base:0x96000000 Size:0x02000000
[0001.539] I> 40) Base:0x85000000 Size:0x01200000
[0001.543] I> 41) Base:0x275800000 Size:0x00500000
[0001.548] I> 42) Base:0x00000000 Size:0x00000000
[0001.552] I> 43) Base:0x00000000 Size:0x00000000
[0001.557] GIC-SPI Target CPU: 4
[0001.560] Interrupts Init done
[0001.563] calling constructors
[0001.566] initializing heap
[0001.569] initializing threads
[0001.572] initializing timers
[0001.575] creating bootstrap completion thread
[0001.580] top of bootstrap2()
[0001.583] CPU: ARM Cortex A57
[0001.586] CPU: MIDR: 0x411FD073, MPIDR: 0x80000100
[0001.591] initializing platform
[0001.595] I> Bl_dtb @0x85205400
[0001.598] I> gpio framework initialized
[0001.604] I> tegrabl_gpio_driver_register: register 'nvidia,tegra186-gpio' driver
[0001.614] I> tegrabl_gpio_driver_register: register 'nvidia,tegra186-gpio-aon' driver
[0001.622] I> GPIO framework and drivers are initialized.
[0001.627] I> Boot-device: eMMC
[0001.634] I> sdmmc bdev is already initialized
[0001.665] I> Found 19 partitions in SDMMC_BOOT (instance 3)
[0001.683] I> Found 33 partitions in SDMMC_USER (instance 3)
[0001.688] W> opt-in fuse is not set, skip fuse_burning
[0001.693] I> Reserved memory at 0xfbe00000 for U-Boot relocation
[0001.699] W> No valid slot number is found in scratch register
[0001.704] W> Return default slot: _a
[0001.714] I> A/B: bin_type (21) slot 0
[0001.717] I> Loading kernel-dtb from partition
[0001.722] I> Loading partition kernel-dtb at 0x80000000 from device(0x1)
[0001.739] I> Kernel_dtb @0x80000000
[0001.742] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xee
[0001.753] I> tegrabl_gpio_driver_register: register 'tca9539_gpio_driver' driver
[0001.760] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xe8
[0001.769] I> tegrabl_gpio_driver_register: register 'tca9539_gpio_driver' driver
[0001.779] I> fixed regulator driver initialized
[0001.812] I> register 'maxim' power off handle
[0001.819] I> virtual i2c enabled
[0001.822] I> registered 'maxim,max77620' pmic
[0001.826] I> tegrabl_gpio_driver_register: register 'max77620-gpio' driver
[0001.840] E> failed to read label property for node 324936: 13
[0001.848] E> failed to read reg property for node 325032: 13
[0001.857] E> failed to read reg property for node 325084: 13
[0001.865] E> failed to read label property for node 325168: 13
[0001.873] E> failed to read label property for node 325236: 13
[0001.882] E> failed to read reg property for node 325304: 13
[0001.890] E> failed to read reg property for node 325376: 13
[0001.900] I> Find /i2c@c250000's alias i2c7
[0001.904] I> Reading eeprom i2c=7 address=0x50
[0001.934] I> Device at /i2c@c250000:0x50
[0001.937] I> Reading eeprom i2c=7 address=0x57
[0001.966] I> Device at /i2c@c250000:0x57
[0001.970] I> Find /i2c@c240000's alias i2c1
[0001.974] I> Reading eeprom i2c=1 address=0x51
[0001.980] E> I2C: slave not found in slaves.
[0001.984] E> I2C: Could not write 0 bytes to slave: 0x00a2 with repeat start true.
[0001.991] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.997] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa2 at 0x00000000 via instance 1.
[0002.007] E> eeprom: Retry to read I2C slave device.
[0002.012] E> I2C: slave not found in slaves.
[0002.016] E> I2C: Could not write 0 bytes to slave: 0x00a2 with repeat start true.
[0002.023] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.029] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa2 at 0x00000000 via instance 1.
[0002.039] E> eeprom: Failed to read I2C slave device
[0002.044] I> Eeprom read failed 0x3526070d
[0002.048] I> Find /i2c@3160000's alias i2c0
[0002.052] I> Reading eeprom i2c=0 address=0x50
[0002.057] E> I2C: slave not found in slaves.
[0002.061] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0002.068] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.074] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 0.
[0002.084] E> eeprom: Failed to read I2C slave device
[0002.088] I> Eeprom read failed 0x3526070d
[0002.093] I> Find /i2c@3180000's alias i2c2
[0002.097] I> Reading eeprom i2c=2 address=0x54
[0002.102] I> Enabling gpio chip_id = 2, gpio pin = 9
[0002.108] E> I2C: slave not found in slaves.
[0002.112] E> I2C: Could not write 0 bytes to slave: 0x00a8 with repeat start true.
[0002.120] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.126] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa8 at 0x00000000 via instance 2.
[0002.135] E> eeprom: Failed to read I2C slave device
[0002.140] I> Disabling gpio chip_id = 2, gpio pin = 9
[0002.145] I> Eeprom read failed 0x00000000
[0002.149] I> Reading eeprom i2c=2 address=0x57
[0002.153] I> Enabling gpio chip_id = 2, gpio pin = 9
[0002.159] E> I2C: slave not found in slaves.
[0002.163] E> I2C: Could not write 0 bytes to slave: 0x00ae with repeat start true.
[0002.171] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.177] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xae at 0x00000000 via instance 2.
[0002.186] E> eeprom: Failed to read I2C slave device
[0002.191] I> Disabling gpio chip_id = 2, gpio pin = 9
[0002.196] I> Eeprom read failed 0x00000000
[0002.200] I> create_pm_ids: id: 3310-1000-B02-D, len: 15
[0002.205] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0002.216] I> create_pm_ids: id: 2597-0000-500-C, len: 15
[0002.221] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0002.256] I> enabling 'vdd-hdmi' regulator
[0002.272] I> regulator 'vdd-hdmi' already enabled
[0002.276] I> hdmi cable connected
[0002.285] I> setting 'vdd-pex-1v00' regulator to 1000000 micro volts
[0002.297] I> setting 'vdd-1v8' regulator to 1800000 micro volts
[0002.303] I> retrieved tmds range from prod_list_hdmi_soc
[0002.311] E> cannot find any other nvdisp nodes
[0002.332] I> edid read success
[0002.347] I> edid read success
[0002.350] I> width = 640, height = 480, frequency = 25174825
[0002.356] I> width = 640, height = 480, frequency = 25174825
[0002.361] I> width = 1920, height = 1080, frequency = 148500000
[0002.367] I> width = 1920, height = 1080, frequency = 148500000
[0002.373] I> width = 1920, height = 1080, frequency = 148351648
[0002.378] I> width = 1280, height = 720, frequency = 74175824
[0002.384] I> width = 720, height = 480, frequency = 26973026
[0002.390] I> width = 720, height = 480, frequency = 26973026
[0002.395] I> width = 640, height = 480, frequency = 25174825
[0002.400] I> width = 1920, height = 1080, frequency = 148351648
[0002.406] I> width = 720, height = 576, frequency = 26973026
[0002.412] I> width = 1280, height = 720, frequency = 74175824
[0002.417] I> width = 1920, height = 1080, frequency = 74175824
[0002.423] I> width = 720, height = 576, frequency = 26973026
[0002.428] I> Best mode Width = 1920, Height = 1080, freq = 148351648
[0002.438] I> hdmi_enable, starting HDMI initialisation
[0002.446] I> hdmi_enable, HDMI initialisation complete
[0002.459] initializing target
[0002.462] calling apps_init()
[0002.465] starting app kernel_boot_app
[0002.488] I> found decompressor handler: lz4-legacy
[0002.492] I> decompressing BMP blob ...
[0002.505] I> Kernel type = Normal
[0002.508] I> ########## Fixed storage boot ##########
[0002.513] I> Loading kernel-bootctrl from partition
[0002.517] I> Loading partition kernel-bootctrl at 0xa8000000 from device(0x1)
[0002.532] W> tegrabl_get_kernel_bootctrl: magic number(0x00000000) is invalid
[0002.539] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data
[0002.546] W> No valid slot number is found in scratch register
[0002.551] W> Return default slot: _a
[0002.555] I> A/B: bin_type (24) slot 0
[0002.570] I> Boot image size read from image header: 9913d
[0002.576] I> Boot image load address: 0x80400000
[0002.580] I> Loading kernel from partition
[0002.584] I> Loading partition kernel at 0x80400000 from device(0x1)
[0003.544] I> Validate kernel ...
[0003.547] I> T18x: Authenticate kernel (bin_type 24), max size 0x4000000
[0003.555] I> Decrypt the buffer ... [0003.558] W> tegrabl_decrypt_block: fuse (0x0) is not burnt to do encryption (0x4); skip decryption.
[0003.567] I> done
[0003.569] I> Checking boot.img header magic ... [0003.573] I> [OK]
[0003.575] I> kernel-dtb is already loaded
[0003.579] I> Validate kernel-dtb ...
[0003.582] I> T18x: Authenticate kernel-dtb (bin_type 21), max size 0x100000
[0003.590] I> Decrypt the buffer ... [0003.593] W> tegrabl_decrypt_block: fuse (0x0) is not burnt to do encryption (0x4); skip decryption.
[0003.602] I> done
[0003.603] I> Kernel hdr @0x80400000
[0003.607] I> Kernel dtb @0x80000000
[0003.610] I> decompressor handler not found
[0003.614] I> Copying kernel image (627005 bytes) from 0x80400800 to 0x80600000 ... [0003.622] I> Done
[0003.623] I> Move ramdisk (len: 0) from 0x8049a000 to 0x947d0000
[0003.631] I> Updated bpmp info to DTB
[0003.637] I> Ramdisk: Base: 0x947d0000; Size: 0x0
[0003.641] I> Updated initrd info to DTB
[0003.645] W> WARN: Fail to override "console=none" in commandline
[0003.651] I> Active rootfs suffix: 
[0003.654] E> tegrabl_linuxboot_add_disp_param, du 1 failed to get display params
[0003.662] E> tegrabl_linuxboot_add_disp_param, du 1 failed to get display params
[0003.669] I> disabled_core_mask: 0xffffff0c
[0003.673] W> No valid slot number is found in scratch register
[0003.678] W> Return default slot: _a
[0003.682] I> Active slot suffix: 
[0003.685] I> add_boot_slot_suffix: slot_suffix = 
[0003.689] I> Linux Cmdline: console=ttyS0,115200 androidboot.presilicon=true firmware_class.path=/etc/firmware root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2  video=tegrafb earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x2772e0000 gpt rootfs.slot_suffix= tegra_fbmem2=0x800000@0x96088000 lut_mem2=0x2008@0x96085000 usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 no_console_suspend boot.slot_suffix= boot.ratchetvalues=0.2031647.1 vpr_resize bl_prof_dataptr=0x10000@0x275840000 sdhci_tegra.en_boot_part_access=1 
[0003.742] I> Updated bootarg info to DTB
[0003.746] I> eeprom_get_mac_addr: MAC (type: 0): 00:04:4b:a8:39:f1
[0003.752] I> eeprom_get_mac_addr: MAC (type: 1): 00:04:4b:a8:39:f2
[0003.758] I> eeprom_get_mac_addr: MAC (type: 2): 00:04:4b:a8:39:f3
[0003.764] E> Found no plugin manager ids in source DT
[0003.769] W> Add plugin manager ids from board info
[0003.774] W> "plugin-manager" doesn't exist, creating
[0003.779] W> "ids" doesn't exist, creating
[0003.783] W> "connection" doesn't exist, creating
[0003.788] W> "configs" doesn't exist, creating
[0003.792] I> create_pm_ids: id: 3310-1000-B02-D, len: 15
[0003.797] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0003.808] I> create_pm_ids: id: 2597-0000-500-C, len: 15
[0003.813] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0003.824] I> Adding plugin-manager/ids/3310-1000-B02=/i2c@c250000:module@0x50
[0003.831] W> "i2c@c250000" doesn't exist, creating
[0003.836] W> "module@0x50" doesn't exist, creating
[0003.841] I> Adding plugin-manager/ids/2597-0000-500=/i2c@c250000:module@0x57
[0003.848] W> "module@0x57" doesn't exist, creating
[0003.855] I> Adding plugin-manager/ids/3310-1000-B02-D
[0003.862] I> Adding plugin-manager/configs/3310-mem-type 00
[0003.868] I> Adding plugin-manager/configs/3310-power-config 00
[0003.874] I> Adding plugin-manager/configs/3310-misc-config 00
[0003.879] I> Adding plugin-manager/configs/3310-modem-config 00
[0003.885] I> Adding plugin-manager/configs/3310-touch-config 00
[0003.891] I> Adding plugin-manager/configs/3310-display-config 00
[0003.898] I> Adding plugin-manager/cvm
[0003.901] W> "chip-id" doesn't exist, creating
[0003.906] I> Adding plugin-manager/chip-id/A02P
[0003.910] W> "odm-data" doesn't exist, creating
[0003.915] I> Adding /chosen/plugin-manager/odm-data
[0003.925] I> added [base:0x80000000, size:0x70000000] to /memory
[0003.931] I> added [base:0xf0200000, size:0x185600000] to /memory
[0003.936] I> added [base:0x275e00000, size:0x200000] to /memory
[0003.942] I> added [base:0x276600000, size:0x200000] to /memory
[0003.948] I> added [base:0x277000000, size:0x200000] to /memory
[0003.954] I> Updated memory info to DTB
[0003.958] E> add_disp_param: failed to get display params for du=1
[0003.966] W> "reset" doesn't exist, creating
[0003.970] W> "pmc-reset-reason" doesn't exist, creating
[0003.976] W> "pmic-reset-reason" doesn't exist, creating
[0003.982] I> Adding ecid(000000016440364708000000190103c0) to DT
[0003.988] I> disabled_core_mask: 0xffffff0c
[0004.001] I> Add serial number:0320418051257 as DT property
[0004.010] I> Plugin-manager override starting
[0004.015] I> node /plugin-manager/fragement@0 matches
[0004.026] I> node /plugin-manager/fragement@4 matches
[0004.039] I> node /plugin-manager/fragment-sdwake-p3310-1000-300 matches
[0004.059] I> node /plugin-manager/fragement-pmon-p3310-1000-300 matches
[0004.068] I> node /plugin-manager/fragement-pmon-p3310-1000-800 matches
[0004.077] I> node /plugin-manager/fragment-devslp@0 matches
[0004.089] I> node /plugin-manager/fragment-500-pcie-config matches
[0004.104] I> node /plugin-manager/fragment-500-xusb-config matches
[0004.127] I> node /plugin-manager/fragment-p3310-c00-comm matches
[0004.141] I> node /plugin-manager/fragment-p3310-c00-pmic matches
[0004.151] I> node /plugin-manager/fragment-p3310-c01 matches
[0004.164] I> node /plugin-manager/fragment-p3310-c03 matches
[0004.211] I> node /plugin-manager/fragment-p3310-c00-camera matches
[0004.238] I> Disable plugin-manager status in FDT
[0004.242] I> Plugin-manager override finished successfully
[0004.247] I> tegrabl_load_kernel_and_dtb: Done
[0004.292] I> Kernel EP: 0x80600000, DTB: 0x80000000U-Boot 2020.04-g46e4604c78 (Jul 26 2021 - 12:10:58 -0700)SoC: tegra186
Model: NVIDIA P2771-0000-500
Board: NVIDIA P2771-0000
DRAM:  7.8 GiB
MMC:   sdhci@3400000: 1, sdhci@3460000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environmentIn:    serial
Out:   serial
Err:   serial
Net:   
Warning: ethernet@2490000 using MAC address from ROM
eth0: ethernet@2490000
Hit any key to stop autoboot:  0 
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
858 bytes read in 22 ms (38.1 KiB/s)
1:      primary kernel
Retrieving file: /boot/initrd
7238344 bytes read in 207 ms (33.3 MiB/s)
Retrieving file: /boot/Image
34484232 bytes read in 850 ms (38.7 MiB/s)
append: console=ttyS0,115200 androidboot.presilicon=true firmware_class.path=/etc/firmware root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2  video=tegrafb earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x2772e0000 gpt rootfs.slot_suffix= tegra_fbmem2=0x800000@0x96088000 lut_mem2=0x2008@0x96085000 usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 no_console_suspend boot.slot_suffix= boot.ratchetvalues=0.2031647.1 vpr_resize bl_prof_dataptr=0x10000@0x275840000 sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2 
## Flattened Device Tree blob at 80000000Booting using the fdt blob at 0x80000000
ERROR: reserving fdt memory region failed (addr=0 size=0)
ERROR: reserving fdt memory region failed (addr=0 size=0)Using Device Tree in place at 0000000080000000, end 0000000080060aa3
copying carveout for /host1x@13e00000/display-hub@15200000/display@15200000...
copying carveout for /host1x@13e00000/display-hub@15200000/display@15210000...
copying carveout for /host1x@13e00000/display-hub@15200000/display@15220000...Starting kernel ...[    0.000000] Booting Linux on physical CPU 0x100
[    0.000000] Linux version 4.9.253-tegra (buildbrain@mobile-u64-5497-d3000) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Mon Jul 26 12:19:28 PDT 2021
[    0.000000] Boot CPU: AArch64 Processor [411fd073]
[    0.000000] OF: fdt:memory scan node memory@80000000, reg size 80,
[    0.000000] OF: fdt: - 80000000 ,  70000000
[    0.000000] OF: fdt: - f0200000 ,  185600000
[    0.000000] OF: fdt: - 275e00000 ,  200000
[    0.000000] OF: fdt: - 276600000 ,  200000
[    0.000000] OF: fdt: - 277000000 ,  200000
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000003100000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] Found tegra_fbmem2: 00800000@96088000
[    0.000000] Found lut_mem2: 00002008@96085000
[    2.074617] cgroup: cgroup2: unknown option "nsdelegate"
[    3.290933] using random self ethernet address
[    3.297802] using random host ethernet address
[    3.844215] using random self ethernet address
[    3.861385] using random host ethernet address
[    4.064606] CPU1: shutdown
[    4.111078] CPU2: shutdown
[    5.170886] Bridge firewalling registeredUbuntu 18.04.5 LTS tx2-pc ttyS0tx2-pc login: 

系统探索

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:        18.04
Codename:       bionic$ uname -a
Linux tx2-pc 4.9.253-tegra #1 SMP PREEMPT Mon Jul 26 12:19:28 PDT 2021 aarch64 aarch64 aarch64 GNU/Linux$ freetotal        used        free      shared  buff/cache   available
Mem:        8038788     1432492     5831476       30740      774820     6435364
Swap:       4019376           0     4019376$ df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/mmcblk0p1 ext4       28G  4.9G   22G  19% /
none           devtmpfs  3.5G     0  3.5G   0% /dev
tmpfs          tmpfs     3.9G   40K  3.9G   1% /dev/shm
tmpfs          tmpfs     3.9G   22M  3.9G   1% /run
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     786M   20K  786M   1% /run/user/120
tmpfs          tmpfs     786M  108K  785M   1% /run/user/1000$ lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0          7:0    0    16M  1 loop 
mmcblk0      179:0    0  29.1G  0 disk 
├─mmcblk0p1  179:1    0    28G  0 part /
├─mmcblk0p2  179:2    0     4M  0 part 
├─mmcblk0p3  179:3    0     4M  0 part 
├─mmcblk0p4  179:4    0   512K  0 part 
├─mmcblk0p5  179:5    0   512K  0 part 
├─mmcblk0p6  179:6    0   512K  0 part 
├─mmcblk0p7  179:7    0   512K  0 part 
├─mmcblk0p8  179:8    0     3M  0 part 
├─mmcblk0p9  179:9    0     3M  0 part 
├─mmcblk0p10 179:10   0     2M  0 part 
├─mmcblk0p11 179:11   0     4M  0 part 
├─mmcblk0p12 179:12   0     4M  0 part 
├─mmcblk0p13 179:13   0   604K  0 part 
├─mmcblk0p14 179:14   0   604K  0 part 
├─mmcblk0p15 179:15   0     1M  0 part 
├─mmcblk0p16 179:16   0     1M  0 part 
├─mmcblk0p17 179:17   0     2M  0 part 
├─mmcblk0p18 179:18   0     2M  0 part 
├─mmcblk0p19 179:19   0     6M  0 part 
├─mmcblk0p20 179:20   0     6M  0 part 
├─mmcblk0p21 179:21   0     2M  0 part 
├─mmcblk0p22 179:22   0   128M  0 part 
├─mmcblk0p23 179:23   0   128M  0 part 
├─mmcblk0p24 179:24   0    63M  0 part 
├─mmcblk0p25 179:25   0   512K  0 part 
├─mmcblk0p26 179:26   0   256K  0 part 
├─mmcblk0p27 179:27   0   256K  0 part 
├─mmcblk0p28 179:28   0    80M  0 part 
├─mmcblk0p29 179:29   0    80M  0 part 
├─mmcblk0p30 179:30   0   512K  0 part 
├─mmcblk0p31 179:31   0   512K  0 part 
├─mmcblk0p32 259:0    0   300M  0 part 
└─mmcblk0p33 259:1    0 317.8M  0 part 
mmcblk0boot0 179:32   0     4M  1 disk 
mmcblk0boot1 179:64   0     4M  1 disk 
mmcblk0rpmb  179:96   0     4M  0 disk 
zram0        252:0    0 981.3M  0 disk [SWAP]
zram1        252:1    0 981.3M  0 disk [SWAP]
zram2        252:2    0 981.3M  0 disk [SWAP]
zram3        252:3    0 981.3M  0 disk [SWAP]$ sudo fdisk -l
...$ lsusb
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. # 难道是M.2 Key E接口的WiFi/蓝牙扩展板
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub	# 外挂的USB 3.0 Hub
Bus 001 Device 004: ID 413c:2107 Dell Computer Corp. 	# Hub 上插的 Dell 键盘
Bus 001 Device 003: ID 10c4:8105 Cygnal Integrated Products, Inc. 
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub$ lspci$ cat /proc/devices
Character devices:
510 ttyGS1 mem
511 vfio2 pty3 ttyp4 /dev/vc/04 tty4 ttyS4 ttyTCU5 /dev/tty5 /dev/console5 /dev/ptmx7 vcs10 misc13 input29 fb81 video4linux89 i2c90 mtd
108 ppp
116 alsa
128 ptm
136 pts
180 usb
188 ttyUSB
189 usb_device
226 drm
235 pgtool
236 nvme
237 ttyTHS
238 ttyTHS
239 tegra_dc_ext
240 bsg
241 hmm_device
242 nvhost
242 nvhost
242 nvhost
242 nvhost
242 nvhost
242 nvhost
242 nvhost
242 nvhost
242 nvhost
242 nvhost
243 camchar
244 watchdog
245 trusty_ipc
246 iio
247 ptp
248 pps
249 capture-isp-channel
250 capture-vi-channel
251 media
506 17000000.gp10b
252 rtc
507 stepper
253 tegra-vi-channel
508 roccat
254 gpiochip
509 hidrawBlock devices:1 ramdisk
259 blkext7 loop8 sd31 mtdblock65 sd66 sd67 sd68 sd69 sd70 sd71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
252 zram
253 device-mapper
254 virtblk$ ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255ether 02:42:9c:2a:a4:c3  txqueuelen 0  (Ethernet)RX packets 0  bytes 0 (0.0 B)RX errors 0  dropped 0  overruns 0  frame 0TX packets 0  bytes 0 (0.0 B)TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500ether 00:04:4b:a8:39:f3  txqueuelen 1000  (Ethernet)RX packets 0  bytes 0 (0.0 B)RX errors 0  dropped 0  overruns 0  frame 0TX packets 0  bytes 0 (0.0 B)TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0device interrupt 41  l4tbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500inet 192.168.55.1  netmask 255.255.255.0  broadcast 192.168.55.255inet6 fe80::1  prefixlen 128  scopeid 0x20<link>inet6 fe80::e4d3:ddff:fe72:5f49  prefixlen 64  scopeid 0x20<link>ether e6:d3:dd:72:5f:49  txqueuelen 1000  (Ethernet)RX packets 535  bytes 117619 (117.6 KB)RX errors 0  dropped 0  overruns 0  frame 0TX packets 1736  bytes 185520 (185.5 KB)TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536inet 127.0.0.1  netmask 255.0.0.0inet6 ::1  prefixlen 128  scopeid 0x10<host>loop  txqueuelen 1  (Local Loopback)RX packets 3193  bytes 222107 (222.1 KB)RX errors 0  dropped 0  overruns 0  frame 0TX packets 3193  bytes 222107 (222.1 KB)TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0rndis0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500inet6 fe80::e4d3:ddff:fe72:5f49  prefixlen 64  scopeid 0x20<link>ether e6:d3:dd:72:5f:49  txqueuelen 1000  (Ethernet)RX packets 480  bytes 103428 (103.4 KB)RX errors 0  dropped 0  overruns 0  frame 0TX packets 1794  bytes 294913 (294.9 KB)TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500inet6 fe80::e4d3:ddff:fe72:5f4b  prefixlen 64  scopeid 0x20<link>ether e6:d3:dd:72:5f:4b  txqueuelen 1000  (Ethernet)RX packets 85  bytes 18346 (18.3 KB)RX errors 0  dropped 0  overruns 0  frame 0TX packets 83  bytes 16612 (16.6 KB)TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500ether 00:04:4b:a8:39:f1  txqueuelen 1000  (Ethernet)RX packets 0  bytes 0 (0.0 B)RX errors 0  dropped 0  overruns 0  frame 0TX packets 0  bytes 0 (0.0 B)TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000link/ether 4e:af:d6:1d:7c:f2 brd ff:ff:ff:ff:ff:ff
3: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000link/ether 00:04:4b:a8:39:f3 brd ff:ff:ff:ff:ff:ff
4: l4tbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000link/ether e6:d3:dd:72:5f:49 brd ff:ff:ff:ff:ff:ff
5: rndis0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state UP mode DEFAULT group default qlen 1000link/ether e6:d3:dd:72:5f:49 brd ff:ff:ff:ff:ff:ff
6: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state UP mode DEFAULT group default qlen 1000link/ether e6:d3:dd:72:5f:4b brd ff:ff:ff:ff:ff:ff
7: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DORMANT mode DORMANT group default qlen 1000link/ether 00:04:4b:a8:39:f1 brd ff:ff:ff:ff:ff:ff
8: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default link/ether 02:42:9c:2a:a4:c3 brd ff:ff:ff:ff:ff:ff$ ls /dev/spi*
ls: cannot access '/dev/spi*': No such file or directory$ ls /dev/i2c*
/dev/i2c-0  /dev/i2c-2  /dev/i2c-4  /dev/i2c-6  /dev/i2c-8
/dev/i2c-1  /dev/i2c-3  /dev/i2c-5  /dev/i2c-7$ ls /dev/ttyS*
/dev/ttyS0  /dev/ttyS1  /dev/ttyS2  /dev/ttyS3$ ls /dev/ttyT*
/dev/ttyTCU0  /dev/ttyTHS1  /dev/ttyTHS2  /dev/ttyTHS3$ cat /etc/nv_tegra_release
# R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64, DATE: Mon Jul 26 19:36:31 UTC 2021

关闭锁屏和息屏

默认倒是不会休眠: Settings -> Power -> Don't suspend

但是会锁屏和息屏: Settings -> Brightnes & Lock, 默认5min无操作就息屏, 然后锁屏, 可以界面直接设置, 或者命令行设置

gsettings set org.gnome.desktop.session idle-delay 0
gsettings set org.gnome.desktop.screensaver lock-enabled false

命令行设置后, 重新打开Settings -> Brightnes & Lock, 发现也同步更新了

静态IP设置

电脑WiFi连网, 有线网口连接TX2开发板RJ45口. 把TX2设置为静态IP 192.168.6.157, 当然可以通过图形界面设置, 但这里我们使用命令行设置

# 设置静态IP
sudo sh -c 'echo "\nauto eth0\niface eth0 inet static\naddress 192.168.6.157\nnetmask 255.255.255.0\ngateway 192.168.6.1" >> /etc/network/interfaces'
# 设置DNS
sudo sh -c 'echo "\nDNS=114.114.114.114 8.8.8.8" >> /etc/systemd/resolved.conf'
# 重启网络服务
sudo systemctl restart networking.service# ping www.baidu.com
# 如果还不够, 可以先删除默认网关
# sudo ip route del default
# 然后把 电脑有线网口的IP添加为默认网关
# sudo ip route add default via 192.168.6.1

Win10电脑共享网络给TX2的方法

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-I2S7wugC-1642596698675)(jetson_base_notes.assets/image-20220119163134654.png)]

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-fqcm2lOB-1642596698675)(jetson_base_notes.assets/image-20220119163222979.png)]

把默认的192.168.137.1改为192.168.6.1

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-unpC7wDS-1642596698676)(jetson_base_notes.assets/image-20220119163514822.png)]

重启TX2的网络服务sudo systemctl restart networking.service, 然后就可以ping www.baidu.com

更改Ubuntu软件源和pip源

# 备份
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak## 用的比较多的有 清华, 阿里云, 中科大等的源# 阿里云源
# 把链接最后的 ubuntu 都改为 ubuntu-ports 
# 就不会出现 E: Failed to fetch 的错误了
# > 直接覆盖原有内容
# bionic 是 ubuntu 18 的代号(Codename)
sudo sh -c 'echo "deb http://mirrors.aliyun.com/ubuntu-ports/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu-ports/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu-ports/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu-ports/ bionic-backports main restricted universe multiverse" > /etc/apt/sources.list'# 更新
sudo apt update# pip源
## 安装python3-pip
sudo apt install -y python3-pip
## 升级pip
python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U
## pip配置清华源镜像
python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

ROS安装

参考 melodic/Installation/Ubuntu - ROS Wiki

Ubuntu 18.04对应Melodic. 有下面注意事项:

  • ROS空间太大, 让本就不富裕的空间雪上加霜, 如果非必须, 可以不装desktop-full版本, 装desktop 或 base版本,
  • 换国内源有时并不快
  • curl keys 那一步老出错, 手机关掉WiFi, 打开4G/5G, 共享热点, 或通过USB共享网络给TX2, 或直接复制后贴进下面的脚本里
  • 看提示有时需要 sudo apt update --fix-missing
  • rosdep 也是坑, 手机热点, 或通过USB共享网络等方法
#!/bin/bash
set -e# Setup your sources.list
# China USTC Source
sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'# Set up your keys
# https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc
sudo sh -c 'echo "
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1mQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jc
VFrQhE0L/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3tro
u5oCR+SyHN9xPnUwDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4
K/AY0jzT6OpHfXU6ytlFsI47ZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rG
aIoAWlx2H0J7sAHmqS29N9jV9mo135d+d+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+
TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS6nHrWH2WqQxRbiITl0irkQoz
pwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBNqoAQRbvWvBhPjO/p
V5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL8bwxX7UT
hM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/
/SnuexC6LYqqDuHUs5NnokzzpfS6QaWfTY5P5tz4KHJfsjDIktly3mKVfY0fSPVV
okdGpcUzvz2hq1fqjxB6MlB/1vtk0bImfcsoxBmF7H+4E9ZN1sX/tSb0KQARAQAB
tCZPcGVuIFJvYm90aWNzIDxpbmZvQG9zcmZvdW5kYXRpb24ub3JnPokCVAQTAQgA
PgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBMHPbjHmut6IaLFytPQu1vur
F8ZUBQJgsdhRBQkLTMW7AAoJEPQu1vurF8ZUTMwP/3f7EkOPIFjUdRmpNJ2db4iB
RQu5b2SJRG+KIdbvQBzKUBMV6/RUhEDPjhXZI3zDevzBewvAMKkqs2Q1cWo9WV7Z
PyTkvSyey/Tjn+PozcdvzkvrEjDMftIk8E1WzLGq7vnPLZ1q/b6Vq4H373Z+EDWa
DaDwW72CbCBLWAVtqff80CwlI2x8fYHKr3VBUnwcXNHR4+nRABfAWnaU4k+oTshC
Qucsd8vitNfsSXrKuKyz91IRHRPnJjx8UvGU4tRGfrHkw1505EZvgP02vXeRyWBR
fKiL1vGy4tCSRDdZO3ms2J2m08VPv65HsHaWYMnO+rNJmMZj9d9JdL/9GRf5F6U0
quoIFL39BhUEvBynuqlrqistnyOhw8W/IQy/ymNzBMcMz6rcMjMwhkgm/LNXoSD1
1OrJu4ktQwRhwvGVarnB8ihwjsTxZFylaLmFSfaA+OAlOqCLS1OkIVMzjW+Ul6A6
qjiCEUOsnlf4CGlhzNMZOx3low6ixzEqKOcfECpeIj80a2fBDmWkcAAjlHu6VBhA
TUDG9e2xKLzV2Z/DLYsb3+n9QW7KO0yZKfiuUo6AYboAioQKn5jh3iRvjGh2Ujpo
22G+oae3PcCc7G+z12j6xIY709FQuA49dA2YpzMda0/OX4LP56STEveDRrO+CnV6
WE+F5FaIKwb72PL4rLi4
=i0tj
-----END PGP PUBLIC KEY BLOCK-----" > ros.asc'
sudo apt-key add ros.asc
rm -f ros.asc# Installation
sudo apt update
# ROS, rqt, rviz, robot-generic libraries, 2D/3D simulators and 2D/3D perception
sudo apt install -y ros-melodic-desktop-full
# ROS, rqt, rviz, and robot-generic libraries
# sudo apt install -y ros-melodic-desktop
# ROS package, build, and communication libraries. No GUI tools.
# sudo apt install -y ros-melodic-ros-base# Environment setup
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc# Dependencies for building packages
sudo apt install -y python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential
# maybe from here you can use you mobile phone to share internet with tx2
# close mobile phone wifi, use 4g/5g network
# sudo ip route del default
# route -n
sudo rosdep init
rosdep update

下面是占用空间的比较, 2.2GB灰飞烟灭

# 装之前
$ df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/mmcblk0p1 ext4       28G  5.2G   21G  20% /
...# 装之后
$ df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/mmcblk0p1 ext4       28G  7.4G   19G  29% /

git

把整个解压后的目录初始化为git仓库, 完善.gitgnore文件

.gitattributes

*.c   diff=cpp
*.h   diff=cpp
*.dtsi diff=dts
*.dts  diff=dts

去掉 Boot 倒计时

开机图像

备忘

  • git diff > patch: How to create and apply a patch with Git Diff and Git Apply commands for your Drupal website | Specbee
  • 如何在makefile中写入“ cd”命令? - 技术盛宴的个人空间 - OSCHINA - 中文开源技术交流社区
  • 可以多线程解压么? sudo apt install -y pigz, tar --use-compress-program=pigz -xvpf xxxx.tar.gz
  • 如何删除某个文件之外的所有文件: rm -rf !(README.txt)
  • Find unknown devices using a vendor and device ID. | Device Hunt
  • VSCode内部直接看网页可行么?
  • 用命令关闭Ubuntu的自动关闭屏幕和锁屏_跃祥博客-CSDN博客_ubuntu 息屏
  • TX2下ubuntu18.04安装ROS - 科研路上的绊脚石 - 博客园 (cnblogs.com)
  • Jetson TX2 Ubuntu18.04安装ROS教程 - 知乎 (zhihu.com)
  • linux/.gitignore at master · torvalds/linux (github.com)
  • linux/.gitattributes at master · torvalds/linux (github.com)
  • JetPack Archive | NVIDIA Developer
查看全文
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

相关文章

  1. 将HIDL服务添加到系统镜像(七)

    1.添加自定义makefile文件到产品 前面几章介绍的方法一般用于开发阶段&#xff0c;在功能开发完成后&#xff0c;则需要集成到系统镜像中去。我们使用的产品则是aosp_x86_64 TARGET_PRODUCTaosp_x86_64所以需要将自定义的makefile文件添加到产品的配置makefile中去&#xff0c…...

    2024/4/19 11:33:47
  2. 15. Examples【示例】

    原文链接&#xff1a;https://datatracker.ietf.org/doc/html/rfc8445#section-15 15. Examples【示例】 This section shows two ICE examples: one using IPv4 addresses and one using IPv6 addresses. 本节展示了两个 ICE 示例&#xff1a;一个使用 IPv4 地址&#xff0c…...

    2024/4/14 13:11:41
  3. 单元测试界的高富帅,Pytest框架,手把手教学,高阶用法实战(二)

    前 言 上一篇文章入门篇咱们介绍了pytest的基本使用&#xff0c;这一篇文章专门给大家讲解pytest中关于用例执行的前后置步骤处理,pytest中用例执行的前后置处理既可以通过测试夹具(fixtrue)来实现&#xff0c;也可以通过xunit 风格的前后置方法来实现。接下来我们一起看看如何…...

    2024/4/18 13:33:23
  4. C语言-“函数注册与回调模型”的动态库:实现模块间的交互(低耦合)

    背景&#xff1a;编写一个模块的动态库&#xff0c;提供了必要的头文件和demo。 思考&#xff1a;首先弄清楚&#xff0c;要编写的库对外及提供几个接口。读懂相关头文件的结构体和自己写的库要用的函数。 在实际项目开发当中&#xff0c;有很多的库文件&#xff0c;尤其是在…...

    2024/4/30 17:16:04
  5. 【Effective Objective-C】——对象、消息、运行期

    文章目录概述理解“属性”这一概念属性特质atomic和nonatomic的区别&#xff1f;尽量将所有属性都声明为nonatomic要点在对象内部尽量直接访问实例变量理解&#xff1a;“对象等同性”这一概念特定类所具有的等同判定方法等同性判定的执行深度容器中可变类的等同性以“类族模式…...

    2024/4/14 13:11:51
  6. day13-学习笔记

    day.13笔记 一.Arrays数组的工具类 1.概念&#xff1a;此类是用来操作数组的各种方法方法的名称方法的描述public static void sort(int[] a)对指定的 int 型数组按数字升序进行排序。该排序算法是一个经过调优的快速排序法public static String toString(int[] a)返回指定数…...

    2024/4/22 22:54:58
  7. 正则,flutter人脸认证

    \D 非数字&#xff1a; [^0-9] \s 空白字符&#xff1a;[ \t\n\x0B\f\r] \S 非空白字符&#xff1a;[^\s] \w 单词字符&#xff1a;[a-zA-Z_0-9] \W 非单词字符&#xff1a;[^\w] POSIX 字符类&#xff08;仅 US-ASCII&#xff09; \p{Lower} 小写字母字符&#xff1a;[a…...

    2024/4/14 13:11:31
  8. Node中的模块系统

    使用Node编写应用程序主要就是在使用&#xff1a; EcmaScript语言和浏览器一样&#xff0c;在Node中没有Bom和Dom核心模块文件操作的fshttp服务操作的httpurl路径操作模块path路径处理模块os操作系统信息第三方模块art-template必须通过npm来下载才可以使用自己写的模块自己创…...

    2024/4/30 16:29:26
  9. 阿里P8财富自由,薪资200W+?看完我慕了呀。

    阿里目前校招生的级别均在P5&#xff0c;由此可见P4这个职级已经消失了。主力员工是P6-P8。 对于阿里来有一些业务趋近于边缘化&#xff0c;这类职级为P8的在总部也只是为P7职级。 一、阿里P8一年赚多少钱 阿里目前的薪资分成&#xff1a;薪资期权。工作三年以内一般就是工资…...

    2024/4/14 13:11:21
  10. 牛客真题编程——day1

    环境&#xff1a;c 1、连续最大和 一个数组有 N 个元素&#xff0c;求连续子数组的最大和。 例如&#xff1a;[-1,2,1]&#xff0c;和最大的连续子数组为[2,1]&#xff0c;其和为 3 首先使用穷举法&#xff0c;嵌套循环遍历出最大和&#xff0c;但是时间复杂度为n2&#xff…...

    2024/4/30 17:56:25
  11. LinkedList,set和排序总结

    1.Linkedlist 1.1概述 Linkedlist:底层是双向链表&#xff0c;因为不是连续存储&#xff0c;只是能找到下一个元素的地址&#xff0c;所以进行添加删除操作效率较高。但查询效率较低&#xff0c;因为只能从第一个挨个找。 1.2基本使用 public static void main(String[] ar…...

    2024/4/30 17:52:52
  12. VSCode 离线安装中文语言包

    1.插件市场 Extensions for Visual Studio family of products | Visual Studio Marketplace 输入&#xff1a; language 下载地址&#xff1a; ​​​​​​https://ms-ceintl.gallery.vsassets.io/_apis/public/gallery/publisher/MS-CEINTL/extension/vscode-language-pac…...

    2024/4/14 13:11:31
  13. 计算机机器视觉原理之分类器2

    计算机视觉一.对于损失函数二.正则项与超参数三.优化算法参数优化梯度下降算法梯度计算&#xff1a;随机梯度下降算法小批量梯度下降算法四.数据集划分K折交叉验证五.数据预处理一.对于损失函数 损失函数&#xff1a; 单样本的多累支撑向量机损失&#xff1a; 线性分类器&am…...

    2024/4/29 13:02:00
  14. 【Android春招每日一练】(六) 剑指4题+Java并发

    文章目录概览剑指offer1.21 链表中倒数第k个节点1.22 反转链表1.23 合并两个排序链表1.24 树的子结构Java并发2.18 并发编程2.18 悲观锁与乐观锁2.19 AQS2.20 BlockingQueue2.21 ConcurrentHashMap总结概览 剑指offer&#xff1a;链表中倒数第k个节点、反转链表、合并两个排序…...

    2024/4/14 13:11:26
  15. OSPF概述

    ...

    2024/4/14 13:11:26
  16. C语言指针篇(初)

    目录 一&#xff1a;什么是指针 指针 指针变量 &和*操作符 二&#xff1a;内存单元了解指针 什么是内存单元 指针权限的概念 三&#xff1a;指针的运算 指针和整数&#xff1a; 指针和指针&#xff1a; 四&#xff1a;二级指针和多级指针&#xff1a; 五&#…...

    2024/4/14 13:11:36
  17. 大数据技术SpringBoot框架---实现前后端分离(MVC)对数据进行可视化

    文章目录Spring Boot1、什么是Spring Boot2、Spring Boot 的特点3、SpringBoot项目结构4、Spring Boot 分层1、Dao 层2、Service 层3、Controller 层4、view 层5、Entity 层6、它们之间的关系7、总结配置开发环境创建 Spring Boot 项目使用 Maven 创建启动 Spring Boot加载数据…...

    2024/4/18 23:45:43
  18. 预备役2022.1.19学习总结11

    今天我看了一下KMP算法&#xff0c;神奇的是我知道它每个字在讲什么&#xff0c;但是写了一个题怎么都过不了。 讲讲我看到的 数据结构KMP算法配图详解&#xff08;超详细&#xff09;_哈顿之光的博客-CSDN博客_数据结构kmp算法详解 KMP算法的作用是在一个已知字符串中查找子…...

    2024/4/7 5:09:17
  19. Cookie机制

    Cookie机制 一、Cookie术语 Cookie&#xff0c;有时也用其复数形式 Cookies。类型为“小型文本文件”&#xff0c;是某些网站为了辨别用户身份&#xff0c;进行Session 跟踪而储存在用户本地终端上的数据&#xff08;通常经过加密&#xff09;&#xff0c;由用户客户端计算机…...

    2024/4/18 21:48:39
  20. React 路由组件选择与页面刷新问题分析

    背景 总结最近 React 开发遇到的几个问题及解决过程。 state 跳转数据丢失问题 通过 state 传递数据的方式进行跳转时&#xff0c;如果 F5 刷新页面&#xff0c;会丢失参数导致页面异常。 解决办法之一可以用缓存&#xff1a; // 如果是刷新页面&#xff0c;则没有 state …...

    2024/4/28 15:29:51

最新文章

  1. 二维码门楼牌管理应用平台建设:共治力量信息管理的革新

    文章目录 前言一、二维码门楼牌管理应用平台的建设背景二、共治力量信息管理的重要性三、二维码门楼牌管理应用平台在共治力量信息管理中的应用四、二维码门楼牌管理应用平台的优势与挑战五、结语 前言 随着信息技术的飞速发展&#xff0c;二维码门楼牌管理应用平台的建设已成…...

    2024/4/30 19:29:34
  2. 梯度消失和梯度爆炸的一些处理方法

    在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言&#xff0c;在此感激不尽。 权重和梯度的更新公式如下&#xff1a; w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...

    2024/3/20 10:50:27
  3. 【Java】假如把集合体系看作购物中心

    购物中心入口&#xff1a;Java集合框架 “Java集合广场”的购物中心&#xff0c;这是一个集合了各种奇特商店的地方&#xff0c;每个商店都充满了不同的宝藏&#xff08;数据结构&#xff09;。 一楼&#xff1a;基础集合区 - Collection接口 一楼是基础集合区&#xff0c;这…...

    2024/4/30 2:40:01
  4. 算法四十天-删除排序链表中的重复元素

    删除排序链表中的重复元素 题目要求 解题思路 一次遍历 由于给定的链表是排好序的&#xff0c;因此重复的元素在链表中的出现的位置是连续的&#xff0c;因此我们只需要对链表进行一次遍历&#xff0c;就可以删除重复的元素。 具体地&#xff0c;我们从指针cur指向链表的头节…...

    2024/4/30 1:36:56
  5. 【外汇早评】美通胀数据走低,美元调整

    原标题:【外汇早评】美通胀数据走低,美元调整昨日美国方面公布了新一期的核心PCE物价指数数据,同比增长1.6%,低于前值和预期值的1.7%,距离美联储的通胀目标2%继续走低,通胀压力较低,且此前美国一季度GDP初值中的消费部分下滑明显,因此市场对美联储后续更可能降息的政策…...

    2024/4/29 23:16:47
  6. 【原油贵金属周评】原油多头拥挤,价格调整

    原标题:【原油贵金属周评】原油多头拥挤,价格调整本周国际劳动节,我们喜迎四天假期,但是整个金融市场确实流动性充沛,大事频发,各个商品波动剧烈。美国方面,在本周四凌晨公布5月份的利率决议和新闻发布会,维持联邦基金利率在2.25%-2.50%不变,符合市场预期。同时美联储…...

    2024/4/30 18:14:14
  7. 【外汇周评】靓丽非农不及疲软通胀影响

    原标题:【外汇周评】靓丽非农不及疲软通胀影响在刚结束的周五,美国方面公布了新一期的非农就业数据,大幅好于前值和预期,新增就业重新回到20万以上。具体数据: 美国4月非农就业人口变动 26.3万人,预期 19万人,前值 19.6万人。 美国4月失业率 3.6%,预期 3.8%,前值 3…...

    2024/4/29 2:29:43
  8. 【原油贵金属早评】库存继续增加,油价收跌

    原标题:【原油贵金属早评】库存继续增加,油价收跌周三清晨公布美国当周API原油库存数据,上周原油库存增加281万桶至4.692亿桶,增幅超过预期的74.4万桶。且有消息人士称,沙特阿美据悉将于6月向亚洲炼油厂额外出售更多原油,印度炼油商预计将每日获得至多20万桶的额外原油供…...

    2024/4/30 18:21:48
  9. 【外汇早评】日本央行会议纪要不改日元强势

    原标题:【外汇早评】日本央行会议纪要不改日元强势近两日日元大幅走强与近期市场风险情绪上升,避险资金回流日元有关,也与前一段时间的美日贸易谈判给日本缓冲期,日本方面对汇率问题也避免继续贬值有关。虽然今日早间日本央行公布的利率会议纪要仍然是支持宽松政策,但这符…...

    2024/4/27 17:58:04
  10. 【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响

    原标题:【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响近日伊朗局势升温,导致市场担忧影响原油供给,油价试图反弹。此时OPEC表态稳定市场。据消息人士透露,沙特6月石油出口料将低于700万桶/日,沙特已经收到石油消费国提出的6月份扩大出口的“适度要求”,沙特将满…...

    2024/4/27 14:22:49
  11. 【外汇早评】美欲与伊朗重谈协议

    原标题:【外汇早评】美欲与伊朗重谈协议美国对伊朗的制裁遭到伊朗的抗议,昨日伊朗方面提出将部分退出伊核协议。而此行为又遭到欧洲方面对伊朗的谴责和警告,伊朗外长昨日回应称,欧洲国家履行它们的义务,伊核协议就能保证存续。据传闻伊朗的导弹已经对准了以色列和美国的航…...

    2024/4/28 1:28:33
  12. 【原油贵金属早评】波动率飙升,市场情绪动荡

    原标题:【原油贵金属早评】波动率飙升,市场情绪动荡因中美贸易谈判不安情绪影响,金融市场各资产品种出现明显的波动。随着美国与中方开启第十一轮谈判之际,美国按照既定计划向中国2000亿商品征收25%的关税,市场情绪有所平复,已经开始接受这一事实。虽然波动率-恐慌指数VI…...

    2024/4/30 9:43:09
  13. 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试

    原标题:【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试美国和伊朗的局势继续升温,市场风险情绪上升,避险黄金有向上突破阻力的迹象。原油方面稍显平稳,近期美国和OPEC加大供给及市场需求回落的影响,伊朗局势并未推升油价走强。近期中美贸易谈判摩擦再度升级,美国对中…...

    2024/4/27 17:59:30
  14. 【原油贵金属早评】市场情绪继续恶化,黄金上破

    原标题:【原油贵金属早评】市场情绪继续恶化,黄金上破周初中国针对于美国加征关税的进行的反制措施引发市场情绪的大幅波动,人民币汇率出现大幅的贬值动能,金融市场受到非常明显的冲击。尤其是波动率起来之后,对于股市的表现尤其不安。隔夜美国股市出现明显的下行走势,这…...

    2024/4/25 18:39:16
  15. 【外汇早评】美伊僵持,风险情绪继续升温

    原标题:【外汇早评】美伊僵持,风险情绪继续升温昨日沙特两艘油轮再次发生爆炸事件,导致波斯湾局势进一步恶化,市场担忧美伊可能会出现摩擦生火,避险品种获得支撑,黄金和日元大幅走强。美指受中美贸易问题影响而在低位震荡。继5月12日,四艘商船在阿联酋领海附近的阿曼湾、…...

    2024/4/28 1:34:08
  16. 【原油贵金属早评】贸易冲突导致需求低迷,油价弱势

    原标题:【原油贵金属早评】贸易冲突导致需求低迷,油价弱势近日虽然伊朗局势升温,中东地区几起油船被袭击事件影响,但油价并未走高,而是出于调整结构中。由于市场预期局势失控的可能性较低,而中美贸易问题导致的全球经济衰退风险更大,需求会持续低迷,因此油价调整压力较…...

    2024/4/26 19:03:37
  17. 氧生福地 玩美北湖(上)——为时光守候两千年

    原标题:氧生福地 玩美北湖(上)——为时光守候两千年一次说走就走的旅行,只有一张高铁票的距离~ 所以,湖南郴州,我来了~ 从广州南站出发,一个半小时就到达郴州西站了。在动车上,同时改票的南风兄和我居然被分到了一个车厢,所以一路非常愉快地聊了过来。 挺好,最起…...

    2024/4/29 20:46:55
  18. 氧生福地 玩美北湖(中)——永春梯田里的美与鲜

    原标题:氧生福地 玩美北湖(中)——永春梯田里的美与鲜一觉醒来,因为大家太爱“美”照,在柳毅山庄去寻找龙女而错过了早餐时间。近十点,向导坏坏还是带着饥肠辘辘的我们去吃郴州最富有盛名的“鱼头粉”。说这是“十二分推荐”,到郴州必吃的美食之一。 哇塞!那个味美香甜…...

    2024/4/25 18:39:14
  19. 氧生福地 玩美北湖(下)——奔跑吧骚年!

    原标题:氧生福地 玩美北湖(下)——奔跑吧骚年!让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 啊……啊……啊 两…...

    2024/4/26 23:04:58
  20. 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!

    原标题:扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!扒开伪装医用面膜,翻六倍价格宰客!当行业里的某一品项火爆了,就会有很多商家蹭热度,装逼忽悠,最近火爆朋友圈的医用面膜,被沾上了污点,到底怎么回事呢? “比普通面膜安全、效果好!痘痘、痘印、敏感肌都能用…...

    2024/4/27 23:24:42
  21. 「发现」铁皮石斛仙草之神奇功效用于医用面膜

    原标题:「发现」铁皮石斛仙草之神奇功效用于医用面膜丽彦妆铁皮石斛医用面膜|石斛多糖无菌修护补水贴19大优势: 1、铁皮石斛:自唐宋以来,一直被列为皇室贡品,铁皮石斛生于海拔1600米的悬崖峭壁之上,繁殖力差,产量极低,所以古代仅供皇室、贵族享用 2、铁皮石斛自古民间…...

    2024/4/28 5:48:52
  22. 丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者

    原标题:丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者【公司简介】 广州华彬企业隶属香港华彬集团有限公司,专注美业21年,其旗下品牌: 「圣茵美」私密荷尔蒙抗衰,产后修复 「圣仪轩」私密荷尔蒙抗衰,产后修复 「花茵莳」私密荷尔蒙抗衰,产后修复 「丽彦妆」专注医学护…...

    2024/4/30 9:42:22
  23. 广州械字号面膜生产厂家OEM/ODM4项须知!

    原标题:广州械字号面膜生产厂家OEM/ODM4项须知!广州械字号面膜生产厂家OEM/ODM流程及注意事项解读: 械字号医用面膜,其实在我国并没有严格的定义,通常我们说的医美面膜指的应该是一种「医用敷料」,也就是说,医用面膜其实算作「医疗器械」的一种,又称「医用冷敷贴」。 …...

    2024/4/30 9:43:22
  24. 械字号医用眼膜缓解用眼过度到底有无作用?

    原标题:械字号医用眼膜缓解用眼过度到底有无作用?医用眼膜/械字号眼膜/医用冷敷眼贴 凝胶层为亲水高分子材料,含70%以上的水分。体表皮肤温度传导到本产品的凝胶层,热量被凝胶内水分子吸收,通过水分的蒸发带走大量的热量,可迅速地降低体表皮肤局部温度,减轻局部皮肤的灼…...

    2024/4/30 9:42:49
  25. 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...

    解析如下&#xff1a;1、长按电脑电源键直至关机&#xff0c;然后再按一次电源健重启电脑&#xff0c;按F8健进入安全模式2、安全模式下进入Windows系统桌面后&#xff0c;按住“winR”打开运行窗口&#xff0c;输入“services.msc”打开服务设置3、在服务界面&#xff0c;选中…...

    2022/11/19 21:17:18
  26. 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。

    %读入6幅图像&#xff08;每一幅图像的大小是564*564&#xff09; f1 imread(WashingtonDC_Band1_564.tif); subplot(3,2,1),imshow(f1); f2 imread(WashingtonDC_Band2_564.tif); subplot(3,2,2),imshow(f2); f3 imread(WashingtonDC_Band3_564.tif); subplot(3,2,3),imsho…...

    2022/11/19 21:17:16
  27. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...

    win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面&#xff0c;在等待界面中我们需要等待操作结束才能关机&#xff0c;虽然这比较麻烦&#xff0c;但是对系统进行配置和升级…...

    2022/11/19 21:17:15
  28. 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...

    有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows&#xff0c;请勿关闭计算机”的提示&#xff0c;要过很久才能进入系统&#xff0c;有的用户甚至几个小时也无法进入&#xff0c;下面就教大家这个问题的解决方法。第一种方法&#xff1a;我们首先在左下角的“开始…...

    2022/11/19 21:17:14
  29. win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...

    置信有很多用户都跟小编一样遇到过这样的问题&#xff0c;电脑时发现开机屏幕显现“正在配置Windows Update&#xff0c;请勿关机”(如下图所示)&#xff0c;而且还需求等大约5分钟才干进入系统。这是怎样回事呢&#xff1f;一切都是正常操作的&#xff0c;为什么开时机呈现“正…...

    2022/11/19 21:17:13
  30. 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...

    Win7系统开机启动时总是出现“配置Windows请勿关机”的提示&#xff0c;没过几秒后电脑自动重启&#xff0c;每次开机都这样无法进入系统&#xff0c;此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一&#xff1a;开机按下F8&#xff0c;在出现的Windows高级启动选…...

    2022/11/19 21:17:12
  31. 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...

    有不少windows10系统用户反映说碰到这样一个情况&#xff0c;就是电脑提示正在准备windows请勿关闭计算机&#xff0c;碰到这样的问题该怎么解决呢&#xff0c;现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法&#xff1a;1、2、依次…...

    2022/11/19 21:17:11
  32. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...

    今天和大家分享一下win7系统重装了Win7旗舰版系统后&#xff0c;每次关机的时候桌面上都会显示一个“配置Windows Update的界面&#xff0c;提示请勿关闭计算机”&#xff0c;每次停留好几分钟才能正常关机&#xff0c;导致什么情况引起的呢&#xff1f;出现配置Windows Update…...

    2022/11/19 21:17:10
  33. 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...

    只能是等着&#xff0c;别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚&#xff0c;只能是考虑备份数据后重装系统了。解决来方案一&#xff1a;管理员运行cmd&#xff1a;net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...

    2022/11/19 21:17:09
  34. 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?

    原标题&#xff1a;电脑提示“配置Windows Update请勿关闭计算机”怎么办&#xff1f;win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢&#xff1f;一般的方…...

    2022/11/19 21:17:08
  35. 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...

    关机提示 windows7 正在配置windows 请勿关闭计算机 &#xff0c;然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;关机提示 windows7 正在配…...

    2022/11/19 21:17:05
  36. 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...

    钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...

    2022/11/19 21:17:05
  37. 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...

    前几天班里有位学生电脑(windows 7系统)出问题了&#xff0c;具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面&#xff0c;长时间没反应&#xff0c;无法进入系统。这个问题原来帮其他同学也解决过&#xff0c;网上搜了不少资料&#x…...

    2022/11/19 21:17:04
  38. 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...

    本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法&#xff0c;并在最后教给你1种保护系统安全的好方法&#xff0c;一起来看看&#xff01;电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中&#xff0c;添加了1个新功能在“磁…...

    2022/11/19 21:17:03
  39. 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...

    许多用户在长期不使用电脑的时候&#xff0c;开启电脑发现电脑显示&#xff1a;配置windows更新失败&#xff0c;正在还原更改&#xff0c;请勿关闭计算机。。.这要怎么办呢&#xff1f;下面小编就带着大家一起看看吧&#xff01;如果能够正常进入系统&#xff0c;建议您暂时移…...

    2022/11/19 21:17:02
  40. 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...

    配置windows update失败 还原更改 请勿关闭计算机&#xff0c;电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;配置windows update失败 还原更改 请勿关闭计算机&#x…...

    2022/11/19 21:17:01
  41. 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...

    不知道大家有没有遇到过这样的一个问题&#xff0c;就是我们的win7系统在关机的时候&#xff0c;总是喜欢显示“准备配置windows&#xff0c;请勿关机”这样的一个页面&#xff0c;没有什么大碍&#xff0c;但是如果一直等着的话就要两个小时甚至更久都关不了机&#xff0c;非常…...

    2022/11/19 21:17:00
  42. 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...

    当电脑出现正在准备配置windows请勿关闭计算机时&#xff0c;一般是您正对windows进行升级&#xff0c;但是这个要是长时间没有反应&#xff0c;我们不能再傻等下去了。可能是电脑出了别的问题了&#xff0c;来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...

    2022/11/19 21:16:59
  43. 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...

    我们使用电脑的过程中有时会遇到这种情况&#xff0c;当我们打开电脑之后&#xff0c;发现一直停留在一个界面&#xff1a;“配置Windows Update失败&#xff0c;还原更改请勿关闭计算机”&#xff0c;等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢&#xff0…...

    2022/11/19 21:16:58
  44. 如何在iPhone上关闭“请勿打扰”

    Apple’s “Do Not Disturb While Driving” is a potentially lifesaving iPhone feature, but it doesn’t always turn on automatically at the appropriate time. For example, you might be a passenger in a moving car, but your iPhone may think you’re the one dri…...

    2022/11/19 21:16:57