Building image of ls1028a using OpenIL failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Building image of ls1028a using OpenIL failed

跳至解决方案
2,433 次查看
ericchen4
Contributor I

Hi everyone,

I am new for OpenIL and ls1028a.

I followed https://www.nxp.com/docs/en/user-guide/OPEN-LINUX-IND-UM-1-6.pdf  and confronted a bunch of errors.

The following is the exact command I run:

            git clone https://github.com/openil/openil.git

            cd openil

            git checkout OpenIL-201908 -b OpenIL-201908

            make nxp_ls1028ardb-64b_ubuntu_defconfig

            make

The first warning I got is "WARNING: no hash file for ubuntu-base-16.04.3-base-arm64.tar.gz", followed by some "tar : dev/xxxx: Cannot mknod: Operation not permitted" and many other errors.

The attachment is the full log of building.

I have been seeking for solution for days, but all the methods I found did not work.

Is there anyone can help, please?

My environment is Ubuntu 18.04 x86_64 GNU_Linux, and my Ubuntu is installed in an external disk, which I do not know if it matters.

0 项奖励
回复
1 解答
2,303 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Eric Chen,

I also encountered a similar problem during building libnfc-nci, please install "pkg-config" to overcome the current issue with command "sudo apt-get install pkg-config".

 

I installed the following packages before building libnfc-nci successfully.

$ sudo apt update

$ sudo apt-get install git make gcc g++ python autoconf automake libtool dh-autoreconf pkg-config

Thanks,

Yiping

在原帖中查看解决方案

0 项奖励
回复
7 回复数
1,939 次查看
shaunch-lin
Contributor I

Does OpenIL will be supported in the future?

0 项奖励
回复
2,304 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Eric Chen,

I also encountered a similar problem during building libnfc-nci, please install "pkg-config" to overcome the current issue with command "sudo apt-get install pkg-config".

 

I installed the following packages before building libnfc-nci successfully.

$ sudo apt update

$ sudo apt-get install git make gcc g++ python autoconf automake libtool dh-autoreconf pkg-config

Thanks,

Yiping

0 项奖励
回复
2,303 次查看
ericchen4
Contributor I

Hi yipingwang,

Thank you very much for replying.

Is this method for "cannot mknod"?

I latter found out the content in my openil directory is not the same as the content on Github.

Since I don't know what's wrong with my "git clone", I download the content on Github as zip.

I don't have "cannot mknod" problem now, but the building process is still running.

I'll leave a comment again whether this building succeed or not.

Best regards,

Eric

0 项奖励
回复
2,303 次查看
yipingwang
NXP TechSupport
NXP TechSupport

In your console log, the building failed at compiling libnfc-nci-R2.4 as the following.

./bootstrap: 4: ./bootstrap: aclocal: not found
./bootstrap: 5: ./bootstrap: autoheader: not found
./bootstrap: 6: ./bootstrap: libtoolize: not found
./bootstrap: 7: ./bootstrap: automake: not found
./bootstrap: 8: ./bootstrap: autoreconf: not found
/bin/bash: ./configure: 娌掓湁姝や竴妾旀鎴栫洰閷?package/pkg-generic.mk:206: recipe for target '/home/eric_chen/openil/output/build/libnfc-nci-R2.4/.stamp_configured' failed
make: *** [/home/eric_chen/openil/output/build/libnfc-nci-R2.4/.stamp_configured] Error 127

0 项奖励
回复
2,303 次查看
ericchen4
Contributor I

It works! Thank you Yiping!

I still have a question about the manual though.

I followed the steps to checkout to the branch "OpenIL-201908" (I've tried "OpenIL-v1.6.2-201911" too), but I have to change several lines in nxp_ls1028ardb-64b_ubuntu_defconfig and add some sh file in certain directories since this branch doesn't support ubuntu 18.04.

Or should I just stay in master branch and build image?

0 项奖励
回复
2,303 次查看
yipingwang
NXP TechSupport
NXP TechSupport

You need to build images at branch "OpenIL-201908".

0 项奖励
回复
2,303 次查看
ericchen4
Contributor I

So all those changes in nxp_ls1028ardb-64b_ubuntu_defconfig and adding sh file are needed, right?

Thank you for all the help!

0 项奖励
回复