我们的代码环境是基于sys/bios,平台是tms320c6670
代码段位于share mem中,四核共用一份代码,通过DNUM区分。 数据段,堆栈放到各自的L2SRM中
通过核0 启动其他核,其他核可以正常的启动到c_init_00
不执行bios_start() 其他核不会跳转到异常。
执行bios_start(),其他和会跳转到异常。
同样的代码,采用ccs 仿真器加载的方式可以正常运行。
cfg文件

cmd文件
MEMORY {
//DDR_CORE0_CACHE: o = 0x80100000 l = 0x09f00000
DDR_CORE0_CACHE: o = 0x82000000 l = 0x08000000
DDR_CORE0_NONCACHE: o = 0x8A000000 l = 0x04000000
DDR_SHARE_CACHE: o = 0xB8000000 l = 0x04000000
DDR_SHARE_NONCACHE: o = 0xBC000000 l = 0x02000000
DDR_SHARE_INTRAQM: o = 0xBE000000 l = 0x01000000
DDR_COREPAC_SYNC: o = 0xBF000000 l = 0x01000000
// MSMCSRAM_CACHE: o = 0x0C000000 l = 0x00200000 }
SECTIONS {
.csl_vect > L2SRAM
.VectNew > L2SRAM
//.far >DDR_CORE0_NONCACHE
.DescBufferLL2 > L2SRAM
.hwapi_ll2_data > L2SRAM
.hwapi_qmss_LL2 > L2SRAM
.hwapi_intc_LL2 > L2SRAM
.hwapi_intraQm_LL2 > L2SRAM
.hwapi_tcp3d_LL2 > L2SRAM
.hwapi_desc_DdrCache > DDR_SHARE_CACHE
// .hwapi_qmss_share_cache > DDR_SHARE_CACHE //
.hwapi_qmss_share_noncache > DDR_SHARE_NONCACHE
.hwapi_intc_nocache > DDR_CORE0_NONCACHE
.srio_ddr_buf > DDR_CORE0_NONCACHE
.DDR_SHARE_NONCACHE > DDR_SHARE_NONCACHE
.systemheap > L2SRAM
.copacSync > DDR_COREPAC_SYNC
.ddr_intraQm > DDR_SHARE_INTRAQM
.srio_ddr_buf >DDR_CORE0_NONCACHE
.neardata > L2SRAM
.fardata > DDR_COREPAC_SYNC
.switch > DDR_COREPAC_SYNC
.main_mem > MSMCSRAM
.msg_buff > MSMCSRAM
.shareMsg > MSMCSRAM
.dataMsmc > MSMCSRAM
}





