public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Devaughn, Hans" <hans.devaughn@siemens.com>
To: "'ecos-discuss@sources.redhat.com'" <ecos-discuss@sources.redhat.com>
Subject: [ECOS] MIPS 5KC Target
Date: Tue, 24 Aug 2004 14:32:00 -0000	[thread overview]
Message-ID: <EA78B62757AF1E4799828249310AC4CA060A44E9@stca206a.bus.sc.rolm.com> (raw)

I have tried building the library, from config tool, for the Atlas and Malta
5KC processors. Both result in the same cache header file error

mipsisa32-elf-gcc -c  -I/ecos-work/mips_install/include
-I/eCos/packages/hal/mips/arch/current
-I/eCos/packages/hal/mips/arch/current/src
-I/eCos/packages/hal/mips/arch/current/tests -I. -I/ecos-
/eCos/packages/hal/mips/arch/current/src/ -finline-limit=7000 -mips64 -EL
-msoft-float -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g
-O2 -ffunction-sections -fdata-sections  -fno-exceptions   -G0
-Wp,-MD,src/hal_misc.tmp -o src/hal_mips_arch_hal_misc.o /ecos-
/eCos/packages/hal/mips/arch/current/src/hal_misc.c
In file included from
/ecos-work/mips_install/include/cyg/hal/hal_cache.h:64,
                 from
/eCos/packages/hal/mips/arch/current/src/hal_misc.c:65:
/ecos-work/mips_install/include/cyg/hal/var_cache.h:92:2: #error Unknown
MIPS32 Variant
/ecos-work/mips_install/include/cyg/hal/var_cache.h:198:5: warning:
"HAL_DCACHE_WRITETHRU_MODE" is not defined
/ecos-work/mips_install/include/cyg/hal/var_cache.h:202:2: #error
HAL_DCACHE_FLUSH undefined for MIPS32 writeback cache
/ecos-work/mips_install/include/cyg/hal/var_cache.h:207:5: warning:
"HAL_DCACHE_WRITETHRU_MODE" is not defined
/ecos-work/mips_install/include/cyg/hal/var_cache.h:211:2: #error
HAL_DCACHE_STORE undefined for MIPS32 writeback cache
make[1]: Leaving directory `/ecos-work/mips_build/hal/mips/arch/current'
make[1]: *** [src/hal_misc.o.d] Error 1

The problem is that the generic version of cache header file (on
cyg/hal/var_cache.h) has a check for the MIPS 4KC and generates a compile
error (#error). The 5KC cache header file is in the makefile and on
hal/mips/mips64/current/include/var_cache.h. It would seem that the 5KC
header should be used instead of the 4KC header.

Does anybody have a fix for this apparent problem?

Thanks in advance.

Hans


-- 
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:[~2004-08-24 14:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-24 14:32 Devaughn, Hans [this message]
2004-08-24 16:07 ` Nick Garnett
     [not found] <EA78B62757AF1E4799828249310AC4CA060A44EB@stca206a.bus.sc.rolm.com>
2004-08-24 17:16 ` Nick Garnett
2004-08-24 17:24 Devaughn, Hans

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=EA78B62757AF1E4799828249310AC4CA060A44E9@stca206a.bus.sc.rolm.com \
    --to=hans.devaughn@siemens.com \
    --cc=ecos-discuss@sources.redhat.com \
    /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).