public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: David Fernandez <david.fernandez.work@googlemail.com>
To: David Fernandez <david.fernandez.work@googlemail.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Re: Target ek-lm3s811 with template redboot does not build
Date: Thu, 28 Jun 2012 23:33:00 -0000	[thread overview]
Message-ID: <4FECE9A9.7080402@googlemail.com> (raw)
In-Reply-To: <CAA6dH31JyvKknf_07QGmztHeEvNofhWpQTHAjEWy6Mn6PHV=ow@mail.gmail.com>

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

      reply	other threads:[~2012-06-28 23:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 16:29 [ECOS] " David Fernandez
2012-06-28 23:33 ` David Fernandez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FECE9A9.7080402@googlemail.com \
    --to=david.fernandez.work@googlemail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).