Soln for Myir Board的U-Boot编译错误?
我正在使用MyD-Y6ULX-HMI系列板支持Linux内核版本4.1.15,并提供了丰富的硬件和软件资源。他们建议使用Ubuntu 16.04 64位分布。有关Devkit的更多详细信息 - > http://www.myirtech.com/list.com/list.asp.id=602 - >
http://d.myirtech.com/myd-y6ulx-hmi/ 提及他们的用户 (1)使用Ubuntu 16.04 64位分布(2)安装了VirtualBox
(2)安装了软件包,并将工作目录制成了root。
(3)安装了YOCTO工具链:GCC版本5.3.0(GCC) - 对于驱动程序(MetatoolChain)
安装后,安装后采用Env文件:
source /opt/myir-imx6ulx-fb/4.1.15-2.0.1/environment-setup-cortexa7hf-neon-poky-linux-gnueabi
并检查了编译器版本:
arm-poky-linux-gnueabi-gcc --version
(4)现在试图制作U -Boot配置并将其编译为能够生成配置文件,但在编译时面对问题,
(a)采购metatoolchain (b)输入U-Bootsource文件目录 (c)给定sudo使散光 (d)导出ENV变量Cross_compiler和Arch (e)Sudo Make 我正在使用的一个核心板是myc-y6uly2-356N256D-50-C (f)Sudo Make 但是无法编译。任何人都可以为此提供帮助来解决这个问题吗? enter Image Description
I'm using the MYD-Y6ULX-HMI series boards supports the Linux kernel version 4.1.15, and provided with rich hardware and software resource. They recommend to use Ubuntu 16.04 64bit distribution. For more details about the devkit
-> http://www.myirtech.com/list.asp?id=602
-> http://d.myirtech.com/MYD-Y6ULX-HMI/
By referring their usermanual,
(1) Installed virtualBox with Ubuntu 16.04 64bit distribution
(2) Installed software package and made the working directory in root.
(3) Installed Yocto toolchain:gcc version 5.3.0(GCC) - for driver(metatoolchain)
After installation sourced the env file:
source /opt/myir-imx6ulx-fb/4.1.15-2.0.1/environment-setup-cortexa7hf-neon-poky-linux-gnueabi
and checked the compiler version:
arm-poky-linux-gnueabi-gcc --version
(4) Now trying to make u-boot config and compiling it with that able to generate config file but facing issue while compiling it,
(a) Sourced the metaToolChain
(b) Entered the U-bootsource file directory
(c) given sudo make distclean
(d) Exported the env variables CROSS_COMPILER and ARCH
(e) sudo make
the core board of one i'm using is MYC-Y6ULY2-356N256D-50-C
(f) sudo make
But cant able to compile. Can any one please help on this to solve the issue?
enter image description here
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请勿在此处使用
sudo
。这是一个不好的练习,但是特别是在这种情况下,用户的环境未传递给sudo,因此cross_compile
是未设置的,所以这就是为什么您会看到该错误的原因。Do not use
sudo
here. It's a bad practice all around, but specifically in this case the environment from the user isn't passed to sudo, soCROSS_COMPILE
is unset, so that's why you see that error.