LTIB on Ubuntu 13.04

cancel
Showing results for 
Search instead for 
Did you mean: 

LTIB on Ubuntu 13.04

Jump to solution
7,833 Views
xuankong
Contributor II

I am trying to install LTIB for my I.MX6 SoloLite board. I have installed the dependencies and patched LTIB. I am stuck when booting the kernel. Please help me to solve the problem.

After LTIB is configured, I builded the kernel for iMX6 board. I typed the following command in terminal.


~/Documents/imx6install/ltib$ ./ltib


Then I get this error at the end.


gnueabi/bin/ld: cannot find /lib/ld-linux.so.3
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1
error: Bad exit status from /home/xuan/Documents/imx6install/ltib/tmp/rpm-tmp.35506 (%build)

RPM build errors:
Bad exit status from /home/xuan/Documents/imx6install/ltib/tmp/rpm-tmp.35506 (%build)
Build time for busybox: 5 seconds

Failed building busybox

f_buildrpms() returned an error, exiting
traceback:
main:572

Started: Wed May 29 23:47:56 2013
Ended: Wed May 29 23:48:01 2013
Elapsed: 5 seconds

These packages failed to build:
busybox

Build Failed

Exiting on error or interrupt

I noticed someone uploaded a similar problem. I tried this solution (listed below) but the error was still there.

Failed solution:

Go into ltib/dist/lfs/base_libs/base_libs.spec and find these lines:

# remove absolute paths from text search files (if they exist)

perl -w -e '

@ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;

exit(0) unless @ARGV;

Remove the last two (the lines beginning with "@ARGV" and "exit(0)" and you should be good to go.


Any solutions?



1 Solution
307 Views
XiaoPong
NXP Employee
NXP Employee


Hi, XuanKong,

1) install patch-ltib-ubuntu12.04.sh from (https://community.freescale.com/docs/DOC-93455).

2) create a soft link under /usr/include.

     sudo ln -s i386-linux-gun/sys sys

3) install additional packages.

     sudo aptitude -y install asciidoc texlive-latex-base dblatex xutils-dev

     sudo apt-get install texinfo

4) modify ltib/dist/lfs-5.1/base_libs/base_libs.spec.

     ...

     perl -w -e '

     # @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;

     # exit (0) unless @ARGV;

Good Luck!

View solution in original post

7 Replies
307 Views
XiaoPong
NXP Employee
NXP Employee

Congratulations!

0 Kudos
307 Views
oguzyaz
Contributor I

@XiaoPong;

Thank you very much. It is OK.

0 Kudos
308 Views
XiaoPong
NXP Employee
NXP Employee


Hi, XuanKong,

1) install patch-ltib-ubuntu12.04.sh from (https://community.freescale.com/docs/DOC-93455).

2) create a soft link under /usr/include.

     sudo ln -s i386-linux-gun/sys sys

3) install additional packages.

     sudo aptitude -y install asciidoc texlive-latex-base dblatex xutils-dev

     sudo apt-get install texinfo

4) modify ltib/dist/lfs-5.1/base_libs/base_libs.spec.

     ...

     perl -w -e '

     # @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;

     # exit (0) unless @ARGV;

Good Luck!

View solution in original post

307 Views
LeonardoSandova
Specialist I

XiaoPong. Thanks for the info.  I will create a patch for Ubuntu 13.04 soon.

Leo

0 Kudos
307 Views
phil_martin
Contributor II

Hi Leonardo,

Has this patch been done yet?

- I'm trying to get LTIB running on 10.4

- but I would happily jump to 12.04 or 13.04 if either of them is known to work ok!

Thanks,

Phil

0 Kudos
307 Views
LeonardoSandova
Specialist I

I have not re-worked the 12.04 patch :smileysad: so there is no 13.04 yet.

Try 12.04. With latest BSP (4.0.0), there is no need to patch LTIB, but in case you face some issues the first time you run ltib, then apply the patch.

Leo

0 Kudos
307 Views
jimmychan
NXP TechSupport
NXP TechSupport
0 Kudos