uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(44):Out of memory

 

快乐虾

http://blog.csdn.net/lights_joy/

lights@hb165.com

  

 

本文适用于

ADI bf561 DSP

优视BF561EVB开发板

uclinux-2008r1.5-rc3(smp patch)

Visual DSP++ 5.0(update 5)

  

欢迎转载,但请保留作者信息

 

有一个错误:

[Error li1040] "./uclinux.ldf":581 Out of memory in output section 'L1_code' in processor 'p0'

        Total of 0xc2 word(s) were not mapped.

For more details, see 'linker_log.xml' in the output directory.

看看L1_code里面放了什么东西:

      L1_code

      {

         INPUT_SECTION_ALIGN(4)

               __stext_l1 = .;

               __CORE = 0;

         INPUT_SECTIONS($OBJECTS_CORE_A(L1_code) $LIBRARIES_CORE_A(L1_code))

        

         /*$VDSG<insert-input-sections-at-the-start-of-l1_code>  */

         /* Text inserted between these $VDSG comments will be preserved */

         /*$VDSG<insert-input-sections-at-the-start-of-l1_code>  */

        

         INPUT_SECTIONS($OBJECTS_CORE_A(VDK_ISR_code) $LIBRARIES_CORE_A(VDK_ISR_code))

         INPUT_SECTIONS($OBJECTS_CORE_A(cplb) $LIBRARIES_CORE_A(cplb))

         INPUT_SECTIONS($OBJECTS_CORE_A(cplb_code) $LIBRARIES_CORE_A(cplb_code))

         INPUT_SECTIONS($OBJECTS_CORE_A(noncache_code) $LIBRARIES_CORE_A(noncache_code))

         INPUT_SECTIONS($OBJS_LIBS_INTERNAL_CORE_A(program))

         INPUT_SECTIONS($OBJS_LIBS_NOT_EXTERNAL_CORE_A(program))

         INPUT_SECTIONS($OBJECTS_CORE_A(program) $LIBRARIES_CORE_A(program))

        

         /*$VDSG<insert-input-sections-at-the-end-of-l1_code>   */

         /* Text inserted between these $VDSG comments will be preserved */

         /*$VDSG<insert-input-sections-at-the-end-of-l1_code>   */

         INPUT_SECTIONS($LIBRARIES_CORE_A(.l1.text))

        

         INPUT_SECTION_ALIGN(4)

               __etext_l1 = (. + 3) / 4 * 4;

                 

      } > MEM_A_L1_CODE

L1_codeprogram段的内容移到uclinux_text中:

        uclinux_text

        {

               __text = .;

               _text = .;

               __stext = .;

 

         INPUT_SECTIONS($OBJECTS_CORE_A(L1_code) $LIBRARIES_CORE_A(L1_code))

         INPUT_SECTIONS($OBJS_LIBS_INTERNAL_CORE_A(program))

         INPUT_SECTIONS($OBJS_LIBS_NOT_EXTERNAL_CORE_A(program))

         INPUT_SECTIONS($OBJECTS_CORE_A(program) $LIBRARIES_CORE_A(program))

/*                        

              TEXT_TEXT

              SCHED_TEXT

              LOCK_TEXT

              KPROBES_TEXT

              *(.text.*)

              *(.fixup)

 

              . = ALIGN(16);

              ___start___ex_table = .;

              *(__ex_table)

              ___stop___ex_table = .;

*/

         INPUT_SECTION_ALIGN(4)

               __etext = .;

        } > MEM_UCLINUX_TEXT

 

1       参考资料

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(39)CONFIG_BASE_SMALL(2009-1-16)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(40):远调用(2009-1-17)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(41)bfin_write_EVT15(2009-1-17)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(42).macro(2009-1-17)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(43)exception_stacks(2009-1-18)

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

嵌云阁主

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值