public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Ling Su" <lingsu@palmmicro.com>
To: <ecos-discuss@sources.redhat.com>
Subject: [ECOS] Porting eCos to DDB-VRC4375(Memory mapping)
Date: Mon, 29 Jan 2001 18:19:00 -0000	[thread overview]
Message-ID: <000b01c08a63$06a81cd0$0201a8c0@raccoon> (raw)

I am working on porting eCos to DDB-VRC4375 based on VRC4373 source code. Of
course, if I make a working version, I will let you know. Now I have several
questions on the memory mapping.

The DDB-VRC4375 contains 32M SDRAM, but DDB-VRC4373 has 8M SDRAM.

<1>. In the mlt_mips_vr4300_vrc4373_ram.ldi,
MEMORY
{
    ram : ORIGIN = 0x80100000, LENGTH = 0x500000
}

I am wondering why the LENGTH is 0x500000 instead of 0x700000. For vrc4375
is SDRAM is 32M, how should I set it.  I first set it to 0x1E00000, I am not
sure if it is right. Any explaination on the LENGTH will be welcomed a lot.
:-/

<2>. In the mlt_mips_vr4300_vrc4373_rom.ldi,
MEMORY
{
    ram: ORIGIN = 0x80000800, LENGTH = 0x7F800
    rom: ORIGIN = 0xBFC0000, LENGTH = 0x80000
}
I don't quite understand the ram LENGTH setting, why we just use 512KB ram
in rom start up setting? Can we set the ram LENGTH to larger. Another thing
is why its ORIGIN is 0x80000800?

<3>. What is ROMRAM startup type? I found the memory mapping for ROMRAM is
the same as RAM startup type, why?

I am working on making the GDB stubs for the DDB-VRC4375, since the vrc4375
has a FLASH ROM, so I can modify it a lot of times. But now I still didn't
make a GDB working. I think if I can make a RAM startup type GDB stub
working with my PMON, It will be convenient to try it. But the PMON in
VRC4375 Base Memory physical address 0x00000000 - 0x1FFFFFF mapped to both
0x80000000 to 0x81FFFFFF and 0xA0000000 to 0xA1FFFFFF, two regions. I don't
know how it happend. In the PMON, I found the user space is from 0xA010000
to above. Can anyone kindly shed some light on how to map two virtual region
to one physical region?

Thanks a lot!

-Ling



             reply	other threads:[~2001-01-29 18:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-29 18:19 Ling Su [this message]
2001-01-30  3:16 ` Nick Garnett
2001-01-30 11:42   ` Ling Su
2001-01-30 12:01     ` Ling Su

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='000b01c08a63$06a81cd0$0201a8c0@raccoon' \
    --to=lingsu@palmmicro.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).