u-boot patch and scripts