apply_binaries.sh not working

Hi,

I am trying to run the script file for the L4T R28.2. I have already changed the environment variable LDK_ROOTFS_DIR to the correct path (Linux_for_Tegra/rootfs) and performed the ff:

  1. sudo tar -vxjf Tegra210_Linux_R28.2.0_aarch64.tbz2
  2. cd Linux_for_Tegra/rootfs
  3. sudo tar -jxpf …/…/Tegra_Linux_Sample-Root-Filesystem_R28.2.0_aarch64.tbz2
  4. cd …
  5. sudo ./apply_binaries.sh

and it is throwing an error.

The package files are not located in the host PC /home folder. I created a separate folder so that I preserve the folders that I am using for previous L4T version (R28.1).

Is there a specific step that I’m missing?

By the way, the error that is showing is this:

  1. The root filesystem has to be extracted to this directory …
  2. The root filesystem has to be extracted with ‘sudo’ …

Again, the root directory exists and I already set it correctly as the LDK_ROOTFS_DIR environment variable.

Hi luis.buno,

I tried to download release package and sample file system again, it’s success.
List my steps for you reference:

sudo tar xpf Tegra210_Linux_R28.2.0_aarch64.tbz2 
cd Linux_for_Tegra/rootfs/
sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R28.2.0_aarch64.tbz2 
cd ..
sudo ./apply_binaries.sh

Please try to download and untar again. Thanks!

If you are applying to a non-default location I suggest just using “-r /where/ever/it/is” for testing instead of LDK_ROOTFS_DIR. Also be certain that the directory being used is a native Linux type, e.g., ext4 (VFAT and NTFS will guarantee failure).

You might want to elaborate more on “The package files are not located in the host PC /home folder. I created a separate folder”, including, if you cd to that folder, what it shows from “df -H -T .” (don’t forget the “.”).