一、下载刷机包https://developer.nvidia.com/embedded/jetson-linux-archive选择需要的版本下载这两个包Driver Package (BSP)Sample Root Filesystem二、解压缩刷机包官方文档https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/text/IN/QuickStart.htmltar xf ${L4T_RELEASE_PACKAGE} cd Linux_for_Tegra/rootfs/ sudo tar xpf ../../${SAMPLE_FS_PACKAGE} cd .. sudo ./apply_binaries.sh这里${L4T_RELEASE_PACKAGE}是BSP包的路径${SAMPLE_FS_PACKAGE}是sample root filesystem路径。三、刷机将Jetson用usb口连接在电脑上按抓recover按钮的同时重启Jetson这样Jetson就会进入Recover模式。执行sudo ./flash.sh ${BOARD} mmcblk0p1这里${BOARD}选项ModuleModule type *Carrier boardConfigurationConfiguration notesJetson AGX Orin 32 GB (P3701-0000)DevelopmentJetson AGX Orin reference carrier board (P3737-0000)jetson-agx-orin-devkitFlashes QSPI-NOR and eMMCJetson Xavier NX (P3668-0000)DevelopmentJetson Xavier NX reference carrier board (P3509-0000)jetson-xavier-nx-devkitFlashes QSPI-NOR and microSD CardJetson Xavier NX 8 GB-DRAM (P3668-0001) 16 GB-DRAM (P3668-0003)ProductionJetson Xavier NX reference carrier board (P3509-0000)jetson-xavier-nx-devkit-emmcFlashes QSPI-NOR and eMMCJetson AGX Xavier 16 GB-DRAM (P2888-0001), 32 GB-DRAM (P2888-0003), 64 GB-DRAM (P2888-0005)Development productionJetson AGX Xavier reference carrier board (P2822-0000)jetson-agx-xavier-devkitFlashes internal eMMCJetson AGX Xavier Industrial (P2888-0008)ProductionJetson AGX Xavier reference carrier board (P2822-0000)jetson-agx-xavier-industrialFlashes eMMC*Development modules are sold only as components of a developer kit. Production modules are compatible with the listed carrier boards, but are intended primarily for production use, and are only sold separately. Development production modules are sold both ways.注意在刷机过程中可能会遇到 bootloader/tergrasign_v3.py的相关报错原因是刷机包中的python脚本是用python2写的我们电脑上可能用的是python3。修改bootloader/tergrasign_v3_util.py文件如下注释掉原来的write_file函数 Write data to given file handle #def write_file(file_handle, data): # try: # if isinstance(data, str): # file_handle.write(data.encode(utf-8)) # else: # file_handle.write(data) # except IOError: # info_print(Cannot write %s \n %(file_name)) def write_file(file_handle, data): # Handle different data types if isinstance(data, bytearray): # Bytearray - convert to bytes or string as needed if hasattr(file_handle, mode) and b in file_handle.mode: file_handle.write(bytes(data)) else: file_handle.write(data.decode(utf-8, errorsignore)) elif isinstance(data, bytes): # Bytes object if hasattr(file_handle, mode) and b in file_handle.mode: file_handle.write(data) else: file_handle.write(data.decode(utf-8, errorsignore)) elif isinstance(data, str): # String object if hasattr(file_handle, mode) and b in file_handle.mode: file_handle.write(data.encode(utf-8)) else: file_handle.write(data) else: # Try to convert to string as fallback file_handle.write(str(data))再执行sudo ./flash.sh ${BOARD} mmcblk0p1等待烧录结束重启刷机完成。四、安装软件参考https://www.cnblogs.com/SkyXZ/p/18636647
jetson agx xaviar刷机过程
发布时间:2026/5/23 7:40:26
一、下载刷机包https://developer.nvidia.com/embedded/jetson-linux-archive选择需要的版本下载这两个包Driver Package (BSP)Sample Root Filesystem二、解压缩刷机包官方文档https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/text/IN/QuickStart.htmltar xf ${L4T_RELEASE_PACKAGE} cd Linux_for_Tegra/rootfs/ sudo tar xpf ../../${SAMPLE_FS_PACKAGE} cd .. sudo ./apply_binaries.sh这里${L4T_RELEASE_PACKAGE}是BSP包的路径${SAMPLE_FS_PACKAGE}是sample root filesystem路径。三、刷机将Jetson用usb口连接在电脑上按抓recover按钮的同时重启Jetson这样Jetson就会进入Recover模式。执行sudo ./flash.sh ${BOARD} mmcblk0p1这里${BOARD}选项ModuleModule type *Carrier boardConfigurationConfiguration notesJetson AGX Orin 32 GB (P3701-0000)DevelopmentJetson AGX Orin reference carrier board (P3737-0000)jetson-agx-orin-devkitFlashes QSPI-NOR and eMMCJetson Xavier NX (P3668-0000)DevelopmentJetson Xavier NX reference carrier board (P3509-0000)jetson-xavier-nx-devkitFlashes QSPI-NOR and microSD CardJetson Xavier NX 8 GB-DRAM (P3668-0001) 16 GB-DRAM (P3668-0003)ProductionJetson Xavier NX reference carrier board (P3509-0000)jetson-xavier-nx-devkit-emmcFlashes QSPI-NOR and eMMCJetson AGX Xavier 16 GB-DRAM (P2888-0001), 32 GB-DRAM (P2888-0003), 64 GB-DRAM (P2888-0005)Development productionJetson AGX Xavier reference carrier board (P2822-0000)jetson-agx-xavier-devkitFlashes internal eMMCJetson AGX Xavier Industrial (P2888-0008)ProductionJetson AGX Xavier reference carrier board (P2822-0000)jetson-agx-xavier-industrialFlashes eMMC*Development modules are sold only as components of a developer kit. Production modules are compatible with the listed carrier boards, but are intended primarily for production use, and are only sold separately. Development production modules are sold both ways.注意在刷机过程中可能会遇到 bootloader/tergrasign_v3.py的相关报错原因是刷机包中的python脚本是用python2写的我们电脑上可能用的是python3。修改bootloader/tergrasign_v3_util.py文件如下注释掉原来的write_file函数 Write data to given file handle #def write_file(file_handle, data): # try: # if isinstance(data, str): # file_handle.write(data.encode(utf-8)) # else: # file_handle.write(data) # except IOError: # info_print(Cannot write %s \n %(file_name)) def write_file(file_handle, data): # Handle different data types if isinstance(data, bytearray): # Bytearray - convert to bytes or string as needed if hasattr(file_handle, mode) and b in file_handle.mode: file_handle.write(bytes(data)) else: file_handle.write(data.decode(utf-8, errorsignore)) elif isinstance(data, bytes): # Bytes object if hasattr(file_handle, mode) and b in file_handle.mode: file_handle.write(data) else: file_handle.write(data.decode(utf-8, errorsignore)) elif isinstance(data, str): # String object if hasattr(file_handle, mode) and b in file_handle.mode: file_handle.write(data.encode(utf-8)) else: file_handle.write(data) else: # Try to convert to string as fallback file_handle.write(str(data))再执行sudo ./flash.sh ${BOARD} mmcblk0p1等待烧录结束重启刷机完成。四、安装软件参考https://www.cnblogs.com/SkyXZ/p/18636647