public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Cache problem in the AEB board (lh77790b) (Jesper?)
       [not found] <1001670549.443.ezmlm@sources.redhat.com>
@ 2001-10-02  6:42 ` Guillermo Rodriguez Garcia
  2001-10-02  8:43   ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Guillermo Rodriguez Garcia @ 2001-10-02  6:42 UTC (permalink / raw)
  To: ecos-discuss

Hi all,

I am unsuccessfully trying to enable the cache in the AEB board
(lh77790b chip). I know that the cache was broken in the first
revisions which included the lh77790a, but according to Sharp it
should be working on the lh77790b (AEB rev C).

I found this in the sources:

// AEB rev C has 256kB of memory. Cache is working (set cachable)
#if 0
#define AEB_SRAM .long	0xFFFFA008,0x00008000,0x00048000,0x00007c04
#define AEB_BAD  .long	0xFFFFA00C,0x00048000,0x01000000,0x00000000
#else
// FIXME: There is a cache problem of some sort. Either eCos or the
// chip. Leave cache disabled till I find the time to fix it. Jesper
#define AEB_SRAM .long	0xFFFFA008,0x00008000,0x00048000,0x00007804
#define AEB_BAD  .long	0xFFFFA00C,0x00048000,0x01000000,0x00000000
#endif

Could someone (Jesper?) give some details about what work has
already been done on this issue?

Thanks,
G.

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

* Re: [ECOS] Cache problem in the AEB board (lh77790b) (Jesper?)
  2001-10-02  6:42 ` [ECOS] Cache problem in the AEB board (lh77790b) (Jesper?) Guillermo Rodriguez Garcia
@ 2001-10-02  8:43   ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-10-02  8:43 UTC (permalink / raw)
  To: Guillermo Rodriguez Garcia; +Cc: ecos-discuss

Guillermo Rodriguez Garcia wrote:
> 
> Hi all,
> 
> I am unsuccessfully trying to enable the cache in the AEB board
> (lh77790b chip). I know that the cache was broken in the first
> revisions which included the lh77790a, but according to Sharp it
> should be working on the lh77790b (AEB rev C).
> 
> I found this in the sources:
> 
> // AEB rev C has 256kB of memory. Cache is working (set cachable)
> #if 0
> #define AEB_SRAM .long  0xFFFFA008,0x00008000,0x00048000,0x00007c04
> #define AEB_BAD  .long  0xFFFFA00C,0x00048000,0x01000000,0x00000000
> #else
> // FIXME: There is a cache problem of some sort. Either eCos or the
> // chip. Leave cache disabled till I find the time to fix it. Jesper
> #define AEB_SRAM .long  0xFFFFA008,0x00008000,0x00048000,0x00007804
> #define AEB_BAD  .long  0xFFFFA00C,0x00048000,0x01000000,0x00000000
> #endif
> 
> Could someone (Jesper?) give some details about what work has
> already been done on this issue?

You're already looking at it alas. The best thing to do now is to try
enabling it and see how it dies and try to fix it. Here's what Jesper wrote
about it at one point:

 Trying to fix AEB/c problems - ran three loops with cache enabled -
 is indeed faster (3x). Then dies. Register rot during interrupt -
 suspect multi-store/load instructions.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

end of thread, other threads:[~2001-10-02  8:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1001670549.443.ezmlm@sources.redhat.com>
2001-10-02  6:42 ` [ECOS] Cache problem in the AEB board (lh77790b) (Jesper?) Guillermo Rodriguez Garcia
2001-10-02  8:43   ` Jonathan Larmour

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