ts-7000
[Top] [All Lists]

[ts-7000] Re: Rebuilding Redboot for a TS-7260/TS-7250.. need a few hint

To:
Subject: [ts-7000] Re: Rebuilding Redboot for a TS-7260/TS-7250.. need a few hints??
From: "guibiao" <>
Date: Thu, 30 Nov 2006 22:25:29 -0000
Hi, Kym, did you get it to build? If not, you could try the 
configtool to create the *.ecc file: 
select template ts7250 and change version to current, save it 
to /path/build/ecos.ecc. Then, generate build tree. 
In console, type following cmds to build redboot:
ecosconfig import /path/ecos/packages/.../redboot_ROMRAM_ts7250.ecm
ecosconfig tree
make

It seems 'ecosconfig new ts7250 redboot' couldn't select the current 
version.

Good luck,

Guibiao 





--- In  "Kym Newbery" <> 
wrote:
>
> Hi everyone,
> 
> I've got a few TS-7260's for which I would like to change the 
redboot
> console baud rate from the default to a lower value.. so I've been
> trying to rebuild redboot for the TS-7260, but I think I might 
have my
> technique screwed up..
> 
> 1) I downloaded "ecos-src.tar.gz" from ftp://ftp.embeddedarm.com 
> (because the standard ecos/redboot installation doesn't have the
> TS-7250 code in it)
> 2) I have a custom built toolchain for arm, installed & tested ok,
> based on the Crosstools (gcc-3.3.6-glibc-2.3.2) - and I also
> downloaded and have tried the ecoscentric redboot crosstool chain
> (ecoscentric-gnutools-arm-elf-1.4-2.i386linux.tar.bz2)
> 3) extracted ecos-src.tar.gz to /home/kym_new/source/ecos
> 
>  redboot.ts7250]$ export
> ECOS_REPOSITORY=/home/kym_new/source/ecos/packages
>  redboot.ts7250]$ export
> PATH=/home/kym_new/source/ecos/tools:$PATH
>  redboot.ts7250]$ mkdir /tmp/redboot.ts7250
>  redboot.ts7250]$ cd /tmp/redboot.ts7250
>  redboot.ts7250]$ ecosconfig new ts7250 redboot
>  redboot.ts7250]$ ecosconfig import
> /home/kym_new/source/ecos/packages/hal/arm/arm9/ts7250/current/misc
/redboot_ROMRAM_ts7250.ecm
> 
> /home/kym_new/source/ecos/packages/hal/arm/arm9/ts7250/current/misc
/redboot_ROMRAM_ts7250.ecm:
> warning
>     Cannot load version `current' of package `CYGPKG_HAL', version
> `v2_0' is already loaded.
> /home/kym_new/source/ecos/packages/hal/arm/arm9/ts7250/current/misc
/redboot_ROMRAM_ts7250.ecm:
> warning
>     Cannot load version `current' of package `CYGPKG_INFRA', 
version
> `v2_0' is already loaded.
> /home/kym_new/source/ecos/packages/hal/arm/arm9/ts7250/current/misc
/redboot_ROMRAM_ts7250.ecm:
> warning
>     Cannot load version `current' of package `CYGPKG_REDBOOT', 
version
> `v2_0' is already loaded.
> /home/kym_new/source/ecos/packages/hal/arm/arm9/ts7250/current/misc
/redboot_ROMRAM_ts7250.ecm:
> warning
>     Cannot load version `current' of package `CYGPKG_ISOINFRA',
> version `v2_0' is already loaded.
> /home/kym_new/source/ecos/packages/hal/arm/arm9/ts7250/current/misc
/redboot_ROMRAM_ts7250.ecm:
> warning
>     Cannot load version `current' of package `CYGPKG_LIBC_STRING',
> version `v2_0' is already loaded.
> /home/kym_new/source/ecos/packages/hal/arm/arm9/ts7250/current/misc
/redboot_ROMRAM_ts7250.ecm:
> warning
>     Cannot load version `current' of package `CYGPKG_CRC', version
> `v2_0' is already loaded.
> U CYGSEM_IO_FLASH_VERIFY_PROGRAM, new inferred value 0
> 
>  redboot.ts7250]$ vi ecos.ecc
> 
> (change the compiler prefix  CYGBLD_GLOBAL_COMMAND_PREFIX in 
ecos.ecc
> to arm-elf to match my toolchain)
> 
>  redboot.ts7250]$ ecosconfig tree
>  redboot.ts7250]$ make
> 
> .... builds a fair bit of stuff.. then :
> 
> arm-elf-gcc -c  -I/tmp/redboot.ts7250/install/include
> -I/home/kym_new/source/ecos/packages/hal/arm/arch/current
> -I/home/kym_new/source/ecos/packages/hal/arm/arch/current/src
> -I/home/kym_new/source/ecos/packages/hal/arm/arch/current/tests -I.
> -I/home/kym_new/source/ecos/packages/hal/arm/arch/current/src/
> -finline-limit=7000 -Wall -Wpointer-arith -Wstrict-prototypes -
Winline
> -Wundef  -g -ffunction-sections -fdata-sections  -fno-exceptions  
> -Wp,-MD,src/redboot_linux_exec.tmp -o
> src/hal_arm_arch_redboot_linux_exec.o
> /home/kym_new/source/ecos/packages/hal/arm/arch/current/src/redboot
_linux_exec.c
> /home/kym_new/source/ecos/packages/hal/arm/arch/current/src/redboot
_linux_exec.c:129:40:
> warning: backslash and newline separated by space
> /home/kym_new/source/ecos/packages/hal/arm/arch/current/src/redboot
_linux_exec.c:136:42:
> warning: backslash and newline separated by space
> /home/kym_new/source/ecos/packages/hal/arm/arch/current/src/redboot
_linux_exec.c:
> In function `do_exec':
> /home/kym_new/source/ecos/packages/hal/arm/arch/current/src/redboot
_linux_exec.c:328:
> `NO_MEMORY' undeclared (first use in this function)
> /home/kym_new/source/ecos/packages/hal/arm/arch/current/src/redboot
_linux_exec.c:328:
> (Each undeclared identifier is reported only once
> /home/kym_new/source/ecos/packages/hal/arm/arch/current/src/redboot
_linux_exec.c:328:
> for each function it appears in.)
> make[1]: *** [src/redboot_linux_exec.o.d] Error 1
> make[1]: Leaving directory 
`/tmp/redboot.ts7250/hal/arm/arch/current'
> make: *** [build] Error 2
> 
>  redboot.ts7250]$
> 
> NO_MEMORY is defined in the source tree :
> 
> /home/kym_new/source/ecos/packages/redboot/current/include/redboot.
h:#define
> NO_MEMORY (unsigned char *)0xFFFFFFFF
> 
> but is not defined in 
> 
> /tmp/redboot.ts7250/install/include/redboot.h
> /tmp/redboot.ts7250/install/include/pkgconf/redboot.h
> 
> hmm...  maybe I have done something.. or I don't quite understand 
how
> the "ecosconfig tree" command works..
> 
> Regards
> Kym
>




 
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] Re: Rebuilding Redboot for a TS-7260/TS-7250.. need a few hints??, guibiao <=
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