travis-ci changed mem avail firmware script + do handshake arithmatic