This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

6678的sys/bios修改cmd文件

Other Parts Discussed in Thread: SYSBIOS

大家好!

       我想实现在sys/bios的cmd文件中添加如下段,想通过修改cfg文件来实现请问一下该怎么写

       .myboot

    {
             *.*<boot.obj>(.text)

     } > BOOT_CORE0

     我在cfg文件中添加如下代码,在cmd文件中生成如下,不是我想要的。

     

在cfg文件中添加

var cfgProgram = xdc.useModule('xdc.cfg.Program');
cfgProgram.sectMap[".myboot"] = new Program.SectionSpec();
cfgProgram.sectMap[".myboot"].loadSegment = "BOOT_CORE0";

在cmd中生成了如下语句

 .myboot: load >> BOOT_CORE0