# First attempt to use bootburn, Yocto build, python errors

**URL:** <https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695>\
**Category:** DRIVE AGX Orin General\
**Tags:** drive-platform-setup\
**Created:** [August 16, 2024, 10:31pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695 "2024-08-16T22:31:58Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwuertele](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dwuertele](https://forums.developer.nvidia.com/u/dwuertele)\
**Post date:** [August 16, 2024, 10:31pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/1 "2024-08-16T22:31:58Z")

</div>

Please provide the following info (tick the boxes after creating this topic):  
**Software Version**  
 DRIVE OS 6.0.8.1  
 DRIVE OS 6.0.6  
 DRIVE OS 6.0.5  
 DRIVE OS 6.0.4 (rev. 1)  
 DRIVE OS 6.0.4 SDK  
 other

**Target Operating System**  
 Linux  
 QNX  
 other

**Hardware Platform**  
 DRIVE AGX Orin Developer Kit (940-63710-0010-300)  
 DRIVE AGX Orin Developer Kit (940-63710-0010-200)  
 DRIVE AGX Orin Developer Kit (940-63710-0010-100)  
 DRIVE AGX Orin Developer Kit (940-63710-0010-D00)  
 DRIVE AGX Orin Developer Kit (940-63710-0010-C00)  
 DRIVE AGX Orin Developer Kit (not sure its number)  
 other

**SDK Manager Version**  
 1.9.3.10904  
 other

**Host Machine Version**  
 native Ubuntu Linux 20.04 Host installed with SDK Manager  
 native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers  
 native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers  
 other

I followed the instructions at [Setting Up the Yocto Environment Using Docker Containers | NVIDIA Docs](https://developer.nvidia.com/docs/drive/drive-os/6.0.9/public/drive-os-linux-sdk/common/topics/sys_programming/SettingUpYoctoEnvironmentDockerContainersNGC20.html) to install the Yocto build docker and its dependencies, and I followed [To build NVIDIA Yocto Project-based components | NVIDIA Docs](https://developer.nvidia.com/docs/drive/drive-os/6.0.9/public/drive-os-linux-sdk/common/topics/sys_programming/TobuildNVIDIAYoctoProjectbasedcomponents23.html) to build yocto. This went well, and subsequently I attempted to flash this build to my Orin development kit.  
I followed the instructions at [To flash Yocto built images via bootburn | NVIDIA Docs](https://developer.nvidia.com/docs/drive/drive-os/6.0.9/public/drive-os-linux-sdk/common/topics/sys_programming/ToflashYoctobuildproductsviabootburn47.html) to copy the images to the canonical paths within the docker filesystem, then invoked bootburn as directed, but encountered this error:

/docker:d0421ebcf1f9:/drive/ #$ cd /drive/drive-foundation/tools/flashtools/bootburn/  
/docker:d0421ebcf1f9:/drive/ #$ ./bootburn.py -b p3710-10-a04  
\*\*\*\*\*\* Starting bootburn/bootburn.py \*\*\*\*\*\*\*\*  
\*\*\*\*\*\*\*\*\* Starting t23x bootburn py \*\*\*\*\*\*\*\*  
Bootburn Starting with arguments [‘./bootburn.py’, ‘-b’, ‘p3710-10-a04’]  
logfile :: /drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py/bootburn.txt  
cwd in setBoardConfigPath :: /drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py  
trying hardware folder:  
/drive/drive-foundation/platform-config/hardware/nvidia/platform/t23x/automotive/flashing/board\_configs

cwd in loadBoardGoldenRegsFile :: /drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py  
Default Schema:/drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py/nv-customer-data-schema.json

Check finished successfully  
Done parsing command line

[bootburn]: [getListTargetsInRecovery(3975)] : Bus 001 Device 007: ID 0955:7045 NVIDIA Corp. USB Virtual Hub  
[bootburn]: [CheckRecoveryTargets(3933)] : No recovery-target found; Make sure the target device is connected to the  
[bootburn]: [CheckRecoveryTargets(3934)] : host and is in recovery mode. Exiting  
command line used was:  
[‘./bootburn.py’, ‘-b’, ‘p3710-10-a04’]

ERROR\_TARGET\_RECOVERY

Exception caught in bootburn  
Traceback (most recent call last):  
File “/drive/drive-foundation/tools/flashtools/bootburn/…/bootburn\_t23x\_py/bootburn.py”, line 271, in bootburn  
bootburnLib.CheckRecoveryTargets()  
File “/drive/drive-foundation/tools/flashtools/bootburn/…/bootburn\_t23x\_py/bootburn\_lib.py”, line 3935, in CheckRecoveryTargets  
AbnormalTermination(“ERROR\_TARGET\_RECOVERY”, nverror.NvError\_ResourceError)  
File “/drive/drive-foundation/tools/flashtools/bootburn/…/bootburn\_t23x\_py/flashtools\_nverror.py”, line 251, in AbnormalTermination  
raise OSError(errorCode)  
OSError: 15

What are the next steps for making progress with flashing this build?

---

<div class="post-metadata">

**Author:** ![dwuertele](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dwuertele](https://forums.developer.nvidia.com/u/dwuertele)\
**Post date:** [August 16, 2024, 10:56pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/2 "2024-08-16T22:56:28Z")

</div>

Some further details: I did in fact send the commands to the Aurix to trigger recovery mode:

NvShell\>tegrarecovery x1 on  
tegrarecovery x1 on  
Info: Executing cmd: tegrarecovery, argc: 2, args: x1 on  
Command Executed  
NvShell\>tegrareset x1  
tegrareset x1  
Info: Executing cmd: tegrareset, argc: 1, args: x1  
NvShell\>INFO: MCU\_PLTFPWRMGR: Reseting Tegra  
INFO: MCU\_PLTFPWRMGR: VRS11 PG Monitoring disable.  
INFO: NVMCU\_ORINPWRCTRL: Wait for Safe Shutdown notification…(20 seconds max)  
INFO: BtChn\_Cfg: Tegra x1 Boot Chain is : A  
INFO: BtChn\_Cfg: Bootchain Pin 0xc set to 0  
INFO: BtChn\_Cfg: Bootchain Pin 0x150 set to 0  
INFO: MCU\_PLTFPWRMGR: Tegra reset trigger is complete !  
Command Executed  
MCU\_FOH: MCU FOH : Initiate SOC Error Pin Monitoring & SPI communication  
MCU\_FOH: MCU FOH : Start Monitoring Initiated  
MCU\_FOH: Spi Transmit Started  
MCU\_FOH: SOC error pin is asserted  
ERROR: MCU\_ERRHANDLER: SOC error pin is asserted  
INFO: SftyMon\_IoHwAbs: PG\_VRS11 monitoring started…  
INFO: MCU\_SWC\_FanControl: max\_rpm fan2 : 0  
INFO: MCU\_SWC\_FanControl: maxrpm of fan2 has more than 50 percent deviation against rated maxrpm  
INFO : MCU\_ISTMGR: IST Manager initialized to send/receive commands  
INFO : IST\_TESTAPP: IST Result Ready to fetch

It is unclear to me whether these log lines indicate that recovery mode was successfully entered.

---

<div class="post-metadata">

**Author:** ![SivaRamaKrishnaNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sivaramakrishnanv/32/14043_2.png) [@SivaRamaKrishnaNV](https://forums.developer.nvidia.com/u/SivaRamaKrishnaNV)\
**Post date:** [August 17, 2024, 1:54am UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/3 "2024-08-17T01:54:38Z")

</div>

Dear @dwuertele ,  
Could you share `lsusb` output on host after connecting host and target?

---

<div class="post-metadata">

**Author:** ![dwuertele](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dwuertele](https://forums.developer.nvidia.com/u/dwuertele)\
**Post date:** [August 19, 2024, 4:33pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/5 "2024-08-19T16:33:52Z")

</div>

Calling `lsusb` when orin host is booted and responsive:  
/docker:d0421ebcf1f9:/drive/drive-foundation/tools/flashtools/bootburn/ #$ lsusb  
Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub  
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub  
Bus 001 Device 007: ID 0955:7045 NVIDIA Corp. USB Virtual Hub  
Bus 001 Device 003: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub  
Bus 001 Device 006: ID 0b1f:03ee Insyde Software Corp. USB Virtual Hub  
Bus 001 Device 004: ID 0557:9241 ATEN International Co., Ltd  
Bus 001 Device 002: ID 1d6b:0107 Linux Foundation USB Virtual Hub  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Calling `lsusb` after issuing `tegrarecovery x1 on` to Aurix NvShell  
/docker:d0421ebcf1f9:/drive/drive-foundation/tools/flashtools/bootburn/ #$ lsusb  
Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub  
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub  
Bus 001 Device 007: ID 0955:7045 NVIDIA Corp. USB Virtual Hub  
Bus 001 Device 003: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub  
Bus 001 Device 006: ID 0b1f:03ee Insyde Software Corp. USB Virtual Hub  
Bus 001 Device 004: ID 0557:9241 ATEN International Co., Ltd  
Bus 001 Device 002: ID 1d6b:0107 Linux Foundation USB Virtual Hub  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Calling `lsusb` after issuing `tegrareset x1` to Aurix on NvShell:  
/docker:d0421ebcf1f9:/drive/drive-foundation/tools/flashtools/bootburn/ #$ lsusb  
Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub  
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub  
Bus 001 Device 007: ID 0955:7045 NVIDIA Corp. USB Virtual Hub  
Bus 001 Device 003: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub  
Bus 001 Device 006: ID 0b1f:03ee Insyde Software Corp. USB Virtual Hub  
Bus 001 Device 004: ID 0557:9241 ATEN International Co., Ltd  
Bus 001 Device 002: ID 1d6b:0107 Linux Foundation USB Virtual Hub  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Waiting 30 seconds and calling `lsusb` again, waiting a minute, waiting 10 minutes, always results in the same output.

---

<div class="post-metadata">

**Author:** ![dwuertele](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dwuertele](https://forums.developer.nvidia.com/u/dwuertele)\
**Post date:** [August 19, 2024, 4:40pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/6 "2024-08-19T16:40:30Z")

</div>

Here is the output from the orin boot console (via picocom /dev/ttyACM0 --baud 115200) while issuing the tegrareset command to Aurix NvShell:

132] I\> Task: strap war set (0x5000c245)  
[0000.136] I\> strap vaEnd:0x0  
[0000.443] I\> Non-ECC region[4]: Start:0x0, End:0x0  
[0c00000 size:0x100000 align: 0x100000  
[0000.613] I\> allocated(COI\> allocated(CO:05) base:0x847800000 size:0x100000 align: 0x100000.767] I\> Task: Common rail init (0x500148ed)  
[0000.782] I\> DO89] W\> PMIC\_CONFIG: Rail: MEMIO rail config not found in MB1 BCTming for MemoryType: 4 and MemBctRevision: 9  
[0000.842] I\> MSS \> Encryption: MTS: en, TX: en, VPR: en, GSC: en  
[0000.861] I\>: MB1 fixed firewalls (0x5001fc05)  
: Binary name: BPMP\_FW  
[0001.136] I\> Size of crypto header is 8ead from storage  
[0001.156] I\> BCH address is : 0x807fe000  
[0006] I\> Binary BPMP\_FW loaded successfully at 0x80000000 (0x1027c9] I\> Slot: 0  
[0001.311] I\> Binary[17] block-0 (partition size:t: 0  
[0001.606] I\> Binary[27] block-0 (partition size: 0x100000001.844] I\> Task: Load MB2rf binary to SC7 ctx (0x500214b5)  
[00k is success  
[0002.138] I\> Binary MB2 loaded successfully at 0xut (0x5000d3e1)  
[0002.153] I\> Task: Prepare MB2 params (0x5000d251)  
[0002.215] I\> Program IPC carveouts  
[0002.222] I\> ProgramI\> MB2 (version: 0.0.0.0-t234-54845784-3bc7e73a)  
I\> t234-A01-0-stance: 3  
stance: 0  
I\> UFS Hardware init successful  
I\> Shiftins (0x50011190)  
I\> Partition name: A\_mb1-bootloader  
I\> Size ox74 I\> 0xff I\> 0x1d I\> 0xce I\> 0x69 I\> 0x0c I\> 0xde I\> 0xte  
I\> Task: Memctrl reconfig pending clients (0x50002060)  
I\> T23b90)  
I\> Unhalting SPE…  
I\> Enabling combined UART  
����spex53535452 to psc  
��initialized avfs\_clk\_platform  
initialized p 0x1  
fmon\_enable: FMON\_HUB: detected fault 0x1  
initialized clky: mdev@31 adc 0x41 lvl 132 range [113, 160]  
vrs12\_check\_level\_oseconds

Time taken from Error Reporting��ncrypt  
enable xusb��I\> kernel : oem authentication of header done  
I\> kernel : meto\_Test: moduleID: 120  
Dio\_Test: sw\_major\_version: 1  
Dio\_Test: 288 bytes  
I\> secure-os: PVIT version check passed  
I\> tos: plai��������r Thread: 0x0  
NP Debug Server Thread: 0x2  
NP Debug Server Thre  
vsc\_dev\_mgr\_get\_storage\_device\_by\_id: set up device ufs\_lun0  
v� ��I��0��]��x��:��4�� ��00��m��0��e��0��t�� ��as��:��s�� �� ��d��0��e��x��v��8��\_��3��i��0��d��point is not defined in PCT: pkcs11\_keystore\_ta\_2, 130  
nvsciipCurrent boot mode is: GPIO  
Active bootchain is: A  
���nvhost guest connect: module\_id:1  
pc\_type:[1]  
Registered event\_type:[1] for dce\_core\_ipc\_type:[3] module\_id:7  
nvhost guest connect: module\_id:16  
ing target\_board from device-tree …  
0m…

t Storage.  
…  
��[4.102589] Safety I2S: Clearing reset for i2s7…  
[ 4��ED25519 PreHash SIGN GENERATE/VERIFY test success!  
les and Directories.  
terface\_configure.slice.  
[OK] Listening on eropy to /de…random 's pool a hardware RNG.  
[OK [ OK] Started Load/Save RF Kill Switch Ste7GCM ENCRYPT/DECRYPT test success!  
SHA1 test success!  
SHA224 test success!  
SHA384 test success!  
SHA512\_224 test success!  
SHA512\_256 test success!  
SHA3\_224 tesSHA Async test success!  
OK ] Finished Set console font and keymapnished Load Kernel Module pstore\_zone.  
[ Oontainer runtime.

---

<div class="post-metadata">

**Author:** ![dwuertele](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dwuertele](https://forums.developer.nvidia.com/u/dwuertele)\
**Post date:** [August 19, 2024, 4:48pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/7 "2024-08-19T16:48:54Z")

</div>

Here is the output from the orin console (via picocom /dev/ttyACM0 --baud 115200) while issuing the `tegrareset x1` to the Aurix NvShell:

[0000.136] I\> strap vaEnd:0x0  
[0000.443] I\> Non-ECC region[4]: Start:0x0, End:0x0  
[0c00000 size:0x100000 align: 0x100000  
[0000.613] I\> allocated(COI\> allocated(CO:05) base:0x847800000 size:0x100000 align: 0x100000.767] I\> Task: Common rail init (0x500148ed)  
[0000.782] I\> DO89] W\> PMIC\_CONFIG: Rail: MEMIO rail config not found in MB1 BCTming for MemoryType: 4 and MemBctRevision: 9  
[0000.842] I\> MSS \> Encryption: MTS: en, TX: en, VPR: en, GSC: en  
[0000.861] I\>: MB1 fixed firewalls (0x5001fc05)  
: Binary name: BPMP\_FW  
[0001.136] I\> Size of crypto header is 8ead from storage  
[0001.156] I\> BCH address is : 0x807fe000  
[0006] I\> Binary BPMP\_FW loaded successfully at 0x80000000 (0x1027c9] I\> Slot: 0  
[0001.311] I\> Binary[17] block-0 (partition size:t: 0  
[0001.606] I\> Binary[27] block-0 (partition size: 0x100000001.844] I\> Task: Load MB2rf binary to SC7 ctx (0x500214b5)  
[00k is success  
[0002.138] I\> Binary MB2 loaded successfully at 0xut (0x5000d3e1)  
[0002.153] I\> Task: Prepare MB2 params (0x5000d251)  
[0002.215] I\> Program IPC carveouts  
[0002.222] I\> ProgramI\> MB2 (version: 0.0.0.0-t234-54845784-3bc7e73a)  
I\> t234-A01-0-stance: 3  
stance: 0  
I\> UFS Hardware init successful  
I\> Shiftins (0x50011190)  
I\> Partition name: A\_mb1-bootloader  
I\> Size ox74 I\> 0xff I\> 0x1d I\> 0xce I\> 0x69 I\> 0x0c I\> 0xde I\> 0xte  
I\> Task: Memctrl reconfig pending clients (0x50002060)  
I\> T23b90)  
I\> Unhalting SPE…  
I\> Enabling combined UART  
spex53535452 to psc  
initialized avfs\_clk\_platform  
initialized p 0x1  
fmon\_enable: FMON\_HUB: detected fault 0x1  
initialized clky: mdev@31 adc 0x41 lvl 132 range [113, 160]  
vrs12\_check\_level\_oseconds

Time taken from Error Reportingncrypt  
enable xusbI\> kernel : oem authentication of header done  
I\> kernel : meto\_Test: moduleID: 120  
Dio\_Test: sw\_major\_version: 1  
Dio\_Test: 288 bytes  
I\> secure-os: PVIT version check passed  
I\> tos: plair Thread: 0x0  
NP Debug Server Thread: 0x2  
NP Debug Server Thre  
vsc\_dev\_mgr\_get\_storage\_device\_by\_id: set up device ufs\_lun0  
v I0]x:4 00m0e0t as:s d0exv8\_3i0dpoint is not defined in PCT: pkcs11\_keystore\_ta\_2, 130  
nvsciipCurrent boot mode is: GPIO  
Active bootchain is: A  
nvhost guest connect: module\_id:1  
pc\_type:[1]  
Registered event\_type:[1] for dce\_core\_ipc\_type:[3] module\_id:7  
nvhost guest connect: module\_id:16  
ing target\_board from device-tree …  
0m…

t Storage.  
…  
[4.102589] Safety I2S: Clearing reset for i2s7…  
[ 4ED25519 PreHash SIGN GENERATE/VERIFY test success!  
les and Directories.  
terface\_configure.slice.  
[OK] Listening on ropy to /derandom 's pool a hardware RNG.  
[OK [ OK] Started Load/Save RF Kill Switch St7GCM ENCRYPT/DECRYPT test success!  
SHA1 test success!  
SHA224 test success!  
SHA384 test success!  
SHA512\_224 test success!  
SHA512\_256 test success!  
SHA3\_224 tesSHA Async test success!  
OK ] Finished Set console font and keymapnished Load Kernel Module pstore\_zone.  
[ Oontainer runtime.  
000b

---

<div class="post-metadata">

**Author:** ![SivaRamaKrishnaNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sivaramakrishnanv/32/14043_2.png) [@SivaRamaKrishnaNV](https://forums.developer.nvidia.com/u/SivaRamaKrishnaNV)\
**Post date:** [August 19, 2024, 5:42pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/8 "2024-08-19T17:42:12Z")

</div>

Dear @dwuertele,  
After you set the board in recovery mode, I would expect to see an additional NVIDIA device when you run `lsusb` on host.  
Could you share the host and target connection pictures ?  
Please check the discussion in [Sdkmanager Drive Orin Flash OS 6.0.6 fails - #22 by VickNV](https://forums.developer.nvidia.com/t/sdkmanager-drive-orin-flash-os-6-0-6-fails/262365/22) if it helps.

---

<div class="post-metadata">

**Author:** ![dwuertele](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dwuertele](https://forums.developer.nvidia.com/u/dwuertele)\
**Post date:** [August 19, 2024, 6:46pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/9 "2024-08-19T18:46:11Z")

</div>

The link to the discussion helped - I was unaware of the need for the second USB cable. I have made progress and I can see the device in recovery mode, but I am getting a new python failure:

Bind partitions does not look to have been run for board p3710-10-a04  
please make bind partitions before running bootburn

What does this refer to? I can not find the text “Bind partitions” in the documentation.

---

<div class="post-metadata">

**Author:** ![SivaRamaKrishnaNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sivaramakrishnanv/32/14043_2.png) [@SivaRamaKrishnaNV](https://forums.developer.nvidia.com/u/SivaRamaKrishnaNV)\
**Post date:** [August 19, 2024, 7:19pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/10 "2024-08-19T19:19:33Z")

</div>

Dear @dwuertele,  
Please check if P/N matches to board variant in the table at [DRIVE Platform Supported Boards | NVIDIA Docs](https://developer.nvidia.com/docs/drive/drive-os/6.0.10/public/drive-os-linux-sdk/external/drive-quickstart-guide/dita/common/topics/installation/appendix/drive-os-platform-supported-boards.html)

Please see [Bind Options | NVIDIA Docs](https://developer.nvidia.com/docs/drive/drive-os/6.0.10/public/drive-os-linux-sdk/common/topics/virtualization_guide/avpct-bind-options-sdk.html?hl=bind%2Cnvidia%2Cdocs) for bind commands.

Note once flashing is successful, you have to put the board in normal mode and reset the tegra.

---

<div class="post-metadata">

**Author:** ![dwuertele](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dwuertele](https://forums.developer.nvidia.com/u/dwuertele)\
**Post date:** [August 19, 2024, 7:48pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/11 "2024-08-19T19:48:24Z")

</div>

The Orin system does not have any physical indication of part number on its chassis, but I did find a sticker on the Dev Kit box: 940-63710-0010-200

According to [DRIVE Platform Supported Boards | NVIDIA Docs](https://developer.nvidia.com/docs/drive/drive-os/6.0.10/public/drive-os-linux-sdk/external/drive-quickstart-guide/dita/common/topics/installation/appendix/drive-os-platform-supported-boards.html) the part number 940-63710-0010-200 is associated with board variant p3710-10-s05.

I re-ran bootburn using this exact board variant, but I am still seeing an error mentioning “Bind partitions”. The document you linked with the bind commands says “A bind process creates a hypervisor image that combines DTB/IFS/KERNEL of server VMs, Hypervisor kernel, and PCT.” I am not attempting to deploy a VM or Hypervisor, and I do not know what PCT refers to. What is the actual purpose of executing the bind\_partitions program?

Here is the actual bootburn output:

/docker:d0421ebcf1f9:/drive/ #$ ./bootburn.py -b p3710-10-s05  
\*\*\*\*\*\* Starting bootburn/bootburn.py \*\*\*\*\*\*\*\*  
\*\*\*\*\*\*\*\*\* Starting t23x bootburn py \*\*\*\*\*\*\*\*  
Bootburn Starting with arguments [‘./bootburn.py’, ‘-b’, ‘p3710-10-s05’]  
logfile :: /drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py/bootburn.txt  
cwd in setBoardConfigPath :: /drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py  
trying hardware folder:  
/drive/drive-foundation/platform-config/hardware/nvidia/platform/t23x/automotive/flashing/board\_configs

cwd in loadBoardGoldenRegsFile :: /drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py  
Default Schema:/drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py/nv-customer-data-schema.json

Check finished successfully  
Done parsing command line

[bootburn]: [getListTargetsInRecovery(3975)] : Bus 001 Device 010: ID 0955:7023 NVIDIA Corp. APX  
[bootburn]: [getListTargetsInRecovery(3975)] : Bus 001 Device 009: ID 0955:7045 NVIDIA Corp. USB Virtual Hub  
p3710-10-s05  
logfile :: /drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py/bootburnTegra-A.txt  
cwd in setBoardConfigPath :: /drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py  
trying hardware folder:  
/drive/drive-foundation/platform-config/hardware/nvidia/platform/t23x/automotive/flashing/board\_configs

cwd in loadBoardGoldenRegsFile :: /drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py  
Default Schema:/drive/drive-foundation/tools/flashtools/bootburn\_t23x\_py/nv-customer-data-schema.json

Platform config path - /drive/drive-foundation/out/p3710-10-s05/platform\_config.json - does not exist

Platform config file not found – not overiding values  
Check finished successfully  
Done parsing command line

Platform config path - /drive/drive-foundation/out/p3710-10-s05/platform\_config.json - does not exist

Platform config file not found – not overiding values  
[bootburnTegra-A]: [GetTargetECID(792)] : Target BR\_CID: 0x80012344705DD45E20000000080080C0

[bootburnTegra-A]: [GetTargetECID(793)] : Target ECID: 0x4705DD45E20000000080080C0

[bootburnTegra-A]: [CheckFuseForAuthentication(810)] : Target Authentication State : SHA-2  
[bootburnTegra-A]: [GenAdbSerialNum(558)] : ADB serial number is 8S2TQHF2000000401060  
[bootburnTegra-A]: [CheckForDeviceType(908)] : Detected ES production device type  
\*\*\* in targetConfig, s\_BrickOnTCFFlashingFail not found in board\_config \*\*\*  
\*\*\* in targetConfig, s\_BrickOnFirmwareFlashingFail not found in board\_config \*\*\*  
command line used was:  
[‘./bootburn.py’, ‘-b’, ‘p3710-10-s05’]

Bind partitions does not look to have been run for board p3710-10-s05  
please make bind partitions before running bootburn

Exception 4 raised in bootburn\_active  
Traceback (most recent call last):  
File “/drive/drive-foundation/tools/flashtools/bootburn/…/bootburn\_t23x\_py/bootburn.py”, line 134, in bootburn\_active  
targetConfig.BoardSetFilePathsAndDefaultValues()  
File “/drive/drive-foundation/tools/flashtools/bootburn/…/bootburn\_t23x\_py/target\_config.py”, line 1261, in BoardSetFilePathsAndDefaultValues  
AbnormalTermination(msg, nverror.NvError\_BadParameter)  
File “/drive/drive-foundation/tools/flashtools/bootburn/…/bootburn\_t23x\_py/flashtools\_nverror.py”, line 251, in AbnormalTermination  
raise OSError(errorCode)  
OSError: 4

---

<div class="post-metadata">

**Author:** ![dwuertele](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dwuertele](https://forums.developer.nvidia.com/u/dwuertele)\
**Post date:** [August 19, 2024, 8:01pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/12 "2024-08-19T20:01:52Z")

</div>

I am still ignorant of the purpose of the bind\_partitions step, but I did find the bind\_partitions program, and executed it like this:

./drive-foundation/make/bind\_partitions --board p3710-10-s05 linux

This resulted in some files getting removed and rebuilt, and it terminated with a zero exit status. So I re-tried running bootburn, and got the same error:

Bind partitions does not look to have been run for board p3710-10-a04  
please make bind partitions before running bootburn

---

<div class="post-metadata">

**Author:** ![SivaRamaKrishnaNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sivaramakrishnanv/32/14043_2.png) [@SivaRamaKrishnaNV](https://forums.developer.nvidia.com/u/SivaRamaKrishnaNV)\
**Post date:** [August 20, 2024, 3:12pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/13 "2024-08-20T15:12:56Z")

</div>

Dear @dwuertele,

> [@dwuertele](#):
>
> According to [DRIVE Platform Supported Boards | NVIDIA Docs](https://developer.nvidia.com/docs/drive/drive-os/6.0.10/public/drive-os-linux-sdk/external/drive-quickstart-guide/dita/common/topics/installation/appendix/drive-os-platform-supported-boards.html) the part number 940-63710-0010-200 is associated with board variant p3710-10-s05

So you need to use board variant `p3710-10-s05` in your all commands(bind/bootburn) instead of `p3710-10-a04`.

> [@dwuertele](#):
>
> Bind partitions does not look to have been run for board p3710-10-a04  
> please make bind partitions before running bootburn

Did you use p3710-10-a04 in bootburn command?

---

<div class="post-metadata">

**Author:** ![dwuertele](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dwuertele](https://forums.developer.nvidia.com/u/dwuertele)\
**Post date:** [August 20, 2024, 5:46pm UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/14 "2024-08-20T17:46:01Z")

</div>

After making sure to use `p3710-10-s05` in all the commands, bootburn worked.

What exactly is bind\_partitions doing?

---

<div class="post-metadata">

**Author:** ![SivaRamaKrishnaNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sivaramakrishnanv/32/14043_2.png) [@SivaRamaKrishnaNV](https://forums.developer.nvidia.com/u/SivaRamaKrishnaNV)\
**Post date:** [August 21, 2024, 1:52am UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/15 "2024-08-21T01:52:09Z")

</div>

**There is no update from you for a period, assuming this is not an issue anymore.  
Hence, we are closing this topic. If need further support, please open a new one.  
Thanks**

> [@dwuertele](#):
>
> After making sure to use `p3710-10-s05` in all the commands, bootburn worked

So is the issue resolved now?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [October 3, 2024, 3:38am UTC](https://forums.developer.nvidia.com/t/first-attempt-to-use-bootburn-yocto-build-python-errors/303695/17 "2024-10-03T03:38:20Z")

</div>

Closed on October 3, 2024, 3:38am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
