Hi,
I’m trying to flash a Jetson TX2 using the jetson-flash tool and I’m getting the following error using the command /bin/cmd.js -f image_tx2-2.73.1+rev4-v12.4.6.img -m jetson-tx2
...
\ Downloading and extracting
https://developer.nvidia.com/embedded/L4T/r32_Release_v4.4/r32_Release_v4.4-G| Downloading and extracting https://developer.nvidia.com/embedded/L4T/r32_Release_v4.4/r32_Release_v4.4-G/ Downloading and extracting https://developer.nvidia.com/embedded/L4T/r32_Release_v4.4/r32_Release_v4.4-GSaved in /tmp/22732
Successfully generated hash
Checking resin cache
| Checking image cache for image_tx2-2.73.1
Cache image check done
Extracting partition kernel from /tmp/22732/resin/img to /tmp/22732/resin
(node:22732)UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
at Object.exports.extractPartition (/mnt/dev8/balena/jetson-flash/lib/utils.js:137:38)
at async ResinJetsonFlash.generateArtifacts (/mnt/dev8/balena/jetson-flash/lib/resin-jetson-flash.js:291:14)
at async ResinJetsonFlash.run (/mnt/dev8/balena/jetson-flash/lib/resin-jetson-flash.js:319:3)
at async run (/mnt/dev8/balena/jetson-flash/bin/cmd.js:56:2)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:22732) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:22732) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
If jetson-flash doesn’t work, what is the recommended way to flash a tx2? I have confirmed everything works for the nano, same code isn’t working for the tx2.
Thanks,
Andrew