Re: CE 5.0 Ram question

From: Shireesh Agrawal (sagrawalNO_SPAM_at_NOSPAMapplieddata.net)
Date: 12/28/04


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



Relevant Pages

  • Re: XPProEmulation without auto-resolve of dependencies
    ... With not enough RAM it is slow and painful to add ... The very first version of the XPProEmulation I developed on a slow machine ... disabled by default in that config. ... emulation package as a macro component instead of it's own project. ...
    (microsoft.public.windowsxp.embedded)
  • Re: how to test this piece of C code
    ... RAM vendor. ... probably be, relatively speaking, about the same as a 64GB config is ... 4GB is only two binary orders of magnitude away. ...
    (comp.programming)
  • Re: [PATCH] initramfs: Allow rootfs to use tmpfs instead of ramfs
    ... initrd or initramfs image won't eat up valuable RAM. ... +config RAMFS_ROOTFS ... +#ifdef CONFIG_RAMFS_ROOTFS ...
    (Linux-Kernel)
  • Re: Need More documents for XIP and Flash file sysytem
    ... I used pNKEnumExtensionDRAM instead of OEMGetExtensionDRAM because of as you ... RAMIMG, nk RAM, nk RAMIMAGE, nk MEMDEFS, ethdbg buffs) ... ; Define EBOOT's logical partition ... PCMCIA_S0_ATTR_PHYSICAL EQU 0x28000000 ...
    (microsoft.public.windowsce.embedded)
  • Re: [linux-pm] 2.6.21-rc1: known regressions (v2) (part 1)
    ... from RAM, can't suspend to disk. ... As I said elsewhere in the thread, suspend/resume to RAM works ok on ... Ingo identified KVM as possible culprit. ... I'll try your .config for kicks, the problem that Ingo pin pointed is ...
    (Linux-Kernel)