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/
|