I have a 128gb nvme ssd connected to a Jetson carrier board and I’m using the TX2NX SoM.
Following the instructions here I attempted to flash the device, and I’m getting the following error message:
...
[ 0.9249 ]
[ 0.9249 ] Updating mb1-bct with storage information
[ 0.9268 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 0.9275 ] MB1-BCT version: 0xf
[ 0.9277 ] There is no MB1-BCT device type corresponding to pt type: 9
[ 0.9277 ]
Error: Return value 2
Command tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
Failed flashing t186ref.
Here is my flash command:
sudo ROOTFS_AB=1 ./flash.sh jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
And here’s what I added to the <partition_layout/>
in bootloader/t186ref/cfg/flash_l4t_t186_rootfs_ab.xml
:
<device type="nvme" instance="0" sector_size="512" num_sectors="250069680">
<partition name="master_boot_record" type="protective_master_boot_record">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 512 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Contains protective MBR. </description>
</partition>
<partition name="primary_gpt" type="primary_gpt">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> PPTSIZE </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Contains primary GPT of the `sdmmc_user` device. All
partitions defined after this entry are configured in the kernel, and are
accessible by standard partition tools such as gdisk and parted. </description>
</partition>
<partition name="SMALLIMG" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 8388608 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<align_boundary> 4096 </align_boundary>
<unique_guid> 80d55227-b8b1-48aa-ac95-5ffb2be7648f </unique_guid>
<filename> smallimage.img </filename>
<description> Just a very small partition. </description>
</partition>
<partition name="secondary_gpt" type="secondary_gpt">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 0xFFFFFFFFFFFFFFFF </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Contains secondary GPT of the `sdmmc_user`
device. </description>
</partition>
</device>
Is there something I’m missing?