《yocto》 nxp 原厂代码下载

nxp yocto guide

推荐使用ubuntu 18.0.4 ,在构建使用虚拟机时,磁盘内存设置300G.

1. repo set

1 > Create a bin folder in the home directory.

$ mkdir ~/bin (this step may not be needed if the bin folder already exists)
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo

将repo 里的REPO_URL 替换为:
REPO_URL = ‘https://mirrors.tuna.tsinghua.edu.cn/git/git-repo’

2 > Add the following line to the .bashrc file to ensure that the ~/bin folder is in your PATH variable.

export PATH=~/bin:$PATH

2.git config

$ git config --global user.name "Your Name"
$ git config --global user.email "Your Email"
$ git config --list

3.repo nxp soc source

$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest
-b imx-linux-gatesgarth -m imx-5.10.9-1.0.0.xml
$ repo sync

问题1 :如果找不到 python env
ln -s /usr/bin/python3 /usr/bin/python

问题2 :如果访问不到github.com
vi /etc/hosts 添加
13.229.188.59 github.com
13.114.40.48  github.com
repo sync 同步代码

doit@doit:~/imx-yocto-bsp$ ls
fsl-setup-release.sh README README-IMXBSP setup-environment sources

编译
DISTRO=fsl-imx-xwayland MACHINE=imx6ull source fsl-setup-release.sh -b build-xwayland-imx6ull

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值