ts-7000
[Top] [All Lists]

[ts-7000] Building ecos redboot

To:
Subject: [ts-7000] Building ecos redboot
From: "pwjansen" <>
Date: Tue, 09 Jan 2007 23:17:46 -0000
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/
 

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Building ecos redboot, pwjansen <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU