非常感谢楼上的回复.我仔细看了下,我觉得rdk下的配置应该是没有问题的.
var DDR3_ADDR = 0x80000000;
var DDR3_SIZE = 1 * GB;
var DDR3_ADDR_256_REG0_START = 0x80000000;
var DDR3_ADDR_256_REG0_END = 0xA0000000;
var DDR3_ADDR_256_REG1_START = 0xA0000000;
var DDR3_ADDR_256_REG1_END = 0xC0000000;
var OCMC0_ADDR = 0x40300000;
var OCMC1_ADDR = 0x40400000;
var OCMC_SIZE = 256*KB;
/* first 512MB */
var LINUX_SIZE = 266*MB;
var CMEM_SIZE = 64*MB
var SR1_SIZE = 60*MB;
var VIDEO_M3_CODE_SIZE = 3*MB;
var VIDEO_M3_DATA_SIZE = 14*MB;
var DSS_M3_CODE_SIZE = 2*MB;
var DSS_M3_DATA_SIZE = 22*MB;
var DSP_CODE_SIZE = 10*MB;
var DSP_DATA_SIZE = 71*MB;
/* second 512MB */
var TILER_SIZE = 128*MB; /* Reducing this to fix Vid Frame Alloc failures. Need to fix */ /* MUST be aligned on 128MB boundary */
var SR2_FRAME_BUFFER_SIZE = 105*MB + 256*MB;
var SR0_SIZE = 16*MB;
var HDVPSS_DESC_SIZE = 2*MB;
var HDVPSS_SHARED_SIZE = 2*MB;
var NOTIFY_SHARED_SIZE = 2*MB;
var REMOTE_DEBUG_SIZE = 1*MB;
想请教下如果使用1G的内存(RDK3.5), 关于U-Boot这边的修改, 除了下述的地方, 是否还有别的地方要修改的呢?或者下面的配置是否有修改的地方呢?
/**
* Physical Memory Map
*/
#define CONFIG_NR_DRAM_BANKS 2 /* we have 2 banks of DRAM */
#define PHYS_DRAM_1 0x80000000 /* DRAM Bank #1 */
#define PHYS_DRAM_1_SIZE 0x20000000 /* 512 MB */ //
#define PHYS_DRAM_2 0xA0000000 /* DRAM Bank #2 */
#define PHYS_DRAM_2_SIZE 0x20000000 /* 512MB */
/*
* TI814X PG1.0 DMM LISA MAPPING
* Two 256MB sections with 128-byte interleaved(hole in b/w)
*/
#define PG1_0_DMM_LISA_MAP__0 0x0
#define PG1_0_DMM_LISA_MAP__1 0x0
#define PG1_0_DMM_LISA_MAP__2 0x805C0300
#define PG1_0_DMM_LISA_MAP__3 0xA05C0300
/*
* TI814X PG2.1 DMM LISA MAPPING
* 1G contiguous section with 128-byte interleaving
*/
#define PG2_1_DMM_LISA_MAP__0 0x0
#define PG2_1_DMM_LISA_MAP__1 0x0
#define PG2_1_DMM_LISA_MAP__2 0x805C0300
#define PG2_1_DMM_LISA_MAP__3 0xA05C0300
/*
* TI813X DM385 DMM LISA MAPPING
* 1G contiguous section with no interleaving
*/
#define DDR3_DMM_LISA_MAP__0 0x0
#define DDR3_DMM_LISA_MAP__1 0x0
#define DDR3_DMM_LISA_MAP__2 0x0
#define DDR3_DMM_LISA_MAP__3 0x80600100