Flashing - Recovery ramdisk construction does not honor rootfs option

This is for r32.7.2, I’m not sure if it’s fixed in newer releases.

Theflash.sh script takes a parameter to select a different rootfs directory, but when it generates the recovery ramdisk, it still assumes the rootfs is at Linux_for_Tegra/rootfs.

$ ./flash.sh -R some_other_rootfs/ jetson-xavier mmcblk0p1
Making recovery ramdisk for recovery image...
Re-generating recovery ramdisk for recovery image..
find: ‘/home/user/stevie-bsp/Linux_for_Tegra/rootfs/lib’: No such file or directory
cp: cannot stat '/home/user/stevie-bsp/Linux_for_Tegra/rootfs/bin/mv': No such file or directory
warning: cp -f /home/user/stevie-bsp/Linux_for_Tegra/rootfs/bin/mv /home/user/stevie-bsp/Linux_for_Tegra/bootloader/ramdisk_tmp//bin/mv
[lots more errors like the above]
sed: can't read /home/user/stevie-bsp/Linux_for_Tegra/bootloader/ramdisk_tmp/sbin/dhclient-script: No such file or directory
command is failed

Looks like jp4.6.3 does not have this issue. Could you try again?

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