LTIB install problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LTIB install problem

3,413 Views
enaud
Contributor III

hi,

i'm, trying to install LTIB. i'm following this instructions: http://www.imxdev.org/wiki/index.php?title=All_Boards_LTIB

i have downloaded this file: L2.6.35_11.09.01_ER_source_bundle.tar.gz

i have extract its contents and i have 4 packets:

- L2.6.35_11.09.01_ER_docs.tar.gz

- L2.6.35_11.09.01_ER_images_MX5X.tar.gz

- L2.6.35_11.09.01_ER_source.tar.gz

- patches.tar.gz

i have extract this 4 packets and now i have 4 cartel:

- L2.6.35_11.09.01_ER_docs

- L2.6.35_11.09.01_ER_images_MX5X

- L2.6.35_11.09.01_ER_source

- patches

and now what i must do?

in ER_source there is LTIB! 

Labels (1)
Tags (2)
0 Kudos
12 Replies

1,129 Views
enaud
Contributor III

it not work during to compile kernel:

error: Bad exit status from /home/giuseppe/imx53/11.09.01/ltib/tmp/rpm-tmp.95807 (%build)


RPM build errors:
Bad exit status from /home/giuseppe/imx53/11.09.01/ltib/tmp/rpm-tmp.95807 (%build)
Build time for fontconfig: 15 seconds

Failed building fontconfig


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


Started: Thu Mar 8 15:05:26 2012
Ended: Thu Mar 8 15:05:43 2012
Elapsed: 17 seconds

These packages failed to build:
fontconfig

Build Failed

Exiting on error or interrupt

0 Kudos

1,129 Views
enaud
Contributor III

now it work! many thanks

in Device Driver where is driver for Sierra wireless? i not find it!

what package profile i must setting?

0 Kudos

1,129 Views
KrishnaPavan
Contributor II

Hi,

$ cd /opt/freescale/ltib/usr/src/rpm/BUILD/

$ sudo rm -rf lkc*

and run ./ltib again

0 Kudos

1,129 Views
enaud
Contributor III

i have following this link: http://imxcommunity.org/group/imx53quickstartboard/forum/topic/show...

but i have same problems:

Processing: lkc
=================
Build path taken because: directory build, no prebuilt rpm,

Cowardly refusing to clobber existing directory:
/opt/freescale/ltib/usr/src/rpm/BUILD/lkc-1.4
Remove this by hand if you really want to rebuild this package from scratch

Died at ./ltib line 1380.
traceback:
main::build_host_rpms:1380
main::host_checks:1435
main:542


Started: Thu Mar 8 12:37:30 2012
Ended: Thu Mar 8 12:37:30 2012
Elapsed: 0 seconds

These packages failed to build:
lkc

Build Failed

and after i can't do this 2 operation:

7.3.5Configure tftp server

7.3.6Configure NFS server

i have always problems with lkc!!

0 Kudos

1,129 Views
enaud
Contributor III

what is synaptic package?

you can write sudo apt-get install ....???

0 Kudos

1,129 Views
KrishnaPavan
Contributor II

Hi,

Have you seen the last line.

These packages failed to build: lkc

Not only this, but you will get many such errors, I would like to stress many.

Now go to synaptics package manager or you can use sudo+apt+get commands from terminal to install that package.

Notable_Instruction :: You have to follow the link down here, because, you are using 64-bit machine & 11.09 BSP.

http://imxcommunity.org/group/imx53quickstartboard/forum/topic/show?id=4103961%3ATopic%3A53008&xg_so...

0 Kudos

1,129 Views
enaud
Contributor III

giuseppe@giuseppe-K53SV:~/Scrivania/bsp/ltib/ltib$ uname -a
Linux giuseppe-K53SV 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

i have ubuntu 11.10.

i have changed this row in ltib, is correct?

$hrpm = system('rpm -v --force-debian 2>/dev/null') == 0 ?
                         'rpm -v --force-debian' : 'rpm';

my bin/Ltibutils.pm is already with: || -f '/usr/lib32/libm.so:

'glibc-devel'    => sub { -f '/usr/lib/libm.so' || -f '/usr/lib64/libm.so' || -f '/usr/lib32/libm.so' || -f '/usr/lib/x86_64-linux-gnu/libm.so' || -f '/usr/lib/i386-linux-gnu/libm.so' },

also zlib have already glob('/usr/lib32/libz.so*'):

zlib => sub { my @f = (glob('/usr/lib/libz.so*'),
                                  glob('/lib/libz.so*'),
                                  glob('/lib64/libz.so*'),
                                  glob('/usr/lib/i386-linux-gnu/libz.so*'),
                                  glob('/usr/lib32/libz.so*'),
                                  glob('/usr/lib/x86_64-linux-gnu/libz.so*') ); @f > 1 ? 1 : 0 },

but it not start!

giuseppe@giuseppe-K53SV:~/Scrivania/bsp/ltib/ltib$ ./ltib

Installing host support packages.

This only needs to be done once per host, but may take up to
an hour to complete ...

If an error occurs, a log file with the full output may be found in:
/home/giuseppe/Scrivania/bsp/ltib/ltib/host_config.log

Exiting on error or interrupt
Please see >> /home/giuseppe/Scrivania/bsp/ltib/ltib/host_config.log for detail

ATTACH host_config.log



0 Kudos

1,129 Views
JamesRobinson
Contributor II

Which version of Ubuntu are you using?

Are you using 32 or 64 bit? Better yet, post the output of "uname -a"

From your error, I would guess that you are using a version of 11.XX of Ubuntu. The problem you are running into is a know problem. To get you going, you will need to edit ltib and place a "-v" in front of the --force-debian.

The problem is that this will not be the only issue you run into. You will need to fix mtd-util and some other packages.

There is a REALLY good tutorial from the mx51 series by Curtis Ward. READ the .docx file!!! LINK

If you are also running on a 64 bit os you will need to edit the bin/Ltibutils.pm to fix the search for the glibc-devel and libz libraries. A snapshot from mine is below, I added the bold info

    'glibc-devel'    => sub { -f '/usr/lib/libm.so' || -f '/usr/lib64/libz.so' || -f '/usr/lib32/libm.so'},
 

also

    zlib         => sub { my @f = (glob('/usr/lib/libz.so*'),
                                   glob('/lib/libz.so*'),
                                   glob('/usr/lib32/libz.so*'),
                                   glob('/lib64/libz.so*')  ); @f > 1 ? 1 : 0 },

There are lots of info via search on this one. But if you get stuck, drop me a note.....

-James

0 Kudos

1,129 Views
enaud
Contributor III

i have same error

0 Kudos

1,129 Views
KrishnaPavan
Contributor II

If you are using Ubuntu, the first thing to do is to

Open Synaptics Manager, Mark All Upgrades and install the updates.

Later you will have to check for the missing packages that LTIB asks for and install them depending on the requirements.

./ltib -c will give a menu configuration.

User Guide is available, try to find it, which will ease out your tasks.

~~~Regards

0 Kudos

1,129 Views
enaud
Contributor III

someone here?

0 Kudos

1,129 Views
enaud
Contributor III

cd  L2.6.35_11.09.01_ER_source

./install

it creates a cartel LTIB/LTIB

cd ltib/ltib

./install -c

i have this error:

giuseppe@giuseppe-K53SV:~/Scrivania/imx53/BSP/L2.6.35_11.09.01_ER_source/ltib/ltib$ ./ltib -c

Installing host support packages.

This only needs to be done once per host, but may take up to
an hour to complete ...

If an error occurs, a log file with the full output may be found in:
/home/giuseppe/Scrivania/imx53/BSP/L2.6.35_11.09.01_ER_source/ltib/ltib/host_config.log

Exiting on error or interrupt
Please see >> /home/giuseppe/Scrivania/imx53/BSP/L2.6.35_11.09.01_ER_source/ltib/ltib/host_config.log for details
giuseppe@giuseppe-K53SV:~/Scrivania/imx53/BSP/L2.6.35_11.09.01_ER_source/ltib/ltib$

In host_config.log i read this:

rpmdb: --force-debian: opzione sconosciuta
Died at ./ltib line 2340.
traceback:
main::setup_rpmdb:2340
main::check_rpm_setup:2403
main::host_checks:1423
main:542


Started: Tue Mar 6 10:39:48 2012
Ended: Tue Mar 6 10:39:49 2012
Elapsed: 1 seconds


Build Failed

0 Kudos