U-boot source code analysis and transplantation