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
---
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to