public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Redboot SDRAM Virtual Memory Mapping
@ 2007-05-02  6:46 tejas pawaskar
  2007-05-02  6:51 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: tejas pawaskar @ 2007-05-02  6:46 UTC (permalink / raw)
  To: ecos-discuss

Greetings,

I am using Intel' Xscale PXA270 processor and my SDRAM
(32-bit,104 MHz) 64MB is interfaced to BANK0 having
the physical address 0xA0000000.

In the hal_mmu_init function, the SDRAM is mapped to
virtual address 0x000 using the X_ARM_MMU_SECTION
macro as CACHED. It works fine.

But if I change the virtual address to 0x800 or any
other address other than the 0x000 the redboot does
not boots and halts at early stage after the LED 7
instruction.

Is it that the SDRAM cannot be mapped to any other
address except 0x00000000 in Redboot?

I require the SDRAM to be mapped to 0x80000000, since
I want to boot wince image.

Regards,
Tejas Pawaskar 


      Send a FREE SMS to your friend's mobile from Yahoo! Messenger. Get it now at http://in.messenger.yahoo.com/

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Redboot SDRAM Virtual Memory Mapping
  2007-05-02  6:46 [ECOS] Redboot SDRAM Virtual Memory Mapping tejas pawaskar
@ 2007-05-02  6:51 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2007-05-02  6:51 UTC (permalink / raw)
  To: tejas pawaskar; +Cc: ecos-discuss

On Wed, May 02, 2007 at 07:46:43AM +0100, tejas pawaskar wrote:
> Greetings,
> 
> I am using Intel' Xscale PXA270 processor and my SDRAM
> (32-bit,104 MHz) 64MB is interfaced to BANK0 having
> the physical address 0xA0000000.
> 
> In the hal_mmu_init function, the SDRAM is mapped to
> virtual address 0x000 using the X_ARM_MMU_SECTION
> macro as CACHED. It works fine.
> 
> But if I change the virtual address to 0x800 or any
> other address other than the 0x000 the redboot does
> not boots and halts at early stage after the LED 7
> instruction.
> 
> Is it that the SDRAM cannot be mapped to any other
> address except 0x00000000 in Redboot?
> 
> I require the SDRAM to be mapped to 0x80000000, since
> I want to boot wince image.

ARM processors have there interrupt vectors at 0x00 - 0x20. So you
need RAM there in order to be able to change the interrupts at run
time. Hence the mapping to 0x0.

Can you setup two mappings? Have the memory mapped at both 0x0 and
0x80000000?

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-02  6:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-02  6:46 [ECOS] Redboot SDRAM Virtual Memory Mapping tejas pawaskar
2007-05-02  6:51 ` Andrew Lunn

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