NXP

GigaRay board bring up 心得

2019-07-12 12:10发布

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)的文件夹会变空。