Created
August 15, 2025 02:59
-
-
Save kraj/b54e2deb778d05e7ea060d5ef81c6866 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- | |
# SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. | |
# All rights reserved. | |
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary | |
# | |
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual | |
# property and proprietary rights in and to this material, related | |
# documentation and any modifications thereto. Any use, reproduction, | |
# disclosure or distribution of this material and related documentation | |
# without an express license agreement from NVIDIA CORPORATION or | |
# its affiliates is strictly prohibited. | |
--> | |
<!-- Nvidia Tegra Partition Layout Version 1.0.0 --> | |
<partition_layout version="01.00.0000"> | |
<device type="external" instance="0" sector_size="512" num_sectors="EXT_NUM_SECTORS" > | |
<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> | |
</partition> | |
<partition name="primary_gpt" type="primary_gpt"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 19968 </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
</partition> | |
<partition name="A_kernel" id="3" type="kernel"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 134217728 </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
<filename> LNXFILE </filename> | |
</partition> | |
<partition name="A_kernel-dtb" type="kernel_dtb"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 786432 </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
<filename> DTB_FILE </filename> | |
</partition> | |
<partition name="A_reserved_on_user" type="data"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 33161216 </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
</partition> | |
<partition name="B_kernel" type="kernel"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 134217728 </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
<filename> LNXFILE_b </filename> | |
</partition> | |
<partition name="B_kernel-dtb" type="kernel_dtb"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 786432 </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
<filename> DTB_FILE </filename> | |
</partition> | |
<partition name="B_reserved_on_user" type="data"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 33161216 </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
</partition> | |
<partition name="RECNAME" type="kernel"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> RECSIZE </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
<filename> RECFILE </filename> | |
</partition> | |
<partition name="RECDTB-NAME" type="kernel_dtb"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 524288 </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
<filename> RECDTB-FILE </filename> | |
</partition> | |
<partition name="esp" type="data"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 67108864 </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 0x8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
<filename> ESP_FILE </filename> | |
<partition_type_guid> C12A7328-F81F-11D2-BA4B-00A0C93EC93B </partition_type_guid> | |
<description> **Required.** EFI system partition with L4T Launcher. </description> | |
</partition> | |
<partition name="RECNAME_alt" type="kernel"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> RECSIZE </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
</partition> | |
<partition name="RECDTB-NAME_alt" type="kernel_dtb"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 524288 </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
</partition> | |
<partition name="esp_alt" type="data"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 67108864 </size> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 0x8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
<description> **Required.** EFI system partition for fail-safe ESP update. </description> | |
</partition> | |
<partition name="reserved" type="data"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<size> 502792192 </size> <!-- Recalculate the size if RECSIZE changed --> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 8 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
<description> **Required.** Reserve space in case there is any partition change | |
required in the future, for example, adding new partitions or increasing size | |
of some partitions. </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> | |
<align_boundary> 16384 </align_boundary> | |
<percent_reserved> 0 </percent_reserved> | |
<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/nvme0n1p1`. </description> | |
</partition> | |
<partition name="APP_b" id="2" 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> | |
<align_boundary> 16384 </align_boundary> | |
<percent_reserved> 0 </percent_reserved> | |
<unique_guid> APPUUID_b </unique_guid> | |
<filename> APPFILE_b </filename> | |
<description> **Required.** Contains the rootfs. This partition must be assigned | |
the "2" 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/nvme0n1p2`. </description> | |
</partition> | |
<partition name="DATAPART_EXPAND" id="16" type="data"> | |
<allocation_policy> sequential </allocation_policy> | |
<filesystem_type> basic </filesystem_type> | |
<file_system_attribute> 0 </file_system_attribute> | |
<allocation_attribute> 0x808 </allocation_attribute> | |
<percent_reserved> 0 </percent_reserved> | |
<align_boundary> 16384 </align_boundary> | |
<filename> DATAFILE </filename> | |
<description> Takes all remaining space on the device, used to place a /data partition for persistent storage </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> | |
</partition> | |
</device> | |
</partition_layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment