SDK 5.1.2 makes a partition that is too small for the install causing the sdk to fail to complete.
Whats the trick to set the root partition size at flash?
SDK 5.1.2 makes a partition that is too small for the install causing the sdk to fail to complete.
Whats the trick to set the root partition size at flash?
Have the same problem …
@Nick_H have you had a look at this GitHub - jetsonhacks/bootFromExternalStorage: Shell scripts to setup a NVIDIA Jetson AGX Xavier, Xavier NX, AGX Orin, or Orin Nano Developer Kit to boot from external storage.
Note for the Jetson Xavier NX: For a Jetson AGX Xavier system, the board must be initially flashed to eMMC before using this method.
I have tried SDK 2.0.0.11405 and the “bootFromExternalStorage”. But not able to get the root partition larger than 16GB
I have used the script from Jetson Hacks before this may be the same. THE Jetsons have always been such a PIA I just stuffed it back in the box and moved onto another project. I am glad I pulled the NX out as I was about to upgrade as my project needed more performance last time I attempted it. This early issue reminded me why I gave up on this project / platform.
But’ Yha flashing the nvme from the sd had worked in the past.
For comparison.
#!/bin/bash
# Copyright (c) 2016-21 Jetsonhacks
# MIT License
# Copy the root directory to the given volume
DESTINATION_TARGET=""
VOLUME_LABEL=""
function usage
{
echo "usage: ./copyRootToUSB.sh [OPTION]"
echo "-d | --directory <directory> Directory path to parent of kernel)"
echo "-p | --path <path> e.g. /dev/sda1"
echo "-v | --volume_label Name of the volume label"
echo "-h | --help This message"
}
# Iterate through command line inputs
while [ "$1" != "" ]; do
case $1 in
-d | --directory ) shift
DESTINATION_TARGET=$1
;;
-v | --volume_label ) shift
VOLUME_LABEL=$1
;;
-p | --path ) shift
DEVICE_PATH=$1
;;
-h | --help ) usage
exit
;;
* ) usage
exit
;;
esac
shift
done
if [ "$DEVICE_PATH" != "" ] ; then
echo "Device Path: "$DEVICE_PATH
DESTINATION_TARGET=$(findmnt -rno TARGET "$DEVICE_PATH")
if [ "$DESTINATION_TARGET" = "" ] ; then
echo "Unable to find the mount point of: ""$DEVICE_PATH"
exit 1
fi
else
if [ "$DESTINATION_TARGET" = "" ] ; then
if [ "$VOLUME_LABEL" = "" ] ; then
# No destination path, no volume label
usage
exit 1
else
DEVICE_PATH=$(findfs LABEL="$VOLUME_LABEL")
if [ "$DEVICE_PATH" = "" ] ; then
echo "Unable to find mounted volume: ""$VOLUME_LABEL"
exit 1
else
echo "Device Path: "$DEVICE_PATH
DESTINATION_TARGET=$(findmnt -rno TARGET "$DEVICE_PATH")
echo "Destination Target: "$DESTINATION_TARGET
if [ "$DESTINATION_TARGET" = "" ] ; then
echo "Unable to find the mount point of: ""$VOLUME_LABEL"
exit 1
fi
fi
fi
fi
fi
echo "Target: "$DESTINATION_TARGET
# apt-get update should make rsync available on a new system
sudo apt-get update
sudo apt-get install rsync -y
sudo rsync -axHAWX --numeric-ids --info=progress2 --exclude=/proc / "$DESTINATION_TARGET"
Guess the adjustment is needed in this xml
flash_l4t_t194_spi_emmc_p3668_rootfs_ab.xml
<?xml version="1.0"?>
<!-- Nvidia Tegra Partition Layout Version 1.0.0 -->
<partition_layout version="01.00.0000">
<device instance="0" type="spi" sector_size="512" num_sectors="65536">
<partition name="BCT" type="boot_config_table">
<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>
<description> **Required.** Contains Boot Configuration Table (BCT). </description>
</partition>
<partition name="mb1" type="mb1_bootloader">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 262144 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> MB1FILE </filename>
<description> **Required.** Chain A; contains NVIDIA signed MB1 binary. </description>
</partition>
<partition name="mb1_b" type="mb1_bootloader">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 262144 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> MB1FILE </filename>
<description> **Required.** Chain B; contains NVIDIA signed MB1 binary. </description>
</partition>
<partition name="MB1_BCT" type="mb1_boot_config_table">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Chain A; contains MB1 boot configuration table.
</description>
</partition>
<partition name="MEM_BCT" type="mem_boot_config_table">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 262144 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Chain A; contains memory configuration table. </description>
</partition>
<partition name="spe-fw" type="spe_fw" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 262144 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> SPEFILE </filename>
<description> **Required.** Chain A; contains BPMP SPE-FW binary. </description>
</partition>
<partition name="mb2" type="mb2_bootloader" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 262144 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TEGRABOOT </filename>
<description> **Required.** Chain A; contains TegraBoot binary. </description>
</partition>
<partition name="mts-preboot" type="mts_preboot" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> MTSPREBOOT </filename>
<description> **Required.** Chain A; contains Denver preboot firmware. </description>
</partition>
<partition name="mts-mce" type="mts_mce" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> MTS_MCE </filename>
<description> **Required.** Chain A; contains microcode associated with boot, power
management, and clocks. </description>
</partition>
<partition name="mts-proper" type="mts_proper" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 4194304 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> MTSPROPER </filename>
<description> **Required.** Chain A; contains microcode associated with execution
and optimization of ARM code. </description>
</partition>
<partition name="sc7" type="WB0" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 131072 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> WB0BOOT </filename>
<description> **Required.** Chain A; contains warm boot firmware. </description>
</partition>
<partition name="xusb-fw" type="xusb_fw">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> xusb_sil_rel_fw </filename>
<description> **Required.** Chain A; contains XUSB firmware file, making XUSB
a true USB 3.0 compliant host controller. </description>
</partition>
<partition name="cpu-bootloader" type="bootloader_stage2" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 4194304 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TBCFILE </filename>
<description> **Required.** Chain A; contains UEFI, the final boot stage CPU Bootloader
binary that loads the binary in the kernel partition. </description>
</partition>
<partition name="bootloader-dtb" type="bl_dtb" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 458752 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TBCDTB-FILE </filename>
<description> **Required.** Chain A; contains Bootloader device tree blob
(DTB). </description>
</partition>
<partition name="secure-os" type="tos" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 2621440 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TOSFILE </filename>
<description> **Required.** Chain A; contains the trusted OS. </description>
</partition>
<partition name="eks" type="eks" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> EKSFILE </filename>
<description> **Required.** Chain A; contains the encrypted keys. </description>
</partition>
<partition name="adsp-fw" type="ape_fw" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 1048576 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> adsp-fw.bin </filename>
<description> **Required.** Chain A; contains ADSP software. </description>
</partition>
<partition name="rce-fw" type="rce_fw" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 1048576 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> CAMERAFW </filename>
<description> **Required.** Chain A; contains `camera-rtcpu-rce` firmware. </description>
</partition>
<partition name="sce-fw" type="sce_fw" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 1048576 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<!-- <filename> sce-fw.bin </filename> -->
<description> **Required.** Contains `camera-rtcpu-sce` firmware. </description>
</partition>
<partition name="bpmp-fw" type="bpmp_fw" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 1572864 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> BPFFILE </filename>
<description> **Required.** Chain A; contains BPMP firmware. </description>
</partition>
<partition name="bpmp-fw-dtb" type="bpmp_fw_dtb" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 1048576 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> BPFDTB_FILE </filename>
<description> **Required.** Chain A; contains BPMP firmware device tree blob
(DTB). </description>
</partition>
<partition name="reserved_for_chain_A_boot" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 2097152 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Reserved space for chain A on boot device. </description>
</partition>
<partition name="MB1_BCT_b" type="mb1_boot_config_table">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x1480000 </start_location>
<size> 65536 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Chain B; contains MB1 boot configuration table.
</description>
</partition>
<partition name="MEM_BCT_b" type="mem_boot_config_table">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 262144 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Chain B; contains memory configuration table. </description>
</partition>
<partition name="spe-fw_b" type="spe_fw" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 262144 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> SPEFILE </filename>
<description> **Required.** Chain B; contains BPMP SPE-FW binary. </description>
</partition>
<partition name="mb2_b" type="mb2_bootloader" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 262144 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TEGRABOOT </filename>
<description> **Required.** Chain B; contains TegraBoot binary. </description>
</partition>
<partition name="mts-preboot_b" type="mts_preboot" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> MTSPREBOOT </filename>
<description> **Required.** Chain B; contains Denver preboot firmware. </description>
</partition>
<partition name="mts-mce_b" type="mts_mce" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> MTS_MCE </filename>
<description> **Required.** Chain B; contains microcode associated with boot, power
management, and clocks. </description>
</partition>
<partition name="mts-proper_b" type="mts_proper" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 4194304 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> MTSPROPER </filename>
<description> **Required.** Chain B; contains microcode associated with execution
and optimization of ARM code. </description>
</partition>
<partition name="sc7_b" type="WB0" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 131072 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> WB0BOOT </filename>
<description> **Required.** Chain B; contains warm boot firmware. </description>
</partition>
<partition name="xusb-fw_b" type="xusb_fw">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> xusb_sil_rel_fw </filename>
<description> **Required.** Chain B; contains XUSB firmware file, making XUSB
a true USB 3.0 compliant host controller. </description>
</partition>
<partition name="cpu-bootloader_b" type="bootloader_stage2" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 4194304 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TBCFILE </filename>
<description> **Required.** Chain B; contains UEFI, the final boot stage CPU Bootloader
binary that loads the binary in the kernel partition. </description>
</partition>
<partition name="bootloader-dtb_b" type="bl_dtb" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 458752 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TBCDTB-FILE </filename>
<description> **Required.** Chain B; contains Bootloader device tree blob
(DTB). </description>
</partition>
<partition name="reserved_for_chain_B_boot" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 655360 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Reserved space for chain B on boot device. </description>
</partition>
<partition name="uefi_variables" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x1EF0000 </start_location>
<size> 131072 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Contains UEFI variable store with configuration data.
</description>
</partition>
<partition name="uefi_ftw" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 196608 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Contains UEFI FTW storage.
</description>
</partition>
<partition name="BCT-boot-chain_backup" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x1FA0000 </start_location>
<size> 65536 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Contains backup of Boot Configuration Table (BCT)
for all boot chains. </description>
</partition>
<partition name="reserved_partition" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
</partition>
<partition name="secondary_gpt_backup" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<align_boundary> 65536 </align_boundary>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Contains backup for secondary GPT of the `spi`
device. </description>
</partition>
<partition name="VER_b" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x1FD0000 </start_location>
<size> 65536 </size>
<align_boundary> 65536 </align_boundary>
<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>
<partition name="VER" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 65536 </size>
<align_boundary> 65536 </align_boundary>
<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>
<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 `spi`
device. </description>
</partition>
</device>
<device type="sdmmc_user" instance="3" sector_size="512" num_sectors="30777344">
<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> 19968 </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="APP" 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> 4096 </align_boundary>
<percent_reserved> 0 </percent_reserved>
<filename> APPFILE </filename>
<unique_guid> APPUUID </unique_guid>
<description> **Required.** Contains the rootfs. This partition must be defined
after `primary_GPT` so that it can be accessed as the fixed known special device
`/dev/mmcblk0p1`. </description>
</partition>
<partition name="APP_b" 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> 4096 </align_boundary>
<percent_reserved> 0 </percent_reserved>
<filename> APPFILE_b </filename>
<unique_guid> APPUUID_b </unique_guid>
<description> **Required.** Contains the rootfs. This partition must be defined
after `primary_GPT` so that it can be accessed as the fixed known special device
`/dev/mmcblk0p2`. </description>
</partition>
<partition name="kernel" type="kernel">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 67108864 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> LNXFILE </filename>
<description> **Required.** Chain A; contains boot.img (kernel, initrd, etc)
which is loaded in when cpu-bootloader failes to launch the kernel
from the rootfs at `/boot`. </description>
</partition>
<partition name="kernel-dtb" type="kernel_dtb">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 458752 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> DTB_FILE </filename>
<description> **Required.** Chain A; contains kernel device tree blob. </description>
</partition>
<partition name="reserved_for_chain_A_user" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 34123776 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Reserved space for chain A. </description>
</partition>
<partition name="secure-os_b" type="tos" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x386100000 </start_location> <!-- aligned to 0x100000 -->
<size> 2621440 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> TOSFILE </filename>
<description> **Required.** Chain B; contains the trusted OS. </description>
</partition>
<partition name="eks_b" type="eks" oem_sign="true">
<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> EKSFILE </filename>
<description> **Required.** Chain B; contains the encrypted keys. </description>
</partition>
<partition name="adsp-fw_b" type="ape_fw" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 1048576 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> adsp-fw.bin </filename>
<description> **Required.** Chain B; contains ADSP software. </description>
</partition>
<partition name="rce-fw_b" type="rce_fw" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 1048576 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> CAMERAFW </filename>
<description> **Required.** Chain B; contains `camera-rtcpu-rce` firmware. </description>
</partition>
<partition name="sce-fw_b" type="sce_fw" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 1048576 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<!-- <filename> sce-fw.bin </filename> -->
<description> **Required.** Contains `camera-rtcpu-sce` firmware. </description>
</partition>
<partition name="bpmp-fw_b" type="bpmp_fw" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 1572864 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> BPFFILE </filename>
<description> **Required.** Chain B; contains BPMP firmware. </description>
</partition>
<partition name="bpmp-fw-dtb_b" type="bpmp_fw_dtb" oem_sign="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 1048576 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> BPFDTB_FILE </filename>
<description> **Required.** Chain B; contains BPMP firmware device tree blob
(DTB). </description>
</partition>
<partition name="kernel_b" type="kernel">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 67108864 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> LNXFILE_b </filename>
<description> **Required.** Chain B; contains boot.img (kernel, initrd, etc)
which is loaded in when cpu-bootloader failes to launch the kernel
from the rootfs at `/boot`. </description>
</partition>
<partition name="kernel-dtb_b" type="kernel_dtb">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 458752 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<filename> DTB_FILE </filename>
<description> **Required.** Chain B; contains kernel device tree blob. </description>
</partition>
<partition name="reserved_for_chain_B_user" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 34078720 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Reserved space for chain B. </description>
</partition>
<partition name="RECNAME" type="kernel">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<start_location> 0x38CA00000 </start_location> <!-- aligned to 0x100000 -->
<size> RECSIZE </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Contains recovery image. </description>
<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>
<description> **Required.** Contains recovery DTB image. </description>
</partition>
<partition name="RECROOTFS" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> RECROOTFSSIZE </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Optional.** Reserved for future use by the recovery filesystem;
removable. </description>
</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>
<description> **Required.** For fail-safe recovery update. </description>
</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>
<description> **Required.** For fail-safe recovery DTB update. </description>
</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="UDA" type="data">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 18432 </size>
<file_system_attribute> 0 </file_system_attribute>
<allocation_attribute> 0x808 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<description> **Required.** Automatically takes all remaining space on the device except that
occupied by the `secondary_gpt` partition. Allocation attribute must be set to 0x808.
May be mounted and used to store user data. </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>
</partition_layout>
Ok here is what seems to have worked.
I flashed the sd card image with blencha etcher to an nvme anf than fixed extlinux.conf to point to the correct drive instead of an sd card. FYI: I also expanded the filesystem prior to moving the drive over to the NX unit. Have yet to try to install the software this could be the next hitch. Who knows.
Also: Onboard NIC does not work in any method of install I have done. Yet to trouble shoot this just using the slow wifi
SDK seems to be installing into my 200gb nvme partition now.
Hours later we will know if it works.
Actually not hours when you have drive space!
well now back to the missing lib.GLU.so and how did I fix that last time I tortured myself the Jetson way?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.