This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Target ek-lm3s811 with template redboot does not build


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]