Sudo apply_binaries.sh output ERROR

I make L4T rootfs in jeston agx xavier by execute sudo ./apply_binaries.sh by the guide of https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html# ,but it output error as following:

Using rootfs directory of: /home/tx/jetAGX/Linux_for_Tegra/rootfs
||||||||||||||||||||||| ERROR |||||||||||||||||||||||


  1. The root filesystem, provided with this package,
    has to be extracted to this directory:
    /home/tx/jetAGX/Linux_for_Tegra/rootfs

The root filesystem, provided with this package,
has to be extracted with ‘sudo’ to this directory:
/home/tx/jetAGX/Linux_for_Tegra/rootfs


Consult the Development Guide for instructions on
extracting and flashing your device.
|||||||||||||||||||||||||||||||||||||||||||||||||||||

I have execute

tar --owner root --group root -cjf kernel_supplements.tbz2
lib/modules

and replace the one in Linux_for_Tegra/kernel before do apply_binaries.sh,in L4T Linux_for_Tegra directory,i excute the command according to the ERROR position in apply_binaries.sh as following:

$ find rootfs/etc/passwd -group root -user root

but it output null
So how to fix it?What other steps do i need to take for this error?thanks.

kernel_supplements.tbz2 is not a sample rootfs. What did you unpack for the sample rootfs prior to unpacking kernel_supplements or running apply_binaries.sh?

I don’t know if this is related or not, but just some tips:

  • You would normally cd to “Linux_for_Tegra/rootfs/” and only then unpack the sample rootfs (and then only if one is not already there) using sudo.
  • You would then normally cd to “Linux_for_Tegra/” and run “sudo ./apply_binaries.sh”. This is when the sample rootfs is valid. Following this you could make modifications, e.g., unpacking kernel_supplements, although I’m wondering if this is what you really think it is (normally one would unpack this only to an empty location on the host PC and perhaps develop or work on some part of this).

It is my fault.I have download the wrong L4T.
thanks your reply.

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