From f8d6d642a4621502d77291011483f397f009843d Mon Sep 17 00:00:00 2001 From: "lishuang.xie" Date: Wed, 26 Jul 2023 12:03:44 +0800 Subject: [PATCH] New Feature#891 1. doc change the APE_PHY and APE_TEXT address 2. testmac's cfgfile used thd address 0x9a000000 --- osp/src/ospCfgToBin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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");