scripts: sync with master

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
merge to: http://repo.or.cz/w/wandboard.git/commit/86429847b5152f040f190015faedcac49b24332

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