Hello,
I’m trying to customize jetson kernel for the purpose of boot time optimization. after running modules_install, when I tried to run sudo ./tools/l4t_update_initrd.sh
it gave the following response:
Using rootfs directory: /home/ubuntu/jetlin363/Linux_for_Tegra/rootfs
Updating the initrd: /home/ubuntu/jetlin363/Linux_for_Tegra/bootloader/l4t_initrd.img
Copy /home/ubuntu/jetlin363/Linux_for_Tegra/bootloader/l4t_initrd.img to /home/ubuntu/jetlin363/Linux_for_Tegra/rootfs/boot/initrd
Preparing virtual env
chroot: failed to run command 'nv-update-initrd': No such file or directory
ERROR: nv-update-initrd failed!
Cleaning up virtual env
umount: /home/ubuntu/jetlin363/Linux_for_Tegra/rootfs/dev: target is busy.
I cannot locate the nv-update-initrd file in Linux_for_Tegra folder, to setup the build environment, I followed the steps from Quick Start and Kernel Customization chapters of the online guide.
I did face some issues before while running modules_install,
first was due to not running the compile and install commands in the order given the Kernel Customization chapter (after compiling the kernel via make -C kernel, I compiled the external modules first via make modules, then tried to directly install external modules using sudo -E make modules install before install the kernel and in-tree modules).
Next issue that I faced was in signing of external modules, specifically - SSL error:FFFFFFFF80000002:system library::No such file or directory: ...
, which I solved as given in this thread . Afterwards, the output showed installation and signing of modules within nvidia–ot, hwpm, nvdisplay and nvgpu folders, and the command ended without giving errors so I assume it went okay.
Now, I’m facing the issue stated at the beginning.