How to clean after flashing?

Hello,

I am now trying to clean my host machine after a successful flashing of Jetson Orin device with SDK manager. I also discovered that SDK manager requires ~18 GB of free space on home partition (my download folder and target HW image folder were on another partition). So, my question is, what else from Download folder and Target HW image folder can I delete from my machine after flashing?

Thanks beforehand for any helpful answers.

Your host machine only needs the downloaded content during flash; if you are not going to flash again, then you could remove the “~/Downloads/nvidia/sdkm_downloads/”.

This is not “everything”, but the part which is by far the largest and most temporary are these files:

~/nvidia/nvidia_sdk/JetPack_<version>/Linux_for_Tegra/bootloader/system.img*

The system.img.raw is a bit-for-bit exact duplicate of what your rootfs partition is. If that partition is 32 GB in size, or 64 GB, then so too is that file. The “sparse” version of this is file system.img. The system.img is the same as the raw system.img.raw, except that it does not contain empty space in the filesystem. As the sparse image filesystem fills the sparse image size approaches the raw image size. If there is 10 GB of content, then the sparse image adds 10 GB of storage.

Those images are generated more or less from a slight modification of the “Linux_for_Tegra/rootfs/”, and are normally generated every time you flash. Unless you need to reuse an image that system.img* is entirely useless if you are going to reflash with a full flash (those images are quite a time saver if you run multiple flashes with the same spec because then they don’t need to be recreated and can be reused).

That said, if you are not going to flash again, you could technically delete this entire directory tree:
~/nvidia/nvidia_sdk/JetPack...<version>/

1 Like

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