Re: OEMAddressTable ... Query ? by Dean
Dean
Thu Oct 27 11:56:09 CDT 2005
I don't see a problem here. It might be your MMU code that is failing.
Note that the uncached SDRAM virtual address matches the SDRAM physical
address. That could be hiding an error in the code the is turning the MMU
on and off. Now that you've switched over to flash addresses that don't
line up virtual/physical, it's more difficult to get that code correct.
--
Dean Ramsier - eMVP
BSQUARE Corporation
"WindowsCE_Developer" <swapnilstud@gmail.com> wrote in message
news:1130430233.936665.284020@g44g2000cwa.googlegroups.com...
> Hello Tom,
>
> Thanks for your reply ... !
>
> I am posting my OEMAddressTable and Config.bib ... If you could have a
> look at it ... it would be a great help ... !
>
> Config.bib :-
>
> MEMORY
>
> ; Name Start Size Type
> ; ------- -------- -------- ----
> RSVD 80000000 000FF000 RESERVED
> ARGS 800FF000 00001000 RESERVED
> NK 9CA40000 00500000 RAMIMAGE
> RAM 83100000 00F00000 RAM
>
> ; Reserve ZBANK virtual block (No physical memory
> ; is required to back this virtual range).
> ;
> ZBANK 96500000 00100000 RESERVED
>
> CONFIG
>
> AUTOSIZE=OFF
> KERNELFIXUPS=ON
> ROMSTART=9CA40000
> ROMWIDTH=32
> ROMSIZE=500000
>
> OEMAddressTable -
>
> g_oalAddressTable
> DCD 0x80000000, 0xA0000000, 64 ; MAINSTONEII: SDRAM
> (64MB).
> DCD 0x84000000, 0x5C000000, 1 ; BULVERDE: Internal
> SRAM (64KB bank 0).
> DCD 0x84100000, 0x58000000, 1 ; BULVERDE: Internal
> memory PM registers.
> DCD 0x84200000, 0x4C000000, 1 ; BULVERDE: USB host
> controller.
> DCD 0x84300000, 0x48000000, 1 ; BULVERDE: Memory
> controller.
> DCD 0x84400000, 0x44000000, 1 ; BULVERDE: LCD
> controller.
> DCD 0x84500000, 0x40000000, 32 ; BULVERDE:
> Memory-mapped registers (peripherals).
> DCD 0x86500000, 0x3C000000, 64 ; BULVERDE: PCMCIA S1
> common memory space.
> DCD 0x8A500000, 0x38000000, 64 ; BULVERDE: PCMCIA S1
> attribute memory space.
> DCD 0x8E500000, 0x30000000, 32 ; BULVERDE: PCMCIA S1
> I/O space.
> DCD 0x90500000, 0x2C000000, 64 ; BULVERDE: PCMCIA S0
> common memory space.
> DCD 0x94500000, 0x28000000, 64 ; BULVERDE: PCMCIA S0
> attribute memory space.
> DCD 0x98500000, 0x20000000, 32 ; BULVERDE: PCMCIA S0
> I/O space.
> DCD 0x9A500000, 0xE0000000, 1 ; MAINSTONEII:
> Zero-bank (in reserved slot - no physical memory required).
> DCD 0x9A600000, 0x14000000, 1 ; MAINSTONEII: nCS5:
> eXpansion board header.
> DCD 0x9A700000, 0x10000000, 1 ; MAINSTONEII: nCS4:
> SMSC 91C111 Ethernet controller.
> DCD 0x9A800000, 0x0A000000, 1 ; MAINSTONEII: nCS2
> (upper half): 2MB SRAM.
> DCD 0x9A900000, 0x08000000, 1 ; MAINSTONEII: nCS2
> (lower half): Board registers (FPGA).
> DCD 0x9AA00000, 0x04000000, 32 ; MAINSTONEII: nCS1:
> Secondary flash (32MB).
> DCD 0x9CA00000, 0x00000000, 32 ; MAINSTONEII: nCS0:
> Boot Flash (32MB).
> DCD 0x9EA00000, 0x50000000, 1 ; BULVERDE: Camera
> peripheral interface.
>
> DCD 0x00000000, 0x00000000, 0 ; end of table
>
> I am loading my OS image (NK.nb0) at 0x9CA40000 (Physical Address -
> 00040000).Also, I have modifed the OEMLaunch function accordingly to
> jump to this address.
>
> If u could provide any pointers regarding the same ... it would be a
> great help ... !
>
> Warm regards,
> Swapnil.
>