scripts: sync with master

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
branch: broken: no boot on xm/panda

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>