public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Mark Salter <msalter@redhat.com>
To: NarayVA@nsc-msg01.network.com
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Help on Flash support in Redboot for Xscale.
Date: Thu, 17 May 2001 10:32:00 -0000	[thread overview]
Message-ID: <200105171737.f4HHbDK01950@deneb.localdomain> (raw)
In-Reply-To: <A7E1C26945C8D211ADBF0008C709661A02A487FD@nsc-msg02.network.com>

>>>>> Narayana, Venkat A writes:

> --Mark
> This is not iq80310 board, but a custom board using 80312 chipset and
> having many similarities with iq80310, except that my board has 1 serial
> and no registers@FE800000, which iq80310 board has,imean timers and battery
> status reg's etc.
> What i found, by single stepping is that, in _real_platform_setup,
> my code dies atfer i enable MMU and do "drain the write & fill buffers".
> Anyway, it gives me an oopurtunity to lear more;-).
> I have a question for you(i assume u r the same mslater that's in my code),
> we setup mmu table at 16K boundary, but in the code, we do .p2align13, which
> is 2**13=8K. Am i missing something here? or does my ignorance shows?

Hmm, I think you just found a bug. ;-) 

That should be ".p2align 14", although ".p2align 13" happens to work out
because the next 8K boundary is also a 16K boundary.

If it dies when you enable the MMU, I would look very carefully at the
pagetable. I had to do a lot of tweaking before I finally got it right.

Also, there is read from SDRAM_BATTERY_TEST_BASE just after the drain
operation. That was for some diagnostics on the IQ80310 and may cause
you problems if you don't have memory at that spot. It would be safe
to remove altogether.

--Mark

  reply	other threads:[~2001-05-17 10:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-17  9:57 Narayana, Venkat A.
2001-05-17 10:32 ` Mark Salter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-16 15:36 Narayana, Venkat A.
2001-05-17  5:15 ` Mark Salter
2001-05-15 22:09 Mynampati
2001-05-16  4:51 ` Mark Salter

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=200105171737.f4HHbDK01950@deneb.localdomain \
    --to=msalter@redhat.com \
    --cc=NarayVA@nsc-msg01.network.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).