scripts: sync with master

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

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