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

news/2024/10/22 12:37:36/
最近调飞思卡尔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


http://www.ppmy.cn/news/499620.html

相关文章

免费文字转语音软件哪个好?推荐这三款文字转语音软件给你

文字转语音软件可以将我们输入的文字内容转化为人声朗读出来&#xff0c;这在很多场合都非常实用。比如&#xff0c;在开车或者做家务时&#xff0c;无法手持手机进行阅读&#xff0c;但是通过文字转语音功能&#xff0c;就可以轻松地听取所需内容。然而&#xff0c;市面上的文…

Capture One Pro 12.0.1中文版l飞思RAW软件Capture One 12.0.1MacOS系统

Capture One Pro 12.0.1win中文版 | Capture One Pro 12.0.1Mac中文版 Capture One Pro 12.0.1win中文版 | Capture One Pro 12.0.1Mac中文版 apture One PRO的工作流程采用了很多高级专业数码摄影师的意见&#xff0c;包含的工具和功能都是专业摄影师所需要的&#xff0c;飞…

【Inpho精品教程】任务二:Inpho创建工程(创建项目、新建相机参数、导入照片、导入POS、生成航条、保存项目)

《无人机航空摄影测量精品教程》合集目录(Pix4d、CC、EPS、PhotoScan、Inpho) 在任务一中,我们做了Inpho创建工程前的数据预处理工作,获取了未畸变的图像、相机参数、Inpho支持的POS等数据,本文在此基础之上,创建Inpho工程,主要步骤有:创建项目、新建相机参数、导入照片…

【专业的图像后期处理软件】飞思 Capture One 12.1 for Mac

文章来源于&#xff1a;风云社区 Capture One 12.1 for Mac 最新的Capture One 12.1可提供更佳的色彩、更快的性能和更具创造性的控制性能。飞思是一款Mac上专业强大的RAW图像编辑和转换工具&#xff0c;摄影师必备的一款图像处理工具&#xff0c;具有独特的RAW格式文件处理处…

飞思RAW软件CaptureOnePro11.3中文版CaptureOnePro11.3WinMac

CaptureOne Pro 11.3 Win&Mac Capture One Pro 11.3中文版|飞思RAW软件Capture One Pro 11.3 WinX64Mac完美破解版 完美注册 包含win系统版本MacOS版本 Capture One Pro 是专业的原始文件转换器和图像编辑软件。它将所有必备工具和高端性能融于一体、使您在一套快捷、灵…

Capture One 21 Pro v14.3.0.185 飞思顶级图像后期处理编辑软件

前言 Capture One是一款专业图像编辑的软件工具&#xff0c;软件拥有作为拍摄支持后期处理的核心技术&#xff0c;可以为用户朋友们提供一体化的相片处理流程&#xff0c;可以转换数码相机所拍摄出来的RAW图像格式以及提代相片的处理流程&#xff0c;为广大的专业数码摄像师提…

航飞原始影像外方位元素_浅谈大型倾斜航摄仪(飞思)的数据处理流程

引言&#xff1a;虽然&#xff0c;现阶段无人机倾斜作业盛行&#xff0c;但对于大面积、特殊敏感区域上空&#xff0c;能及时有效获取外业倾斜数据的问题上依旧少不了大型倾斜航摄仪的身影。对于此类型数据处理&#xff0c;M3D同样适用。本文以飞思航摄仪数据进行处理说明&…

【Phase One SDK】飞思相机SDK的环境配置及调用

一、环境说明 操作系统&#xff1a;win 10 开发环境&#xff1a;visual studio 2019 参考资料-官方文档&#xff1a;Welcome to the Phase One Software Development Kits (SDKs) — Phase One SDKs 2.0.48 documentation SDK 下载地址&#xff1a;Download — Phase One S…