Jetson Disk Image Creation

Hi guys,

I have a problem that I want to build my own image to flash with a SD card. However I am able to build everything without any errors but I am not sure why my jetson nano orin dev kit is not booting.

I want a Image without ubuntu gui, so its just a minimal server image.

What I did:

1.) Downloaded Driver Package and unpacked it
tar -xf Jetson_Linux_R35.4.1_aarch64.tbz2

2.) Went to /Linux_for_Tegra/tools/samplefs and executed
./nv_build_samplefs.sh --abi aarch64 --distro ubuntu --flavor minimal --version focal

3.) Moved generated rootfs files to /Linux_for_Tegra/rootfs and unpack it there

4.) ./apply_binaries.sh to install nvidia binaries

5.) Create new user to be able to login via SSH
/Linux_for_Tegra/tools/l4t_create_default_user.sh -u foo -p bar --accept-license

6.) Create Image in /Linux_for_Tegra/tools/
./jetson-disk-image-creator.sh -o test.img -b jetson-orin-nano-devkit -d SD

7.) Flash generated img with balenaetcher and boot device

The jetson nano is able to load l4tlauncher via direct boot but than stops working, what am I missing? Thanks for helping!

1 Like

Just figured out that some packages were missing in tools/samplefs/nvubuntu-focal-minimal-aarch64-packages to be able to successfully complete the apply_binaries.sh script.

dpkg: dependency problems prevent configuration of nvidia-l4t-jetsonpower-gui-tools:
 nvidia-l4t-jetsonpower-gui-tools depends on python3-tk; however:
  Package python3-tk is not installed.
 nvidia-l4t-jetsonpower-gui-tools depends on python3-matplotlib; however:
  Package python3-matplotlib is not installed.

dpkg: error processing package nvidia-l4t-jetsonpower-gui-tools (--install):
 dependency problems - leaving unconfigured
Setting up nvidia-l4t-libvulkan (35.4.1-20230801124926) ...
Setting up nvidia-l4t-multimedia-utils (35.4.1-20230801124926) ...
Setting up nvidia-l4t-nvfancontrol (35.4.1-20230801124926) ...
dpkg: dependency problems prevent configuration of nvidia-l4t-nvpmodel-gui-tools:
 nvidia-l4t-nvpmodel-gui-tools depends on gir1.2-appindicator3-0.1; however:
  Package gir1.2-appindicator3-0.1 is not installed.

Ive just added 3 more python packages that are needed to apply all binaries

gir1.2-appindicator3-0.1
python3-matplotlib

to the list and rebuilt my rootfs folder. However I am still not able to boot the device… I also tested it with the sample_root_fs and it just works. Still digging deeper…

1 Like

Hi,

Please show the booting log from the serial console so we know what’s going on.
Has the QSPI memory on the Orin Nano modules been flashed before?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.