欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  移动技术

编译Android的uboot环境教程

程序员文章站 2022-06-26 10:26:22
编译Android的uboot环境 1、配置环境变量 1)当前用户的 .bashrc文件设置 export PATH=$PATH:/usr/local/arm/arm-200...

编译Android的uboot环境

1、配置环境变量

1)当前用户的 .bashrc文件设置

export PATH=$PATH:/usr/local/arm/arm-2009q3/bin

2)按wq进行保存

3)build_uboot.sh 传入参数SCP_1GDDR或者SCP_2GDDR

4)将uboot文件传入Android目录下

5)解压uboot文件

topeet@ubuntu:~/Android$ sudo tar zxvf iTop4412_uboot_20170517.tar.gz?

6)使用编辑脚本进行编译

topeet@ubuntu:~/Android/iTop4412_uboot$ ./build_uboot.sh SCP_1GDDR

7)编译成功信息

make[1]: Leaving directory `/home/topeet/Android/iTop4412_uboot/sdfuse_q'

bl2aa file size= 14336B

before padding uboot.bin file size= 249988B

85884 B written?

8)在目录会生成一个bin文件

u-boot-iTOP-4412.bin