[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Working with Freescale 8323

From: Peter Barada
Subject: Re: [Ltib] Working with Freescale 8323
Date: Thu, 03 Feb 2011 20:20:04 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101208 Thunderbird/3.1.7

On 02/03/2011 07:52 PM, Charles Krinke wrote:
I got the ltib running for the 8323 on two different computers, but had to go through the ltib configure step several times and eventually found the right combination of settings that lets me be able to build u-boot, uImage and rootfs.jffs2.

This leads to another question. "What is the location of the configure file and its name that ./ltib --configure creates?".

I think I need to study this file a bit *and* another engineer that I am supporting wants to get the same ltib running and already requested the configuration file at which point I had to shrug, look foolish and say "dunno where it is yet".
You'll find it in config/platform/<platform>/.config, created from config/platform/ (and if that doesn't exist then config/platform/  the and .config in the config/platform/<platform>/ directory are created from the config/platform/<platform>/defconfig which is the default configuration you use when you use "./ltib" unless you change the configuration with "./tlib -c" or "./ltib --configure"....


On Thu, Feb 3, 2011 at 2:48 PM, Charles Krinke <address@hidden> wrote:
Thanks for the suggestions Peter, these are good ones.

What I have done is remove the ltib installation completely and start from a fresh start with the CD iso image. I then more carefully checked the settings as I went through ./ltib --configure and the build progressed through u-boot, the kernel, uclibc and bombed on busybox/applets this time.

So, ... I am doing that again and trying to find a more conservative set of settings with ..ltib configure. I *think* at this point that my configure settings are to blame and I blindly went ahead without checking them more carefully.

I'll report back when I make a bit more progress.


On Thu, Feb 3, 2011 at 1:10 PM, Peter Barada <address@hidden> wrote:
On 02/03/2011 02:54 PM, Charles Krinke wrote:
I'm having a little trouble with a different LTIB on a different computer then I have been working with and I think the environment is not quite set right.

The new ltib is "mpc8323x_rdb-20081112" downloaded from Freescale's web site. This is loaded into a different Linux computer recently formatted with Debian. After running the install and then running "./ltib", I get this error:

+ make ARCH=powerpc CROSS_COMPILE= 'HOSTCC=/usr/bin/gcc -B/usr/bin//' oldconfig
  HOSTCC  scripts/basic/docproc
/bin/sh: scripts/basic/fixdep: cannot execute binary file
make[1]: *** [scripts/basic/docproc] Error 126
make: *** [scripts_basic] Error 2
error: Bad exit status from /opt/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.8465 (%build)

So, ... I think since the CROSS_COMPILE variable is empty *and* I see scripts/basic/fixdep having a problem, this is probably an environment issue.

It does look like the ltib installation did add to my path as the last line in ~/.bashrc now reads:

export PATH=/opt/freescale/usr/local/gcc-4.2.171-eglibc-2.5.171/powerpc-linux-gnu/bin/:$PATH

So, .... I wonder if someone could give me a hint or two, please?
Do a "file scripts/basic/fixdep" to see what it is.  Is it an executable you can actually run on your host?  Are you running on an x64 machine and don't have the 32-bit libraries installed (which can be solved in Ubuntu by "sudo apt-get install ia32-libs")?


_______________________________________________ LTIB home page: Ltib mailing list address@hidden

Peter Barada

LTIB home page:

Ltib mailing list

Peter Barada

reply via email to

[Prev in Thread] Current Thread [Next in Thread]