ltib
[Top][All Lists]
Advanced

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

RE: [Ltib] Toolchain error using ltib - M544X coldfire


From: Jon Burke
Subject: RE: [Ltib] Toolchain error using ltib - M544X coldfire
Date: Wed, 20 Jan 2010 08:29:22 -0000

Thanks to the everyone who responded to this. I'm now using the updated
BSP from the Freescale website for coldfire M544X and my code is running
fine on it, even the debugger now works!
Jon

-----Original Message-----
From: John Wissel [mailto:address@hidden 
Sent: 11 January 2010 17:49
To: Jon Burke; Stuart Hughes
Cc: address@hidden
Subject: Re: [Ltib] Toolchain error using ltib - M544X coldfire


Sorry, The later drop from Freescale is using Kernel 2.6.25.  FYI, this
drop
seems to be a lot more stable than the 2007 one.  And has a few more
packages.

Regards,
John


On 1/11/10 11:34 AM, "John Wissel" <address@hidden> wrote:

> Hi Jon,
> 
> The I am also using the 5445X from Freescale.  I believe the latest
release
> is the 20090730 which is the 2.6.23 kernel.  The 2007 release was an
older
> kernel.  Which debugger are you using.  I am using AppTrk and it seems
to
> work fine.
> 
> Regards,
> John
> 
> 
> On 1/11/10 10:54 AM, "Jon Burke" <address@hidden> wrote:
> 
>> Thanks for your reply Stuart, that didn't work, I get this:
>> 
>> Testing network connectivity for gpp
>> OK GPP: is available
>> Try -.tar.bz2.md5 from the GPP
>> http://bitshrine.org/gpp/-.tar.bz2.md5:
>> 16:49:57 ERROR 404: Not Found.
>> Try -.tar.bz2 from the GPP
>> http://bitshrine.org/gpp/-.tar.bz2:
>> 16:49:58 ERROR 404: Not Found.
>> Can't get: -.tar.bz2 at ./ltib line 794.
>> 
>> I was using the Freescale website version (ltib-mcf5445x-20071214)
which
>> includes kernel version 2.6.23 and u-boot bootloader. But this has
>> issues (debugger doesn't work!) so was hoping that the savannah
version
>> would be more up to date, but it seems like that's not the case, at
>> least for this particular target. I will try your suggestion of
prodding
>> Freescale.
>> Thanks,
>> Jon.
>> 
>> -----Original Message-----
>> From: Stuart Hughes [mailto:address@hidden
>> Sent: 11 January 2010 14:42
>> To: Jon Burke
>> Cc: address@hidden
>> Subject: Re: [Ltib] Toolchain error using ltib - M544X coldfire
>> 
>> 
>> Hi Jon,
>> 
>> I didn't try building the BSP, so hence didn't run into this.
Looking
>> into this I can see that Freescale were transitioning this BSP at the
>> time it was merged out.  I don't know if they've released a update
since
>> 
>> on their site, but there's not been anything merged out from them or
>> sent to this list. Basically the problem is they were moving from
dBUG
>> bootloader to u-boot and don't look to have completed it.
>> 
>> To work around this I've found the older versions that _should_ work
>> with what you have.  To used this do this:
>> 
>> * save both attachments to config/platform/mcf5445x
>> * remove the current composite kernel specfile: rm tmp/*
>> * re-run ./ltib
>> 
>> I believe the bootable kernel is vmlinux.bin (in rootfs/boot).  I
have
>> built this but have not way of testing.
>> 
>> BTW: maybe you could email Freescale and ask them if they have a
>> completed update for this platform and if possibly something they
could
>> submit against Savannah CVS.
>> 
>> Regards, Stuart
>> 
>> 
>> Jon Burke wrote:
>>> Thanks for that Stuart, the install gets further now, but fails on
>>> building the kernel. I haven't changed any of the LTIB or kernel
>>> configuration settings from defaults. This is the error:
>>> 
>>> *** End of Linux kernel configuration.
>>> *** Execute 'make' to build the kernel or try 'make help'.
>>> 
>>> + '[' -f
>>> 
>>
/home/jon/ltib_latest/ltib/config/platform/mcf5445x/linux-2.6.x.config.d
>>> ev ']'
>>> + diff -q ./.config
>>> 
>>
/home/jon/ltib_latest/ltib/config/platform/mcf5445x/linux-2.6.x.config.d
>>> ev
>>> + '[' -n '' ']'
>>> + '[' '%{kernel_series}' = 2.4 ']'
>>> + make ARCH=m68k 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin//' uImage
>>> scripts/kconfig/conf -s arch/m68k/Kconfig
>>> make: *** No rule to make target `uImage'.  Stop.
>>> error: Bad exit status from
>> /home/jon/ltib_latest/ltib/tmp/rpm-tmp.40015
>>> (%build)
>>> 
>>> 
>>> RPM build errors:
>>>     Bad exit status from
/home/jon/ltib_latest/ltib/tmp/rpm-tmp.40015
>>> (%build)
>>> Build time for kernel-2.6.20-m5445x: 35 seconds
>>> 
>>> Failed building kernel-2.6.20-m5445x
>>> 
>>> I presume your build was successful, is there something else I'm
>>> missing?
>>> Jon
>>> 
>>> -----Original Message-----
>>> From: Stuart Hughes [mailto:address@hidden
>>> Sent: 08 January 2010 13:50
>>> To: Jon Burke
>>> Cc: address@hidden
>>> Subject: Re: [Ltib] Toolchain error using ltib - M544X coldfire
>>> 
>>> 
>>> Hi Jon,
>>> 
>>> It looks like the merge out from Freescale was inconsistent in some
>>> areas the m5445x platform was not in the toolchain config control
>> files.
>>> 
>>> I've updated these now on Savannah to what I _think_ they should be.
>> If
>>> 
>>> you do a cvs update and re-run ./ltib -m config it should find them
>>> (remember to save).  I get this, please check yours is the same.  If
>> it 
>>> is, build and test.
>>> 
>>> --- Toolchain selection.
>>>      Toolchain (gcc-4.3.43 eglibc-2.5.43 mk68k toolchain.)  --->
>>> (-march=isac -mcpu=54455 -msoft-float) Enter any CFLAGS for gcc/g++
>>> 
>>> Regards, Stuart
>>> 
>>> Jon Burke wrote:
>>>> Hello,
>>>> I've previously successfully used LTIB for the coldfire M54455
using
>>> the
>>>> BSP on Freescale's website. But Freescale don't provide updates,
and
>>> it
>>>> seems not to work on new Fedora 12. So I figured I would try the
>>> version
>>>> on Savannah. I followed the instructions in the FAQ, but when
running
>>>> ltib, I always get the following error:
>>>> 
>>>> You must set configuration values in
config/platform/mcf5445x/.config
>>>> for:
>>>>   TOOLCHAIN_PREFIX TOOLCHAIN_PATH
>>>> traceback:
>>>>  main::check_platform_config:2215
>>>>   main::pre_build_checks:1455
>>>>    main:558
>>>> 
>>>> I have "Freescale M544X coldfire/m68k (MMU)" selected as the
target.
>> I
>>>> can see that it has installed various tools in /opt/ltib, but it
does
>>>> not seem to include gcc. The FAQ says toolchains "are stored on the
>>> GPP
>>>> as the binary rpms and will be downloaded and installed as
required."
>>> Is
>>>> this wrong? Does anyone know if I need to install a toolchain
myself
>>>> first, and if so how?
>>>> 
>>>> Jon.
>>>> 
>>>> 
>>>> _______________________________________________
>>>> LTIB home page: http://ltib.org
>>>> 
>>>> Ltib mailing list
>>>> address@hidden
>>>> http://lists.nongnu.org/mailman/listinfo/ltib
>>>> 
>>> 
>>> 
>>> This message has been scanned by MailController -
>>> www.MailController.altohiway.com
>>> 
>> 
>> 
>> _______________________________________________
>> 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]