ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] MCF5475 Toolchain


From: Stuart Hughes
Subject: Re: [Ltib] MCF5475 Toolchain
Date: Wed, 20 Apr 2011 11:25:28 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

Hi Andreas,

Check the test in bin/Ltibutils.pm is valid in the copy you have,
currently it is:

'rpm-build'      => sub { `rpmbuild --version 2>/dev/null` },

So to pass this test, you must have the rpmbuild executable on your system. On Ubuntu
this is in the rpm package and for Fedora etc I think its in rpmbuild.

So for Ubuntu/Debian: sudo apt-get install rpm

Regards, Stuart

On 20/04/11 10:38, Andreas Roth wrote:
Hi again,

thank you for your advice so far.

Currently I am trying to extract the desired Toolchain from the latest
Freescale BSP. The problem I am having right now is that that older LTIB
within the BSP depends on a Package called "rpm-build". Do you have any
suggestions how to get that?


Regards, Andreas

Stuart Hughes schrieb:
Hi Andreas,

I forget the details but the last merge out (2 years ago) broke the
toolchain relation for this platform.

Probably the simplest thing would be to check out a CVS copy from before
this last merge out and try and see if that configures a working toolchain.

The other option is to ask Freescale to point you at something working
for that platform (on their site) or to merge out to public.

Regards, Stuart

On 18/04/11 15:59, Andreas Roth wrote:
Hello there,

I guess I am going to ask the wrong question, but at this point I am
pretty much out of options.

I intend to compile a Build for a MCF5475 with the latest Linux Kernel.
Unfortunately this targets config file does not even contain a single
Toolchain per default. I tried to modify the config file in order to use
the toolchains linked at the "Cobra 5475" Target, but these did not work
either. I get the attached error message as I run LTIB (used Kernel so
far is the MCF547X Default 2.6.24).

So in order to solve my problem please tell me either where to get a
working toolchain for this target, or how to modify the existing
toolchain, or at least give my a hint into the right direction, so I can
do further research on my own.

Best regards,

Andreas Roth



/+ cp -f ./.config
/home/tartaros/ltib/config/platform/mcf547x_8x/linux-2.6.x.config.dev/
/+ '[' -n '' ']'/
/+ '[' '%{kernel_series}' = 2.4 ']'/
/+ make ARCH=m68k 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin//' uImage/
/make: m68k-linux-gnu-gcc: Command not found/
/scripts/kconfig/conf -s arch/m68k/Kconfig/
/make: m68k-linux-gnu-gcc: Command not found/
/make: *** No rule to make target `uImage'.  Stop./
/error: Bad exit status from /home/tartaros/ltib/tmp/rpm-tmp.49210 (%build)/


/RPM build errors:/
/    Bad exit status from /home/tartaros/ltib/tmp/rpm-tmp.49210 (%build)/
/Build time for kernel-2.6.24-m547x_8x: 26 seconds/

/Failed building kernel-2.6.24-m547x_8x/


/f_buildrpms() returned an error, exiting/
/traceback:/
/ main:567/


/Started: Mon Apr 18 16:44:42 2011/
/Ended:   Mon Apr 18 16:45:35 2011/
/Elapsed: 53 seconds/

/VERSION          : 10.1.1/
/CVS_VERSION      : $Revision: 1.75 $ (Savannah)/
/PLATFORM         : mcf547x_8x/
/GNUTARCH         : m68k/
/TOOLCHAIN        :
mtwk-lnx-cfv4e-gcc-3.4.0-glibc-2.3.2-v4e-0.28-8.i686.rpm/
/TOOLCHAIN_CFLAGS : -mcfv4e/

/These packages failed to build:/
/kernel-2.6.24-m547x_8x /

/Build Failed/

/Exiting on error or interrupt/
/address@hidden:~/ltib>  /



_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib




reply via email to

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