hi:
你好,我这边有个3359项目,需要增加SDARM容量(2片MT47H256M8并联 从原来的256M扩容到512M)出现问题,提示加载不成功,还是256M,请问下 如何改代码 ,才可完成扩容事情 。以下是我修改后的代码可做为参考, 路径为 u-boot-2011.09-psp04.06.00.07\include\configs\Am335x_evm.h
#define CONFIG_NR_DRAM_BANKS 2 /* CS1 may or may not be populated */ #define PHYS_DRAM_1 0x8000000 /* DRAM Bank #1 */
#define PHYS_DRAM_1_SIZE 0x20000000 //512M #define PHYS_DRAM_2 0xA0000000 //512M (0x20000000+0x8000000)
#define CONFIG_SYS_SDRAM_BASE PHYS_DRAM_1
#define CONFIG_SYS_INIT_RAM_ADDR SRAM0_START
#define CONFIG_SYS_INIT_RAM_SIZE SRAM0_SIZE
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ CONFIG_SYS_INIT_RAM_SIZE – \ GENERATED_GBL_DATA_SIZE)
Jian Zhou:
请问你是DDR2还是DDR3,2片并联应该是两片8位的并联
wang weting:
回复 Jian Zhou:
我是DDR2的,是2片8位的并联