|
我看了 MainStoneIII的BSP:
它里面定义的:
g_oalAddressTable
IF :DEF: SDRAM_SIZE_64_MB
DCD 0x80000000, 0xA0000000, 64 ; MAINSTONEII: SDRAM (64MB).
ELSE
DCD 0x80000000, 0xA0000000, 128 ; MAINSTONEII: SDRAM (128MB).
ENDIF
DCD 0x88000000, 0x5C000000, 1 ; BULVERDE: Internal SRAM (64KB bank 0).
DCD 0x88100000, 0x58000000, 1 ; BULVERDE: Internal memory PM registers.
DCD 0x88200000, 0x4C000000, 1 ; BULVERDE: USB host controller.
DCD 0x88300000, 0x48000000, 1 ; BULVERDE: Memory controller.
DCD 0x88400000, 0x44000000, 1 ; BULVERDE: LCD controller.
DCD 0x88500000, 0x40000000, 32 ; BULVERDE: Memory-mapped registers (peripherals).
DCD 0x8A500000, 0x3C000000, 16 ; BULVERDE: PCMCIA S1 common memory space.
DCD 0x8B500000, 0x38000000, 64 ; BULVERDE: PCMCIA S1 attribute memory space.
DCD 0x8F500000, 0x30000000, 1 ; BULVERDE: PCMCIA S1 I/O space.
DCD 0x8F600000, 0x2C000000, 16 ; BULVERDE: PCMCIA S0 common memory space.
DCD 0x90600000, 0x28000000, 64 ; BULVERDE: PCMCIA S0 attribute memory space.
DCD 0x94600000, 0x20000000, 1 ; BULVERDE: PCMCIA S0 I/O space.
DCD 0x9A500000, 0xE0000000, 1 ; MAINSTONEII: Zero-bank
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, 0x00000000, 64 ; MAINSTONEII: nCS0: MCPII Module Boot Flash (64MB).
DCD 0x9EA00000, 0x50000000, 1 ; BULVERDE: Camera peripheral interface.
DCD 0x00000000, 0x00000000, 0 ; end of table
他的配置SDRAM和FLASH配置道是跟我的一样,
我想问一下改OEMAddressTable还需要改其他地方吗??
我以前改过WINCE42的,它的是这样的
IF SDRAM_SIZE_128_MB = "1"
DCD SDRAM_BASE_C_VIRTUAL, SDRAM_BASE_PHYSICAL, 128 ; (96C0 0000, A000 0000) everything SDRAM-related
(eboot RAM, eboot RAMIMG, nk RAM, nk RAMIMAGE, nk MEMDEFS, ethdbg buffs)
ELSE
DCD SDRAM_BASE_C_VIRTUAL, SDRAM_BASE_PHYSICAL, 64 ; (96C0 0000, A000 0000) everything SDRAM-related (eboot RAM, eboot RAMIMG, nk RAM, nk RAMIMAGE, nk MEMDEFS, ethdbg buffs)
ENDIF
DCD IM_STORAGE_BASE_C_VIRTUAL, IM_STORAGE_BASE_PHYSICAL, 1 ; (8400 0000, 5C00 0000) Internal Memory-Storage
DCD IM_CONTROL_BASE_C_VIRTUAL, IM_CONTROL_BASE_PHYSICAL, 1 ; (8410 0000, 5800 0000) Internal Memory-Control
这个改一下需要修改对应头文件中的xxx_BASE_C_VIRTUAL和xxx_BASE_PHYSICAL
不知道WINCE5下的OEMaddressTable 还跟哪个地方关联??
|
|