This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Help on Flash support in Redboot for Xscale.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]