Compilation Problem when compiling uboot in ltib

cancel
Showing results for 
Search instead for 
Did you mean: 

Compilation Problem when compiling uboot in ltib

Jump to solution
1,423 Views
ashwathhebbar
Contributor II

Hi,

I am trying to compile u-boot in ltib. The logs can be seen below.

root@ubuntu-WSG52B55W7-0248:/mnt/sata_home/ashwath/totest# ./ltib

Don't have HTTP::Request::Common

Don't have LWP::UserAgent

Cannot test proxies, or remote file availability without both

HTTP::Request::Common and LWP::UserAgent

You should not be root when running ltib, do you really

want to continue ?  y|N

y

Processing platform: Freescale iMX6x Based Boards

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

using config/platform/imx/.config

Processing: fake-provides

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

Processing: u-boot

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

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

scbuild/scdeploy already unpacked package

Processing: u-boot

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

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

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

Building target platforms: arm

Building for target arm

Executing(%build): /bin/sh -e /mnt/sata_home/ashwath/totest/tmp/rpm-tmp.63147

+ umask 022

+ cd /mnt/sata_home/ashwath/totest/rpm/BUILD

+ cd u-boot-2009.08

+ : mx6q_sabrelite_config

+ eval echo

+ echo

+ PKG_U_BOOT_PATH_PRECONFIG=

+ SRC_DIR=/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08

+ BUILD_DIR=/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08

+ [ /mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08 != /mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08 ]

+ cd /mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08

+ [ -n  ]

+ make HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ CROSS_COMPILE=arm-none-linux-gnueabi- O=/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08 mx6q_sabrelite_config

Configuring for mx6q_sabrelite board...

+ make HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ HOSTSTRIP=/usr/bin/strip CROSS_COMPILE=arm-none-linux-gnueabi- OPTFLAGS=-Os O=/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08 all

Generating include/autoconf.mk

Generating include/autoconf.mk.dep

for dir in tools examples/standalone examples/api ; do make -C $dir _depend ; done

make[1]: Entering directory `/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08/tools'

make[1]: Nothing to be done for `_depend'.

make[1]: Leaving directory `/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08/tools'

make[1]: Entering directory `/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08/examples/standalone'

make[1]: Nothing to be done for `_depend'.

make[1]: Leaving directory `/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08/examples/standalone'

make[1]: Entering directory `/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08/examples/api'

make[1]: Nothing to be done for `_depend'.

make[1]: Leaving directory `/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08/examples/api'

make -C tools all

make -C examples/standalone all

make -C examples/api all

make[1]: Entering directory `/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08/tools'

make[1]: *** No rule to make target `/home/ubuntu/imx6q/html5_demo_webkit_1_6_1/ltib/rpm/BUILD/u-boot-2009.08/lib_generic/crc32.c', needed by `crc32.o'.  Stop.

make[1]: Leaving directory `/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08/tools'

make: *** [tools] Error 2

make: *** Waiting for unfinished jobs....

make[1]: Entering directory `/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08/examples/standalone'

make[1]: *** No rule to make target `/home/ubuntu/imx6q/html5_demo_webkit_1_6_1/ltib/rpm/BUILD/u-boot-2009.08/include/common.h', needed by `hello_world.o'.  Stop.

make[1]: Leaving directory `/mnt/sata_home/ashwath/totest/rpm/BUILD/u-boot-2009.08/examples/standalone'

make: *** [examples/standalone] Error 2

make: *** wait: No child processes.  Stop.

error: Bad exit status from /mnt/sata_home/ashwath/totest/tmp/rpm-tmp.63147 (%build)

RPM build errors:

    Bad exit status from /mnt/sata_home/ashwath/totest/tmp/rpm-tmp.63147 (%build)

Build time for u-boot: 2 seconds

Failed building u-boot

f_buildrpms() returned an error, exiting

traceback:

main:560

Started: Fri Nov  8 19:56:08 2013

Ended:   Fri Nov  8 19:56:12 2013

Elapsed: 4 seconds

These packages failed to build:

u-boot

Build Failed

Exiting on error or interrupt

Actually I do not know what is the problem. I wanted to apply this patch in u-boot source i.e http://lists.denx.de/pipermail/u-boot/2012-October/136234.html  so as to enable LVDS display. So I am trying to compile this.

Can anybody let me know how to resolve this compilation problem.

Regards,

Ashwath

Labels (2)
Tags (3)
0 Kudos
1 Solution
175 Views
ashwathhebbar
Contributor II

Hi Dan,

This problem is solved now . Currently I am using ltib cross compilation tool to compile u-boot. The board which we are using is nitrogen6x.

Thanking You,

Ashwath

View solution in original post

0 Kudos
4 Replies
175 Views
b45499
NXP TechSupport
NXP TechSupport

Hi Ashwath,

Would you pleases tell us which board and the version of BSP you are using ?

Best Regards

Dan

176 Views
ashwathhebbar
Contributor II

Hi Dan,

This problem is solved now . Currently I am using ltib cross compilation tool to compile u-boot. The board which we are using is nitrogen6x.

Thanking You,

Ashwath

View solution in original post

0 Kudos
175 Views
b45499
NXP TechSupport
NXP TechSupport

Hi Ashwath,

My pleasure. Any questions will be welcome.

Best Regards

Dan

0 Kudos
175 Views
ashwathhebbar
Contributor II

sure Dan......

0 Kudos