Hi,
I have been trying to rebuild redboot for the ts7260 (which is the
same as the ts7250 code) and without the changes from serial_blaster
ecos would not build, so I figured out what the differences were and
created the patch ecos-ts7250-patch.diff.
The error message I was getting was
arm-linux-gcc -Wl,-Map,map -Wl,--gc-sections -Wl,-static -g -nostdlib
-L/home/peter_jan/ecos-build/ecos-orig/build/install/lib -Tt
arget.ld -o
/home/peter_jan/ecos-build/ecos-orig/build/install/bin/redboot.elf
/home/peter_jan/ecos-build/ecos-orig/build/install/
lib/version.o
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/bin/ld:
section .bss [0
0001404 -> 0000cb1b] overlaps section .rom_vectors [00008000 -> 00008043]
collect2: ld returned 1 exit status
make[1]: ***
[/home/peter_jan/ecos-build/ecos-orig/build/install/bin/redboot.elf]
Error 1
make[1]: Leaving directory
`/home/peter_jan/ecos-build/ecos-orig/build/redboot/current'
make: *** [build] Error 2
I also added lines in the redboot_ROMRAM_ts7250.ecm for the default IP
address this makes the NO_BOOTP option work, the default is to not try
and find a bootp server now.
to build redboot from the ecos source I followed the instructions in
the serial_blaster, ie
tar xvzf ecos-src.tar.gz
cd ecos
patch -p1 < ecos-ts7250-patch.diff
ECOS_REPOSITORY=/path/to/ecos/packages
mkdir build
cd build
ecosconfig new ts7250 redboot
ecosconfig import \
../packages/hal/arm/arm9/ts7250/current/misc/recboot_ROMRAM_ts7250.ecm
ecosconfig tree
make
Should this patch be put into the ecos source tree?
Hope this helps someone,
Peter Jansen
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|