Jetson Xavier Installation via SDK Manager

I was trying to install the latest JetPack 5.1.2 on a Jetson Xavier Developer kit using SDK Manager. The Xavier developer kit also has a Samsung 500MB SSD installed. After installation, I went ahead to install the other SDK software components and hit an error i.e. not enough memory.

Upon checking the disk partition of the Samsung SSD, it was partitioned to be 16GB with a free space of more than 400GB. It didn’t work after I tried to resize the partition. Xavier won’t not boot.

What should I do in order to have a larger root file parition?

Hi,

how did you resize the partition?
The APP partition is always located at the end of the disk, so it should be easy to enlarge it.
Can you show the booting log from serial console here?

In case you want to re-flash, please refer to Workflow 3 in the README file under Linux_for_Tegra/tools/kernel_flash/README_initrd_flash.txt. It should automatically use all the space of your disk.

Where can I find “Linux_for_Tegra/tools/kernel_flash/README_initrd_flash.txt”?

The host machine (laptop where SDK manager was running) ?

Yes, it can be found under the path you set for storing the BSP when using SDK Manager.
Or you can manually download it here:
Jetson Linux 35.4.1 | NVIDIA Developer

I redo the sdk manager installation steps again and attached screen shots for your understanding.

step 1: I have a Nvidia Jetson Xavier Developer kit

step 2: Start flashing Jetson Xavier

step 3: Flashing completed and Xavier started to boot up. Host laptop waiting for me to complete the other software components installation.

step 4: I checked the disk partition of the Samsung 970 and there is no APP parition.

How should I do next so that I have more GB instead of the 15GB parition?

One more screen shot, the output of “df” at Xavier.

Hi,

I guess you selected Pre-Config for OEM Configuration, so it just entered the desktop upon booting after the flashing was done.
Please flash again and select Runtime instead; that way, the OEM config window will pop up upon first boot, and ask you to setup your user accounts, and you can also set the size of the APP partition there.

I changed “OEM Configuration” to “Runtime” instead of the “Pre-config”.

Upon booting up at Xavier:

  • enter and create username and password
  • enter time zone (country name)
  • didn’t get to ask what is the size of the partition I want
  • apply changes and completed the setup

Check disk partition and it is still the same. Verified with “df” command, and it still showed 14343176 for /dev/nvme0n1p1.

Hi,

sorry that this step seems to be only available on AGX Orin and Xavier NX.
I will check the detail and reply here.

Thanks @DaveYYY. Much appreciated.

Yesterday I also tried jetsonhack method to boot from SSD. Upon running the script, it did ask me the partition size and I set to maximum size. I double check with “df” command after the installation completed and the right size was report. Df reported the SSD is 2% full instead of 45% when the partition was 15GB

By the way I come back here to seek help because jetsonhack method, the script is based on old release. After installing, there are some issues when I did an update i.e. sudo apt update.

Hi,

please manually download the BSP from our website, and try this command for flashing:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_external.xml --showlogs --network usb0 jetson-agx-xavier-devkit internal

The initrd flashing tool should by default use all the space available on the storage device.

https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/index.html

This is what I got on my AGX Xavier with an 128GB SSD flashed with the aforementioned command:

nvidia@tegra-ubuntu:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p1  117G  5.6G  106G   5% /
none             31G     0   31G   0% /dev
tmpfs            31G   36K   31G   1% /dev/shm
tmpfs           6.2G   11M  6.2G   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs            31G     0   31G   0% /sys/fs/cgroup
tmpfs           6.2G   80K  6.2G   1% /run/user/1000

Hi @DaveYYY

I went to https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v4.1/release/jetson_linux_r35.4.1_aarch64.tbz2/ to download the BSP as asked.

Where should I place this file?

1 Like

Please follow steps shown here for preparation:
https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/IN/QuickStart.html

$ tar xf ${L4T_RELEASE_PACKAGE}
$ sudo tar xpf ${SAMPLE_FS_PACKAGE} -C Linux_for_Tegra/rootfs/
$ cd Linux_for_Tegra/
$ sudo ./apply_binaries.sh
$ sudo ./tools/l4t_flash_prerequisites.sh

What should be the values for environment variables:

${L4T_RELEASE_PACKAGE}

and

${SAMPLE_FS_PACKAGE}

File with this link https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v4.1/release/jetson_linux_r35.4.1_aarch64.tbz2/

File with this link https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v4.1/release/tegra_linux_sample-root-filesystem_r35.4.1_aarch64.tbz2/

I did the flashing.

After rebooting, it still shows it is 45% full. I checked the disk partition, it is still the same as reported earlier.

Is there any log I can send to you ?

Then can you please try with a different disk?
Not sure if it’s some compatibility issues, but I’m sure it uses all the space on my 128GB SSD.

10Aug2023-1328.log (162.1 KB)

I flashed it again and attached is the screen outputs.

What I did.

  1. Downloaded the 2 files and set environment variables
    samsungt7@samsungT7:~/Downloads/flashing$ printenv | grep L4T_RELEASE
    L4T_RELEASE_PACKAGE=Jetson_Linux_R35.4.1_aarch64.tbz2
    samsungt7@samsungT7:~/Downloads/flashing$ printenv | grep SAMPLE
    SAMPLE_FS_PACKAGE=Tegra_Linux_Sample-Root-Filesystem_R35.4.1_aarch64.tbz2

  2. flash it
    sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_external.xml --showlogs --network usb0 jetson-agx-xavier-devkit internal > 10Aug2023-1328.log

The above steps were performed on a laptop with Xavier attached to the laptop via USB cable.

Anything wrong you can see ?

After the flashing were performed, Xavier didn’t reboot and no “how much partition” was asked.