[mc1322x] uart1-loopback example. Modification for mc1322x-SRB

Mariano Alvira mar at devl.org
Fri Mar 26 07:28:00 EDT 2010


On Fri, Mar 26, 2010 at 11:03:35AM +0100, Manuel Macías wrote:
> Yes, I was using the master branch.
> I´ve just tryied mc1322x-2.4 branch setting TARGET=redbee-dev (´cause  
> mc1322x doesn´t exist) and the output filesize is 240ks. This file  
> doesn´t fit in the mote (1322x-srb freescale).
> What I´m doing wrong?

Are you making the .bin?

$ make TARGET=redbee-dev example-abc_redbee-dev.bin

$ ls -al example-abc*
-rw-r--r-- 1 malvira malvira   3053 2010-03-17 07:43 example-abc.c
-rwxr-xr-x 1 malvira malvira 243561 2010-03-26 07:22 example-abc.redbee-dev
-rwxr-xr-x 1 malvira malvira  35444 2010-03-26 07:22 example-abc_redbee-dev.bin

example-abs.redbee-dev is the elf (about 240K) and
example-abc_redbee-dev.bin is the image you load on to the mc13224.

Sometimes though you can get large binaries when you use something
that links in a large glibc tree. In that case, the tool map2dot.pl
(in libmc1322x/tools) can be useful to see where the problem is. See
the comment in the beginning of the file for usage. 

-Mar.



More information about the mc1322x mailing list