This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Help on Flash support in Redboot for Xscale.
- To: NarayVA at nsc-msg01 dot network dot com
- Subject: Re: [ECOS] Help on Flash support in Redboot for Xscale.
- From: Mark Salter <msalter at redhat dot com>
- Date: Thu, 17 May 2001 13:37:13 -0400
- CC: ecos-discuss at sources dot redhat dot com
- References: <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