Rootfs for L4T R32.5.1 is missing files


i built a custom kernel and wanted to flash the image with the script as follows:
./ jetson-xavier-nx-devkit mmcblk0p1

The flash exits with the following error:
Making recovery ramdisk for recovery image…
Re-generating recovery ramdisk for recovery image…
/data/Linux_for_Tegra/bootloader/ramdisk_tmp /data/Linux_for_Tegra/bootloader /data/Linux_for_Tegra
30402 blocks
cp: cannot stat ‘/data/Linux_for_Tegra/rootfs/etc/wpa_supplicant.conf’: No such file or directory
failed command: cp -fv /data/Linux_for_Tegra/rootfs/etc/wpa_supplicant.conf /data/Linux_for_Tegra/bootloader/ramdisk_tmp//etc/wpa_supplicant.conf

I got the sources with the -k tegra-l4t-r32.5.1 command, and used corresponding l4t and sample rootfs releases.

The complete log is attached here:
error.log (11.2 KB)

Could you compare the default jetpack tarball and what you’ve downloaded and see if really missing below file in rootfs?


Yes it was missing.

It actually seems that i could fix it by issue before flashing the image.

FYI, you only need to run that once.