Re: CE 5.0 Ram question
From: Shireesh Agrawal (sagrawalNO_SPAM_at_NOSPAMapplieddata.net)
Date: 12/28/04
- Next message: Vinay Satishchandra Trivedi: "COM to USB Convertor"
- Previous message: chanter: "how to support ps/2 keyboard/mouse without ps/2 controller"
- In reply to: Wang Yeqing: "Re: CE 5.0 Ram question"
- Next in thread: Wang Yeqing: "Re: CE 5.0 Ram question"
- Reply: Wang Yeqing: "Re: CE 5.0 Ram question"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Dec 2004 22:54:38 -0500
As you have continuous Virtual RAM address in
oemaddresstable(0x80000000 -0x84000000) , You can configure all ram in
config .bib as shown below.
Please note physical address can be *noncontinous*, All that matter in this
context is Virtual address mapping .
;B8000 For eboot
NK 800B8000 01000000 RAMIMAGE ; SDRAM 16MB(Image Size)
RAM 810B8000 02C00000 RAM ; SDRAM 44MB
;4MB RAM reserved for Various DMA , buffers and future use
AUD_DMA 83CB8000 0000A000 RESERVED
SLEEP_SAV 83CC2000 00001000 RESERVED
DRV_GLB 83CC3000 00001000 RESERVED ; unused: 83CC_4000 ->
83CF_FFFF
CACHE_FLG 83CC4000 0003C000 RESERVED ; for use by cache routines:
83CC_4000->83CC_4003 used for flagging. 83CC_4004->83CC_4803 rsvd for miniD
DISPLAY 83D00000 00130000 RESERVED ; 1MB aligned
ADS_HWT 83E30000 00001000 RESERVED
USB_DMA 83E31000 0000F000 RESERVED
UNUSED_BUF 83E40000 0014D000 RESERVED
EDBG 83F8D000 00020000 RESERVED ; x20000 for EBOOT - 3 Client memory
pools of 24K (128K)
You need to make adjustment for your platform image size and other reserved
memory. Of course you can also use OEMGetExtensionDRAM and
pNKEnumExtensionDRAM,though they are the only options if you can not have
continuous virtual mapping for whole system RAM ,Its also convenient if you
have more then one platform with different system RAM then its easy to have
one config .bib for lowest memory configuration and add additional memory
by calling OEMGetExtensionDRAM .
-Shireesh
"Wang Yeqing" <wangyq@amoi.com.cn> wrote in message
news:u05v6OI7EHA.3120@TK2MSFTNGP12.phx.gbl...
> Hello, I have a question.
> Now in my design,I have two partition,every partition is 32MB,so they not
> physically
> continuous,one is from 0xA0000000 to 0xA2000000, the other is from
> 0xA4000000 to 0xA6000000.(This is their hardware address)
> So it means that only modify oemaddresstable is not adequate,right?
> And I must use functions OEMGetExtensionDRAM and pNKEnumExtensionDRAM,yes?
>
>
> (my cpu is pxa270)
> The following is part of my oemaddresstable:
>
> g_oalAddressTable
>
> DCD 0x80000000, 0xA0000000, 32 ; WINDOWTV: SDRAM partition
> 1
> DCD 0x82000000, 0xA4000000, 32 ; WINDOWTV: SDRAM partition
> 2
>
> ;INDOWTV has two partitions and every one is 32MB.Two partitions are not
> ;ontinuous.
> DCD 0x84000000, 0x5C000000, 1 ; WINDOWTV: Internal SRAM
>
>
> Is that right.Should I configure somthing else,or use functions
> OEMGetExtensionDRAM and pNKEnumExtensionDRAM?
>
> Thanks in advance.
>
>
> --
> Best wishes
> Wang Yeqing
> ***********************************************************
> Intelligent Grouping Research and Development Institute
> Amoi Electronics Co., Ltd
>
> Tel: 86-592-6516777-6507
> ***********************************************************
>
>
- Next message: Vinay Satishchandra Trivedi: "COM to USB Convertor"
- Previous message: chanter: "how to support ps/2 keyboard/mouse without ps/2 controller"
- In reply to: Wang Yeqing: "Re: CE 5.0 Ram question"
- Next in thread: Wang Yeqing: "Re: CE 5.0 Ram question"
- Reply: Wang Yeqing: "Re: CE 5.0 Ram question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|