最近调飞思卡尔iMx6Q的硬件编解码,需要找sdk参考.故此根据nxp官方手册,下载与安装sdk包环境
因为很多关键网址被TG樯了.所以花了九牛二虎之力才down下了sdk.
故此笔记如下:
这是飞思卡尔官方的安装教程.我在其中做出备注.
官方GIT仓库位置如下:https://github.com/xtianbetz/fsl-community-bsp-platform
跟本文类似的文章:http://blog.csdn.net/wince_lover/article/details/51456745
Freescale's Community Yocto BSP
===============================To get the BSP you need to have `repo` installed and use it as:Install the `repo` utility:
下载repo
$: mkdir ~/bin
$: curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$: chmod a+x ~/bin/repo
注:这一步最大的问题就是google被封了,下载不下来,超时,要别处搞个repo下来.我的方法是
 
$ git clone git://git.omapzoom.org/git-repo.git
$ git clone git://aosp.tuna.tsinghua.edu.cn/android/git-repo.git/  
cp git-repo/repo ~/bin/repo

使用repo 抓下来BSP的源码
Download the BSP source:$: PATH=${PATH}:~/bin
$: mkdir fsl-community-bsp
$: cd fsl-community-bsp
$: repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dylan
$: repo sync
注:这一步最大的问题是googlesource被墙,提示如下:
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno 110] Connection timed out
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
我的做法是: 使用--repo-url=https://gerrit-google.tuna.tsinghua.edu.cn/git-repo参数代理下载.
$repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b master --repo-url=https://gerrit-google.tuna.tsinghua.edu.cn/git-repo
编译源码
Once this has complete, you will have all you need. To start a build, do:$: . ./setup-environment build
$: bitbake core-image-minimalYou can use any directory to host your build.The source code will be checked out at fsl-community-bsp/sources.
两个问题:
1,按照source ./setup-environment build会提示:
   ERROR: You must set DISTRO when creating a new build directory.
   ERROR: You must set MACHINE when creating a new build directory.
所以实际要使用命令如下:
   MACHINE=imx6qsabresd DISTRO=fslc-framebuffer source setup-environment build
   
2,python3版本问题.因为bitbake需要python3支持,然后ubuntu默认的python使用的是python2.7,python3的版本默认使用python3.2
        提示如下:BitBake requires Python 3.4.0 or later as 'python3'
   需要安装python3.4或者更高版本.apt-get install python3.5
   ubuntu 默认仓库是没有python3.5的,故此使用
   $sudo add-apt-repository ppa:fkrull/deadsnakes
   $sudo apt-get update
   $sudo apt-get install python3.5
   
   安装之后将/usr/bin/python3 链接指向/usr/bin/python3.5
   
   $sudo ln -sb /usr/bin/python3.5 /usr/bin/python3
   $ls /usr/bin/python3 -l
   lrwxrwxrwx 1 root root 18  9月 14 09:53 /usr/bin/python3 -> /usr/bin/python3.5
bitbake使用:
You can now run 'bitbake <target>'
Common targets are:core-image-minimalmeta-toolchainmeta-toolchain-sdkadt-installermeta-ide-support


bitbake提示如下:
Please install the following missing utilities: diffstat,chrpath
解决方法:
sudo apt-get install diffstat
sudo apt-get install chrpath

bitbake提示如下:
Your version of git is older than 1.8.3.1 and has bugs which will break builds. Please install a newer version of git.
吐槽:连库都嫌我老了,呜呜,放开我,我要去狗带.现在已经有库开始找曾经的ubuntu12.4的麻烦了



 
提交包到仓库--不是大神请跳过.
Contributing
------------To contribute to this layer you should the patches for review to the
mailing list.Mailing list:https://lists.yoctoproject.org/listinfo/meta-freescaleSource code:https://github.com/Freescale/fsl-community-bsp-platformWhen creating patches, please use something like:git format-patch -s --subject-prefix='fsl-community-bsp-platform][PATCH' originWhen sending patches, please use something like:git send-email --to meta-freescale@yoctoproject.org <generated patch>Using Development and Testing Branches
--------------------------------------Replace the 'repo init' command above with one of the following:master: for developers$: repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b mastermaster-next: for intrepid developers and testersPatches are typically merged into master-next and then are merged into
master after a testing and comment period. It's possible that master-next
has something you want or need. But it's also possible that using
master-next will break something that was working before. Use with caution.$: repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b master-next

各种被墙的情况下.飞思卡尔-iMx SDK下载与安装相关推荐

  1. 如何在没有 USB 数据线的情况下使用 Android Studio 在手机中安装 Android

    背景 如何在没有 USB 数据线的情况下使用 Android Studio 在手机中安装 Android 应用程序? 运行调式一个Android项目,写下必要的代码后,接下来的任务是在模拟器或手机上运 ...

  2. 飞思卡尔单片机教程(1)——从安装开始

    放假了有木有!是不在家特别闲?是不是放假前立志学单片机来着?如果你拿到了天大精仪荣誉出品的JM60开发板,而且你还带回家了.. 结果安装起来好麻烦!!! WIN7 64位不可以用!USB3.0接口插上 ...

  3. 解决 win10 家庭版环境下 MySQL 的ODBC驱动下载及安装

    目录 写在前面 下载安装 1.首先,我们需要去官网下载ODBC驱动. 配置 1.打开控制面板.查看方式:选择大图标. 2.选择管理工具的ODBC 数据源(64 位). 3.在驱动程序目录下.我们可以看 ...

  4. oracle java下载_Windows下从Oracle官网下载与安装jdk

    系统环境:Microsoft Windows 10 家庭版 2004 从Oracle官网进入jdk下载页面 https://www.oracle.com/ https://www.oracle.com ...

  5. 在Linux环境下通过百度网盘下载并安装matlab2017a

    前言 百度网盘下载matlab2017a安装包 方式1:安装百度网盘的python程序bypy 方式2:直接在浏览器下载 安装matlab 备注 参考链接 前言 最近参加一个比赛,需要在官方公布的li ...

  6. 在 UUP dump 被墙的情况下如何用 UUP 下载 ISO 镜像

    前一阵子我的树莓派 win10 又双叒叕报废了,原因仅仅是因为一个病毒(T_T).去 MSDN 网站上下载 ISO 镜像却发现速度出奇的慢~ 所以只有最后一种办法:UUP 镜像.但由于 UUP dum ...

  7. macbook pro 在没有光驱的情况下使用usb 的u盘来安装windows

    原文来自与 http://www.macx.cn/thread-2030267-1-1.html 通过修改BootCamp助理成功创建USB的windows7的安装盘.以下将方法共享出来. 准备工作: ...

  8. Windows 下各种Python库的下载与安装

    这篇文章主要介绍了Windows环境下各种Python库安装包下载地址与安装过程详细介绍,仅供参考. 在用Python开发时(Windows环境),会碰到需要安装某个版本的第三方库,为了以后查找.安装 ...

  9. python库下载哪些_Windows 下各种Python库的下载与安装

    这篇文章主要介绍了Windows环境下各种Python库安装包下载地址与安装过程详细介绍,仅供参考. 在用Python开发时(Windows环境),会碰到需要安装某个版本的第三方库,为了以后查找.安装 ...

最新文章

  1. UA SIE545 优化理论基础5 搜索与整数规划1 DFS算法
  2. HDU 4787 GRE Words Revenge
  3. java nlpir_中科院NLPIR中文分词java版
  4. element-UI级联选择器(Cascader 回显、默认显示项) - (返回结果的)格式转化 - 代码篇
  5. androidstudio做登录界面_Vue-cli+Element-ui实现后台管理系统(二)实现后台登录功能...
  6. mysql engine 和type_type=INNODB和engine=INNODB的区别
  7. 2017四川省赛E题( Longest Increasing Subsequence)
  8. 使用Kotlin的Android菜单
  9. .net垃圾回收学些【The Truth of garbage collection】【续】
  10. EDEM2019 实例操作教程——输送带
  11. matlab均值量化函数_Matlab量化函数quantiz解析
  12. MyBatis中mapper.xml其属性resultSets的作用及研究
  13. workman php 视频,利用workerman实现webrtc实时音视频通话
  14. 谷歌及360浏览器插件制作
  15. 横板闯关游戏中的角色移动
  16. 犹太富翁是怎样培养小富翁的?(永远的经典)
  17. yuv图解(YUV444,YUV422,YUV420,YV12,NV12,NV21)
  18. 【Alpha阶段】第二次Scrum Meeting
  19. 点击“换一换”切换商品,使用jquery slice()实现无缝连接切换
  20. 2021年度十大开源SLAM算法

热门文章

  1. Mockplus(摩客)- 简洁高效的原型图设计工具
  2. 【CSS】background与background-color区别
  3. 技术分享 | 新手入门-带你使用Qt实现离线缓存地图
  4. Python python-docx 读写 word
  5. 有序列表、无序列表、定义列表
  6. 源码分享:基于SpringBoot的ERP系统,自带进销存+财务+生产功能
  7. 记性不好的人,该怎么提高记忆力?
  8. tomcat自动部署脚本
  9. 网络游戏demo开发实例:多人在线RPG游戏(MMO RPG)demo的开发记录(第3篇)
  10. 你的交际力能否通吃?