GigaRay board bring up 心得

本文记录了在Fedora22及Fedora23上使用Yocto Project进行构建的经验,包括解决bitbake fsl-image-core构建错误的方法、扩展虚拟机磁盘空间的过程以及在Fedora23中安装perl-bignum模块后的成功构建。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. 在vmware上装了Fedora 22, 因为似乎Fedora 22 是NXP验证过的平台。

===========================================

Yocto Project supports typical Linux distributions: Ubuntu, Fedora, CentOS, Debian, OpenSUSE, etc. More Linux distributions are continually being verified. This SDK has been verified on following Linux distributions: Ubuntu 14.04, CentOS-7.1.1503, Debian 8.2, Fedora 22 and OpenSUSE 13.2

==========================================================================

但是然并卵,Fedora22下bitbake fsl-image-core仍然会出现错误,在1/19日安装Fedora23,在1/20日提示安装perl-bignum下(详见3),问题解决,build完成。

2. 在使用过程中,竟然发现虚拟机一开始分配的空间不够。第一次在/fedora/root的LV下extend了60G,后来发现是/fedora/home的空间不够,后来又在/fedora/home下extend了60G。

使用命令:

lvextend -l +15369 /dev/fedora/root (extend root volume)

lvextend -l +15369 /dev/fedora/home (extend home volume)

具体使用方法可以参照此博客中的LVM扩容的两篇文章。


3. 值得记录的是,在Fedora23下竟然在安装“perl-bignum”这个东东后,bitbake fsl-image-core出现的错误(例如Function failed: do_configure )都不再出现了。

错误信息有提示安装perl-bignum

ERROR: The perl module 'bignum' was not found but this is required to build openssl.  Please install this module (often packaged as perl-bignum) and re-run bitbake.
ERROR: Function failed: do_configure (log file is located at /home/wireless/nxp/QorIQ-SDK-V2.0-20160527-yocto/build_ls1012ardb/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/temp/log.do_configure.51866)
ERROR: Logfile of failure stored in: /home/wireless/nxp/QorIQ-SDK-V2.0-20160527-yocto/build_ls1012ardb/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/temp/log.do_configure.51866
ERROR: Task 601 (virtual:native:/home/wireless/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/meta/recipes-connectivity/openssl/openssl_1.0.2d.bb, do_configure) failed with exit code '1'

开始安装perl-bignum

[sudo] password for wireless: 
[root@localhost ~]# dnf install perl-bignum
Last metadata expiration check performed 0:20:25 ago on Fri Jan 19 20:45:02 2018.
Dependencies resolved.


4. build完成后在地址/build_ls1012ardb下发命令“bitbake -c cleansstate u-boot”后,会发现git(/home/wireless/nxp/QorIQ-SDK-V2.0-20160527-yocto/build_ls1012ardb/tmp/work/ls1012ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git)的文件夹会变空。




                
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值