imx6 android7.1.1 源码下载

来源:互联网 发布:诺基亚n8 00软件下载 编辑:程序博客网 时间:2024/06/05 20:54
1.下载repo脚本
repo是google用Python脚本写的调用git的脚本,用来下载,管理Android项目仓库
参考:https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/
# mkdir ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
#chmod a+x ~/bin/repo
#export PATH=~/bin:$PATH

# repo --help

出现 repo init 等提示初始化信息,repo下载成功

2.修改repo的地址
REPO_URL = 'https://gerrit.googlesource.com/git-repo'
修改为清华大学的地址https://aosp.tuna.tsinghua.edu.cn/git-repo

3.运行下载脚本

初始化仓库
repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest -b android-7.1.1_r13

同步:
repo sync

4.内核
git clone git://git.freescale.com/imx/linux-imx.git kernel_imx
cd kernel_imx
git checkout n7.1.1_1.0.0-ga

5.u-boot
cd bootloader
git clone git://git.freescale.com/imx/uboot-imx.git uboot-imx
cd uboot-imx
git checkout n7.1.1_1.0.0-ga


原创粉丝点击