[mc1322x] My first application
Andrew Pullin
pullin at berkeley.edu
Fri Jun 4 15:13:48 EDT 2010
I don't mean to undercut Mariano's wonderful work in getting this all
put together with OpenEmbedded, but:
There are self containted toolchains that work. Like the CodeSourcery
Lite one,
http://www.codesourcery.com/sgpp/lite/arm/portal/package2554/public/arm-none-eabi/arm-2008q1-126-arm-none-eabi-i686-pc-linux-gnu.tar.bz2
.
It worked for me by untaring it to /opt , adding /opt/arm-2008q1/bin to
my PATH, and editing the libmc1322x makefiles to use the
'arm-none-eabi-' prefix instead of 'arm-elf' .
There's a couple little edits you have to do to the source, too:
- remove the STDERR declaration from printf.c , it's implicity declared
in newlib
- Change some %lx's to %x's in printfs
-lm works, but as Mariano points out, it was only there to test the math
libraries at my behest.
-Andrew
On 6/4/2010 9:37 AM, Daniel Berenguer wrote:
> I'm getting errors like
>
> " The remote end hung up unexpectedly"
>
> when running mc1322x-oe/setup.sh. I'm now unable to even run the
> bitbake command (file 'conf/bitbake.conf' not found). I'll try in an
> hour or so to see if setup.sh completes without a single hang.
>
> Thanks guys!
>
> Daniel.
>
>
> On 4 June 2010 17:58, Mariano Alvira<mar at devl.org> wrote:
>
>> On Fri, Jun 04, 2010 at 03:18:01PM +0200, Daniel Berenguer wrote:
>>
>>> I'm going to run the risk of asking a really stupid question but...
>>> you know, beginnings are plenty of doubts and troubles... :-)
>>>
>>> After installing the toolchain (openembeded) and libmc13224 I want to
>>> build lib13224x/tests but I'm finding errors like the following:
>>>
>>> ../arm-linux/bin/ld: cannot find -lm
>>>
>> you could drop -lm from the Makefile for now, just to get going or see
>> if you have other issues. It's only used to demonstrate floats in
>> tests/printf.c.
>>
>> -Mar.
>>
>>
> _______________________________________________
> mc1322x mailing list
> mc1322x at devl.org
> http://devl.org/cgi-bin/mailman/listinfo/mc1322x
>
More information about the mc1322x
mailing list