about LTIB build

cancel
Showing results for 
Search instead for 
Did you mean: 

about LTIB build

393 Views
玉栋郭
Contributor III

hi

I try to build LTIB on ubuntu12.04 (i686) .

I select platform like this:

3.png

4.png

5.png

I had a problem.

0 Kudos
5 Replies

228 Views
b45499
NXP TechSupport
NXP TechSupport

有问题我们再沟通~~

0 Kudos

228 Views
玉栋郭
Contributor III

HI Dan Wang

     我已经搞定了。

    再问一个问题,你从Imx6上,使用过opencv中的opencl 模块吗? 我看他们说opencv中仅支持opencl1.1 full profile  但是imx6是opencl1.1 ep 所以没法用?请问你用过吗?

0 Kudos

228 Views
玉栋郭
Contributor III

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

Build path taken because: directory build, build key set, no prebuilt rpm,

rpmbuild --dbpath /opt/freescale/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /opt/freescale/ltib/rpm' --define '_prefix /usr' --define '_tmppath /opt/freescale/ltib/tmp' --define '_rpmdir /opt/freescale/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  /opt/freescale/ltib/tmp/u-boot-v2009.08.spec

Building target platforms: arm

Building for target arm

Executing(%build): /bin/sh -e /opt/freescale/ltib/tmp/rpm-tmp.23083

+ umask 022

+ cd /opt/freescale/ltib/rpm/BUILD

+ cd u-boot-2009.08

+ : mx6q_sabresd_config

++ eval echo

+++ echo

+ PKG_U_BOOT_PATH_PRECONFIG=

+ SRC_DIR=/opt/freescale/ltib/rpm/BUILD/u-boot-2009.08

+ BUILD_DIR=/opt/freescale/ltib/rpm/BUILD/u-boot-2009.08

+ '[' /opt/freescale/ltib/rpm/BUILD/u-boot-2009.08 '!=' /opt/freescale/ltib/rpm/BUILD/u-boot-2009.08 ']'

+ cd /opt/freescale/ltib/rpm/BUILD/u-boot-2009.08

+ '[' -n '' ']'

+ make 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin/' CROSS_COMPILE=arm-none-linux-gnueabi- O=/opt/freescale/ltib/rpm/BUILD/u-boot-2009.08 mx6q_sabresd_config

make: *** No rule to make target `mx6q_sabresd_config'.  Stop.

error: Bad exit status from /opt/freescale/ltib/tmp/rpm-tmp.23083 (%build)

0 Kudos

228 Views
玉栋郭
Contributor III

编译了N遍了,我把步骤列一下:

1.在L3.0.35_4.1.0_130816_source目录下 ./install   选择的目录为/opt/freescale

2.cd /opt/freescale    安装了补丁patch-ltib-ubuntu12.04.sh

3 ./ltib

选择的平台为

<ignore_js_op style="color:rgb(68, 68, 68);font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:rgb(239, 245, 249)">

<ignore_js_op style="color:rgb(68, 68, 68);font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:rgb(239, 245, 249)">

<ignore_js_op style="color:rgb(68, 68, 68);font-family:Tahoma, 'Microsoft Yahei', Simsun;background-color:rgb(239, 245, 249)">

然后,出错:

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

Build path taken because: directory build, build key set, no prebuilt rpm,

rpmbuild --dbpath /opt/freescale/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /opt/freescale/ltib/rpm' --define '_prefix /usr' --define '_tmppath /opt/freescale/ltib/tmp' --define '_rpmdir /opt/freescale/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  /opt/freescale/ltib/tmp/u-boot-v2009.08.spec

Building target platforms: arm

Building for target arm

Executing(%build): /bin/sh -e /opt/freescale/ltib/tmp/rpm-tmp.23083

+ umask 022

+ cd /opt/freescale/ltib/rpm/BUILD

+ cd u-boot-2009.08

+ : mx6q_sabresd_config

++ eval echo

+++ echo

+ PKG_U_BOOT_PATH_PRECONFIG=

+ SRC_DIR=/opt/freescale/ltib/rpm/BUILD/u-boot-2009.08

+ BUILD_DIR=/opt/freescale/ltib/rpm/BUILD/u-boot-2009.08

+ '[' /opt/freescale/ltib/rpm/BUILD/u-boot-2009.08 '!=' /opt/freescale/ltib/rpm/BUILD/u-boot-2009.08 ']'

+ cd /opt/freescale/ltib/rpm/BUILD/u-boot-2009.08

+ '[' -n '' ']'

+ make 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin/' CROSS_COMPILE=arm-none-linux-gnueabi- O=/opt/freescale/ltib/rpm/BUILD/u-boot-2009.08 mx6q_sabresd_config

make: *** No rule to make target `mx6q_sabresd_config'.  Stop.

error: Bad exit status from /opt/freescale/ltib/tmp/rpm-tmp.23083 (%build)

0 Kudos

228 Views
b45499
NXP TechSupport
NXP TechSupport

Hi 玉栋,

我这里给你一个文档,你参考一下,是我之前编译整理下来的,希望对你有帮助。


Have a great day,
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos