diff --git a/osp/src/ospCfgToBin.c b/osp/src/ospCfgToBin.c index c434d6e..0005fb7 100644 --- a/osp/src/ospCfgToBin.c +++ b/osp/src/ospCfgToBin.c @@ -33,7 +33,7 @@ #define ARM_SPE_CFG_PHY_SIZE (0x1400000) /* 约定在20M以内 */ #define ARM_SPE_CFG_INFO_ONE sizeof(osp_spe_cfg_file_reg) #define ARM_SPE_CFG_INFO_SIZE (ARM_SPE_CFG_INFO_ONE * APE_CFG_FILE_NUM) -#define ARM_SPE_CFG_OFFSET (0x0A000000) /* 目前改到APE_TEXT段,从0x9A00 0000开始,故需要偏移0x0A00 0000 */ +#define ARM_SPE_CFG_OFFSET (0x8A000000) /* 目前改到APE_PHY段,从0x1000 0000开始,故需要偏移0x8A00 0000 */ #if 0 #define ARM_SPE_CFG_PHY_ADDR (0xB8000000) /* 指定配置文件首地址 */ @@ -332,7 +332,7 @@ int32_t osp_spe_cfg_file_init() return OSP_OK; #endif - g_spe_ptr_static_mem = get_static_mem(APE_TEXT, &g_spe_static_mem_size); + g_spe_ptr_static_mem = get_static_mem(APE_PHY, &g_spe_static_mem_size); if (0 == g_spe_static_mem_size) { UCP_PRINT_ERROR("get_static_mem(ARM_STACK) error......\r\n");