Ted Gail

Building the kernel with LTIB problems...problems..problems  Need help.

Discussion created by Ted Gail on Jan 25, 2012
Latest reply on Jan 26, 2012 by lmhdoms

I am in need of assistance using LTIB. Let me give some background first. I inherited this project almost 2 years ago, the firmware engineer left almost no documentation as to how he did anything. Which I have been able to cope with albeit painfully. The platform is mcf5445x and it uses Linux, I believe it was based on the eval board.
So it has finally come to the point where I need to reconfigure the kernel. Not knowing where to start I mugged my way through the makefile for the kernel and was able to reconfigure and build and even make an rpm package. But I couldn't get any further because it uses ltib and I couldn't get the rpm sig to match. So started to peel this onion and discovered ltib. Things were looking promising. Then once I figured out how to configure things I finally got to where I should configure the kernel. But even though I checked the configure kernel box it ignored that and I was stuck. Then I looked and it seems there is a bug in the 7.2.1 that ignores the kernel rebuild. Fine I then download the latest and greatest and installed it. I then complained that I was missing ncurses,m4,bison,and a patch. So I get the latest of ncurses, m4, and bison and installed them.

 

Now I need the patch and I can't find anything on how to get or install whatever it is. And even if it do get it running I am not quite sure ltib installed in the right place to correctly configure the kernel.


The info on the patch would be greatly appreciated. Here is the output of ltib:


ltib cannot be run because one or more of the host packages needed to run it
are either missing, failing, out of date or not in ltib's standard path.
Current the PATH environment is set to:
/opt/ltib/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin

Please correct this problem (e.g. install/upgrade these packages on your host).
If you have your own utilities in non-standard paths, please add an entry
into the .ltibrc file for example:

%path_std
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/my/own/exes

Package                Minimum ver   Installed info
-------                -----------   ---------------
patch                  0             not installed or error

Died at ./ltib line 1451.
traceback:
 main::host_checks:1451
  main:549


Started: Tue Jan 24 16:25:12 2012
Ended:   Tue Jan 24 16:25:15 2012
Elapsed: 3 seconds

Use of uninitialized value in concatenation (.) or string at ./ltib line 2821.
Use of uninitialized value in concatenation (.) or string at ./ltib line 2821.
Use of uninitialized value in concatenation (.) or string at ./ltib line 2821.
Use of uninitialized value in concatenation (.) or string at ./ltib line 2821.
VERSION          : 11.4.1
CVS_VERSION      : $Revision: 1.78 $ (Savannah)
PLATFORM         :
GNUTARCH         :
TOOLCHAIN        :
TOOLCHAIN_CFLAGS :


Build Failed

Exiting on error or interrupt

Thanks in advance for any assistance,
Ted

Outcomes