public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Hoss, Laurent" <hossl@student.ethz.ch>
To: <ecos-discuss@sourceware.cygnus.com>
Cc: "Hoss, Laurent" <hossl@student.ethz.ch>
Subject: [ECOS] Problems using EP7212's SRAM on Cirrus Logic EDB7209
Date: Wed, 07 Feb 2001 03:31:00 -0000	[thread overview]
Message-ID: <AA8A2B3CF35FE94F99B78398735686E9179D4F@EXSTUD1.d.ethz.ch> (raw)

We badly need to use the 38K onchip-SRAM for our MP3-Decoder to work in
real time. Currently the decoder allocates 22K dynamically on EDB7209's
DRAM which seems to be much too slow.
( we have tried to port the new, very nice, open source MAD-Decoder
http://www.mars.org/home/rob/proj/mpeg/ )

So I simply tried to replace malloc's return value by 0x60000000
(SRAM-Addr).
Did not work. Therefore I made a test-loop which writes over the whole
SRAM.
Result: Only the first 4K returned the value which was written in. Above
that 4K only 0x00000010 was read.

First I tried to apply the patch to hal_platform_setup.h from the
posting
" http://sources.redhat.com/ml/ecos-discuss/2000-08/msg00156.html "
But that did not work (unable to apply hunk 2...).
Therefore I downloaded v1.8 (with the correct SRAM-size from
25.Aug.2000) of hal_platform_setup.h from CVS, and recompiled ecos (only
v.1.3.1, as the new Config.tool did not work with Windows 95).

Unfortunately the 4K problem remains :(

Another question: Would it be possible to have the whole prg + ecos only
in SRAM ?


Thank you 

Laurent Hoss

             reply	other threads:[~2001-02-07  3:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-07  3:31 Hoss, Laurent [this message]
2001-02-07  5:16 ` Lewin A.R.W. Edwards

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=AA8A2B3CF35FE94F99B78398735686E9179D4F@EXSTUD1.d.ethz.ch \
    --to=hossl@student.ethz.ch \
    --cc=ecos-discuss@sourceware.cygnus.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).