I am now using Jetpack R36 (release) Revision 4.3 on Jetson AGX Orin Dev Kit. I am planning to build the kernel for my usecase. Firstly on the host pc, I tried to build the kernel without modifying the source code of the kernel. I followed the tutorial below.
Then I got the error for this command sudo ./tools/l4t_update_initrd.sh. I searched the source code and found that this shell script ./tools/l4t_update_initrd.shdoesn’t exist.
Please tell me how to fix it and in the future fix the documentation definitely. The official documentation should work fine. Thanks.
Hi,
If the device cannot be flashed/booted, please refer to the page to get uart log from the device: https://elinux.org/Jetson/General_debug
And get logs of host PC and Jetson device for reference. If you are using custom board, you can compare uart log of developer kit and custom board to get more information.
Also please check FAQs: Jetson AGX Orin FAQ
If possible, we would suggest follow quick start in developer guide to re-flash the system: Quick Start — NVIDIA Jetson Linux Developer Guide 1 documentation
And see if the issue still persists on a clean-flashed system.
Thanks!
I will suggest you go to “Linux_for_Tegra/tools/”, and run this command (you might need to first “sudo apt-get install tree” on the host PC) to get log of what is there: tree 2>&1 | tee log_tools.txt
Then attach log_tools.txt. Incidentally, if any install location differs for software, then this might cause a command to not be found.
Incidentally, if you were to manually install the flash software without JetPack’s help, then the “driver package” is what creates the “Linux_for_Tegra/” subdirectory. Within this the “Linux_for_Tegra/rootfs/” is the “sample root filesystem”, which is what makes up most of the flash image. If you go to the L4T R36.4.3 URL (see https://developer.nvidia.com/embedded/jetson-linux-archive), then you can manually download the driver package as this file: Jetson_Linux_R36.4.3_aarch64.tbz2
Two methods for listing that file’s contents, and filtering for just the command:
bunzip2 < Jetson_Linux_R36.4.3_aarch64.tbz2 | tar --list | egrep 'l4t_update_initrd.sh'
tar --list -f Jetson_Linux_R36.4.3_aarch64.tbz2 | egrep 'l4t_update_initrd.sh'
I downloaded that driver package and listed its contents, filtering by that command name, and found it present. I suspect that either the location you ran the command from was incorrect, or else the installation was only partial. If the tree command works, then the tree command log could be searched for l4t_update_intird.sh.