[ 168.7588 ] File to be written cannot be of zero size, pFileName=system.img
[ 168.7653 ]
Error: Return value 10
Command tegradevflash_v2 --pt flash.xml.bin --create
Failed flashing t186ref.
Traceback (most recent call last):
File "/nix/store/zhqvdg0dl144hsbpmc5jpx1q4qcxphnk-jetson-flash/bin/.jetson-flash-wrapped", line 140, in <module>
main()
File "/nix/store/zhqvdg0dl144hsbpmc5jpx1q4qcxphnk-jetson-flash/bin/.jetson-flash-wrapped", line 135, in main
extract_and_flash(temp_dir)
File "/nix/store/zhqvdg0dl144hsbpmc5jpx1q4qcxphnk-jetson-flash/bin/.jetson-flash-wrapped", line 130, in extract_and_flash
flash_fn(sdk_dir)
File "/nix/store/zhqvdg0dl144hsbpmc5jpx1q4qcxphnk-jetson-flash/bin/.jetson-flash-wrapped", line 124, in flash
subprocess.run(flash_cmd, check=True, env=os.environ.copy())
File "/nix/store/abiagjx0ckg2adfd0m8ksnlx4ijf9cmy-python3-3.6.13/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['./flash.sh', 'cti/xavier-nx/quark/base', 'mmcblk1p1']' returned non-zero exit status 1.
The Jetpack 4.6 Flashing script will fail with the following when NO_ROOTFS is set to 1.