imx6 android7.1.1 源码下载

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

或者运行下载脚本,防止网络不稳定

#!/bin/sh

repo sync
while [ $? -ne 0 ] 
do 
    repo sync
done



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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值