public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] MPC860: Enabling Datacache does not work
@ 2002-07-11  6:46 Wolfgang Heppner
  0 siblings, 0 replies; only message in thread
From: Wolfgang Heppner @ 2002-07-11  6:46 UTC (permalink / raw)
  To: eCos-discuss

Hello,

after porting eCos (latest CVS-update yesterday) to my custom hardware
(MPC680T based, MBX and Viper used as reference platforms), i tried to
enable the caches.

Problem: With Datacache enabled, my testapplication (which worked
before) does not run at all. It craches right after calling
"hal_enable_caches" in the following system-init functions.

I do provide a suitable memdesc table for my configuration in hal_aux.c
like MBX and Viper Hals:

CYGARC_MEMDESC_TABLE CYGBLD_ATTRIB_WEAK = {
    CYGARC_MEMDESC_NOCACHE( 0xff000000,                   // MPC
internal map
			    0x00100000 ),
    CYGARC_MEMDESC_CACHE  ( CYGMEM_REGION_ram,
			    CYGMEM_REGION_ram_SIZE ),
    CYGARC_MEMDESC_NOCACHE( CYGMEM_REGION_rom_reloc,
			    CYGMEM_REGION_rom_reloc_SIZE ),

    CYGARC_MEMDESC_TABLE_END
};

Did anybody have the same problem?
Did i miss any customization in the HAL?

Thanks in advance
Wolfgang



-- 
Wolfgang Heppner

High Speed Kamerasysteme  - Abt. Bildsensorik (ESY-B)
High Speed Camera Systems - Dept. Electronic Imaging (ESY-B)

Fraunhofer                            
Institut Integrierte Schaltungen
Angewandte Elektronik

Am Wolfsmantel 33 
91058 Erlangen       
(Germany)

Tel:   +49 (0) 9131 776 528
Fax:   +49 (0) 9131 776 598

email: hep@iis.fhg.de
web:   http://www.iis.fhg.de

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-11 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-11  6:46 [ECOS] MPC860: Enabling Datacache does not work Wolfgang Heppner

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).