public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Target ek-lm3s811 with template redboot does not build
@ 2012-06-25 16:29 David Fernandez
  2012-06-28 23:33 ` [ECOS] " David Fernandez
  0 siblings, 1 reply; 2+ messages in thread
From: David Fernandez @ 2012-06-25 16:29 UTC (permalink / raw)
  To: ecos-discuss

Hi There,

May be that this is known to be incomplete (at least for redboot), but
when building for ecosconfig ek-lm3s811 redboot, I get the following
errors:
...
arm-eabi-gcc -c  -I/home/wifi/eCos/install/include
-I/home/wifi/ecos/packages/redboot/current
-I/home/wifi/ecos/packages/redboot/current/src
-I/home/wifi/ecos/packages/redboot/current/tests -I.
-I/home/wifi/ecos/packages/redboot/current/src/ -finline-limit=7000
-Wall -Wpointer-arith -Wstrict-prototypes -Wundef  -Wno-write-strings
-mcpu=cortex-m3 -mthumb -g -O2 -ffunction-sections -fdata-sections
-fno-exceptions -Wp,-MD,src/main.tmp -o src/redboot_main.o
/home/wifi/ecos/packages/redboot/current/src/main.c
/home/wifi/ecos/packages/redboot/current/src/main.c: In function ‘cyg_start’:
/home/wifi/ecos/packages/redboot/current/src/main.c:282:34: error:
‘CYGMEM_REGION_ram’ undeclared (first use in this function)
/home/wifi/ecos/packages/redboot/current/src/main.c:282:34: note: each
undeclared identifier is reported only once for each function it
appears in
/home/wifi/ecos/packages/redboot/current/src/main.c: In function ‘do_go’:
/home/wifi/ecos/packages/redboot/current/src/main.c:615:5: warning:
implicit declaration of function ‘HAL_DCACHE_SYNC’
[-Wimplicit-function-declaration]
/home/wifi/ecos/packages/redboot/current/src/main.c:617:2: warning:
implicit declaration of function ‘HAL_ICACHE_DISABLE’
[-Wimplicit-function-declaration]
/home/wifi/ecos/packages/redboot/current/src/main.c:618:2: warning:
implicit declaration of function ‘HAL_DCACHE_DISABLE’
[-Wimplicit-function-declaration]
/home/wifi/ecos/packages/redboot/current/src/main.c:621:5: warning:
implicit declaration of function ‘HAL_ICACHE_INVALIDATE_ALL’
[-Wimplicit-function-declaration]
/home/wifi/ecos/packages/redboot/current/src/main.c:622:5: warning:
implicit declaration of function ‘HAL_DCACHE_INVALIDATE_ALL’
[-Wimplicit-function-declaration]
/home/wifi/ecos/packages/redboot/current/src/main.c:634:2: warning:
implicit declaration of function ‘HAL_ICACHE_ENABLE’
[-Wimplicit-function-declaration]
/home/wifi/ecos/packages/redboot/current/src/main.c:635:2: warning:
implicit declaration of function ‘HAL_DCACHE_ENABLE’
[-Wimplicit-function-declaration]
make[1]: *** [src/main.o.d] Error 1
make[1]: Leaving directory `/home/wifi/eCos/redboot/current'
make: *** [build] Error 2

The first one:
/home/wifi/ecos/packages/redboot/current/src/main.c:282:34: error:
‘CYGMEM_REGION_ram’ undeclared (first use in this function)

Is obviously due to the platform assuming no "ram", but "sram"
instead, while the cyg_start() function in RedBoot expects to have it
defined in all cases.

I suspect the others are similar cases where RedBoot expects something
defined for them (I guess even if the definitions are dummies).

So it might be that this platform is not currently supported by
Redboot, or in progress, but I might be missing some package that I
should add...

Anybody knows something about this?

Cheers

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] Re: Target ek-lm3s811 with template redboot does not build
  2012-06-25 16:29 [ECOS] Target ek-lm3s811 with template redboot does not build David Fernandez
@ 2012-06-28 23:33 ` David Fernandez
  0 siblings, 0 replies; 2+ messages in thread
From: David Fernandez @ 2012-06-28 23:33 UTC (permalink / raw)
  To: David Fernandez; +Cc: ecos-discuss

On 25/06/12 17:28, David Fernandez wrote:
> Hi There,
>
> May be that this is known to be incomplete (at least for redboot), but
> when building for ecosconfig ek-lm3s811 redboot, I get the following
> errors:
> ...
> arm-eabi-gcc -c  -I/home/wifi/eCos/install/include
> -I/home/wifi/ecos/packages/redboot/current
> -I/home/wifi/ecos/packages/redboot/current/src
> -I/home/wifi/ecos/packages/redboot/current/tests -I.
> -I/home/wifi/ecos/packages/redboot/current/src/ -finline-limitp00
> -Wall -Wpointer-arith -Wstrict-prototypes -Wundef  -Wno-write-strings
> -mcpu=rtex-m3 -mthumb -g -O2 -ffunction-sections -fdata-sections
> -fno-exceptions -Wp,-MD,src/main.tmp -o src/redboot_main.o
> /home/wifi/ecos/packages/redboot/current/src/main.c
> /home/wifi/ecos/packages/redboot/current/src/main.c: In function ‘cyg_start’:
> /home/wifi/ecos/packages/redboot/current/src/main.c:282:34: error:
> ‘CYGMEM_REGION_ram’ undeclared (first use in this function)
> /home/wifi/ecos/packages/redboot/current/src/main.c:282:34: note: each
> undeclared identifier is reported only once for each function it
> appears in
> /home/wifi/ecos/packages/redboot/current/src/main.c: In function ‘do_go’:
> /home/wifi/ecos/packages/redboot/current/src/main.c:615:5: warning:
> implicit declaration of function ‘HAL_DCACHE_SYNC’
> [-Wimplicit-function-declaration]
> /home/wifi/ecos/packages/redboot/current/src/main.c:617:2: warning:
> implicit declaration of function ‘HAL_ICACHE_DISABLE’
> [-Wimplicit-function-declaration]
> /home/wifi/ecos/packages/redboot/current/src/main.c:618:2: warning:
> implicit declaration of function ‘HAL_DCACHE_DISABLE’
> [-Wimplicit-function-declaration]
> /home/wifi/ecos/packages/redboot/current/src/main.c:621:5: warning:
> implicit declaration of function ‘HAL_ICACHE_INVALIDATE_ALL’
> [-Wimplicit-function-declaration]
> /home/wifi/ecos/packages/redboot/current/src/main.c:622:5: warning:
> implicit declaration of function ‘HAL_DCACHE_INVALIDATE_ALL’
> [-Wimplicit-function-declaration]
> /home/wifi/ecos/packages/redboot/current/src/main.c:634:2: warning:
> implicit declaration of function ‘HAL_ICACHE_ENABLE’
> [-Wimplicit-function-declaration]
> /home/wifi/ecos/packages/redboot/current/src/main.c:635:2: warning:
> implicit declaration of function ‘HAL_DCACHE_ENABLE’
> [-Wimplicit-function-declaration]
> make[1]: *** [src/main.o.d] Error 1
> make[1]: Leaving directory `/home/wifi/eCos/redboot/current'
> make: *** [build] Error 2
>
> The first one:
> /home/wifi/ecos/packages/redboot/current/src/main.c:282:34: error:
> ‘CYGMEM_REGION_ram’ undeclared (first use in this function)
>
> Is obviously due to the platform assuming no "ram", but "sram"
> instead, while the cyg_start() function in RedBoot expects to have it
> defined in all cases.
>
> I suspect the others are similar cases where RedBoot expects something
> defined for them (I guess even if the definitions are dummies).
>
> So it might be that this platform is not currently supported by
> Redboot, or in progress, but I might be missing some package that I
> should add...
>
> Anybody knows something about this?
>
> Cheers
Never mind... In the page http://ecos.sourceware.org/hardware.html there
is a blank cell for the redboot support in the hardware table for the
platform.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-28 23:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-25 16:29 [ECOS] Target ek-lm3s811 with template redboot does not build David Fernandez
2012-06-28 23:33 ` [ECOS] " David Fernandez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).