I am successfully flashing the TK1 (pre-flashed with EasyInstaller) with “unattended flashing”.
I thought about possible bad case flashing scenarios and wondered
- if the EasyInstaller implements error handling
- in case: which error handling
- in case: how is error implemented/communicated to the outside world.
Is there some undocumented environment variable (comparable to
$1 - PRODUCT_ID,
$2 - BOARD_REV, etc.) set between the call of the
prepare_script and the
wrapup_script to indicate bad cases (e.g.
EXIT_CODE) like “image files removed” and other bad case scenarios to the
wrapup_script? Or it the wrapup_script not executed at all in error cases? How do I get to know about the error root cause then?