Hi Chris,

There is no any collision between the kernel and CMEM because I am able to boot the kernel with more the 128MB memory allocation to kernel.
It get hang or give kernel panic in booting.

Thanks
Hitesh Patel

On 08/30/2010 11:53 PM, Ring, Chris wrote:
Are you using CMEM? http://processors.wiki.ti.com/index.php/CMEM_Overview
If so, maybe there's a memory map collision between the kernel and CMEM? Hint - CMEM's memory map is set when the driver is loaded (insmod param).
Chris

    ------------------------------------------------------------------------
    *From:* [email protected]
    [mailto:[email protected]]
    *On Behalf Of *hitesh
    *Sent:* Monday, August 30, 2010 6:46 AM
    *To:* [email protected]
    *Subject:* Problem with 256MB DDR on DM365

    Hi ALL

    We are facing one issue related to the memory allocation on DM365
    based board. We have 256MB DDR on our board.
    But when we allocate more than 128 MB of memory to the kernel (in
    bootargs), sometimes kernel gives paging request errors while
    running application or sometimes it is not able to even boot (i.e.
    kernel panic).

    We have done changes in the U-boot to configure the DDR of 256MB.

    We have modified the following U-boot source file:
    File: include/configs/davinci_dm365_evm.h
    Change: (As below)

    #define CFG_MALLOC_LEN                  (0x40000 +
    128*1024)         /* malloc () len */
#define CFG_GBL_DATA_SIZE (128) /* reserved for initial data */ #define CFG_MEMTEST_START (0x82000000) /* memtest start address */ #define CFG_MEMTEST_END (0x90000000) /* 16MB RAM test */
    #define CONFIG_NR_DRAM_BANKS            (1)
                             /* we have 1 bank of DRAM */
#define CONFIG_STACKSIZE (256*1024) /* regular stack */ #define PHYS_SDRAM_1 0x80000000 /* DDR Start */ // ORIGINAL: #define PHYS_SDRAM_1_SIZE 0x8000000 /* DDR size 128MB */ #define PHYS_SDRAM_1_SIZE 0x10000000 /* DDR size 256MB */


    Details of our DM365 board is as follows:

        * Silicon Version of DM365:   DM365ZCE30
        * DVSDK Version:              dvsdk_2_10_01_18
        * Linux Version:              linux-2.6.18_pro500
        * PSP Version:                PSP_02_10_00_14
        * DDR Size:                   256MB.

    Any body help me what are the changes are still left?
    Is there any missing in setting?
    What are the setting if we go from 128MB ddr to 256MB size of DDR?

    Thanks
    Hitesh Patel
    ---


____________________________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it are 
intended solely for the use of the addressee and may contain legally privileged 
and confidential information. If the reader of this message is not the intended 
recipient, or an employee or agent responsible for delivering this message to 
the intended recipient, you are hereby notified that any dissemination, 
distribution, copying, or other use of this message or its attachments is 
strictly prohibited. If you have received this message in error, please notify 
the sender immediately by replying to this message and please delete it from 
your computer. Any views expressed in this message are those of the individual 
sender unless otherwise stated.Company has taken enough precautions to prevent 
the spread of viruses. However the company accepts no liability for any damage 
caused by any virus transmitted by this email.
_
  
___________________________________________________________________________________




*Email Scanned for Virus & Dangerous Content by :* *www.CleanMailGateway.com*


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to