./bootloader/t210ref/cfg/flash_l4t_t210_spi_sd_p3448.xml
<?xml version="1.0"?>
<!-- Nvidia Tegra Partition Layout Version 1.0.0 -->
<partition_layout version="01.00.0000">
<device type="spi" instance="0">
<partition name="BCT" type="boot_config_table">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 262144 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Contains Boot Configuration Table (BCT). </description>
</partition>
<partition name="NXC" type="NVCTYPE">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> NVCFILE </filename>
<description> **Required.** Contains TegraBoot binary. </description>
</partition>
<partition name="PT" type="partition_table">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> flash.xml.bin </filename>
<description> **Required.** Contains Partition Table. </description>
</partition>
<partition name="NXC_R" type="NVCTYPE">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> NVCFILE </filename>
<description> **Required.** Contains a redundant copy of the TegraBoot
binary. </description>
</partition>
<partition name="UBENV" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x3D8000 </start_location>
<size> 32768 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Reserved for U-Boot environment. </description>
</partition>
<partition name="VER_b" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x3E0000 </start_location>
<size> 32768 </size>
<file_system_attribute> 0 </file_system_attribute>
<partition_attribute> 0 </partition_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> VERFILE </filename>
<description> **Required.** Contains a redundant copy of BSP version
information. </description>
</partition>
<partition name="VER" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x3F0000 </start_location>
<size> 32768 </size>
<file_system_attribute> 0 </file_system_attribute>
<partition_attribute> 0 </partition_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> VERFILE </filename>
<description> **Required.** Contains BSP version information. </description>
</partition>
</device>
<device type="sdcard" instance="0">
<partition name="GP1" type="GP1">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 2097152 </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 `sdcard` 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="TXC" id="2" type="TBCTYPE">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 131072 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TBCFILE </filename>
<description> **Required.** Contains TegraBoot CPU-side binary. </description>
</partition>
<partition name="RP1" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 458752 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> DTBFILE </filename>
<description> **Required.** Contains Bootloader DTB binary. </description>
</partition>
<partition name="EBT" type="bootloader">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 589824 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> EBTFILE </filename>
<description> **Required.** Contains CBoot, the final boot stage CPU bootloader
binary that loads the binary in the kernel partition.. </description>
</partition>
<partition name="WX0" type="WB0TYPE">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> WB0FILE </filename>
<description> **Required.** Contains warm boot binary. </description>
</partition>
<partition name="BXF" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<file_system_attribute> 0 </file_system_attribute>
<partition_attribute> 0 </partition_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> BPFFILE </filename>
<description> **Required.** Contains SC7 entry firmware. </description>
</partition>
<partition name="BXF-DTB" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 393216 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> BPFDTB-FILE </filename>
<description> **Optional.** Reserved for future use by BPMP DTB binary; can't remove. </description>
</partition>
<partition name="FX" type="FBTYPE">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> FBFILE </filename>
<description> **Optional.** Reserved for fuse bypass; removeable. </description>
</partition>
<partition name="TXS" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 458752 </size>
<file_system_attribute> 0 </file_system_attribute>
<partition_attribute> 0 </partition_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TOSFILE </filename>
<description> **Required.** Contains TOS binary. </description>
</partition>
<partition name="DXB" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 458752 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> DTBFILE </filename>
<description> **Required.** Contains kernel DTB binary. </description>
</partition>
<partition name="LNX" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 786432 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> LNXFILE </filename>
<description> **Required.** Contains U-Boot, which loads and launches the kernel from
the rootfs at `/boot`. </description>
</partition>
<partition name="EXS" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<file_system_attribute> 0 </file_system_attribute>
<partition_attribute> 0 </partition_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> EKSFILE </filename>
<description> **Optional.** Contains the encrypted keys. </description>
</partition>
<partition name="BMP" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> bmp.blob </filename>
<description> **Optional.** Contains BMP images for splash screen display during
boot. </description>
</partition>
<partition name="RP4" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 131072 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> rp4.blob </filename>
<description> **Required.** Contains XUSB firmware file, making XUSB
a true USB 3.0 compliant host controller. </description>
</partition>
<partition name="APP" id="1" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> APPSIZE </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> APPUUID </unique_guid>
<filename> APPFILE </filename>
<description> **Required.** Contains the rootfs. This partition must be assigned
the "1" for id as it is physically put to the end of the device, so that it
can be accessed as the fixed known special device `/dev/mmcblk0p1`. </description>
</partition>
<partition name="GPT" type="GPT">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> -1 </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 `sdcard` device. </description>
</partition>
</device>
</partition_layout>
./bootloader/t210ref/cfg/flash_l4t_t210_max-spi_sd_p3448.xml:
<?xml version="1.0"?>
<!-- Nvidia Tegra Partition Layout Version 1.0.0 -->
<partition_layout version="01.00.0000">
<device type="spi" instance="0">
<partition name="BCT" type="boot_config_table">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 262144 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Contains Boot Configuration Table (BCT). </description>
</partition>
<partition name="NXC" type="NVCTYPE">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> NVCFILE </filename>
<description> **Required.** Contains TegraBoot binary. </description>
</partition>
<partition name="PT" type="partition_table">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> flash.xml.bin </filename>
<description> **Required.** Contains Partition Table. </description>
</partition>
<partition name="NXC_R" type="NVCTYPE">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> NVCFILE </filename>
<description> **Required.** Contains a redundant copy of the TegraBoot
binary. </description>
</partition>
<partition name="TXC" type="TBCTYPE">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 131072 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TBCFILE </filename>
<description> **Required.** Contains TegraBoot CPU-side binary. </description>
</partition>
<partition name="RP1" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 327680 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> DTBFILE </filename>
<description> **Required.** Contains Bootloader DTB binary. </description>
</partition>
<partition name="EBT" type="bootloader">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 589824 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> EBTFILE </filename>
<description> **Required.** Contains CBoot, the final boot stage CPU bootloader
binary that loads the binary in the kernel partition.. </description>
</partition>
<partition name="WX0" type="WB0TYPE">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> WB0FILE </filename>
<description> **Required.** Contains warm boot binary. </description>
</partition>
<partition name="BXF" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<file_system_attribute> 0 </file_system_attribute>
<partition_attribute> 0 </partition_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> BPFFILE </filename>
<description> **Required.** Contains SC7 entry firmware. </description>
</partition>
<partition name="BXF-DTB" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> BPFDTB-FILE </filename>
<description> **Optional.** Reserved for future use by BPMP DTB binary;
can't remove. </description>
</partition>
<partition name="TXS" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 458752 </size>
<file_system_attribute> 0 </file_system_attribute>
<partition_attribute> 0 </partition_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TOSFILE </filename>
<description> **Required.** Contains TOS binary. </description>
</partition>
<partition name="DXB" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 327680 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> DTBFILE </filename>
<description> **Required.** Contains kernel DTB binary. </description>
</partition>
<partition name="LNX" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 753664 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> LNXFILE </filename>
<description> **Required.** Contains U-Boot, which loads and launches the kernel from
the rootfs at `/boot`. </description>
</partition>
<partition name="EXS" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<file_system_attribute> 0 </file_system_attribute>
<partition_attribute> 0 </partition_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> EKSFILE </filename>
<description> **Optional.** Contains the encrypted keys. </description>
</partition>
<partition name="BMP" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> bmp.blob </filename>
<description> **Optional.** Contains BMP images for splash screen display during
boot. </description>
</partition>
<partition name="RP4" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 131072 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> rp4.blob </filename>
<description> **Required.** Contains XUSB firmware file, making XUSB
a true USB 3.0 compliant host controller. </description>
</partition>
<partition name="UBENV" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x3D8000 </start_location>
<size> 32768 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Reserved for U-Boot environment. </description>
</partition>
<partition name="VER_b" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x3E0000 </start_location>
<size> 32768 </size>
<file_system_attribute> 0 </file_system_attribute>
<partition_attribute> 0 </partition_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> VERFILE </filename>
<description> **Required.** Contains a redundant copy of BSP version
information. </description>
</partition>
<partition name="VER" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x3F0000 </start_location>
<size> 32768 </size>
<file_system_attribute> 0 </file_system_attribute>
<partition_attribute> 0 </partition_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> VERFILE </filename>
<description> **Required.** Contains BSP version information. </description>
</partition>
</device>
<device type="sdcard" instance="0">
<partition name="GP1" type="GP1">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 2097152 </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 `sdcard` 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="APP" id="1" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> APPSIZE </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> APPUUID </unique_guid>
<filename> APPFILE </filename>
<description> **Required.** Contains the rootfs. This partition must be assigned
the "1" for id as it is physically put to the end of the device, so that it
can be accessed as the fixed known special device `/dev/mmcblk0p1`. </description>
</partition>
<partition name="GPT" type="GPT">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> -1 </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 `sdcard` device. </description>
</partition>
</device>
</partition_layout>
jetson-nano-devkit.conf:
#!/bin/bash
# Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of NVIDIA CORPORATION nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
EMMC_CFG=flash_l4t_t210_max-spi_sd_p3448.xml;
BLBlockSize=1048576;
source "${LDK_DIR}/p3448-0000.conf.common";
T21BINARGS="--bins \"EBT cboot.bin; "
if [ "${BUILD_SD_IMAGE}" == 1 ]; then
EMMC_CFG=flash_l4t_t210_spi_sd_p3448.xml
fi