I am currently trying to customize the kernel in an R36.3 environment on Orin NX. However, after flashing the customized environment, although the flash process succeeds, I encounter UART error logs stating that PARTUUID and /lib/modules cannot be found, and the system fails to boot up properly.
So far, I have verified the following:
The directory “/lib/modules/5.15.136-tegra” exists under the rootfs of the flash environment.
The UUID reported in the errors matches the one in “/bootloader/l4t-rootfs-uuid.txt_b_ext”.
However, I am at a loss as to what to investigate next to resolve this issue. I would appreciate any advice on what I should look into to solve this problem.
I was able to solve the above problem in kernel-customized environment by replacing the bootloader/l4t_initrd.img and initrd under the rootfs with the ones created after flashing in the original sample environment.
I thought that the corresponding operation was "${LDK_DIR}/tools/l4t_update_initrd.sh" --ldk_dir "${LDK_DIR}", but should I have done something else as well?
As far as I have checked, there were no errors, and everything seemed to be working fine.
Additionally, I found out that nv-update-initrd was missing from my rootfs when this issue occurred. By including nv-update-initrd in the rootfs, I confirmed that l4t_update_initrd.sh performed as I expected.
Therefore, this issue was due to an oversight in my environment. I apologize for the delay in updating this on the forum.