This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot flash programming tool problem
- From: Gary Thomas <gthomas at redhat dot com>
- To: Charles-Henri Balet <charles-henri at bluewin dot ch>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 06 Mar 2002 12:28:01 -0700
- Subject: Re: [ECOS] Redboot flash programming tool problem
- References: <001501c1c542$8a8cef10$0401a8c0@CHARLESHENRI>
On Wed, 2002-03-06 at 12:10, Charles-Henri Balet wrote:
> Hi,
>
> I have adapted the pid board for my oki board ARM7TDMI compatible, all work
> fine with
> a the redboot defaut package, I obtain an functionnal Redboot on the serial
> port, all command
> work fine.
> I want now add the option "Build flash programming tool" for
> use Redboot for prog my atmel flash. but an error occur on the build of the
> RAM image, it's an file that
> I can't find in all the ecos cvs files, it's the "cstartup.h" file ! any can
> help me for this error, this after
> the error :
>
> arm-elf-gcc -c -I/ecos-d/cygwin/ecos-work/redboot_install/include -I/ecos-d
> /cygwin/ecos/packages/hal/arm/oki/current -I/ecos-d/cygwin/ecos/packages/hal
> /arm/oki/current/src -I/ecos-d/cygwin/ecos/packages/hal/arm/oki/current/test
> s -I. -Wp,-MD,deps.tmp -I/ecos-d/cygwin/ecos/packages/hal/arm/oki/current/sr
> c/ -mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
> -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -
> fno-exceptions -fvtable-gc -finit-priority -o src/prog_flash.o
> /ecos-d/cygwin/ecos/packages/hal/arm/oki/current/src/prog_flash.c
> make[1]: Leaving directory
> `/ecos-d/cygwin/ecos-work/redboot_build/hal/arm/oki/current'
> /ecos-d/cygwin/ecos/packages/hal/arm/oki/current/src/prog_flash.c:53:
> sys/cstartup.h: No such file or directory
> make: Leaving directory `/ecos-d/cygwin/ecos-work/redboot_build'
> make[1]: *** [/ecos-d/cygwin/ecos-work/redboot_install/bin/prog_flash.img]
> Error 1
> make: *** [build] Error 2
That program is no longer supported. In particular, much of the
programming infrastructure, like <sys/cstartup.h>, have been obsolete
for years!
Why don't you just add FLASH capabilities to your RedBoot on the
platform? That would be more in keeping with the "modern" way of doing
things and would be more easily supported. Just look at other platforms
to see how this capability was added.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss